Kilian Valkhof
7e8a0b7cd6
add systray tooltip
2010-04-21 17:31:08 +02:00
Kilian Valkhof
a0edd4f003
implement a show/hide function in the systray menu
2010-04-21 17:23:44 +02:00
Kilian Valkhof
ba0bb856d2
disable recompress systray button
2010-04-21 14:05:53 +02:00
Kilian Valkhof
773efc6870
implement a system tray with basic functionality
2010-04-21 13:28:52 +02:00
Kilian Valkhof
7cf707d5a3
Merge branch 'master' of git://github.com/kalmi/Trimage
...
Conflicts:
src/trimage/trimage.py
2010-04-21 12:23:38 +02:00
Kálmán Tarnay
a936903b00
delete now unused hurry.filesize (I forgot it in the previous commit)
2010-04-20 23:42:00 +02:00
Kálmán Tarnay
d282bcf8e9
py2exe support
...
Usage: setup.py py2exe
You must be able to start trimage.py before even attempting to use py2exe.
It generates a standalone executable.
That standalone exacutable starts up only if the following files can be found on the path: jpegoptim.exe optipng.exe advpng.exe (they must return 0)
Compression does not work yet and the Windows versions of these tools are a lot slower than on Linux. The binaries I found were pretty old. They should most probably be recompiled to make use of new cpu features. Or we should find other tools.
trimage.hurry.filename -> trimage.filename
because py2exe couldn't deal with it
2010-04-20 23:29:24 +02:00
Kilian Valkhof
36644c5bf4
Merge branch 'master' of git://github.com/kalmi/Trimage
2010-04-12 18:25:24 +02:00
Kálmán Tarnay
464337d033
removed "check for double files when adding"
2010-04-12 03:59:58 +02:00
Kálmán Tarnay
cdd11c92ee
ThreadPool is a module now and it is in setup.py
2010-04-12 03:53:31 +02:00
Kilian Valkhof
348f97fabc
no multiprocessing, no subversion bump
2010-04-05 15:21:54 +02:00
Paul Chaplin
8e781f5409
Added Unicode BOM to file to declare encoding; Python assumes ASCII and chokes unless told.
2010-04-02 17:47:07 +01:00
Kilian Valkhof
e77f6e5a59
Merge branch 'parallel'
2010-04-02 15:10:50 +02:00
Kilian Valkhof
451269d960
update changelog
2010-04-02 15:10:44 +02:00
Kilian Valkhof
1106ca482c
pep8 rewriting, version update, todo editing
2010-04-02 13:51:19 +02:00
Kilian Valkhof
0f5092e10b
Merge branch 'master' of git://github.com/kalmi/Trimage into parallel
...
Conflicts:
src/trimage/trimage.py
2010-04-02 12:57:59 +02:00
Kálmán Tarnay
29be211a9d
license
2010-04-02 07:27:16 +02:00
Kálmán Tarnay
51691351d3
swapped my first name and last name
2010-04-02 07:25:10 +02:00
Kálmán Tarnay
cf9d98027c
changed hint text for recompress button to indicate that it recompresses all
2010-04-02 07:24:00 +02:00
Kálmán Tarnay
97956d7e14
removed multiprocessing from todo
2010-04-02 07:22:50 +02:00
Kálmán Tarnay
5782698dda
Lots of fixes/changes there
...
- ImageRow
- Recompress fixed
- Adding a file again recompresses it
- Status indicators
- cli working again
- more crash resistant
2010-04-02 07:18:18 +02:00
Kilian Valkhof
a5da8a9a58
Merge branch 'parallel' of git://github.com/kalmi/Trimage into parallel
2010-04-01 13:13:44 +02:00
Kálmán Tarnay
2c9599813a
temporary workaround for pythonthreadpool bug:
...
http://code.google.com/p/pythonthreadpool/issues/detail?id=5
2010-04-01 00:41:12 +02:00
Kálmán Tarnay
305198e09e
ThreadPool.py r15
...
bugfix release from ThreadPool.py's author
http://code.google.com/p/pythonthreadpool/issues/detail?id=4
2010-03-31 22:54:56 +02:00
Kilian Valkhof
c9126ae196
compress image, remove unneeded code, add more docstrings
2010-03-31 17:44:29 +02:00
Kálmán Tarnay
a3a31a7e93
Parallel processing
2010-03-30 02:21:00 +02:00
Kálmán Tarnay
ecfc4af6a3
"and" relationship between the two png compressor commands
2010-03-30 00:26:29 +02:00
Kálmán Tarnay
b0b0dd9244
OOP Image
2010-03-29 23:05:39 +02:00
Kálmán Tarnay
9fafa54f2e
Tasks can no longer be lost
...
How to reproduce:
- add 2 images
- before any of them finishes add 2 more images
- some of them will never finish
Cli always exits nicely (without ugly sleep)
2010-03-29 16:47:54 +02:00
Kálmán Tarnay
a89a8a3302
Compressed the images of the website with Trimage
2010-03-29 14:21:50 +02:00
Kilian Valkhof
022df47501
update docstrings
2010-03-29 13:15:06 +02:00
Kilian Valkhof
cbd4d76b6e
fix file dialog error with wrong type, update version
2010-03-29 13:09:24 +02:00
Kilian Valkhof
591536fa9e
Merge branch 'master' of git://github.com/kalmi/Trimage
2010-03-29 12:46:45 +02:00
Kilian Valkhof
b26ff08e96
spelling error
2010-03-29 12:45:56 +02:00
Kálmán Tarnay
1862f6f019
- use imghdr module to determine filetype instead of extension
...
- (The imghdr module is in the standard library,
so this creates no extra dependency.)
- store filenames in unicode internally
- got rid of QString and QStringList
- got rid of unicodize
- fix crash if directory didn't end with slash
- added time.sleep(0.1) before quit inside Worker.run
to avoid a segfault when no images were processed
(For example an empty directory was passed to trimage)
(This segfault was present even before I touched anything)
(A better "fix" would be not even initializing the GUI when
there is no need)
2010-03-29 04:11:05 +02:00
Kilian Valkhof
a506c0fee4
fix handling of unicode characters in filenames, bump version to 1.0.0b2
2010-03-28 16:11:50 +02:00
Kilian Valkhof
e382b579ec
fix typo for mac OSX version
2010-03-24 13:13:13 +01:00
Kilian Valkhof
19308292c0
implement Menno's fix for Mac OSX
2010-03-24 12:51:26 +01:00
Kilian Valkhof
70181f97ef
update website
2010-03-24 11:51:02 +01:00
Kilian Valkhof
8dcec263ff
massive overhaul of directory to make it work nicer with .deb generation
2010-03-23 20:48:17 +01:00
Kilian Valkhof
41672b8a39
update desktop file
2010-03-23 18:19:43 +01:00
Kilian Valkhof
c797699ff7
install in share instead of local/share
2010-03-23 17:57:44 +01:00
Kilian Valkhof
a24d69a178
add cfg file and desktop file
2010-03-23 17:46:04 +01:00
Kilian Valkhof
7efecb7b89
work in progress
2010-03-23 17:45:51 +01:00
Kilian Valkhof
3f26595198
show images as well
2010-03-23 15:57:54 +01:00
Kilian Valkhof
d79a5c498b
install trimage as module
2010-03-23 15:23:50 +01:00
Kilian Valkhof
6a00b2e25c
move runner to own folder
2010-03-23 14:59:33 +01:00
Kilian Valkhof
e96327edbd
add a runner file
2010-03-23 14:56:30 +01:00
Kilian Valkhof
27d3fd782c
more setup tweaks
2010-03-23 14:45:24 +01:00
Kilian Valkhof
9826e6cd97
more setup work
2010-03-23 14:34:52 +01:00