Hugo Posnic
8eca530275
First try to adopt Python3 and PyQt5
2017-11-18 14:44:11 +01:00
Kilian Valkhof
3b99c65a8c
fix indentation error for non-systemtray environments
...
this patch by Daniel Clemente and fixes an indentation error
for non-systemtray environments.
2011-12-21 11:02:13 +01:00
Thomas Lété
6ca6082e19
Avoid recursion in version control repositories.
2010-12-23 10:54:55 -08:00
Kilian Valkhof
e460faca76
update to version 1.0.5, clean up code slightly, update website and requirements
2010-09-26 15:26:11 +02:00
Thomas Lété
4c034722c7
Changed the backup file from *.backup to *~
2010-09-24 06:46:53 -07:00
Thomas
83ea31ed22
Huge performance improvement when adding a large number of files.
...
Added a check to avoid compression when the file is not writeable.
2010-09-23 06:03:59 -07:00
Thomas
b27fec1a02
Don't erase anymore files that are bigger than the original one.
2010-09-23 04:55:57 -07:00
Thomas
fbb92b153d
Add the ability to drop entire directories.
2010-09-22 09:12:20 -07:00
Kilian Valkhof
9d25bc738b
don't show the system tray icon if you're using the commandline
2010-09-17 20:37:52 +02:00
Kilian Valkhof
966536bb9a
build in some more checks against systray for osx
2010-06-27 12:22:08 +02:00
Kilian Valkhof
671f4163a8
update version to 1.0.3, update site and changelog
2010-06-12 14:10:34 +02:00
Kilian Valkhof
8a719be207
fix for environments without a system tray
2010-06-12 14:03:31 +02:00
Kilian Valkhof
d2a1c1e7d0
add license info for upstream as well
2010-06-12 13:28:04 +02:00
Kilian Valkhof
8715233259
add copyright info for filesize.py, update homepage link in control
2010-06-12 13:23:08 +02:00
Kilian Valkhof
c243524eaa
update version to 1.0.2
2010-05-31 19:01:22 +02:00
Kilian Valkhof
e4a7a1a254
fix qsettings for qt4.4
2010-05-31 14:33:54 +02:00
Kilian
2596905266
save file dialog state, directory, and set app info for settings
2010-05-31 13:02:15 +02:00
Kilian
de35d5967e
save geometry on quit and set on launch
2010-05-31 11:25:06 +02:00
Kilian
52ccd5a1de
add seperators to the tray icon menu
2010-05-30 20:20:04 +02:00
Kilian Valkhof
c9ae552994
bump version
2010-05-26 15:21:25 +02:00
Kilian Valkhof
2c2ac98b5d
Merge branch 'master' of git://github.com/kalmi/Trimage into development
2010-04-27 11:27:51 +02:00
Kálmán Tarnay
54680e1bc6
chmod +x trimage src/trimage/trimage.py
2010-04-26 17:36:30 +02:00
Kilian Valkhof
1be7cc83af
add the total number of files to the title and the systray tooltip
2010-04-21 18:20:01 +02:00
Kilian Valkhof
45410e7b4b
update todo, pep8 changes
2010-04-21 18:09:25 +02:00
Kilian Valkhof
8a89a44c9e
get directory ready for settings
2010-04-21 17:49:14 +02:00
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
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
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
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
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
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