Debian Codegraph @

TODO

raw
1
2 msgio:
3 - EndpointIpcUnix
4 - EndpointIpcTcp
5
6
7 gwbuild:
8 - new entry "prefix" (internally translate to option_prefix stuff like in AqFinance)
9
10
11 GUI dialogs:
12 - implement "keyPressed" and "keyReleased" events in GTK3 and QT5 frontends
13 - implement "frame*" widget flags in GTK3 and QT5 frontends
14
15 typemaker2:
16 - add a field annotoations (e.g. "personal data")
17
18 logger:
19 - finer granularity for loglevels
20 - introduce subdomains
21 - gwenhywfar/syncio
22 - gwenhywfar/http
23 - gwenhywfar/gui
24 - etc
25 - GWEN_Logger_CreateSubDomains(maindomain, "syncio,http,gui,db,xml,crypt", logLevel)
26 - GWEN_Logger_SetupSubDomains(maindomain, "syncio=notice,http=debug,gui=info", defaultLogLevel)
27 - in source files, e.g. syncio_http:
28 #ifdef GWEN_LOGDOMAIN
29 # undef GWEN_LOGDOMAIN
30 # define GWEN_LOGDOMAIN "gwenhywfar/http"
31 #endif
32
33 sio:
34 - ssl_cert_descr -> typemaker2
35
36 tm2:
37 - inline loc="struct" -> insert fields into the struct definition
38
39 - inline loc="constructor": -> insert code into constructor
40 - inline loc="destructor": -> insert code into constructor
41 -> or maybe: make the field definition also a part of the tm2 mechanisms
42 already in place (i.e. defined in tm2 files?)
43
44
45 xml:
46 - add argument to file reader/writer code which contains the target
47 encoding
48
49 Get root CA certs:
50 http://curl.haxx.se/docs/caextract.html
51
52
53
54 # get a list of exported functions:
55 nm libgwenhywfar.so | grep ' T ' | awk '{ print $3 }' | less
56 # or
57 nm libgwenhywfar.so | grep ' T ' | cut -c20- | sort
58
59 # get a list of functions imported from other libraries
60 nm libgwenhywfar.so | grep ' U ' | awk '{ print $2 }' | less
61 # or
62 nm libgwenhywfar.so | grep ' U ' | cut -c20- | sort | uniq
63
64
65 Callgraphs
66
67 - Generate callgraphs:
68 make CC=/usr/gccgraph/bin/gcc
69 C : genfull
70 C++: genfull -g cppdepn
71 - Show callgraph for s specific function:
72 gengraph -f FUNCTION_NAME -o OUTFILENAME --output-type=png
73
74
75
76
77 # read openssl certs
78 d = opendir("/etc/ssl/certs");
79 gnutls_certificate_allocate_credentials(&ca_list);
80 while ((dent = readdir(d)) != NULL) {
81 sprintf(ca_file, "/etc/ssl/certs/%s", dent->d_name);
82 stat(ca_file, &s);
83 if (!S_ISREG(s.st_mode)) continue;
84 gnutls_certificate_set_x509_trust_file(ca_list, ca_file,
85 GNUTLS_X509_FMT_PEM);
86 }
87 closedir(d);
88
89
90
91
92 Ideas for threaded gui
93 ======================
94 - server-gui: gui in main thread
95 - client-gui: gui in other thread
96 - use an event socket when transmitting commands from client-gui to server-gui
97 - client-gui writes request into a queue
98 - event socket alerts server-gui that there is a request in the queue
99 - server-gui
100 - takes request
101 - handles it
102 - puts response into queue of client-gui
103 - notifies client-gui via another event socket?
104 - only implement primary callbacks in this manner (input, msgbox, progress etc)
105 - don't implement dialog callbacks in client-gui (code running in secondary thread should be simple without complex dialog handling)
106
107