Commit graph

23 commits

Author SHA1 Message Date
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
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
348f97fabc no multiprocessing, no subversion bump 2010-04-05 15:21:54 +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
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
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
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
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
8dcec263ff massive overhaul of directory to make it work nicer with .deb generation 2010-03-23 20:48:17 +01:00
Renamed from trimage.py (Browse further)