Commit graph

16 commits

Author SHA1 Message Date
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)