Initial commit of MComix 0.90.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@1 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Full commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@2 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Restart SVN


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@3 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Initial SVN creation of MComix v0.90


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@4 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Temporarily remove poppler inclusion as PDF support does not yet exist.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@5 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Remove poppler and cairo include from the compiled python files.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@6 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Remove edit archive apply button until the functionality is ready.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@7 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Added the ability to edit the archive and immediately apply the changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@8 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Add debug print statement script.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@9 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Added extra debug help statements.


git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@10 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Do not track compiled files.

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@11 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Only check image extension instead of loading the image

Speed up loading times by only comparing the image extension
to a list of extensions supported by PyGTK instead of pre-loading
each image in a directory to check if it is supported.

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@12 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Magnifying lens / Magnifying glass inconsistency fix

The "Magnifying Lens" tool is referred to as "Magnifying Glass" in
several places in the code. As of SVN version 10 it figures in the
toolbar menu as "Magnifying _lens" while the keyboard shortcut is the G
key. This patch replaces "glass" with "lens" in all instances, and fixes
the keyboard shortcuts.

Now the L key, previously unused, activates the lens, while the G key
opens the "Go To Page..." dialog instead of [CTRL+G].

Author: Nephiel <nephiel@users.sourceforge.net>

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@13 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Improved page select dialog

I really like the preview feature of the page select dialog, but the
slider was too wide for my taste in my netbook screen, so I modified the
dialog to make better use of screen space. I added a text box, so if you
know which page you want, you can type it in directly. The preview is
shown above the box, and the slider is placed vertically next to it.

Author: Nephiel <nephiel@users.sourceforge.net>

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@14 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Dynamic background color fix

With MComix 0.90.3, when the "Dynamic background color" preference is
enabled, black and white or grayscale pages are displayed on a gray
background color. This causes the background to stand out instead of
letting the pages fade into it.

In comparison, the old Comix 4.0.4 uses a background color that is
closer to the actual color of the edge of the page.
E.g. if a page has a thick white margin all around, the background
should be way more white than gray, regardless of the amount of black
inside the margin.

This patch changes the function used to get the most used edge color in
image_tools.py to calculate it like the old Comix did.

Author: Nephiel <nephiel@users.sourceforge.net>

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@15 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Win32: Use PIL for Pixbuf loading instead of GDK

Ever since GTK 2.18.3, the official GTK++ binaries for
win32 have been built with GDI+ support for loading images.
This "feature" slows down loading by about 700% to 800% percent
compared to the same operation on Linux. This patch uses a different
approach and loads images with PIL, converting them to a pixbuf
afterwards.

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@16 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Extract current page from archives

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@17 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Proper conversion PIL->Pixbuf

pixbuf_new_from_data only works on 8bit RGB images, thus fails on all
grayscale images.

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@18 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Convert file chooser's choice to Unicode

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@19 ef8490bc-f317-4725-81ed-e95a9aca1bcf
Win32: Fix recent manager

The recent files menu has several problems on Win32:
- Files need to be added with 'file:' instead of 'file://'
  due to urllib using a different URI creating scheme on Win32.
- Mime type filters don't seem to work, so use additional glob patterns.
- At least GTK 2.20 cannot find icons for archives and crashes,
  so disable icon display on Win32 in the menu.

git-svn-id: svn+ssh://svn.code.sf.net/p/mcomix/code@20 ef8490bc-f317-4725-81ed-e95a9aca1bcf