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

208 Commits

Author SHA1 Message Date
mfrasca
4d4b252dc0 installing the fonts 2006-10-14 21:55:55 +00:00
mfrasca
70f3fdf6a2 1577063: fonts are hard coded
cleaning up and preparing the field.
2006-10-14 20:55:00 +00:00
mfrasca
9d1bae6ae6 updated and (more or less) tested. 2006-10-14 20:28:47 +00:00
mfrasca
87b09d0229 1577060: colour choice at command line is lost
palette is now built using the options passed at command line.
2006-10-14 08:17:14 +00:00
mfrasca
e8fbc09fd2 1577063: fonts are hard coded
font files are already in the cvs repository, but let's add them in the distributed sources.
2006-10-14 07:55:19 +00:00
mfrasca
c729720b01 1577060: colour choice at command line is lost
palette is now built using the options passed at command line.
2006-10-14 07:51:13 +00:00
mfrasca
0390c834a7 moved mouse region definition into object constructor. 2006-10-13 15:28:36 +00:00
mfrasca
7a34018886 updated the example with the latest library. - removed char_width/height. 2006-10-13 13:54:21 +00:00
mfrasca
84f7b15e81 updated the example with the latest library. 2006-10-13 13:52:15 +00:00
mfrasca
db4f53d257 1575762: initialization of pixmask
removed the definition of defaultRGBFiles from the examples: it is now
hosted in the library.

removed function parseColors from examples.  this is done during initPixmap.

added wmdocklib.defaultRGBFileList

removed wmdocklib.setColor (superseded by wmdocklib.initPixmap)

extended wmdocklib.initPixmap:
 basic 16 colour palette [basic_colours] from rgb.txt (not hard coded)
 alter_palette to (re)define an indexed colour in the xpm.
 bg/fg can be a single character or a number [0..15]
 ' ' as transparent colour.
 some debugging 'if 0:' code.

extended wmdocklib.getColorCode:
 it reads either the given rgb file or the first accessible file from
 defaultRGBFileList

corrected url in setup.py: it used to point to ibo!
2006-10-13 11:58:17 +00:00
mfrasca
6af6969015 1575762: initialization of pixmask
makes it possible to have application windows wider than 64 pixels.
the limit of 128 pixels cannot be crossed.
2006-10-12 20:28:52 +00:00
mfrasca
a6c99b9682 1575762: initialization of pixmask
added other font, but for the moment none is really used, only the hard
coded ones in pywmhelpers.py...
2006-10-12 19:50:13 +00:00
mfrasca
cb34659206 1575762: initialization of pixmask
configurable margin...  unsure if it works in all cases.
2006-10-12 19:49:22 +00:00
mfrasca
408fed815b removed tmount, added pywmgeneric.py 2006-10-12 19:32:36 +00:00
mfrasca
b35d05a73b 1575762: of pixmask
hard coded 3 pixels margin.  it should actually be configurable, but better
this than nothing.  and on the right side we need some more margin to get a
symmetrical effect.
2006-10-12 19:22:57 +00:00
mfrasca
651b44127d 1575762: of pixmask
hard coded 3 pixels margin.  it should actually be configurable, but better this than nothing.
2006-10-12 19:14:50 +00:00
mfrasca
70a5bc50ed 1575762: initialization of pixmask
made some mess about borders: the whole tile is now used up by the
application.  colour 0 seems to be reserved for transparency.
2006-10-12 18:27:08 +00:00
mfrasca
ed4b557ab0 1575762: initialization of pixmask
this is an important modification.  I hope it won't break too many programs
based on this library, or at least not in such a way that will make you
upset with me and my work...

well: the library offers now three charsets and a 16 colours palette.
but: you must use them.

there is no support yet for named colours.

the only working examples are pywmdatetime and pywmhdmon.
2006-10-12 17:29:17 +00:00
mfrasca
c1508bdbcd adding three fonts: 5x7, 6x8, 8x8. will be used from pywmhelpers.py. not yet decided how. 2006-10-11 14:18:26 +00:00
mfrasca
bd43b118d3 just cleaning up some alignments after tab removal. 2006-10-10 06:46:13 +00:00
mfrasca
5d8d6033a7 *** empty log message *** 2006-10-06 16:29:53 +00:00
mfrasca
d26e4815fe 1293224 char font
recalculating the height of the lines.
2006-10-06 16:27:03 +00:00
mfrasca
40044a31ce *** empty log message *** 2006-10-06 14:35:44 +00:00
mfrasca
1d33c72f47 1293224: char font
just preparing for a bigger change...
extended the global font (just one), it has lower and upper case.
2006-10-06 14:33:39 +00:00
mfrasca
0bf5b49746 1293224: char font
just preparing for a bigger change...
introduced a global font (just one), it is lower case per default.

I intend to modify the function for registering the default xpm to something
accepting the 64x64 bitmap (application dependent) and insert it into the
global pixmap.  an other function could be used to register the alfabet
pixmap and correspondently setting the variables indicating the position of
each character.  we would only support monospace alfabets.

the 'printing' functions would also be simpler (less arguments), since it
would be the library knowing which is the alfabet in use.
2006-10-06 12:37:39 +00:00
mfrasca
0811241501 1293220: better format for action
finalmente ho deciso di levare la flessibilitĂ  e permettere solo
mount/umount/eject.  questo semplifica molto il file di configurazione,
ovviamente.
2006-10-05 14:34:44 +00:00
mfrasca
5ccd557e5e Successfully Updated 1571285 2006-10-05 11:29:03 +00:00
mfrasca
fca72de090 1571285 ValueError: too many values to unpack
fixed the original error "ValueError: too many values to unpack" (was due to
/proc/stat).

then the application had problems interpreting /proc/meminfo: "Can't find
memory information in /proc/meminfo."

I hope, but I'm not 100% sure, that the repairs didn't break the application on kernel 2.4.
2006-10-05 11:25:05 +00:00
mfrasca
7a7f3d9b89 added in the news the creation notice for each of the pywm dock apps. 2006-10-05 05:56:16 +00:00
mfrasca
c926d51738 could not find the name of Kristoffer Erlandsson in the web site. this was not intentional and I'm correcting it now. 2006-10-05 05:19:01 +00:00
mfrasca
d1f3db4e38 removing last pywm subdir 2006-10-03 21:04:59 +00:00
mfrasca
fb1c80927b I had moved the CVS directory along with one of the old directories into
wmdocklib, so that it was not possible to commit the source correctly.
2006-10-03 21:00:43 +00:00
mfrasca
ebef06388b 1569327 release 1.1 is broken
last clean up.

wmdocklib.__init__ must import from general, not generic!
and tmount must be included in the distribution.
2006-10-03 08:52:09 +00:00
mfrasca
be572d6acc 1569327 release 1.1 is broken
last clean up.

wmdocklib.__init__ must import from general, not generic!
2006-10-03 08:51:27 +00:00
mfrasca
d1c1618277 1569327 release 1.1 is broken
finalizing cleaning up things.

all example scripts include and use wmdocklib (was pywmhelpers from pywmdockapps)
2006-10-03 08:10:30 +00:00
mfrasca
5320092e59 1569327 release 1.1 is broken
cleaning up more things.

MANIFEST.in includes ll readmes,
wmdocklib correctly populated.
2006-10-03 08:03:55 +00:00
mfrasca
a8bbadde35 *** empty log message *** 2006-10-03 07:50:20 +00:00
mfrasca
8f21eaeb2a 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:25 +00:00
mfrasca
9ae0e7335b 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:24 +00:00
mfrasca
328d3e9fb4 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:23 +00:00
mfrasca
4530ee31f0 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:22 +00:00
mfrasca
9c81d722a7 1569327 release 1.1 is broken
trying to clean up things.

wmdocklib now contains the modules to install.
examples all the scripts.
only pywmhdmon.py has been tested.
2006-10-03 07:45:21 +00:00
mfrasca
9767d86378 *** empty log message *** 2006-10-02 06:41:28 +00:00
mfrasca
22e63d3da2 1568809 1.1 tarball lacks pywmgeneral.h
adding MANIFEST, modifying MANIFEST.in, added the sample 'rc' files.
2006-10-02 06:40:54 +00:00
mfrasca
616b87f3ea can't remember why I was modifying this source this way. probably to avoid
the lambda which has been deprecated.  if it does not work like this, please
someone opens a (detailed) pr.
2006-10-02 06:40:07 +00:00
mfrasca
22be847464 adding the rescription that distutils expects to find. 2006-10-02 06:29:47 +00:00
mfrasca
8ea208a455 1568639 installation scripts
seems the MANIFEST.in is necessary.
it is used to generate MANIFEST whenever setup.py is modified.
2006-10-01 11:19:03 +00:00
mfrasca
9cef6b341a 1568639 installation scripts
added the ./setup.py script.
added the */__init__.py files.
modified the import instruction (import from pywmgeneral).
2006-10-01 09:26:48 +00:00
mfrasca
55189734a7 minimal documentation corrections (typo, urls). 2006-04-14 07:14:36 +00:00
mfrasca
124841d3b0 updated contact information 2005-09-28 13:40:33 +00:00