File: DEVNOTES

package info (click to toggle)
kst 2.0.8-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 30,748 kB
  • sloc: cpp: 97,086; ansic: 13,364; python: 2,970; sh: 761; yacc: 184; lex: 143; makefile: 141; javascript: 122; perl: 30; xml: 30
file content (32 lines) | stat: -rw-r--r-- 1,506 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
General development notes for future reference:

For Additional notes regarding the BuildSystem see Kst2Specs/BuildSystemOverview
For Additional notes regarding the update system see Kst2Specs/updatecycleexplanation

How to update the Windows Icon

  If kst.png changes the windows icon should also be updated.

  Open kst.png in gimp and save it as kst.ico, from the dropdown for format select "32 bpp, 8-bit alpha, no palette" and ensure that compressed is not checked.

  Additional notes:  .ico files can contain both a 32x32 and 16x16 icon.  The current version is scaling down the 32x32 on the fly which decreases the quality of the icon.  Future icons should be created in both 16x16 and 32x32 to optimize the appearance of the icon.


Locks

  All Objects in Kst support writeLock and unlock commands to prevent access when updates are occuring.  No
  lock is required during read.

  DataSources

    DataSources (specifically the files) must be locked and unlocked when the primitive (Vector, Matrix, Scalar or String) is being 
    updated.

  DataObjects, Primitives and Relations

    All DataObjects, Primitives and Relations require locks for the following actions, updating the data either from creation of the object, or 
    from an update cycle.  Editing of the object making a change.

    In DataObject there are helper functions writeLockInputsAndOutputs() and unlockInputsAndOutputs() which server the purpose of locking dependent 
    objects within the DataObject's update cycle.