1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 12:28:10 +01:00
Commit Graph

144 Commits

Author SHA1 Message Date
mfrasca
89b2fdd9ee migliorie minime sul feedback 2007-05-16 17:25:22 +00:00
mfrasca
4b16346067 aggiunto il file di configurazione per pywmradio (che poi è in comune con
pyradio, ma quella non è un'applicazione scritta con pywmdockapps)

modificato Application.update, ora ricalcola il livello di riempimento della
cache solo una volta ogni tre cicli (ogni 0.3 secondi), questo per abbassare
il carico di lavoro sulla cpu.
2007-05-16 14:30:33 +00:00
mfrasca
39867d1e68 1719983: caratteri nazionali non supportati
rimossa l'eccezione se un carattere non rientra fra 32 e 127.
quello che succede è dipendente dall'encoding del file da cui vengono lette le stringhe.

nel test case le óńł occupano due caratteri, che vengono saltati e resta
quanto era stato scritto prima.  forse si potrebbe prevedere una separazione
"lettera"/"accento", però devo trovare il modo di definire l'accento in modo
che sia sovrapponibile alla lettera, mentre quelli che ho ora le
cancellerebbero.

alla fine dell'alfabeto potrei aggiungere gli accenti su trasparenza...
acuto (é) grave (è) tilde (ẽ) circonflesso (ê) breve (ĕ) lungo (ēħ) v (č)
punto (ż) dieresi (ë) coda-destra (ę) coda-sinistra (ç) obliquo (ł) o (å)

resterebbe il problema di caratteri quali ß æ œ ...
2007-05-16 12:53:33 +00:00
mfrasca
0baec49411 added examples pywmwet and pywmradio
added wmoo module
2007-05-16 12:33:31 +00:00
mfrasca
82c7155cf6 added examples pywmwet and pywmradio
added wmoo module
2007-05-16 11:45:11 +00:00
mfrasca
3cd1d20c66 1714519 - object oriented library
modified the regular expression, to easy the task of the matching it.
2007-05-16 11:33:22 +00:00
mfrasca
80f8aeb7da 1714519 - object oriented library
still on the second working version...
it gives a little more feedback about the running player.
2007-05-15 20:15:50 +00:00
mfrasca
1f09a177af 1714519 - object oriented library
second working version...
it gives a little more feedback about the running player.
2007-05-15 19:55:27 +00:00
mfrasca
5f5dfd16cf 1714519 - object oriented library
first working version...
it gives very little feedback about the running player.
2007-05-15 15:14:24 +00:00
mfrasca
b34c324414 1714519 - object oriented library
separated the library part from the application part.
added wmoo module.
added pywmoonop (object oriented form of the empty dock).
2007-05-15 07:31:09 +00:00
mfrasca
844eecc535 1714519 - object oriented library
added new example application, on the way to the object oriented library.

the idea is to develop this program within one single source, but clearly
separating the general from the specific.  so in this source I will have a
general 'Application' class which will contain no specific 'radio' code.
the radio code will make use of the general application class.

the program is not yet functional.
2007-05-07 19:14:54 +00:00
mfrasca
153a8b629b 1714333 - keyboard events are not notified
added KeyPress/KeyRelease and handling of focus to filtering of events.
rewritten if/else-if into a switch/case.
2007-05-07 14:15:02 +00:00
mfrasca
9dc7d952b4 1647673: program blanks out
added timeout for socket (hard coded to 4 seconds).
removed leading \n in usage string.
not modified anything else.
2007-01-31 12:15:12 +00:00
mfrasca
056bdadb6b 1642056: pywmwet.py
adding the file pywmwet.py to cvs.
also removing an unnecessary parameter in a call to wmdocklib.initPixmap.
2007-01-28 11:33:50 +00:00
mfrasca
620a8e229a adding pywmnop.py and renaming pywmPhoto.py to pywmphoto.py. 2007-01-17 17:02:51 +00:00
mfrasca
695d29b2a5 small necessary correction in 6x8 font
added the two new fonts (7seg) to MANIFEST.
2006-11-12 06:43:15 +00:00
mfrasca
f93d7269c8 *** empty log message *** 2006-11-12 06:41:48 +00:00
mfrasca
a67d4bbb7c just readability modifications... 2006-11-08 09:45:28 +00:00
mfrasca
dcc2718864 correcting the B 2006-11-01 08:16:12 +00:00
mfrasca
32a9e1aa4c cleaning up. 2006-11-01 06:27:24 +00:00
mfrasca
3c0139bb69 cleaning up. 2006-10-31 21:18:36 +00:00
mfrasca
a3b2a7ee4d cleaning up. 2006-10-31 21:11:12 +00:00
mfrasca
29d6cfc65c adding first "proportional" font.
actually just two width: normal and ',.:;
2006-10-31 16:19:27 +00:00
mfrasca
d7ea546e66 just cleaning up bits 2006-10-31 13:56:40 +00:00
mfrasca
c9c1805857 1587104: error initializing font 3x5
it really was a library problem...  it was caused inside getFont by the way
I was choosing an alternative to a clashing character code.  the correct way
is by choosing outside both the already defined characters and the
characters that the font uses.  we were creating a cascade in clashes, and
were not able to handle it correctly.  avoiding the problem is the best
cure.
2006-10-31 12:43:36 +00:00
mfrasca
092a6ff8cc adding pseudo 7segments font.
very similar to 6x8 orig.
taken from wmtz.
2006-10-31 09:57:54 +00:00
mfrasca
3af10f51f7 1584740: colours messed up
forgot to remove replacement of ' ', '%' to bg, fg.
doing it now.
2006-10-31 09:57:15 +00:00
mfrasca
41a6ead68b removing unused code 2006-10-31 09:55:51 +00:00
mfrasca
7b54548c37 1587104: error initializing font 3x5
'and' is not 'and_then'...
split a test in two parts:
if elem[c] and d2[c]... into
if elem[c] then if d2[c]...
2006-10-30 10:31:35 +00:00
mfrasca
8d1d5d6f7d added picture of new example program pywmPhoto,
added fancy font 8x8-cholo,
updated MANIFEST - contains new font,
2006-10-30 10:14:28 +00:00
mfrasca
41af5d6644 added the description for a new program. 2006-10-28 08:01:34 +00:00
mfrasca
93816ecad7 cleaning up color coding in fonts... 2006-10-28 07:30:32 +00:00
mfrasca
4530404d6c added a few smaller fonts... 2006-10-27 16:25:15 +00:00
mfrasca
55f1674d8a sample of smallest font... 2006-10-27 16:24:15 +00:00
mfrasca
8e926c53f1 adding a new program. it's a very simple clone of wmPhoto, with almost none
of its functionality.  all this program does is show a picture in the tile.
only useful to show how easy it is to use the wmdocklib library.
2006-10-27 11:52:22 +00:00
mfrasca
6ba02aff6f added samples for smallest (readable) 4x6 font 2006-10-27 06:14:40 +00:00
mfrasca
4272cf21d0 a few more fonts taken from the gimp
and a correction in a library function, preventing translation of a colour already given by value instead of name.
2006-10-26 20:54:17 +00:00
mfrasca
ee321e2454 correcting the intensity of the lower left inclined segment. 2006-10-26 14:48:41 +00:00
mfrasca
83848b8298 added news. 2006-10-26 12:09:43 +00:00
mfrasca
908fc5be81 updated the areas and added the 'sunk-effect' border. 2006-10-26 11:33:10 +00:00
mfrasca
f8f80823ac not that I like the colour combination, but they make a good display of the capabilities. 2006-10-26 11:28:50 +00:00
mfrasca
ef21196486 new version forced. quite extensive changes in the library. 2006-10-26 08:42:01 +00:00
mfrasca
3c127f9849 1584740: colours messed up
modified the fonts: they start from background colour (None or Black) and go
to full intensity, which ought to be gray100 or white.

the initialization procedure will spread all colour differences between the
requested background and foreground proportionally to the intensity of the
gray char pixel.

most colour code clashes are resolved at initialization stage.  there are
only a few things you should not reuse, such as the space for transparency.
just try out the result and make use of the 'debug' parameter which will
cause the function to print the the generated xpm.
2006-10-26 08:41:00 +00:00
mfrasca
77098c749d additional small corrections in the lower left corner... 2006-10-25 17:08:24 +00:00
mfrasca
2541ff17e0 semplicemente cambiato l'ordine in cui sono nominati i colori. 2006-10-25 15:03:58 +00:00
mfrasca
807e36d6f6 we were cutting the font to 48 lines of data.
added the new fonts to the MANIFEST.
2006-10-25 12:27:37 +00:00
mfrasca
cfaf6210f0 correcting the intensity of the lower left inclined segment. 2006-10-25 08:16:56 +00:00
mfrasca
0fc5588246 adding a somewhat more compact form of the 14 segments font.
correcting the intensity in the corners of the 8x12 font.
2006-10-25 07:48:54 +00:00
mfrasca
b8b56debee shifting the text one pixel to the right. needed when the leading digit is not a 1. 2006-10-25 06:52:07 +00:00
mfrasca
6b33e26ed2 removed setting the colour palette for symbols in the font: it happens
in the initialization of the pixmap.
2006-10-25 06:01:20 +00:00