2007-11-03 Osmo Salomaa * gaupol/__init__.py: Bump version number. RELEASE 0.12.3 2007-11-03 Osmo Salomaa * gaupol/gtk/dialogs/split.py (_shift_destination): Add missing comma to isinstance call. (#10200) 2007-11-03 Osmo Salomaa * gaupol/gtk/agents/preview.py (preview): Do not remove output_path if an exception is caught, because the path is not available and the file is removed by atexit anyway. (#10203) 2007-10-20 Osmo Salomaa * gaupol/__init__.py: Bump version number. RELEASE 0.12.2 2007-10-20 Osmo Salomaa * gaupol/gtk/ruler.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/taglib.py: Fix wild and potentially wild regular expressions for tags that matched text as well causing the text to be removed when converting. (#10140) 2007-10-20 Osmo Salomaa * data/glade/open-dialog.glade: * data/glade/save-dialog.glade: Fix extra widget spacing on sides. 2007-10-20 Osmo Salomaa * gaupol/gtk/dialogs/file/save.py (set_name): Set the current folder before setting filename. 2007-10-02 Osmo Salomaa * gaupol/__init__.py: Bump version number. RELEASE 0.12.1 2007-10-01 Osmo Salomaa * gaupol/gtk/agents/menu.py: * gaupol/gtk/assistants/text/assistant.py: * gaupol/gtk/assistants/text/introduction.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/file/save.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/output.py: * gaupol/gtk/page.py: Fix remaining NameErrors with function arguments. (#10034) 2007-10-01 Osmo Salomaa * gaupol/agents/text.py (_capitalize_position): Fix match index usage due to change of self._re_capitalizable. 2007-09-30 Osmo Salomaa * gaupol/countries.py: * gaupol/languages.py: Fix module docstrings. 2007-09-29 Osmo Salomaa * gaupol/__init__.py: Bump version number. RELEASE 0.12 2007-09-29 Osmo Salomaa * gaupol/gtk/assistants/text/assistant.py: Move the two lines of automatic post-progress-page page-switching from _prepare_confirmation_page to _correct_texts. 2007-09-29 Osmo Salomaa * gaupol/gtk/assistants/text/assistant.py (_on_prepare): Possibly fix sometimes funky backwards navigation. 2007-09-29 Osmo Salomaa * gaupol/gtk/ruler.py (get_length_function): * gaupol/gtk/util.py (prepare_text_view): Fix a few more potential lambda NameErrors. 2007-09-28 Osmo Salomaa * gaupol/agents/text.py (_capitalize_position): Do not capitalize after ellipses. 2007-09-28 Osmo Salomaa * data/patterns/Latn-en.common-error.in: Fix a copy-paste error. * data/gaupol.gtk.conf.spec: * data/glade/text-assistant-capitalization-page.glade: * data/patterns/Latn.capitalization.conf: * data/patterns/Latn.capitalization.in: * data/patterns/Latn-en.capitalization.conf: * data/patterns/Latn-en.capitalization.in: * gaupol/agents/text.py (capitalize): * gaupol/gtk/assistants/text/assistant.py (_init_properties): * gaupol/gtk/assistants/text/capitalization.py: Add a capitalization task to the text correction assistant. 2007-09-25 Osmo Salomaa * gaupol/files/subfile.py (_read_lines): Strip blank lines from beginning as well. 2007-09-24 Osmo Salomaa * gaupol/gtk/dialogs/file/subtitle.py (_init_filters): Replace "Plain text" file filter with an "All supported files" filter and set that active by default. 2007-09-24 Osmo Salomaa * gaupol/gtk/dialogs/split.py (_split_project): Call insert_subtitles on destination to mark as changed. 2007-09-21 Osmo Salomaa * gaupol/gtk/tooltips.py: Fix markup tooltip hack to work with (Py)GTK 2.12. 2007-09-21 Osmo Salomaa * gaupol/agents/save.py: Fix error saving after splitting project. (#10041) 2007-09-20 Osmo Salomaa * gaupol/gtk/renderers/multiline.py (_on_editor_focus_out_event): * gaupol/gtk/renderers/time.py (_on_editor_focus_out_event): Revert the erroneous 2007-09-18 focus-out-event fixes. 2007-09-20 Osmo Salomaa * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/page.py: Fix NameErrors with lambda functions. (#10034) 2007-09-18 Osmo Salomaa * gaupol/gtk/renderers/multiline.py (_on_editor_focus_out_event): * gaupol/gtk/renderers/time.py (_on_editor_focus_out_event): Return False so that the editing widget gets the event as well. 2007-09-16 Osmo Salomaa * tools/data/gaupol.iss: Remove EULAish LicenseFile field. * tools/py2exe.bat: Remove unused iso-codes .mo files. 2007-09-14 Osmo Salomaa * gaupol/__init__.py: Bump version number. RELEASE 0.11 2007-09-12 Osmo Salomaa * data/ui.xml: * gaupol/gtk/actions/edit.py: * gaupol/gtk/agents/edit.py: Add actions for extending the current selection up to the first or the last subtitle without moving focus or scrolling. (#9895) 2007-09-12 Osmo Salomaa * gaupol/gtk/view.py (_init_props): Enable rubber-banding. 2007-09-10 Osmo Salomaa * data/gaupol.gtk.conf.spec: Remove search.patterns and search.replacements. * gaupol/gtk/dialogs/search.py: Save search history to $HOME/.gaupol/search instead of the configuration file to avoid quoting problems. 2007-09-10 Osmo Salomaa * data/patterns/Latn.common-error.in: Add quotation marks and apostrophes at the ends of lines to the "Spaces before punctuation marks" pattern. 2007-09-09 Osmo Salomaa * gaupol/gtk/agents/preview.py (preview): Raise gobject timeout to 500 ms. 2007-09-09 Osmo Salomaa * data/codes/iso_3166.xml: Update from iso-codes 1.4. 2007-09-09 Osmo Salomaa * data/gaupol.gtk.conf.spec: * data/glade/text-assistant-line-break-options-page.glade: * gaupol/agents/text.py: * gaupol/gtk/assistants/text/line.py: Add more detailed line-break skip conditions. 2007-09-08 Osmo Salomaa * data/patterns/Latn-en.line-break.in: * data/patterns/Latn.line-break.in: Allow "Clauses" patterns to end in $. 2007-09-08 Osmo Salomaa * gaupol/agents/text.py (break_lines): Fix post-break reduction check. 2007-09-08 Osmo Salomaa * data/gaupol.gtk.conf.spec: Add line_break section. * data/glade/text-assistant-line-break-options-page.glade: * data/glade/text-assistant-line-break-page.glade: * gaupol/gtk/assistants/text/line.py: New files for a text assistant line-break task. * gaupol/gtk/assistants/text/assistant.py: Allow non-task pages and add line-break pages. * gaupol/gtk/assistants/text/page.py (correct_texts): Remove method as it is not used by all pages. * gaupol/gtk/ruler.py (get_length_function): New function to replace former useless "func". 2007-09-06 Osmo Salomaa * data/patterns/Latn.hearing-impaired.in: Fine-tune song lyric patterns. 2007-09-04 Osmo Salomaa * gaupol/agents/text.py (break_lines): Fix line length calculations. 2007-09-03 Osmo Salomaa * data/patterns/Latn-en.common-error.in: Add "re" to "Spaces around apostrophes". * gaupol/agents/text.py: Add break_lines and remove old crap. * gaupol/agents/util.py (get_liner): New method, equivalent to get_parser. * gaupol/liner.py (__init__): Add missing clean_func keyword argument. 2007-08-31 Osmo Salomaa * gaupol/liner.py: Rewrite to use arbitrary break patterns. Clean up code and add comments. 2007-08-27 Osmo Salomaa * data/patterns/Latn-en.line-break.conf: * data/patterns/Latn-en.line-break.in: * data/patterns/Latn.line-break.conf: * data/patterns/Latn.line-break.in: New preliminary files for line-break patterns. * gaupol/patternman.py (get_patterns): Allow patterns with a more specific code to override those with a less specific code if the names clash. 2007-08-26 Osmo Salomaa * tools/py2exe.bat: Copy DLLs from %GTKDIR%\bin. 2007-08-25 Osmo Salomaa * gaupol/gtk/dialogs/transform.py: Do not use DOWNWARDS ARROW WITH CORNER LEFTWARDS in text labels, instead strip tags and join lines with spaces. * gaupol/gtk/ruler.py (_Ruler): Use gaupol.re_any_tag. * gaupol/__init__.py: Add gaupol.re_any_tag. 2007-08-23 Osmo Salomaa * gaupol/gtk/agents/open.py (on_select_video_file_activate): Fix ``GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed'' on Windows. 2007-08-23 Osmo Salomaa * bin/gaupol: Fix errors in previous commit. 2007-08-23 Osmo Salomaa * bin/gaupol (prepare_paths): Refactor as with py2exe __file__ is not available. * data/icons/gaupol.ico: New icon for Windows. * doc/RELEASING.win32: New release checklist file. * gaupol/paths.py: Handle the special case of py2exe installations. * MANIFEST.in: Add doc/MODULES, doc/RELEASING and doc/RELEASING.win32. * setup.py: Add py2exe options and refactor file listings. * tools/data/gaupol.iss: New file for creating Inno Setup installers. * tools/py2exe.bat: New file for creating a Windows executable. * tools/translate (compile_data): New function for compiling data files. 2007-08-23 Osmo Salomaa * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/file/save.py: * gaupol/gtk/dialogs/file/subtitle.py: Add missing "Auto-detected" encoding entry. 2007-08-20 Osmo Salomaa * setup.py (SDistGna.finalize_options): Fix value of self.dist_dir. 2007-08-20 Osmo Salomaa * gaupol/__init__.py: Bump version number to 0.10. RELEASE 0.10 2007-08-20 Osmo Salomaa * data/patterns/Latn-en.hearing-impaired.in: Loosen "Uppercase speakers before colons" pattern. 2007-08-19 Osmo Salomaa * gaupol/gtk/assistants/text/error.py: Change "and" in description to "or". 2007-08-19 Osmo Salomaa * data/patterns/Latn-en.common-error.conf: * data/patterns/Latn-en.common-error.in: Remove "Spaces after capital letters" pattern. 2007-08-19 Osmo Salomaa * data/glade/text-assistant-common-error-page.glade: Include the check buttons in the table. * data/patterns/Latn.common-error.conf: * data/patterns/Latn.common-error.in: * data/patterns/Latn-en.common-error.conf: * data/patterns/Latn-en.common-error.in: Fix regular expression errors, loosen patterns and add some more based on a test set of 100 lousy subtitle files. 2007-08-18 Osmo Salomaa * gaupol/agents/util.py: * gaupol/parser.py: * gaupol/tags/taglib.py: Rename TagLibrary.remove_redundant to TagLibrary.clean. * gaupol/tags/subrip.py (_get_clean_tags): Relocate spaces after opening tags and before closing tags. 2007-08-18 Osmo Salomaa * data/patterns/Latn.common-error.in: * data/patterns/Zyyy.common-error.in: Tighten patterns to fix remaining false positives. 2007-08-17 Osmo Salomaa * data/patterns/Latn.common-error.conf: * data/patterns/Latn.common-error.in: * data/patterns/Latn-en.common-error.in: Tighten patterns based on a test set of 391 reasonably good subtitle files to remove almost all false positives. 2007-08-17 Osmo Salomaa * data/patterns/Latn.common-error.in: * data/patterns/Latn.hearing-impaired.in: * gaupol/const.py: * gaupol/files/mpsub.py: Remove redundant backslashes in regular expressions. 2007-08-17 Osmo Salomaa * gaupol/parser.py (_set_margins): Check for tags in the middle of the line. 2007-08-17 Osmo Salomaa * data/patterns/Latn.common-error.in: Adjust based on preliminary testing. * gaupol/gtk/assistants/text/confirmation.py: (_get_preview_sensitivity): Handle None value of row. 2007-08-17 Osmo Salomaa * data/gaupol.gtk.conf.spec: Split text assistant pages into sections of their own. * data/glade/text-assistant-common-error-page.glade: * gaupol/gtk/assistants/text/error.py: New files for a common error correction page. * data/patterns/Latn.common-error.conf: * data/patterns/Latn.common-error.in: * data/patterns/Latn-en.common-error.conf: * data/patterns/Latn-en.common-error.in: * data/patterns/Zyyy.common-error.conf: * data/patterns/Zyyy.common-error.in: Rename "error" to "common-error". Rename "Class" to "Classes". * gaupol/agents/text.py (correct_common_errors): New method to correct common errors in texts. * gaupol/gtk/assistants/text/assistant.py: Add CommonErrorPage. * gaupol/gtk/assistants/text/hearing.py: * gaupol/gtk/assistants/text/locale.py: Split locale selections to base class LocalePage. * gaupol/patternman.py: Rename "error" to "common-error". Include "Zyyy" script when appropriate. * gaupol/pattern.py (get_field_boolean, get_field_list): New functions to get fields with type conversion. 2007-08-15 Osmo Salomaa * data/patterns/Latn-en.hearing-impaired.in: Add apostrophe to upper case name pattern. * gaupol/agents/search.py (find_next_require): Loosen precondition regarding position. 2007-08-13 Osmo Salomaa * data/patterns/Latn-en.error.conf: * data/patterns/Latn-en.error.in: * data/patterns/Latn.error.conf: * data/patterns/Latn.error.in: * data/patterns/Zyyy.error.conf: * data/patterns/Zyyy.error.in: New files for common error patterns. * tools/generate-pattern-conf: New script to generate pattern configuration XML files. 2007-08-11 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER): Call gaupol.util.shell_quote on Windows paths. * gaupol/__init__.py: Import gaupol.temp. * gaupol/temp.py: New module for creating and removing temporary files in such a manner that they can succesfully be removed on Windows as well. * gaupol/agents/preview.py: * gaupol/agents/save.py: * gaupol/gtk/agents/preview.py: * gaupol/unittest/case.py: Use gaupol.temp instead of tempfile.mkstemp and os.remove. 2007-08-11 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER): Use %PROGRAMFILES% environment variable. * gaupol/gtk/agents/preview.py (preview): Catch OSError along with IOError. Use gobject.timeout_add to check process state. 2007-08-08 Osmo Salomaa * gaupol/util.py (path_to_uri, uri_to_path): Fix to work on Windows. 2007-08-08 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER): Use absolute quoted paths on Windows. * gaupol/gtk/agents/preview.py (preview): Do not call gobject.child_watch_add on Windows. * gaupol/gtk/renderers/multiline.py (do_start_editing): Sync editor's font to renderer's to fix a Windows bug. * gaupol/util.py: (browse_url): Do not use os.startfile on Windows. (start_process): Do not use shell on Windows. 2007-08-08 Osmo Salomaa * data/gaupol.gtk.conf.spec: Change default values of edit.use_custom_font and preview.use_custom to False. 2007-08-07 Osmo Salomaa * gaupol/gtk/assistants/text/__init__.py: Fix module docstring. 2007-08-07 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.9. * tools/translate: Fix xgettext command for extractions from ini-style files. RELEASE 0.9 2007-08-07 Osmo Salomaa * gaupol/gtk/conf/config.py (__init__): Relocate pylint: disable-msg. * gaupol/util.py (revertable): Wrap function call in a try-finally to always unblock. 2007-08-06 Osmo Salomaa * data/patterns/Latn-en.hearing-impaired.in: Change pattern to allow digits and spaces. * gaupol/gtk/assistants/text/assistant.py (_on_apply): Set the mouse pointer busy while working. 2007-08-06 Osmo Salomaa * gaupol/util.py (notify_frozen): Wrap function call in a try-finally to always thaw. 2007-08-06 Osmo Salomaa * gaupol/gtk/assistants/text/assistant.py (_init_size): Make the assistant a bit (two text lines) taller. 2007-08-06 Osmo Salomaa * gaupol/gtk/assistants/text/assistant.py (_on_apply): Count edits and removals and flash a message in the statusbar. 2007-08-06 Osmo Salomaa * gaupol/parser.py (_shift_tags): Partially rewrite and add proper comments. 2007-08-05 Osmo Salomaa * gaupol/gtk/assistants/text/hearing.py: * gaupol/patternman.py: Fix PatternManager code handling to keep track of parent codes and write configurations to files matching pattern files. Sort entries HearingImpairedPage combo boxes. 2007-08-05 Osmo Salomaa * gaupol/gtk/actions/text.py (CorrectTextsAction): Fix label to use title case and add ellipsis. 2007-08-05 Osmo Salomaa * gaupol/gtk/main.py: Bump Python dependency to 2.5.1 (#9685). 2007-08-05 Osmo Salomaa * data/patterns/Latn-en.hearing-impaired.conf: * data/patterns/Latn-en.hearing-impaired.in: * data/patterns/Latn.hearing-impaired.conf: * data/patterns/Latn.hearing-impaired.in: Fix patterns based on crude test case results. * gaupol/agents/util.py (get_parser): Add redundant_func argument. * gaupol/finder.py (set_regex): Fix default_flags argument to actually work (again). * gaupol/parser.py: (_shift_tags): Try to fix when shift is negative. (get_text): Remove redundant tags. * gaupol/tags/subrip.py (remove_redundant): * gaupol/tags/taglib.py (remove_redundant): Add method to remove redundant tags. 2007-08-04 Osmo Salomaa * gaupol/gtk/main.py (_init_application): Scroll to jump_row in addition to moving focus. 2007-08-03 Osmo Salomaa * gaupol/gtk/view.py (_get_renderer): Set yalign to 0 for multiline text renderers. 2007-08-03 Osmo Salomaa * data/glade/text-assistant-progress-page.glade: * gaupol/gtk/assistants/text/assistant.py: * gaupol/gtk/assistants/text/hearing.py: * gaupol/gtk/assistants/text/progress.py: Add a progress page before the confirmation page. 2007-08-02 Osmo Salomaa * gaupol/patternman.py: Escape quotation marks in pattern names in conf files. 2007-08-02 Osmo Salomaa * data/glade/spellcheck-dialog.glade: Remove stock buttons to avoid mnemonic conflicts. 2007-08-02 Osmo Salomaa * data/gaupol.gtk.conf.spec: * gaupol/gtk/conf/__init__.py: Add hearing impaired page settings. * data/glade/text-assistant-confirmation-page.glade: Add buttons for marking accept column and preview. * data/glade/text-assistant-hearing-impaired-page.glade: Name labels and make combo boxes empty list stores. * data/patterns/Latn.hearing-impaired.conf: * data/patterns/Latn.hearing-impaired.in: Fix names, descriptions and patterns. * data/ui.xml: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/text.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/text.py: Add an action and a menu item for the text assistant. * gaupol/agents/text.py (_remove_leftover_spaces): Add patterns to remove more spaces. * gaupol/finder.py (set_regex): Fix usage of default_flags to actually work. * gaupol/gtk/assistants: * gaupol/gtk/assistants/text: * gaupol/gtk/assistants/text/test: Set svg:ignore properties. * gaupol/gtk/assistants/text/assistant.py: * gaupol/gtk/assistants/text/confirmation.py: * gaupol/gtk/assistants/text/hearing.py: * gaupol/gtk/assistants/text/introduction.py: * gaupol/gtk/assistants/text/page.py: Finetune interfaces and complete basic code. * gaupol/gtk/renderers/multiline.py (set_show_lengths): New method to bypass conf changes. * gaupol/patternman.py: New functions to get countries, languages and scripts. 2007-07-30 Osmo Salomaa * data/gaupol.gtk.conf.spec: Add section "text_assistant". * data/glade/text-assistant-introduction-page.glade: Change label wording and accelerators. * gaupol/gtk/assistants: * gaupol/gtk/assistants/__init__.py: * gaupol/gtk/assistants/text: * gaupol/gtk/assistants/text/assistant.py: * gaupol/gtk/assistants/text/confirmation.py: * gaupol/gtk/assistants/text/hearing.py: * gaupol/gtk/assistants/text/__init__.py: * gaupol/gtk/assistants/text/introduction.py: * gaupol/gtk/assistants/text/page.py: Refactor the text assistant into multiple modules. 2007-07-29 Osmo Salomaa * gaupol/gtk/conf/config.py (__init__, write_to_file): Fall back to UTF-8 if encoding fails. * gaupol/gtk/dialogs/spellcheck.py: Try to read and write replacement files in locale encoding. * gaupol/patternman.py: Use gaupol.util.read and gaupol.util.write. * gaupol/util.py (read, readlines, write): Fall back to UTF-8 if encoding fails. 2007-07-29 Osmo Salomaa * data/glade/text-assistant-confirmation-page.glade: * data/glade/text-assistant-hearing-impaired-page.glade: * data/glade/text-assistant-introduction-page.glade: New files for text assistant pages. * gaupol/gtk/application.py: Add signal "text-assistant-request-pages". * gaupol/gtk/assistants.py: New file for the text correction assistant. * gaupol/gtk/__init__.py: Import TextAssistant and TextAssistantPage. 2007-07-27 Osmo Salomaa * gaupol/agents/clipboard.py: * gaupol/agents/edit.py: * gaupol/agents/format.py: * gaupol/agents/__init__.py: * gaupol/agents/open.py: * gaupol/agents/position.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/save.py: * gaupol/agents/search.py: * gaupol/agents/set.py: * gaupol/agents/text.py: * gaupol/agents/util.py: * gaupol/base/const.py: * gaupol/base/contractual.py: * gaupol/base/delegate.py: * gaupol/base/__init__.py: * gaupol/base/mutables.py: * gaupol/base/observable.py: * gaupol/base/singleton.py: * gaupol/calculator.py: * gaupol/clipboard.py: * gaupol/const.py: * gaupol/converter.py: * gaupol/countries.py: * gaupol/determiner.py: * gaupol/encodings.py: * gaupol/errors.py: * gaupol/files/ass.py: * gaupol/files/__init__.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: * gaupol/finder.py: * gaupol/gtk/actions/action.py: * gaupol/gtk/actions/edit.py: * gaupol/gtk/actions/file.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/actions/help.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/menu.py: * gaupol/gtk/actions/position.py: * gaupol/gtk/actions/search.py: * gaupol/gtk/actions/spellcheck.py: * gaupol/gtk/actions/view.py: * gaupol/gtk/agents/close.py: * gaupol/gtk/agents/edit.py: * gaupol/gtk/agents/format.py: * gaupol/gtk/agents/help.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/menu.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/position.py: * gaupol/gtk/agents/preview.py: * gaupol/gtk/agents/save.py: * gaupol/gtk/agents/search.py: * gaupol/gtk/agents/spellcheck.py: * gaupol/gtk/agents/update.py: * gaupol/gtk/agents/util.py: * gaupol/gtk/agents/view.py: * gaupol/gtk/application.py: * gaupol/gtk/conf/config.py: * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/const.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/duration.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file/append.py: * gaupol/gtk/dialogs/file/__init__.py: * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/file/save.py: * gaupol/gtk/dialogs/file/subtitle.py: * gaupol/gtk/dialogs/file/test/__init__.py: * gaupol/gtk/dialogs/file/video.py: * gaupol/gtk/dialogs/framerate.py: * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/header.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/insert.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/message.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/dialogs/previewerr.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/dialogs/shift.py: * gaupol/gtk/dialogs/spellcheck.py: * gaupol/gtk/dialogs/split.py: * gaupol/gtk/dialogs/test/__init__.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/dialogs/transform.py: * gaupol/gtk/entries.py: * gaupol/gtk/errors.py: * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: * gaupol/gtk/meta.py: * gaupol/gtk/output.py: * gaupol/gtk/page.py: * gaupol/gtk/renderers/__init__.py: * gaupol/gtk/renderers/multiline.py: * gaupol/gtk/renderers/test/__init__.py: * gaupol/gtk/renderers/time.py: * gaupol/gtk/ruler.py: * gaupol/gtk/runner.py: * gaupol/gtk/tooltips.py: * gaupol/gtk/unittest/case.py: * gaupol/gtk/unittest/__init__.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: * gaupol/i18n.py: * gaupol/__init__.py: * gaupol/languages.py: * gaupol/liner.py: * gaupol/locales.py: * gaupol/parser.py: * gaupol/paths.py: * gaupol/patternman.py: * gaupol/pattern.py: * gaupol/project.py: * gaupol/revertable.py: * gaupol/scripts.py: * gaupol/subtitle.py: * gaupol/tags/ass.py: * gaupol/tags/__init__.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/mpsub.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/subviewer2.py: * gaupol/tags/taglib.py: * gaupol/tags/test/__init__.py: * gaupol/tags/tmplayer.py: * gaupol/test/__init__.py: * gaupol/unittest/case.py: * gaupol/unittest/deco.py: * gaupol/unittest/__init__.py: * gaupol/urls.py: * gaupol/util.py: * setup.py: Remove unnecessary vertical whitespace. 2007-07-26 Osmo Salomaa * gaupol/locales.py (get_system_modifier): New function to get locale script modifier. * gaupol/pattern.py (_get_localized_field): Add support for handling script modifiers. Adhere to freedesktop.org's Desktop Entry Specification. 2007-07-26 Osmo Salomaa * data/patterns/Latn.hearing-impaired.conf: * data/patterns/Latn.hearing-impaired.in: Add a rule and finetune patterns. Use full names instead of letters for flags. * gaupol/agents/text.py (remove_hearing_impaired): New method to remove hearing impaired parts from subtitles. * gaupol/finder.py (set_regex): Add a "default_flags" keyword argument. * gaupol/pattern.py (get_flags): New method to get evaluated flags. 2007-07-24 Osmo Salomaa * data/patterns: * data/patterns/Latn.hearing-impaired.conf: * data/patterns/Latn.hearing-impaired.in: New files to define hearing impaired patterns for Latin. * gaupol/__init__.py: Import Pattern and PatternManager. * gaupol/locales.py (get_system_code): New function to get locale from environment variables. * gaupol/patternman.py: * gaupol/pattern.py: New files with classes Pattern and PatternManager. * setup.py: Translate pattern files. * tools/translate: Extract translatable strings from pattern files. 2007-07-23 Osmo Salomaa * gaupol/scripts.py: Rewrite to be consistent with gaupol.countries, gaupol.languages, gaupol.locales and gaupol.encodings. 2007-07-22 Osmo Salomaa * data/codes/iso_3166.xml: * data/codes/iso_639.xml: * data/codes/locales.txt: * gaupol/countries.py: * gaupol/languages.py: * gaupol/locales.py: Split languages to three modules. Read codes from files in gaupol.DATA_DIR. Rename functions to be less ambiguous. * gaupol/encodings.py: Rename functions to be less ambiguous. 2007-07-17 Osmo Salomaa * gaupol/gtk/ruler.py: Rename lengthlib_handler_id to ruler_handler_id. 2007-07-16 Osmo Salomaa * gaupol/gtk/conf/configobj.py (ConfigObj._quote): Quote strings containing "#". 2007-07-09 Osmo Salomaa * doc/RELEASING: Fix all remaining errors. 2007-07-09 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.8. RELEASE 0.8 2007-07-09 Osmo Salomaa * data/conf.spec: * data/gaupol.gtk.conf.spec: * gaupol/gtk/conf/__init__.py: * setup.py: Rename conf.spec to gaupol.gtk.conf.spec. 2007-07-09 Osmo Salomaa * doc/RELEASING: Update branch and tag names. 2007-07-08 Osmo Salomaa * tools/add-changelog: * tools/generate-tests: * tools/hide: * tools/list-glade: * tools/pylint: Fix minor errors and style issues. 2007-07-07 Osmo Salomaa * TODO: Clean up to reflect what has actually been done. 2007-07-04 Osmo Salomaa * gaupol/gtk/dialogs/debug.py (_print_traceback): Add indented string to code_lines. 2007-07-04 Osmo Salomaa * gaupol/gtk/dialogs/debug.py (_print_traceback): Indent code manually to preserve formatting if copied. 2007-07-04 Osmo Salomaa * gaupol/agents/save.py: * gaupol/gtk/conf/__init__.py: * gaupol/util.py: Fix remaining errors so that all unittests pass. 2007-07-03 Osmo Salomaa * gaupol/const.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/menu.py: * gaupol/gtk/actions/view.py: * gaupol/gtk/const.py: * gaupol/gtk/unittest/case.py: Fix or disable all errors reported by pylint. 2007-07-03 Osmo Salomaa * tools/data/apidocs.css: * tools/data/code.css: Fix colors to not be too light. * tools/pydoctor: Fix source code links. 2007-07-02 Osmo Salomaa * COPYING: * gaupol/*.py: * gaupol/gtk/dialogs/about.py: Upgrade license to GPL v3 or later. 2007-06-30 Osmo Salomaa * gaupol/gtk/main.py (_init_application): Update GUI after selecting video file. 2007-06-30 Osmo Salomaa * doc/gaupol.1: * gaupol/gtk/main.py: Rearrange the order in which options are listed. 2007-06-30 Osmo Salomaa * doc/gaupol.1: * gaupol/gtk/agents/open.py: * gaupol/gtk/main.py: Add option --adapt-translation. 2007-06-30 Osmo Salomaa * gaupol/gtk/dialogs/search.py (_set_pattern): Get value of ignore_case from conf rather than the widget. 2007-06-30 Osmo Salomaa * data/glade/search-dialog.glade: * gaupol/gtk/dialogs/search.py: Set search_vbox unsensitive if no target columns. 2007-06-30 Osmo Salomaa * gaupol/agents/search.py (find_next, find_previous): If document is None, get document from self._docs. 2007-06-30 Osmo Salomaa * gaupol/agents/open.py (_adapt_translations): Fix IndexError with m being too large. 2007-06-30 Osmo Salomaa * gaupol/gtk/dialogs/framerate.py (_init_values): Use page.project.framerate as the default input value. 2007-06-30 Osmo Salomaa * data/glade/duration-dialog.glade: Set sensible adjustments to spin buttons. 2007-06-30 Osmo Salomaa * gaupol/gtk/dialogs/split.py: (_shift_destination): Fix shift amount sign. (_split_project): Set subtitles to project, not page. 2007-06-29 Osmo Salomaa * gaupol/gtk/dialogs/transform.py: Update references to renamed variables and methods. 2007-06-29 Osmo Salomaa * gaupol/subtitle.py (shift_positions): Allow negative positions as a result. 2007-06-29 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER.MPLAYER.command): Add -noautosub to load only the specified subtitle file. 2007-06-29 Osmo Salomaa * gaupol/gtk/dialogs/duration.py: * gaupol/gtk/dialogs/shift.py: * gaupol/gtk/dialogs/transform.py: Set sensitivity of the selected rows radio button. 2007-06-29 Osmo Salomaa * gaupol/gtk/__init__.py: Parse gtkrc file instead of adding it to defaults. 2007-06-29 Osmo Salomaa * gaupol/agents/open.py (_sort): * gaupol/calculator.py (compare_times): * gaupol/subtitle.py (__cmp__): Compare negative times correctly. 2007-06-29 Osmo Salomaa * gaupol/const.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: Handle reading and writing neagative positions. 2007-06-29 Osmo Salomaa * gaupol/gtk/dialogs/shift.py (_on_preview_button_clicked): Update references to renamed variables and methods. 2007-06-29 Osmo Salomaa * bin/gaupol: Always modify sys.path when running from source to ensure that the correct directory is at the beginning of the search path. 2007-06-29 Osmo Salomaa * bin/gaupol: Add data/icons to icon theme search path if running from source. * data/icons/hicolor/16x16/apps/gaupol.png: * data/icons/hicolor/22x22/apps/gaupol.png: * data/icons/hicolor/24x24/apps/gaupol.png: * data/icons/hicolor/32x32/apps/gaupol.png: * data/icons/hicolor/scalable/apps/gaupol.svg: Arrange icon directories according to icon theme standards. * setup.py: Update icon file paths. 2007-06-29 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER.VLC.command): Use per-stream options (starting with ":" instead of "--"). 2007-06-28 Osmo Salomaa * gaupol/gtk/ruler.py (disconnect_text_view): Exit gracefully if text view was never connected. 2007-06-28 Osmo Salomaa * data/glade/preferences-dialog.glade: Unitalicize note about open dialog encoding. 2007-06-28 Osmo Salomaa * gaupol/agents/save.py (save_main): Update the mode of subtitles if saving in different format. 2007-06-28 Osmo Salomaa * data/glade/debug-dialog.glade: Change the message label wording. * gaupol/gtk/dialogs/debug.py (_resize): Set the message label size request to wrap the text nicer. 2007-06-28 Osmo Salomaa * gaupol/gtk/page.py: When the project emits a *-changed signal, move the focus row only if it currently is outside the changed rows. 2007-06-28 Osmo Salomaa * gaupol/gtk/view.py (_init_columns): Do not set text columns to expand since it is too slow. 2007-06-28 Osmo Salomaa * gaupol/gtk/view.py (_get_header_label, _get_renderer): Use gtk.CellRendererText instead of gtk.CellRendererSpin for frame cells. 2007-06-28 Osmo Salomaa * gaupol/gtk/agents/edit.py: * gaupol/gtk/view.py: Accept negative values in the frame cell renderer. 2007-06-28 Osmo Salomaa * gaupol/gtk/page.py: Move focus, at least the row, when projects emits a *-changed, subtitles-inserted or subtitles-removed signal. 2007-06-28 Osmo Salomaa * gaupol/gtk/agents/view.py: Do not register setting framerate with the undo/redo system. 2007-06-28 Osmo Salomaa * gaupol/gtk/main.py (_parse_args): Add brackets around NUM in the usage string. 2007-06-28 Osmo Salomaa * gaupol/gtk/view.py (_on_key_press_event): Disable Ctrl+PageUp/PageDown to allow them to be used solely for navigation between notebook tabs. 2007-06-28 Osmo Salomaa * gaupol/files/mpsub.py (_clean_lines): Remove newlines from the beginning of lines to stop them from being prepended to the header. 2007-06-28 Osmo Salomaa * data/glade/header-dialog.glade: Do not wrap text in text views. 2007-06-27 Osmo Salomaa * gaupol/gtk/dialogs/file/save.py (set_format, set_newline): * gaupol/gtk/dialogs/file/subtitle.py (set_encoding): Allow values of None, with which nothing will be done. 2007-06-27 Osmo Salomaa * gaupol/gtk/agents/save.py (save_main_document): Update references to renamed variables and methods. 2007-06-27 Osmo Salomaa * gaupol/const.py (VIDEO_PLAYER.MPLAYER.command): Add -slang (without parameters) to avoid loading VobSubs in Matroska video containers such that they would override the Gaupol-edited subtitle file given with the -sub option. 2007-06-27 Osmo Salomaa * gaupol/gtk/agents/open.py (on_select_video_file_activate): Set filechooser filename to page.project.video_path. 2007-06-27 Osmo Salomaa * gaupol/gtk/page.py (_on_tab_event_box_enter_notify_event): Use name "Character encoding" instead of "Encoding". 2007-06-27 Osmo Salomaa * gaupol/gtk/agents/open.py (_pre_open_check): Fix order of arguments in _check_file_is_not_open call. 2007-06-27 Osmo Salomaa * gaupol/agents/open.py: * gaupol/errors.py: * gaupol/gtk/agents/open.py: Add gaupol.ParseError and raise that in OpenAgent. 2007-06-27 Osmo Salomaa * gaupol/gtk/agents/open.py (_show_parse_error_dialog): Change message wording. 2007-06-27 Osmo Salomaa * gaupol/agents/register.py (_shift_changed_value): * gaupol/agents/util.py (_get_format): * gaupol/gtk/agents/save.py (save_translation_document): Update references to renamed variables and methods. * gaupol/gtk/agents/close.py: * gaupol/gtk/dialogs/multiclose.py: Actually close pages in proper methods and raise Defaults in proper places to handle cancellations correctly. 2007-06-26 Osmo Salomaa * setup.py: Fix OSError with initial change of working directory. 2007-06-26 Osmo Salomaa * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: Move move stuff from main to __init__. Rearrange imports in main. 2007-06-26 Osmo Salomaa * data/glade/debug-dialog.glade: * data/glade/open-dialog.glade: * data/glade/preferences-dialog.glade: * data/glade/save-dialog.glade: * data/glade/spellcheck-dialog.glade: Set translatability of gtk-* labels to false. Split preview command fields label in the preferences dialog to translatable and non-translatable labels. * setup.py: Remove no longer existing icons from data_files. * tools/add-changelog: * tools/generate-tests: * tools/hide: * tools/list-glade: * tools/nose-run: * tools/pydoctor: * tools/pylint: Get rid of bashisms and use /bin/sh. * tools/translate: Extract strings directly from Glade XML files. 2007-06-25 Osmo Salomaa * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/__init__.py: Copy defaults dictionary in __init__.restore_defaults instead of Container.update in order to save correct configuration. 2007-06-24 Osmo Salomaa * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/unittest/case.py: Try to make the gtk unittests a little bit faster. 2007-06-24 Osmo Salomaa * gaupol/gtk/dialogs/search.py: * gaupol/gtk/util.py: Fix more configuration variable renames. 2007-06-24 Osmo Salomaa * data/conf.spec: * gaupol/gtk/view.py: Fix configuration variable renames missed in previous commit. 2007-06-24 Osmo Salomaa * data/conf.spec: * gaupol/gtk/actions/position.py: * gaupol/gtk/actions/spellcheck.py: * gaupol/gtk/actions/view.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/preview.py: * gaupol/gtk/agents/view.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/dialogs/duration.py: * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/dialogs/spellcheck.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/dialogs/transform.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: Rename several configuration variables. 2007-06-23 Osmo Salomaa * gaupol/gtk/actions/action.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/menu.py: * gaupol/gtk/actions/view.py: Fix all unfinished parts marked with "FIX:". 2007-06-23 Osmo Salomaa * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: Move stuff from main to __init__ and clean up code. 2007-06-23 Osmo Salomaa * data/glade/duration-dialog.glade: * data/glade/framerate-dialog.glade: * data/glade/shift-dialog.glade: * data/glade/transform-dialog.glade: * gaupol/agents/position.py: * gaupol/gtk/agents/edit.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/position.py: * gaupol/gtk/agents/util.py: * gaupol/gtk/dialogs/duration.py: * gaupol/gtk/dialogs/framerate.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/shift.py: * gaupol/gtk/dialogs/transform.py: Add contracts and clean up code. 2007-06-20 Osmo Salomaa * data/glade/spellcheck-dialog.glade: Redesign the whole dialog. * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/spellcheck.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/spellcheck.py: Add contracts and clean up code. * gaupol/gtk/dialogs/search.py (_set_text): Fix scrolling to a mark of the match. 2007-06-19 Osmo Salomaa * gaupol/liner.py (_split_on_clauses): Check for a variance (actually std/mean) too great in line lengths if text contains three or more lines. 2007-06-17 Osmo Salomaa * data/glade/search-dialog.glade: * data/ui.xml: * gaupol/agents/search.py: * gaupol/finder.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/search.py: * gaupol/gtk/agents/util.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/search.py: * gaupol/parser.py: Add contracts and clean up code. 2007-06-16 Osmo Salomaa * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/menu.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/util.py: * gaupol/gtk/application.py: Add contracts and clean up code. 2007-06-16 Osmo Salomaa * data/conf.spec: * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/file/video.py: Do not save open_dialog.size since it doesn't work. 2007-06-16 Osmo Salomaa * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/preview.py: Clean up code. 2007-06-15 Osmo Salomaa * gaupol/gtk/agents/format.py: * gaupol/gtk/agents/__init__.py: Clean up code. 2007-06-15 Osmo Salomaa * data/conf.spec: * data/glade/header-dialog.glade: * data/glade/insert-dialog.glade: * data/glade/preferences-dialog.glade: * gaupol/base/mutables.py: * gaupol/const.py: * gaupol/gtk/actions/edit.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/agents/edit.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/dialogs/header.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/insert.py: * gaupol/gtk/page.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: * gaupol/languages.py: * gaupol/unittest/case.py: Add contracts and clean up code. 2007-06-15 Osmo Salomaa * gaupol/gtk/agents/close.py (close_page): Call self.update_gui. 2007-06-15 Osmo Salomaa * gaupol/gtk/agents/open.py (_try_open_file): Actually return None on UnicodeError. 2007-06-15 Osmo Salomaa * data/glade/multiclose-dialog.glade: * gaupol/gtk/agents/close.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/save.py: * gaupol/gtk/application.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/unittest/case.py: Add contracts and clean up code. 2007-06-14 Osmo Salomaa * gaupol/gtk/application.py (_init_notebook): Remove the border from around the notebook. * gaupol/gtk/page.py (_init_widgets): Change the tab label event box to use an invisible child window to remove bizarre gradients in tab label backgrounds. 2007-06-14 Osmo Salomaa * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: Move gtk.rc_add_default_file call to __init__. 2007-06-13 Osmo Salomaa * gaupol/gtk/agents/open.py: (_show_parse_error_dialog): Extend secondary text. Uncomment interactive tests. 2007-06-13 Osmo Salomaa * gaupol/gtk/agents/open.py: Fix callback name to match UIM action. 2007-06-13 Osmo Salomaa * data/glade/split-dialog.glade: * data/ui.xml: * gaupol/agents/register.py: * gaupol/agents/search.py: * gaupol/clipboard.py: * gaupol/const.py: * gaupol/encodings.py: * gaupol/finder.py: * gaupol/gtk/actions/action.py: * gaupol/gtk/actions/edit.py: * gaupol/gtk/actions/file.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/menu.py: * gaupol/gtk/actions/view.py: * gaupol/gtk/agents/edit.py: * gaupol/gtk/agents/help.py: * gaupol/gtk/agents/__init__.py: * gaupol/gtk/agents/menu.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/save.py: * gaupol/gtk/agents/update.py: * gaupol/gtk/agents/util.py: * gaupol/gtk/agents/view.py: * gaupol/gtk/application.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/const.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/duradjust.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file/subtitle.py: * gaupol/gtk/dialogs/header.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/dialogs/posadjust.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/dialogs/previewerr.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/dialogs/split.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/entries.py: * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: * gaupol/gtk/output.py: * gaupol/gtk/renderers/time.py: * gaupol/gtk/ruler.py: * gaupol/gtk/unittest/case.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: * gaupol/languages.py: * gaupol/liner.py: * gaupol/parser.py: * gaupol/project.py: * gaupol/subtitle.py: * gaupol/unittest/case.py: * gaupol/util.py: Add contracts and clean up code. 2007-06-09 Osmo Salomaa * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/__init__.py: Do not break notification connections upon repeated reads. * gaupol/gtk/unittest/case.py (teardown_method): Call gaupol.gtk.conf.read. 2007-06-09 Osmo Salomaa * gaupol/gtk/ruler.py: Use "sans" instead of conf.editor.font. 2007-06-09 Osmo Salomaa * gaupol/gtk/application.py: Add missing __all__ attribute. 2007-06-09 Osmo Salomaa * gaupol/gtk/agents/help.py: * gaupol/gtk/agents/__init__.py: Fix imports. 2007-06-09 Osmo Salomaa * gaupol/gtk/ruler.py: Use proper definition of "em" and pango units. 2007-06-08 Osmo Salomaa * bin/gaupol: * data/conf.spec: * gaupol/agents/clipboard.py: * gaupol/agents/edit.py: * gaupol/agents/format.py: * gaupol/agents/open.py: * gaupol/agents/position.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/save.py: * gaupol/agents/search.py: * gaupol/agents/set.py: * gaupol/agents/text.py: * gaupol/agents/util.py: * gaupol/base/const.py: * gaupol/base/contractual.py: * gaupol/base/__init__.py: * gaupol/calculator.py: * gaupol/clipboard.py: * gaupol/const.py: * gaupol/converter.py: * gaupol/determiner.py: * gaupol/enclib.py: * gaupol/encodings.py: * gaupol/files/ass.py: * gaupol/files/__init__.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: * gaupol/finder.py: * gaupol/gtk/actions/edit.py: * gaupol/gtk/actions/file.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/actions/help.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/position.py: * gaupol/gtk/actions/search.py: * gaupol/gtk/actions/spellcheck.py: * gaupol/gtk/actions/view.py: * gaupol/gtk/agents/close.py: * gaupol/gtk/agents/edit.py: * gaupol/gtk/agents/format.py: * gaupol/gtk/agents/help.py: * gaupol/gtk/agents/menu.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/position.py: * gaupol/gtk/agents/preview.py: * gaupol/gtk/agents/save.py: * gaupol/gtk/agents/search.py: * gaupol/gtk/agents/spellcheck.py: * gaupol/gtk/agents/update.py: * gaupol/gtk/agents/view.py: * gaupol/gtk/application.py: * gaupol/gtk/conf/config.py: * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/const.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/duradjust.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file/append.py: * gaupol/gtk/dialogs/file/__init__.py: * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/file/save.py: * gaupol/gtk/dialogs/file/subtitle.py: * gaupol/gtk/dialogs/file/video.py: * gaupol/gtk/dialogs/frconvert.py: * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/header.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/insert.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/dialogs/posadjust.py: * gaupol/gtk/dialogs/posshift.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/dialogs/previewerr.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/dialogs/spellcheck.py: * gaupol/gtk/dialogs/split.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/entries.py: * gaupol/gtk/errors.py: * gaupol/gtk/index.py: * gaupol/gtk/__init__.py: * gaupol/gtk/main.py: * gaupol/gtk/meta.py: * gaupol/gtk/output.py: * gaupol/gtk/page.py: * gaupol/gtk/renderers: * gaupol/gtk/renderers/__init__.py: * gaupol/gtk/renderers/multiline.py: * gaupol/gtk/renderers/time.py: * gaupol/gtk/ruler.py: * gaupol/gtk/runner.py: * gaupol/gtk/test/__init__.py: * gaupol/gtk/tooltips.py: * gaupol/gtk/unittest/case.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: * gaupol/i18n.py: * gaupol/__init__.py: * gaupol/languages.py: * gaupol/liner.py: * gaupol/opts.py: * gaupol/parser.py: * gaupol/paths.py: * gaupol/project.py: * gaupol/revertable.py: * gaupol/scripts.py: * gaupol/subtitle.py: * gaupol/tags/ass.py: * gaupol/tags/__init__.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/mpsub.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/subviewer2.py: * gaupol/tags/taglib.py: * gaupol/tags/tmplayer.py: * gaupol/unittest/case.py: * gaupol/unittest/__init__.py: * gaupol/urls.py: * gaupol/util.py: Arrange imports to gaupol and gaupol.gtk. Rename and rearrange some modules. 2007-06-02 Osmo Salomaa * gaupol/files/mpl2.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/preferences.py: * gaupol/gtk/page.py: Use lambda where appropriate. 2007-06-02 Osmo Salomaa * gaupol/gtk/application.py (_init_uim): Set radio action groups. 2007-06-01 Osmo Salomaa * gaupol/agents/text.py (capitalize_texts): Only change the case of the first letter of a clause. 2007-06-01 Osmo Salomaa * data/glade/open-dialog.glade: * data/glade/preferences-dialog.glade: * data/glade/save-dialog.glade: Fix mnemonics. * data/icons/gaupol.png: Remove as obsolete. * gaupol/agents/position.py: * gaupol/clipboard.py: * gaupol/gtk/const.py: * gaupol/gtk/main.py: * gaupol/gtk/unittest/case.py: * gaupol/project.py: Minor changes. * data/ui.xml: * gaupol/gtk/actions/action.py: * gaupol/gtk/actions/edit.py: * gaupol/gtk/actions/file.py: * gaupol/gtk/actions/format.py: * gaupol/gtk/actions/help.py: * gaupol/gtk/actions/__init__.py: * gaupol/gtk/actions/position.py: * gaupol/gtk/actions/search.py: * gaupol/gtk/actions/spellcheck.py: * gaupol/gtk/actions/test: * gaupol/gtk/actions/test/___init__.py: * gaupol/gtk/actions/view.py: Rewrite action classes as gtk.Actions. * gaupol/gtk/agents/__init__.py: Comment imports out for now. * gaupol/gtk/application.py: Add contracts and clean up code. 2007-05-29 Osmo Salomaa * gaupol/gtk/agents/menu.py: * gaupol/gtk/dialogs/file/subtitle.py: Replace three dots with ellipsis characters. 2007-05-28 Osmo Salomaa * gaupol/gtk/main.py (_start): Remove one level of indentation. 2007-05-28 Osmo Salomaa * gaupol/gtk/main.py: Adapt to renamed modules and variables. 2007-05-28 Osmo Salomaa * gaupol/gtk/dialogs/file: * gaupol/gtk/dialogs/file/test: Set svn:ignore properties. 2007-05-28 Osmo Salomaa * data/conf.spec: Remove obsolete entries. * data/glade/encoding-dialog.glade: * data/glade/language-dialog.glade: * data/glade/preferences-dialog.glade: * data/glade/previewerr-dialog.glade: Set dialog position. Remove unnecessary combo box items. * data/glade/open-dialog.glade: * data/glade/save-dialog.glade: New files to replace open-box.glade and save-box.glade. * gaupol/gtk/dialogs/file: * gaupol/gtk/dialogs/file/append.py: * gaupol/gtk/dialogs/file/__init__.py: * gaupol/gtk/dialogs/file/open.py: * gaupol/gtk/dialogs/file/save.py: * gaupol/gtk/dialogs/file/subtitle.py: * gaupol/gtk/dialogs/file/video.py: New files for file dialogs. * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/preferences.py: Minor changes. 2007-05-26 Osmo Salomaa * data/glade/preferences-dialog.glade: * gaupol/gtk/dialogs/preferences.py: Use gtk.Alignments to indent sections. Remove undo limiting and level preferences. 2007-05-25 Osmo Salomaa * data/glade/debug-dialog.glade: Set 6 pixel margins to the text view. * gaupol/gtk/dialogs/debug.py: Clean up code. 2007-05-24 Osmo Salomaa * gaupol/gtk/dialogs/language.py: Fix tree view sorting. 2007-05-24 Osmo Salomaa * data/glade/encoding-dialog.glade: Save with Glade 3. * gaupol/enclib.py (get_description): Add missing method. * gaupol/gtk/dialogs/encoding.py: Add contracts and clean up code. 2007-05-24 Osmo Salomaa * data/glade/previewerr-dialog.glade: Set 6 pixel margins to the text view. * gaupol/gtk/dialogs/previewerr.py: Use util.get_text_view_size. * gaupol/gtk/util.py (get_text_view_size): Add font argument with a blank default value. 2007-05-24 Osmo Salomaa * data/glade/language-dialog.glade: Use gtk.Alignments to indent sections. * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/message.py: * gaupol/gtk/dialogs/textedit.py: Add contracts and clean up code. 2007-05-23 Osmo Salomaa * gaupol/gtk/output.py: Set 6 pixel margins to the text view. 2007-05-23 Osmo Salomaa * data/icons/logo.png: Remove file, use icon instead. * gaupol/gtk/dialogs/about.py: Add title, fix website label and use a named icon. * gaupol/gtk/dialogs/__init__.py: Comment out imports for now. * gaupol/urls.py (HOMEPAGE): Add trailing slash. 2007-05-23 Osmo Salomaa * gaupol/agents/register.py: * gaupol/agents/search.py: * gaupol/base/delegate.py: * gaupol/base/__init__.py: * gaupol/base/mutables.py: * gaupol/base/observable.py: * gaupol/base/singleton.py: * gaupol/calculator.py: * gaupol/clipboard.py: * gaupol/const.py: * gaupol/converter.py: * gaupol/determiner.py: * gaupol/enclib.py: * gaupol/files/__init__.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/finder.py: * gaupol/gtk/agents/menu.py: * gaupol/gtk/agents/open.py: * gaupol/gtk/agents/update.py: * gaupol/gtk/app.py: * gaupol/gtk/cellrend/__init__.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/const.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file.py: * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/insert.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/posadjust.py: * gaupol/gtk/dialogs/pref.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/entries.py: * gaupol/gtk/lengthlib.py: * gaupol/gtk/page.py: * gaupol/gtk/util.py: * gaupol/__init__.py: * gaupol/langlib.py: * gaupol/liner.py: * gaupol/opts.py: * gaupol/parser.py: * gaupol/paths.py: * gaupol/project.py: * gaupol/reversion/action.py: * gaupol/reversion/group.py: * gaupol/reversion/__init__.py: * gaupol/scriptlib.py: * gaupol/subtitle.py: * gaupol/tags/__init__.py: * gaupol/tags/ssa.py: * gaupol/tags/taglib.py: * gaupol/unittest/case.py: * gaupol/unittest/__init__.py: * gaupol/urls.py: Style fixes to docstrings and variable names. 2007-05-23 Osmo Salomaa * data/conf.spec: * gaupol/gtk/const.py: * gaupol/gtk/index.py: * gaupol/gtk/view.py: Fix column constant names. * gaupol/gtk/page.py: Add contracts and use Subtitle class. * gaupol/gtk/tooltips.py: New file with markup tooltips; split from page. * gaupol/gtk/util.py (document_to_text_column, text_column_to_document): New functions; split from page. * gaupol/subtitle.py (get_duration): Add missing method. 2007-05-22 Osmo Salomaa * gaupol/gtk/view.py: Lowercase class variables. 2007-05-22 Osmo Salomaa * gaupol/gtk/view.py: Add contracts and clean up code. 2007-05-22 Osmo Salomaa * gaupol/gtk/output.py: Minor changes. 2007-05-21 Osmo Salomaa * gaupol/gtk/cellrend/__init__.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/cellrend/time.py: Minor changes. 2007-05-21 Osmo Salomaa * gaupol/gtk/entries.py: Allow negative values. Add contracts. * gaupol/gtk/util.py (get_contractual_metaclass): New function to help avoid metaclass conflicts. 2007-05-20 Osmo Salomaa * gaupol/gtk/errors.py: * gaupol/gtk/index.py: Minor changes. 2007-05-20 Osmo Salomaa * gaupol/util.py (asserted_return): New decorator to replace silent(AssertionError). Fix all references. 2007-05-20 Osmo Salomaa * gaupol/agents/open.py: * gaupol/determiner.py: * gaupol/liner.py: Minor changes to contracts. * gaupol/gtk/conf/__init__.py: * gaupol/gtk/conf/config.py: * gaupol/gtk/conf/container.py: * gaupol/gtk/conf/wrappers.py: * gaupol/gtk/const.py: * gaupol/gtk/lengthlib.py: * gaupol/gtk/util.py: Add contracts and clean up code. * gaupol/gtk/unittest/case.py: * gaupol/unittest/case.py: Import Project, Page and Application locally. 2007-05-17 Osmo Salomaa * gaupol/gtk/i18n.py: * gaupol/gtk/main.py: Remove i18n and move stuff to main. 2007-05-17 Osmo Salomaa * gaupol/gtk/unittest/case.py: * gaupol/gtk/unittest/__init__.py: Minor changes. 2007-05-17 Osmo Salomaa * gaupol/reversion: * gaupol/reversion/test: Set svn:ignore properties on directories. 2007-05-17 Osmo Salomaa * gaupol/gtk/actions/action.py: Remove leading underscore from filename. 2007-05-17 Osmo Salomaa * gaupol/agents: * gaupol/base/mutables.py: * gaupol/files/subfile.py: * gaupol/gtk/actions: * gaupol/gtk/agents: * gaupol/tags/taglib.py: Remove leading underscore from filename. 2007-05-17 Osmo Salomaa * gaupol/_agents/__init__.py: * gaupol/_agents/clipboard.py: * gaupol/_agents/edit.py: * gaupol/_agents/format.py: * gaupol/_agents/index.py: * gaupol/_agents/open.py: * gaupol/_agents/position.py: * gaupol/_agents/preview.py: * gaupol/_agents/register.py: * gaupol/_agents/save.py: * gaupol/_agents/search.py: * gaupol/_agents/set.py: * gaupol/_agents/support.py: * gaupol/_agents/text.py: * gaupol/_agents/util.py: * gaupol/base/contractual.py: * gaupol/base/delegate.py: * gaupol/base/observable.py: * gaupol/base/singleton.py: * gaupol/calculator.py: * gaupol/clipboard.py: * gaupol/const.py: * gaupol/enclib.py: * gaupol/files/_subfile.py: * gaupol/files/mpsub.py: * gaupol/gtk/cellrend/time.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/pref.py: * gaupol/gtk/dialogs/textedit.py: * gaupol/gtk/entries.py: * gaupol/liner.py: * gaupol/project.py: * gaupol/reversion/__init__.py: * gaupol/reversion/action.py: * gaupol/reversion/deco.py: * gaupol/reversion/group.py: * gaupol/reversion: * gaupol/subtitle.py: * gaupol/tags/_taglib.py: * gaupol/unittest/case.py: * gaupol/unittest/deco.py: * gaupol/urls.py: * gaupol/util.py: Use Subtitle class. Add contracts to agents. Allow negative values of positions. 2007-04-23 Osmo Salomaa * gaupol/const.py: Add FORMAT.*.has_header and FORMAT.*.identifier. * gaupol/determiner.py: Subclass from Singleton. * gaupol/files/ass.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/_subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: Use Contractual metaclass. * gaupol/tags/__init__.py: Fix docstring. 2007-04-22 Osmo Salomaa * gaupol/subtitle.py: New file. 2007-04-22 Osmo Salomaa * gaupol/base/contractual.py: * gaupol/opts.py: New files. * gaupol/calculator.py: Use one instance per framerate. * gaupol/util.py (contractual): Handle only global functions. 2007-04-12 Osmo Salomaa * gaupol/determiner.py: Add contracts. Read file one line at a time. * gaupol/files/ass.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/_subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: Have identifiers be compiled. 2007-04-12 Osmo Salomaa * gaupol/liner.py (is_legal): Make this a method again. 2007-04-12 Osmo Salomaa * gaupol/enclib.py: * gaupol/util.py: Replace memoize with once where appropriate. 2007-04-12 Osmo Salomaa * gaupol/base/singleton.py (__new__): Fix to work with inheritance. * gaupol/converter.py: * gaupol/tags/ass.py: * gaupol/tags/__init__.py: * gaupol/tags/internal.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/_taglib.py: Simplify TagLibrary interface. * gaupol/util.py (once): New decorator. 2007-04-11 Osmo Salomaa * gaupol/const.py: * gaupol/files/__init__.py: * gaupol/i18n.py: * gaupol/liner.py: * gaupol/paths.py: * gaupol/scriptlib.py: Minor changes. * tools/nose-cover: Remove file. 2007-04-11 Osmo Salomaa * gaupol/util.py: Remove gc_collected. 2007-04-11 Osmo Salomaa * gaupol/base/__init__.py: Import singleton.Singleton. * gaupol/base/singleton.py: New file with a Singleton base class. 2007-04-11 Osmo Salomaa * tools/nose-cover: Fix to work with individual modules. 2007-04-11 Osmo Salomaa * gaupol/util.py: Fix module docstring. 2007-04-11 Osmo Salomaa * gaupol/unittest/case.py: Use a set as TestCase.files. 2007-04-11 Osmo Salomaa * gaupol/const.py: * gaupol/files/__init__.py: * gaupol/util.py: Fix value of __all__. 2007-04-10 Osmo Salomaa * gaupol/util.py (memoize): Pickle the id of the self argument of methods. 2007-04-10 Osmo Salomaa * tools/nose-cover: New file. 2007-04-10 Osmo Salomaa * gaupol/unittest/case.py: * gaupol/unittest/__init__.py: Use atexit.register to remove temporary files. 2007-04-07 Osmo Salomaa * gaupol/_agents/search.py: * gaupol/_agents/text.py: * gaupol/finder.py: * gaupol/gtk/dialogs/search.py: Docstring fixes. 2007-04-07 Osmo Salomaa * gaupol/files/__init__.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/_subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: * gaupol/finder.py: Add contracts. Use contextlib.closing with codecs.open. * gaupol/util.py: Use contextlib.closing with codecs.open. 2007-04-06 Osmo Salomaa * gaupol/unittest/case.py (raises): New function. 2007-04-06 Osmo Salomaa * gaupol/calculator.py: * gaupol/finder.py: * gaupol/liner.py: * gaupol/parser.py: Add contracts. * gaupol/util.py (last): New function. 2007-04-06 Osmo Salomaa * gaupol/enclib.py: * gaupol/langlib.py: * gaupol/scriptlib.py: Add contracts. 2007-04-06 Osmo Salomaa * gaupol/gtk/i18n.py: * gaupol/i18n.py: New modules. 2007-04-06 Osmo Salomaa * gaupol/const.py: * gaupol/util.py: Minor changes. 2007-04-05 Osmo Salomaa * gaupol/util.py (is_method): New function. Use with contractual and memoize. 2007-04-05 Osmo Salomaa * gaupol/base/observable.py: Add contracts. 2007-04-05 Osmo Salomaa * gaupol/base/_mutables.py: Add contracts. * gaupol/util.py (contractual): Handle name mangling of __private methods. 2007-04-05 Osmo Salomaa * gaupol/cons.py: * gaupol/const.py: * gaupol/gtk/cons.py: * gaupol/gtk/const.py: Rename to const. 2007-04-05 Osmo Salomaa * gaupol/base/cons.py: * gaupol/base/const.py: Rename to const. 2007-04-04 Osmo Salomaa * gaupol/base/observable.py: * gaupol/util.py: Move notify_frozen to util. 2007-04-04 Osmo Salomaa * gaupol/gtk/main.py: Set util.CHECK_CONTRACTS based on --debug. * gaupol/util.py: Add contractual decorator. Remove old unused crap. 2007-04-02 Osmo Salomaa * gaupol/unittest/case.py (TestCase.get_text): Use util.memoize. * gaupol/util.py (memoize): Do not pickle the self argument of methods. 2007-04-02 Osmo Salomaa * gaupol/unittest/case.py: * gaupol/unittest/decorators.py: * gaupol/unittest/__init__.py: Minor changes. 2007-04-01 Osmo Salomaa * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_actions/file.py: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_actions/search.py: * gaupol/gtk/_actions/spellcheck.py: Replaced three dots with U+2026 ellipses. 2007-04-01 Osmo Salomaa * gaupol/_agents/edit.py: * gaupol/_agents/open.py: * gaupol/_agents/save.py: * gaupol/_agents/support.py: * gaupol/_agents/text.py: * gaupol/base/cons.py: * gaupol/base/_mutables.py: * gaupol/clipboard.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/tmplayer.py: * gaupol/gtk/_actions/__init__.py: * gaupol/gtk/_agents/open.py: * gaupol/gtk/conf/wrappers.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/lengthlib.py: * gaupol/gtk/main.py: * gaupol/gtk/view.py: * gaupol/liner.py: * gaupol/parser.py: * gaupol/util.py: * tools/translate: Replace list(...) with [...] in list comprehensions. 2007-04-01 Osmo Salomaa * tools/add-changelog: * tools/data/apidocs.css: * tools/data/code.css: * tools/data/pylintrc: * tools/generate-tests: * tools/list-glade: * tools/nose-run: * tools/profile: * tools/pydoctor: * tools/pylint: * tools/translate: Minor changes. 2007-03-30 Osmo Salomaa * bin/gaupol: Check if path in sys.path before inserting it. * MANIFEST.in: Remove doc/api. Include tools/data. * setup.py (SDistGna.run): Fix this to actually work. 2007-03-27 Osmo Salomaa * data/glade/spellcheck-dialog.glade: * data/ui.xml: * gaupol/gtk/_actions/spellcheck.py: * gaupol/gtk/_agents/spellcheck.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/spellcheck.py: Add spell-check. 2007-03-23 Osmo Salomaa * data/ui.xml: * gaupol/gtk/_actions/__init__.py: * gaupol/gtk/_actions/spellcheck.py: * gaupol/gtk/_agents/__init__.py: * gaupol/gtk/_agents/spellcheck.py: Add spell-check configuration. 2007-03-23 Osmo Salomaa * data/glade/frconvert-dialog.glade: * data/ui.xml: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_agents/position.py: * gaupol/gtk/dialogs/frconvert.py: * gaupol/gtk/dialogs/__init__.py: Add framerate conversion. 2007-03-20 Osmo Salomaa * data/glade/duradjust-dialog.glade: * data/ui.xml: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_agents/position.py: * gaupol/gtk/dialogs/duradjust.py: * gaupol/gtk/dialogs/__init__.py: Add duration adjust. 2007-03-14 Osmo Salomaa * gaupol/files/mpsub.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: Use regular expression substitution instead of insane slicing to right-strip the final newline off texts. 2007-03-14 Osmo Salomaa * gaupol/_agents/text.py (capitalize): Use Parser instead of Finder. 2007-03-14 Osmo Salomaa * gaupol/gtk/dialogs/posadjust.py: Fix text view widths. 2007-03-14 Osmo Salomaa * data/glade/posadjust-dialog.glade: * data/ui.xml: * gaupol/gtk/_actions/file.py: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_agents/position.py: * gaupol/gtk/_agents/preview.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/posadjust.py: * gaupol/gtk/dialogs/posshift.py: Add position adjust. 2007-03-12 Osmo Salomaa * gaupol/base/observable.py (block_all, unblock_all): New methods. * gaupol/gtk/_agents/preview.py (preview_changes): Wrap the project method call with a block_all-unblock_all. 2007-03-12 Osmo Salomaa * data/glade/posshift-dialog.glade: * data/ui.xml: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_agents/__init__.py: * gaupol/gtk/_agents/position.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/posshift.py: Add position shift. 2007-03-11 Osmo Salomaa * gaupol/util.py (browse_url): Quote url. 2007-03-11 Osmo Salomaa * gaupol/gtk/_actions/format.py: * gaupol/gtk/_actions/position.py: Fix imports. 2007-03-11 Osmo Salomaa * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_actions/file.py: * gaupol/gtk/_actions/format.py: * gaupol/gtk/_actions/help.py: * gaupol/gtk/_actions/__init__.py: * gaupol/gtk/_actions/position.py: * gaupol/gtk/_actions/projects.py: * gaupol/gtk/_actions/search.py: * gaupol/gtk/_actions/text.py: * gaupol/gtk/_actions/tools.py: * gaupol/gtk/_actions/view.py: Refactor action modules. 2007-03-11 Osmo Salomaa * gaupol/_agents/edit.py: * gaupol/_agents/position.py: * gaupol/_agents/register.py: * gaupol/_agents/set.py: * gaupol/_agents/support.py: * gaupol/base/cons.py: * gaupol/base/__init__.py: * gaupol/base/_mutables.py: * gaupol/base/observable.py: * gaupol/cons.py: * gaupol/files/_subfile.py: * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_actions/file.py: * gaupol/gtk/_actions/help.py: * gaupol/gtk/_actions/projects.py: * gaupol/gtk/_actions/text.py: * gaupol/gtk/_actions/tools.py: * gaupol/gtk/_agents/close.py: * gaupol/gtk/_agents/edit.py: * gaupol/gtk/_agents/menu.py: * gaupol/gtk/_agents/open.py: * gaupol/gtk/_agents/preview.py: * gaupol/gtk/_agents/save.py: * gaupol/gtk/_agents/update.py: * gaupol/gtk/_agents/view.py: * gaupol/gtk/app.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/cellrend/time.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/cons.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file.py: * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/header.py: * gaupol/gtk/dialogs/language.py: * gaupol/gtk/dialogs/multiclose.py: * gaupol/gtk/dialogs/pref.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/dialogs/split.py: * gaupol/gtk/entries.py: * gaupol/gtk/lengthlib.py: * gaupol/gtk/main.py: * gaupol/gtk/output.py: * gaupol/gtk/page.py: * gaupol/gtk/unittest/__init__.py: * gaupol/gtk/util.py: * gaupol/gtk/view.py: * gaupol/liner.py: * gaupol/parser.py: * gaupol/paths.py: * gaupol/scriptlib.py: * gaupol/tags/internal.py: * gaupol/unittest/case.py: * gaupol/unittest/decorators.py: * gaupol/unittest/__init__.py: * gaupol/unittest/samples.py: * gaupol/urls.py: * gaupol/util.py: * setup.py: * tools/pylint: * tools/translate: Refactor some stuff. 2007-03-09 Osmo Salomaa * gaupol/gtk/_actions/text.py (FindNextAction.is_doable, FindPreviousAction.is_doable): Fix application's pattern check. 2007-03-09 Osmo Salomaa * data/ui.xml: Add separator to the "Text" menu. Flip "Dialogue" and "Italic". 2007-03-09 Osmo Salomaa * tools/hide: Add .hidden generator. 2007-03-09 Osmo Salomaa * gaupol/gtk/_agents/__init__.py: * gaupol/gtk/_agents/preview.py: * gaupol/gtk/_agents/tools.py: Renamed tools to preview. 2007-03-09 Osmo Salomaa * gaupol/gtk/app.py: * gaupol/gtk/conf/__init__.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/main.py: * gaupol/gtk/paths.py: * gaupol/gtk/util.py: Do not read the default configuration file upon the import of gaupol.gtk.conf. 2007-03-09 Osmo Salomaa * gaupol/gtk/page.py (_on_project_*): Reload, change selection and focus only if rows is not empty. 2007-03-09 Osmo Salomaa * gaupol: * gaupol/_agents: * gaupol/_agents/test: * gaupol/base: * gaupol/base/test: * gaupol/files: * gaupol/files/test: * gaupol/gtk/_actions/test: * gaupol/gtk/_actions: * gaupol/gtk/_agents/test: * gaupol/gtk/_agents: * gaupol/gtk/cellrend/test: * gaupol/gtk/cellrend: * gaupol/gtk/conf/test: * gaupol/gtk/conf: * gaupol/gtk/dialogs/test: * gaupol/gtk/dialogs: * gaupol/gtk/test: * gaupol/gtk/unittest: * gaupol/gtk: * gaupol/tags/test: * gaupol/tags: * gaupol/test: * gaupol/unittest: Add ".hidden" to svn:ignore properties. 2007-03-08 Osmo Salomaa * gaupol/gtk/_agents/close.py: Confirm close if file no longer exists. 2007-03-08 Osmo Salomaa * gaupol/gtk/_agents/open.py (OpenAgent._select_files): If possible, set the filechooser directory to that of the current project's main file. 2007-03-08 Osmo Salomaa * gaupol/gtk/conf/wrappers.py (Container): Set options as instance variables. 2007-03-08 Osmo Salomaa * data/glade/search-dialog.glade: * gaupol/gtk/dialogs/search.py: Fix initial focus. 2007-03-08 Osmo Salomaa * gaupol/gtk/dialogs/search.py: Set cursor busy for "Replace All". 2007-03-08 Osmo Salomaa * gaupol/gtk/dialogs/search.py: Fix text view scrolling. 2007-03-08 Osmo Salomaa * data/glade/search-dialog.glade: * gaupol/_agents/search.py: * gaupol/_agents/set.py: * gaupol/gtk/_actions/text.py: * gaupol/gtk/_agents/edit.py: * gaupol/gtk/_agents/search.py: * gaupol/gtk/app.py: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/search.py: * gaupol/gtk/lengthlib.py: * gaupol/gtk/page.py: Add search. Closes #6690. 2007-03-06 Osmo Salomaa * data/ui.xml: * gaupol/_agents/preview.py: * gaupol/gtk/_actions/tools.py: * gaupol/gtk/_agents/save.py: * gaupol/gtk/_agents/tools.py: Add preview. 2007-03-06 Osmo Salomaa * data/gaupol.desktop.in: Remove Application from Categories and Add Video. 2007-03-06 Osmo Salomaa * tools/add-changelog: * tools/nose-run: * tools/pydoctor: Add proper quoting. 2007-03-03 Osmo Salomaa * data/ui.xml: * gaupol/enclib.py: * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_actions/text.py: * gaupol/gtk/_agents/open.py: * gaupol/gtk/_agents/save.py: * gaupol/gtk/app.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/file.py: * gaupol/gtk/dialogs/split.py: * gaupol/langlib.py: * setup.py: Added "Insert Subtitles...", "Remove Subtitles" and "Find And Replace" to the main toolbar. Fixed minor quotation inconsistensies. 2007-03-03 Osmo Salomaa * data/ui.xml: * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_actions/format.py: * gaupol/gtk/_actions/__init__.py: * gaupol/gtk/_actions/search.py: * gaupol/gtk/_actions/text.py: * gaupol/gtk/_agents/edit.py: * gaupol/gtk/_agents/search.py: * gaupol/gtk/app.py: Add "Text" menu and move items from "Edit", "Format" and "Search" menus there. Relabel some menu items. 2007-03-02 Osmo Salomaa * gaupol/enclib.py: Updated URLs. 2007-03-02 Osmo Salomaa * tools/pydoctor: Browse not by default. 2007-03-01 Osmo Salomaa * data/ui.xml: * gaupol/gtk/_actions/edit.py: * gaupol/gtk/_agents/edit.py: Remove Alt+Arrow keybindings and add "edit_next_value" UI manager action bound to the space key. 2007-03-01 Osmo Salomaa * tools/data/code.css: * tools/data/footer.html: * tools/data/header.html: * tools/py2html: * tools/pydoctor: Use highlight instead of py2html. 2007-03-01 Osmo Salomaa * tools/data/pylintrc: * tools/pylint: Adjust to Pylint 0.13. 2007-03-01 Osmo Salomaa * gaupol/gtk/view.py: Right-align number and frame cell contents. 2007-03-01 Osmo Salomaa * gaupol/gtk/view.py: Set frame cells wide enough to fit the spin button editor. 2007-03-01 Osmo Salomaa * gaupol/gtk/_actions/__init__.py: * gaupol/gtk/_agents/close.py: * gaupol/gtk/_agents/help.py: * gaupol/gtk/_agents/menu.py: * gaupol/gtk/app.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/insert.py: * gaupol/gtk/entries.py: * gaupol/gtk/page.py: * gaupol/gtk/view.py: Import util from gaupol.gtk. 2007-02-28 Osmo Salomaa * gaupol/gtk/_agents/edit.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/cellrend/time.py: * gaupol/gtk/page.py: Fix inconsistensies and segfaults and rest of the shit between the cell renderers and the edit agent. 2007-02-28 Osmo Salomaa * gaupol/gtk/_agents/edit.py: * gaupol/gtk/_agents/open.py: Add cell editing. 2007-02-26 Osmo Salomaa * gaupol/gtk/dialogs/about.py: Strip "http://" from website label. 2007-02-26 Osmo Salomaa * gaupol/gtk/_agents/format.py: * gaupol/gtk/_agents/view.py: * gaupol/gtk/app.py: Allow UIMAction menu_item callbacks be None. * tools/add-changelog: Sort files. 2007-02-26 Osmo Salomaa * gaupol/gtk/_agents/format.py: * gaupol/gtk/_actions/format.py: * data/ui.xml: Add format menu items. 2007-02-25 Osmo Salomaa * gaupol/gtk/conf/wrappers.py: * gaupol/base/cons.py: * data/conf.spec: Write constants in configuration file as strings instead of integers. 2007-02-25 Osmo Salomaa * gaupol/gtk/_agents/menu.py: Add Alt+N accelerators for project menu items. 2007-02-24 Osmo Salomaa * data/glade/pref-dialog.glade: Fix preview command fields and expand settings on the file page. 2007-02-24 Osmo Salomaa Initial svn import of the seija branch leading to 0.8. 2006-12-11 Osmo Salomaa * data/glade/debug-dialog.glade: * data/glade/encoding-dialog.glade: * data/glade/lang-dialog.glade: * data/glade/open-widgets.glade: * data/glade/pref-dialog.glade: * data/glade/previewerr-dialog.glade: * data/glade/save-widgets.glade: * gaupol/gtk/dialogs: * gaupol/gtk/dialogs/__init__.py: * gaupol/gtk/dialogs/about.py: * gaupol/gtk/dialogs/debug.py: * gaupol/gtk/dialogs/encoding.py: * gaupol/gtk/dialogs/file.py: * gaupol/gtk/dialogs/glade.py: * gaupol/gtk/dialogs/lang.py: * gaupol/gtk/dialogs/message.py: * gaupol/gtk/dialogs/pref.py: * gaupol/gtk/dialogs/previewerr.py: * gaupol/gtk/dialogs/test: * gaupol/gtk/dialogs/textedit.py: Added. 2006-12-10 Osmo Salomaa * doc/gaupol.1: * gaupol/gtk/main.py: Added new options to select translation and video files. * gaupol/common/filelib.py: * gaupol/common/enclib.py (get_locale_encoding): Return None instead of raising ValueError if no locale found. * gaupol/common/util.py (chardet_available, enchant_available): New functions. * gaupol/gtk/common/gtklib.py: (get_glade_xml): Added 'root' argument. (set_button): New function. 2006-12-09 Osmo Salomaa * gaupol/common/test/test_util.py: * gaupol/common/util.py: * gaupol/common/wwwlib.py: (util.get_chardet_version, util.get_desktop_environment, util.get_enchant_version): New functions. * gaupol/gtk/common/gtklib.py (INSERT_CURSOR): New attribute. 2006-12-08 Osmo Salomaa * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/support.py: * gaupol/common/paths.py: * gaupol/common/test/test_util.py: * gaupol/common/util.py: * gaupol/gtk/app.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/common/conf.py: * gaupol/gtk/common/cons.py: * gaupol/gtk/common/gtklib.py: * gaupol/gtk/common/test/test_gtklib.py: * gaupol/gtk/entries/time.py: * gaupol/gtk/output.py: * gaupol/gtk/page.py: * gaupol/gtk/view.py: Use new util.connect. Other miscellaneous fixes. 2006-12-03 Osmo Salomaa * gaupol/common/test/test_consbase.py: * gaupol/common/test/test_delegate.py: * gaupol/gtk/common/error.py: * gaupol/gtk/common/runner.py: * gaupol/gtk/common/test/test_error.py: * gaupol/gtk/common/test/test_runner.py: * gaupol/gtk/output.py: * gaupol/gtk/test/test_output.py: Added. 2006-12-03 Osmo Salomaa * gaupol/common/delegate.py: * gaupol/common/enclib.py: * gaupol/common/filelib.py: * gaupol/common/langlib.py: * gaupol/common/listlib.py: * gaupol/common/obs.py: * gaupol/common/scriptlib.py: * gaupol/common/test/test_enclib.py: * gaupol/common/test/test_filelib.py: * gaupol/common/test/test_langlib.py: * gaupol/common/test/test_listlib.py: * gaupol/common/test/test_obs.py: * gaupol/common/test/test_scriptlib.py: * gaupol/common/test/test_wwwlib.py: * gaupol/common/wwwlib.py: * gaupol/gtk/common/gtklib.py: * gaupol/gtk/common/lengthlib.py: * gaupol/gtk/common/test/test_gtklib.py: * gaupol/gtk/common/test/test_lengthlib.py: * bin/gaupol: * data/ui/menubar.xml: * data/ui/toolbar.xml: * doc/formats/ass.sample: * doc/formats/microdvd.sample: * doc/formats/mpl2.sample: * doc/formats/mpsub.sample: * doc/formats/ssa.sample: * doc/formats/subrip.sample: * doc/formats/subviewer2.sample: * doc/formats/tmplayer.sample: * gaupol/agents/__init__.py: * gaupol/agents/delegate.py: * gaupol/agents/edit.py: * gaupol/agents/format.py: * gaupol/agents/index.py: * gaupol/agents/open.py: * gaupol/agents/position.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/save.py: * gaupol/agents/search.py: * gaupol/agents/set.py: * gaupol/agents/support.py: * gaupol/agents/test/test_edit.py: * gaupol/agents/test/test_format.py: * gaupol/agents/test/test_index.py: * gaupol/agents/test/test_init.py: * gaupol/agents/test/test_position.py: * gaupol/agents/test/test_preview.py: * gaupol/agents/test/test_register.py: * gaupol/agents/test/test_save.py: * gaupol/agents/test/test_search.py: * gaupol/agents/test/test_set.py: * gaupol/agents/test/test_support.py: * gaupol/agents/test/test_text.py: * gaupol/agents/text.py: * gaupol/brokers/__init__.py: * gaupol/brokers/determiner.py: * gaupol/brokers/test/test_converter.py: * gaupol/brokers/test/test_determiner.py: * gaupol/common/__init__.py: * gaupol/common/consbase.py: * gaupol/common/paths.py: * gaupol/common/test/test_cons.py: * gaupol/common/test/test_paths.py: * gaupol/common/test/test_urls.py: * gaupol/common/urls.py: * gaupol/data/__init__.py: * gaupol/data/obs.py: * gaupol/data/project.py: * gaupol/data/test/test_clipboard.py: * gaupol/data/test/test_obs.py: * gaupol/data/test/test_project.py: * gaupol/files/__init__.py: * gaupol/files/ass.py: * gaupol/files/microdvd.py: * gaupol/files/mpl2.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/files/subrip.py: * gaupol/files/subviewer2.py: * gaupol/files/test/test_ass.py: * gaupol/files/test/test_init.py: * gaupol/files/test/test_microdvd.py: * gaupol/files/test/test_mpl2.py: * gaupol/files/test/test_mpsub.py: * gaupol/files/test/test_ssa.py: * gaupol/files/test/test_subfile.py: * gaupol/files/test/test_subrip.py: * gaupol/files/test/test_subviewer2.py: * gaupol/files/test/test_tmplayer.py: * gaupol/files/tmplayer.py: * gaupol/gtk/__init__.py: * gaupol/gtk/app.py: * gaupol/gtk/cellrend/__init__.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/cellrend/test/test_multiline.py: * gaupol/gtk/cellrend/test/test_time.py: * gaupol/gtk/common/__init__.py: * gaupol/gtk/common/conf.py: * gaupol/gtk/common/confbase.py: * gaupol/gtk/common/cons.py: * gaupol/gtk/common/test/test_conf.py: * gaupol/gtk/common/test/test_confbase.py: * gaupol/gtk/common/test/test_cons.py: * gaupol/gtk/entries/test/test_time.py: * gaupol/gtk/entries/time.py: * gaupol/gtk/index.py: * gaupol/gtk/main.py: * gaupol/gtk/page.py: * gaupol/gtk/test/test_app.py: * gaupol/gtk/test/test_index.py: * gaupol/gtk/test/test_main.py: * gaupol/gtk/test/test_page.py: * gaupol/gtk/test/test_view.py: * gaupol/gtk/util: * gaupol/gtk/util/__init__.py: * gaupol/gtk/util/gtklib.py: * gaupol/gtk/util/lengthlib.py: * gaupol/gtk/util/test: * gaupol/gtk/util/test/__init__.py: * gaupol/gtk/util/test/test_gtklib.py: * gaupol/gtk/util/test/test_lengthlib.py: * gaupol/gtk/view.py: * gaupol/ops/__init__.py: * gaupol/ops/finder.py: * gaupol/ops/liner.py: * gaupol/ops/test/test_calculator.py: * gaupol/ops/test/test_finder.py: * gaupol/ops/test/test_liner.py: * gaupol/ops/test/test_parser.py: * gaupol/tags/__init__.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/ssa.py: * gaupol/tags/test/test_ass.py: * gaupol/tags/test/test_init.py: * gaupol/tags/test/test_internal.py: * gaupol/tags/test/test_microdvd.py: * gaupol/tags/test/test_mpl2.py: * gaupol/tags/test/test_mpsub.py: * gaupol/tags/test/test_ssa.py: * gaupol/tags/test/test_subrip.py: * gaupol/tags/test/test_subviewer2.py: * gaupol/tags/test/test_taglib.py: * gaupol/tags/test/test_tmplayer.py: * gaupol/unittest/__init__.py: * gaupol/unittest/samples.py: * gaupol/util: * gaupol/util/__init__.py: * gaupol/util/enclib.py: * gaupol/util/filelib.py: * gaupol/util/langlib.py: * gaupol/util/listlib.py: * gaupol/util/scriptlib.py: * gaupol/util/test: * gaupol/util/test/__init__.py: * gaupol/util/test/test_enclib.py: * gaupol/util/test/test_filelib.py: * gaupol/util/test/test_langlib.py: * gaupol/util/test/test_listlib.py: * gaupol/util/test/test_scriptlib.py: * gaupol/util/test/test_wwwlib.py: * gaupol/util/wwwlib.py: * setup.py: * tools/run: Moved a lot of stuff around. 2006-12-02 Osmo Salomaa * gaupol/gtk/cellrend/multiline.py (MultilineCellRenderer._on_notify_text): Use gobject.markup_escape_text. 2006-12-02 Osmo Salomaa * gaupol/agents/search.py: * gaupol/agents/test/test_search.py: * gaupol/ops/finder.py: * gaupol/ops/test/test_finder.py: Use re.DOTALL automatically. * gaupol/common/cons.py: * gaupol/data/project.py: * gaupol/gtk/common/conf.py: * gaupol/gtk/common/confbase.py: * gaupol/gtk/common/cons.py: * gaupol/gtk/util/gtklib.py: * gaupol/gtk/util/lengthlib.py: * gaupol/gtk/util/test/test_gtklib.py: * gaupol/gtk/util/test/test_lengthlib.py: * gaupol/unittest/__init__.py: Cosmetic changes. * gaupol/gtk/main.py (_start): Register conf.write() with atexit. * tools/run (run): Print less. 2006-11-29 Osmo Salomaa * data/gaupol.desktop.in: * data/glade: * data/gtkrc: * data/icons: * data/icons/gaupol.png: * data/icons/gaupol.svg: * data/icons/logo.png: * data/ui: * data/ui/menubar.xml: * data/ui/popups.xml: * data/ui/toolbar.xml: * gaupol/gtk: * gaupol/gtk/__init__.py: * gaupol/gtk/app.py: * gaupol/gtk/cellrend: * gaupol/gtk/cellrend/__init__.py: * gaupol/gtk/cellrend/multiline.py: * gaupol/gtk/cellrend/test: * gaupol/gtk/cellrend/test/__init__.py: * gaupol/gtk/cellrend/test/test_multiline.py: * gaupol/gtk/cellrend/test/test_time.py: * gaupol/gtk/cellrend/time.py: * gaupol/gtk/common: * gaupol/gtk/common/__init__.py: * gaupol/gtk/common/conf.py: * gaupol/gtk/common/confbase.py: * gaupol/gtk/common/cons.py: * gaupol/gtk/common/test: * gaupol/gtk/common/test/__init__.py: * gaupol/gtk/common/test/test_conf.py: * gaupol/gtk/common/test/test_confbase.py: * gaupol/gtk/common/test/test_cons.py: * gaupol/gtk/entries: * gaupol/gtk/entries/__init__.py: * gaupol/gtk/entries/test: * gaupol/gtk/entries/test/__init__.py: * gaupol/gtk/entries/test/test_time.py: * gaupol/gtk/entries/time.py: * gaupol/gtk/index.py: * gaupol/gtk/main.py: * gaupol/gtk/page.py: * gaupol/gtk/test: * gaupol/gtk/test/__init__.py: * gaupol/gtk/test/test_app.py: * gaupol/gtk/test/test_index.py: * gaupol/gtk/test/test_main.py: * gaupol/gtk/test/test_page.py: * gaupol/gtk/test/test_view.py: * gaupol/gtk/util: * gaupol/gtk/util/__init__.py: * gaupol/gtk/util/gtklib.py: * gaupol/gtk/util/lengthlib.py: * gaupol/gtk/util/test: * gaupol/gtk/util/test/__init__.py: * gaupol/gtk/util/test/test_gtklib.py: * gaupol/gtk/util/test/test_lengthlib.py: * gaupol/gtk/view.py: * tools/run: Added. 2006-11-28 Osmo Salomaa * bin/gaupol: main.run instead of main. * tools/hide: * tools/list-glade: * tools/list-py: Removed. * tools/pylint: * tools/status: * tools/translate: Minor changes. 2006-11-25 Osmo Salomaa * bin/gaupol: Do not pass sys.argv[0] to main. * gaupol/ops/liner.py (Liner._split_on_words): Bind dialogue lines to the next word. 2006-11-22 Osmo Salomaa * doc/gaupol.1: Added --config-file option. * gaupol/agents/register.py: * gaupol/agents/test/test_register.py: * gaupol/data/obs.py: * gaupol/data/test/test_obs.py: (obs.Observable.emit): Added self to list of arguments passed. * gaupol/ops/liner.py: * gaupol/util/scriptlib.py: * gaupol/agents/test/test_text.py: Renamed 'english' to 'latin-english' and 'English' to 'Latin (English)'. 2006-11-19 Osmo Salomaa * gaupol/ops/liner.py (Liner._join_even): Fixed len-assuming code to work with lengthlib.func and ems. 2006-11-19 Osmo Salomaa * gaupol/ops/parser.py (Parser.set_text): Set margins only if text contains multiple lines. 2006-11-19 Osmo Salomaa * gaupol/agents/edit.py: * gaupol/agents/format.py: * gaupol/agents/open.py: * gaupol/agents/position.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/save.py: * gaupol/agents/search.py: * gaupol/agents/set.py: * gaupol/agents/support.py: * gaupol/agents/test/test_edit.py: * gaupol/agents/test/test_format.py: * gaupol/agents/test/test_init.py: * gaupol/agents/test/test_position.py: * gaupol/agents/test/test_preview.py: * gaupol/agents/test/test_register.py: * gaupol/agents/test/test_search.py: * gaupol/agents/test/test_set.py: * gaupol/agents/test/test_support.py: * gaupol/agents/test/test_text.py: * gaupol/agents/text.py: * gaupol/brokers/__init__.py: * gaupol/common/cons.py: * gaupol/data/obs.py: * gaupol/data/project.py: * gaupol/data/test/test_obs.py: * gaupol/files/subfile.py: * gaupol/ops/test/test_calculator.py: * gaupol/unittest/__init__.py: * gaupol/unittest/case.py: * gaupol/unittest/samples.py: * gaupol/util/test/test_filelib.py: Cosmetic changes. Repositioned pylint-disable comments. Notify signals added to obs and used by some agents. * setup.py: Added gtkrc file. 2006-11-10 Osmo Salomaa * gaupol/agents/edit.py: * gaupol/agents/position.py: * gaupol/ops/liner.py: * gaupol/unittest/case.py: * setup.py: Cosmetic changes. * gaupol/data/project.py: Docstring fixes. * gaupol/util/listlib.py: (get_ranges): Handle empty lists. * gaupol/util/scriptlib.py: (CLAUSE_SEPS): Added proper handling of dialogue lines. 2006-10-29 Osmo Salomaa * gaupol/__init__.py: * gaupol/agents/__init__.py: * gaupol/agents/delegate.py: * gaupol/agents/edit.py: * gaupol/agents/format.py: * gaupol/agents/index.py: * gaupol/agents/open.py: * gaupol/agents/position.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/save.py: * gaupol/agents/search.py: * gaupol/agents/set.py: * gaupol/agents/support.py: * gaupol/agents/test/test_preview.py: * gaupol/agents/test/test_save.py: * gaupol/agents/test/test_support.py: * gaupol/agents/text.py: * gaupol/brokers/__init__.py: * gaupol/brokers/converter.py: * gaupol/brokers/determiner.py: * gaupol/common/cons.py: * gaupol/common/consbase.py: * gaupol/common/paths.py: * gaupol/common/urls.py: * gaupol/data/__init__.py: * gaupol/data/clipboard.py: * gaupol/data/obs.py: * gaupol/data/project.py: * gaupol/files/__init__.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/ops/__init__.py: * gaupol/ops/calculator.py: * gaupol/ops/finder.py: * gaupol/ops/liner.py: * gaupol/ops/parser.py: * gaupol/tags/__init__.py: * gaupol/tags/ass.py: * gaupol/tags/internal.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/taglib.py: * gaupol/unittest/__init__.py: * gaupol/unittest/case.py: * gaupol/unittest/samples.py: * gaupol/util/enclib.py: * gaupol/util/langlib.py: * gaupol/util/scriptlib.py: * gaupol/util/wwwlib.py: * tools/profile: * tools/pylint: * tools/versions: Added pylint directives. Cosmetic changes. * tools/pydoc: Removed in favor of pydoctor. 2006-10-27 Osmo Salomaa * gaupol/agents/text.py (TextAgent.format_lines): Check violations of legal_lines. * gaupol/data/obs.py: * gaupol/data/project.py: Minor changes. 2006-10-27 Osmo Salomaa * gaupol/data/obs.py: * gaupol/data/test/test_obs.py: (Observable.disconnect): New method. 2006-10-26 Osmo Salomaa * gaupol/data/obs.py: * gaupol/data/test/test_obs.py: Renamed model to obs. * gaupol/__init__.py: * gaupol/agents/__init__.py: * gaupol/agents/delegate.py: * gaupol/agents/edit.py: * gaupol/agents/index.py: * gaupol/agents/open.py: * gaupol/agents/preview.py: * gaupol/agents/register.py: * gaupol/agents/search.py: * gaupol/brokers/__init__.py: * gaupol/brokers/converter.py: * gaupol/brokers/determiner.py: * gaupol/common/cons.py: * gaupol/common/consbase.py: * gaupol/common/paths.py: * gaupol/common/urls.py: * gaupol/data/__init__.py: * gaupol/data/clipboard.py: * gaupol/data/model.py: * gaupol/data/project.py: * gaupol/data/test/test_model.py: * gaupol/files/__init__.py: * gaupol/files/mpsub.py: * gaupol/files/ssa.py: * gaupol/files/subfile.py: * gaupol/ops/__init__.py: * gaupol/ops/calculator.py: * gaupol/ops/finder.py: * gaupol/ops/liner.py: * gaupol/ops/parser.py: * gaupol/tags/__init__.py: * gaupol/tags/ass.py: * gaupol/tags/internal.py: * gaupol/tags/microdvd.py: * gaupol/tags/mpl2.py: * gaupol/tags/ssa.py: * gaupol/tags/subrip.py: * gaupol/tags/taglib.py: * gaupol/unittest/__init__.py: * gaupol/unittest/case.py: * gaupol/unittest/samples.py: * gaupol/util/enclib.py: * gaupol/util/langlib.py: * gaupol/util/scriptlib.py: * gaupol/util/wwwlib.py: * tools/pylint: Minor changes. 2006-10-20 Osmo Salomaa * */.hidden: Removed mistakenly imported files. 2006-10-20 Osmo Salomaa Lots of changes. Dependecies bumped. GTK stuff missing. 2006-08-16 Osmo Salomaa * lib/gaupol/base/text/finder.py: * lib/gaupol/gtk/dialog/find.py: Fixed replacing bugs. 2006-08-16 Osmo Salomaa * data/glade/cap-dialog.glade: New file. * data/ui/menubar.xml: Removed a separator. * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/util/conf.py: * lib/gaupol/gtk/delegate/guiinit.py: Implemented toolbar style customization. * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/test/test_find.py: Moved notifications to statusbar. Added notification of wrapping. * lib/gaupol/gtk/delegate/help.py: (VersionInfoDialog): Fixed version number parsing (for now). 2006-08-15 Osmo Salomaa * data/gaupol.desktop.in: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegate/__init__.py: * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/filesave.py: * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/position.py: * lib/gaupol/base/delegate/set.py: * lib/gaupol/base/delegate/support.py: * lib/gaupol/base/delegate/test/test_action.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/delegate/test/test_filesave.py: * lib/gaupol/base/delegate/test/test_find.py: * lib/gaupol/base/delegate/test/test_format.py: * lib/gaupol/base/delegate/test/test_set.py: * lib/gaupol/base/delegate/test/test_support.py: * lib/gaupol/base/delegate/test/test_text.py: * lib/gaupol/base/delegate/text.py: * lib/gaupol/base/file/mpsub.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/model.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/test/test_converter.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/test/test_model.py: * lib/gaupol/base/test/test_project.py: * lib/gaupol/base/text/finder.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/scriptlib.py: * lib/gaupol/base/util/test/test_filelib.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/view.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/test/test_spellcheck.py: * lib/gaupol/gtk/util/conf.py: * lib/gaupol/test/__init__.py: Rewrote revertable action notification system. (Decorators!) Some minor fixes and cosmetic changes. 2006-08-05 Osmo Salomaa * lib/gaupol/gtk/delegate/preview.py: Press P for preview. 2006-08-05 Osmo Salomaa * lib/gaupol/base/delegate/format.py: (change_case): Tags disappear no more. 2006-08-05 Osmo Salomaa * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/test/test_edit.py: (split_subtitle): Don't duplicate texts. * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/format.py: Changed keycombos. * lib/gaupol/gtk/view.py: Use built-in search only for numeric key-presses. 2006-08-03 Osmo Salomaa * data/glade/find-dialog.glade: * data/glade/replace-dialog.glade: Replace find icons with arrows. * lib/gaupol/base/delegate/__init__.py: * lib/gaupol/base/delegate/test/test_text.py: * lib/gaupol/base/delegate/text.py: Implemented capitalization and not-really-doing. * lib/gaupol/base/util/scriptlib.py: * lib/gaupol/base/util/test/test_scriptlib.py: New file for writing system script dependent data. Added regular expressions to capitalize after. * lib/gaupol/gtk/delegate/preview.py: (preview_changes): Added tran_texts for future compatibility. * lib/gaupol/gtk/dialog/pref.py: Just callin' 'em pages. * setup.py: Clarified docstring. 2006-07-26 Osmo Salomaa * data/glade/multiclose-dialog.glade: Fixed lacks of expanding. 2006-07-15 Osmo Salomaa * lib/gaupol/gtk/output.py: Save geometry on close. 2006-07-12 Osmo Salomaa * lib/gaupol/gtk/util/conf.py: (duration_adjust): Tweaked default values. 2006-07-11 Osmo Salomaa * lib/gaupol/gtk/delegate/guiinit.py: Remove ellipses from tool item labels. 2006-07-11 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.7.0. RELEASE 0.7.0 2006-07-11 Osmo Salomaa * setup.py: Don't include AUTHORS, COPYING and README in data_files. 2006-07-10 Osmo Salomaa * lib/gaupol/gtk/delegate/fileopen.py: (on_append_file_activate): Fixed temp_page and page confusion. 2006-07-10 Osmo Salomaa * lib/gaupol/gtk/delegate/fileopen.py: (SplitProjectAction.is_doable): Check that there's more than one subtitle. * lib/gaupol/gtk/delegate/test/test_edit.py: * lib/gaupol/gtk/delegate/test/test_fileopen.py: Fixed test code. * data/glade/projsplit-dialog.glade: * lib/gaupol/gtk/dialog/projsplit.py: Set minimum split point to 2. 2006-07-10 Osmo Salomaa * lib/gaupol/gtk/delegate/fileopen.py: (on_append_file_activate): Call gtk.main_iteration() while gtk.events_pending() to immediately destroy the dialog. 2006-07-09 Osmo Salomaa * lib/gaupol/base/delegate/edit.py: (merge_subtitles): lstrip texts. * lib/gaupol/gtk/delegate/preview.py: (on_preview_activate): Handle None value of col. 2006-07-09 Osmo Salomaa * lib/gaupol/base/util/enclib.py: (get_locale_encoding): Do not call _translate on None but instead raise ValueError. (Closes bug #6319) 2006-07-09 Osmo Salomaa * data/glade/projsplit-dialog.glade: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/dialog/projsplit.py: * lib/gaupol/gtk/dialog/test/test_projsplit.py: Implemented project splitting. 2006-07-08 Osmo Salomaa * lib/gaupol/base/delegate/filesave.py: (_restore_original): Catch OSError as well. 2006-07-08 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/test/test_edit.py: * lib/gaupol/gtk/delegate/test/test_fileopen.py: * lib/gaupol/gtk/delegate/test/test_filesave.py: * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/test/test_file.py: Implemented file appending. Moved some stuff around. 2006-07-07 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.6.0. RELEASE 0.6.0. 2006-07-07 Osmo Salomaa * setup.py: Clean .pyo files as well if such exist. 2006-07-07 Osmo Salomaa * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/test/test_file.py: * lib/gaupol/gtk/util/conf.py: Implemented smart translation file opening. 2006-07-06 Osmo Salomaa * lib/gaupol/gtk/delegate/appupdate.py: Removed bizarre notebook focus grabbing when next or previous page activated. * lib/gaupol/gtk/dialog/duradjust.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/posadjust.py: * lib/gaupol/gtk/dialog/posshift.py: * lib/gaupol/gtk/dialog/subinsert.py: Fixed sensitivity initializations and selected target radios being both active and insensitive. 2006-07-05 Osmo Salomaa * data/ui/menubar.xml: * data/ui/popups.xml: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/test/test_edit.py: * lib/gaupol/gtk/delegate/view.py: Implemented subtitle split and merge. Changed some keybindings. * lib/gaupol/gtk/delegate/viewupdate.py: Set 200 as maximum size for character statusbar. * lib/gaupol/gtk/dialog/find.py: Swapped ins and bound on text buffer selection. 2006-07-04 Osmo Salomaa * doc/formats/tmplayer.notes: * doc/formats/tmplayer.sample: * lib/gaupol/base/cons.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/tmplayer.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/tmplayer.py: Added support for TMPlayer format. * lib/gaupol/base/file/microdvd.py: Removed unnecessary list duplication. 2006-07-04 Osmo Salomaa * lib/gaupol/gtk/cellrend/classes.py: * lib/gaupol/gtk/cellrend/pixbuf.py: * lib/gaupol/gtk/cellrend/test/test_classes.py: * lib/gaupol/gtk/cellrend/test/test_pixbuf.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/conf.py: * lib/gaupol/gtk/view.py: Implemented showing .srtx files as images. * lib/gaupol/gtk/dialog/duradjust.py: * lib/gaupol/gtk/dialog/posadjust.py: Fixed target radio button defaults in case of no selection. 2006-07-01 Osmo Salomaa * setup.py: Fixed paths module generation. 2006-06-30 Osmo Salomaa * lib/gaupol/gtk/app.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileopen.py: Implemented global clipboard in Application class. * setup.py: Fixed typo. 2006-06-28 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.5.0. RELEASE 0.5.0. 2006-06-28 Osmo Salomaa * lib/gaupol/gtk/dialog/header.py: Removed unused variables. 2006-06-28 Osmo Salomaa * MANIFEST.in: Removed docs. * lib/gaupol/gtk/dialog/find.py: Require self._page to match current page on focus-out and replace. 2006-06-26 Osmo Salomaa * lib/gaupol/base/file/mpsub.py: Fixed lack of calc. 2006-06-26 Osmo Salomaa * INSTALL: * README: * TODO: Updated. * lib/gaupol/base/delegate/__init__.py: * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/model.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/delegate/__init__.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/menuupdate.py: * lib/gaupol/gtk/dialog/multiclose.py: * lib/gaupol/gtk/dialog/spellcheck.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: Cosmetic changes. * setup.py: Added comments. Added --dry-run checks. 2006-06-26 Osmo Salomaa * MANIFEST.in: Updated. * lib/gaupol/gtk/dialog/spellcheck.py: Fixed SyntaxError. * setup.cfg: Keep only the record line. * setup.py: Updated. Improved clean command. Fixed errors. Fixed paths.py generation. 2006-06-26 Osmo Salomaa * lib/gaupol/base/util/filelib.py: Added readlines function. * lib/gaupol/gtk/delegate/edit.py: Fixed fast man's double-click bug #6235. * lib/gaupol/gtk/dialog/spellcheck.py: Use filelib. * setup.cfg: Removed optimize. * setup.py: Preliminary fixes. * tools/hide: * tools/pydoc: * tools/translate: Cosmetic changes. 2006-06-25 Osmo Salomaa * lib/gaupol/base/cons.py: * lib/gaupol/base/delegate/filesave.py: * lib/gaupol/base/file/mpsub.py: Fixed MPsub support. 2006-06-25 Osmo Salomaa * data/headers/mpsub.txt: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/stat.py: * lib/gaupol/base/delegate/test/test_format.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/mpsub.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/mpsub.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/dialog/header.py: * lib/gaupol/gtk/dialog/test/test_header.py: * tools/pylint: Added support for MPsub. 2006-06-25 Osmo Salomaa * lib/gaupol/base/cons.py: Unmarked some names translatable. 2006-06-25 Osmo Salomaa * lib/gaupol/gtk/main.py: Do not fail on SyntaxError with Python 2.3. * tools/hide: * tools/list-glade: * tools/list-py: New files. * tools/add-changelog: * tools/exec: * tools/profile: * tools/py.test: * tools/pydoc: * tools/pyenchant: * tools/pylint: * tools/status: * tools/translate: * tools/versions: Revised. 2006-06-24 Osmo Salomaa * data/headers/microdvd.txt: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/test/test_init.py: Added support for MicroDVD headers. 2006-06-24 Osmo Salomaa * lib/gaupol/gtk/dialog/spellcheck.py: Don't let amount of replacements exceed conf.spell_check.max_repl. * lib/gaupol/gtk/util/conf.py: New option: spell_check.max_repl. 2006-06-24 Osmo Salomaa * doc/releasing.txt: * po/README.translators: Updated. * lib/gaupol/test/__init__.py: Changed _SUBRIP_TEXT and _MICRODVD_TEXT. 2006-06-24 Osmo Salomaa * doc/formats/ass.notes: * doc/formats/mdvddoc.html: * doc/formats/microdvd.notes: * doc/formats/mpl2.notes: * doc/formats/ssa.notes: * doc/formats/subrip.notes: * doc/formats/subviewer2.notes: Renamed. 2006-06-24 Osmo Salomaa * doc/formats/COPYING: * doc/formats/README: * doc/formats/ass.sample: * doc/formats/ass.txt: * doc/formats/microdvd.html: * doc/formats/microdvd.sample: * doc/formats/microdvd.txt: * doc/formats/mpl2-eng.html: * doc/formats/mpl2.sample: * doc/formats/mpl2.txt: * doc/formats/ssa.sample: * doc/formats/ssa.txt: * doc/formats/subrip.sample: * doc/formats/subrip.txt: * doc/formats/subviewer2.sample: * doc/formats/subviewer2.txt: Added samples. Reviewed notes. * lib/gaupol/gtk/delegate/guiinit.py: * lib/gaupol/gtk/dialog/find.py: Minor fixes. 2006-06-23 Osmo Salomaa * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/test/test_find.py: Replaced self._pos with self._match_span. 2006-06-23 Osmo Salomaa * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/gtk/delegate/test/test_filesave.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/spellcheck.py: * lib/gaupol/gtk/dialog/test/test_find.py: * lib/gaupol/gtk/util/test/test_conf.py: * tools/profile: Fixed bugs. 2006-06-23 Osmo Salomaa * lib/gaupol/gtk/dialog/find.py: Fixed bugs. 2006-06-23 Osmo Salomaa * data/glade/find-dialog.glade: * data/glade/replace-dialog.glade: Removed selected rows targets. * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/text/finder.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/test/test_find.py: Fixed bugs. 2006-06-23 Osmo Salomaa * data/glade/posadjust-dialog.glade: Changed current entry sensitivities back to true. 2006-06-23 Osmo Salomaa * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/viewupdate.py: Removed all page.view.grab_focus() calls. 2006-06-23 Osmo Salomaa * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/guiinit.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/spellcheck.py: * lib/gaupol/gtk/delegate/test/test_find.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/spellcheck.py: Fixed bugs. 2006-06-23 Osmo Salomaa * gaupol: * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/base/delegate/filesave.py: * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/position.py: * lib/gaupol/base/delegate/preview.py: * lib/gaupol/base/delegate/test/test_action.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/delegate/test/test_filesave.py: * lib/gaupol/base/delegate/test/test_find.py: * lib/gaupol/base/delegate/test/test_format.py: * lib/gaupol/base/delegate/test/test_position.py: * lib/gaupol/base/delegate/test/test_preview.py: * lib/gaupol/base/delegate/test/test_stat.py: * lib/gaupol/gtk/app.py: * lib/gaupol/gtk/delegate/__init__.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileclose.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/guiinit.py: * lib/gaupol/gtk/delegate/menuupdate.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/pref.py: * lib/gaupol/gtk/delegate/preview.py: * lib/gaupol/gtk/delegate/spellcheck.py: * lib/gaupol/gtk/delegate/test/.hidden: * lib/gaupol/gtk/delegate/test/test_action.py: * lib/gaupol/gtk/delegate/test/test_edit.py: * lib/gaupol/gtk/delegate/test/test_fileclose.py: * lib/gaupol/gtk/delegate/test/test_fileopen.py: * lib/gaupol/gtk/delegate/test/test_find.py: * lib/gaupol/gtk/delegate/test/test_format.py: * lib/gaupol/gtk/delegate/test/test_pref.py: * lib/gaupol/gtk/delegate/test/test_spellcheck.py: * lib/gaupol/gtk/delegate/test/test_viewupdate.py: * lib/gaupol/gtk/delegate/view.py: * lib/gaupol/gtk/delegate/viewupdate.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/duradjust.py: * lib/gaupol/gtk/dialog/encoding.py: * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/frconvert.py: * lib/gaupol/gtk/dialog/language.py: * lib/gaupol/gtk/dialog/posadjust.py: * lib/gaupol/gtk/dialog/posshift.py: * lib/gaupol/gtk/dialog/pref.py: * lib/gaupol/gtk/dialog/previewerr.py: * lib/gaupol/gtk/dialog/spellcheck.py: * lib/gaupol/gtk/dialog/subinsert.py: * lib/gaupol/gtk/dialog/test/test_duradjust.py: * lib/gaupol/gtk/dialog/test/test_find.py: * lib/gaupol/gtk/dialog/test/test_pref.py: * lib/gaupol/gtk/dialog/test/test_previewerr.py: * lib/gaupol/gtk/dialog/test/test_spellcheck.py: * lib/gaupol/gtk/dialog/textedit.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/test/test_page.py: * lib/gaupol/gtk/util/conf.py: * lib/gaupol/gtk/util/test/test_conf.py: * lib/gaupol/gtk/view.py: Adjusted to renamings. 2006-06-23 Osmo Salomaa * data/gaupol.desktop.in: * data/glade/pref-dialog.glade: * data/glade/previewerr-dialog.glade: * lib/gaupol/base/icons.py: * lib/gaupol/gtk/delegate/pref.py: * lib/gaupol/gtk/delegate/test/test_pref.py: * lib/gaupol/gtk/dialog/pref.py: * lib/gaupol/gtk/dialog/previewerr.py: * lib/gaupol/gtk/dialog/test/test_pref.py: * lib/gaupol/gtk/dialog/test/test_previewerr.py: * lib/gaupol/gtk/icons.py: * lib/gaupol/gtk/test/test_app.py: * lib/gaupol/gtk/util/conf.py: * lib/gaupol/gtk/util/test/test_conf.py: Renamed. 2006-06-22 Osmo Salomaa * data/gaupol.desktop: * data/glade/debug-dialog.glade: * data/glade/duradjust-dialog.glade: * data/glade/encoding-dialog.glade: * data/glade/find-dialog.glade: * data/glade/frconvert-dialog.glade: * data/glade/header-dialog.glade: * data/glade/language-dialog.glade: * data/glade/multiclose-dialog.glade: * data/glade/posadjust-dialog.glade: * data/glade/posshift-dialog.glade: * data/glade/preferences-dialog.glade: * data/glade/previewerror-dialog.glade: * data/glade/replace-dialog.glade: * data/glade/spellcheck-dialog.glade: * data/glade/subinsert-dialog.glade: * data/headers/ass.txt: * data/headers/ssa.txt: * data/headers/subviewer2.txt: * data/headers: * data/ui/menubar.xml: * data/ui/popups.xml: * data/ui/toolbar.xml: * lib/gaupol/__init__.py: * lib/gaupol/base/clipboard.py: * lib/gaupol/base/colcons.py: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegate/__init__.py: * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/base/delegate/filesave.py: * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/position.py: * lib/gaupol/base/delegate/preview.py: * lib/gaupol/base/delegate/test/test_action.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/delegate/test/test_fileopen.py: * lib/gaupol/base/delegate/test/test_filesave.py: * lib/gaupol/base/delegate/test/test_find.py: * lib/gaupol/base/delegate/test/test_format.py: * lib/gaupol/base/delegate/test/test_position.py: * lib/gaupol/base/delegate/test/test_preview.py: * lib/gaupol/base/delegate/test/test_stat.py: * lib/gaupol/base/error.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/determiner.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/model.py: * lib/gaupol/base/paths.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/ass.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/internal.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/base/tags/subrip.py: * lib/gaupol/base/tags/subviewer2.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/test/test_clipboard.py: * lib/gaupol/base/test/test_model.py: * lib/gaupol/base/text/finder.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/enclib.py: * lib/gaupol/base/util/filelib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/test/test_enclib.py: * lib/gaupol/base/util/test/test_filelib.py: * lib/gaupol/base/util/test/test_wwwlib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/app.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/test/test_time.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/colcons.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/delegate/__init__.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileclose.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/guiinit.py: * lib/gaupol/gtk/delegate/help.py: * lib/gaupol/gtk/delegate/menuupdate.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/preferences.py: * lib/gaupol/gtk/delegate/preview.py: * lib/gaupol/gtk/delegate/spellcheck.py: * lib/gaupol/gtk/delegate/test/.hidden: * lib/gaupol/gtk/delegate/test/__init__.py: * lib/gaupol/gtk/delegate/test/test_action.py: * lib/gaupol/gtk/delegate/test/test_appupdate.py: * lib/gaupol/gtk/delegate/test/test_edit.py: * lib/gaupol/gtk/delegate/test/test_fileclose.py: * lib/gaupol/gtk/delegate/test/test_fileopen.py: * lib/gaupol/gtk/delegate/test/test_filesave.py: * lib/gaupol/gtk/delegate/test/test_find.py: * lib/gaupol/gtk/delegate/test/test_format.py: * lib/gaupol/gtk/delegate/test/test_help.py: * lib/gaupol/gtk/delegate/test/test_menuupdate.py: * lib/gaupol/gtk/delegate/test/test_position.py: * lib/gaupol/gtk/delegate/test/test_preferences.py: * lib/gaupol/gtk/delegate/test/test_preview.py: * lib/gaupol/gtk/delegate/test/test_spellcheck.py: * lib/gaupol/gtk/delegate/test/test_view.py: * lib/gaupol/gtk/delegate/test/test_viewupdate.py: * lib/gaupol/gtk/delegate/test: * lib/gaupol/gtk/delegate/view.py: * lib/gaupol/gtk/delegate/viewupdate.py: * lib/gaupol/gtk/dialog/about.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/duradjust.py: * lib/gaupol/gtk/dialog/encoding.py: * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/frconvert.py: * lib/gaupol/gtk/dialog/header.py: * lib/gaupol/gtk/dialog/language.py: * lib/gaupol/gtk/dialog/message.py: * lib/gaupol/gtk/dialog/multiclose.py: * lib/gaupol/gtk/dialog/posadjust.py: * lib/gaupol/gtk/dialog/posshift.py: * lib/gaupol/gtk/dialog/preferences.py: * lib/gaupol/gtk/dialog/previewerror.py: * lib/gaupol/gtk/dialog/spellcheck.py: * lib/gaupol/gtk/dialog/subinsert.py: * lib/gaupol/gtk/dialog/test/test_about.py: * lib/gaupol/gtk/dialog/test/test_debug.py: * lib/gaupol/gtk/dialog/test/test_duradjust.py: * lib/gaupol/gtk/dialog/test/test_encoding.py: * lib/gaupol/gtk/dialog/test/test_file.py: * lib/gaupol/gtk/dialog/test/test_find.py: * lib/gaupol/gtk/dialog/test/test_frconvert.py: * lib/gaupol/gtk/dialog/test/test_header.py: * lib/gaupol/gtk/dialog/test/test_language.py: * lib/gaupol/gtk/dialog/test/test_multiclose.py: * lib/gaupol/gtk/dialog/test/test_posadjust.py: * lib/gaupol/gtk/dialog/test/test_posshift.py: * lib/gaupol/gtk/dialog/test/test_preferences.py: * lib/gaupol/gtk/dialog/test/test_previewerror.py: * lib/gaupol/gtk/dialog/test/test_spellcheck.py: * lib/gaupol/gtk/dialog/test/test_subinsert.py: * lib/gaupol/gtk/dialog/test/test_textedit.py: * lib/gaupol/gtk/dialog/textedit.py: * lib/gaupol/gtk/entry/integer.py: * lib/gaupol/gtk/entry/test/test_time.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/error.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/paths.py: * lib/gaupol/gtk/test/test_application.py: * lib/gaupol/gtk/test/test_output.py: * lib/gaupol/gtk/test/test_page.py: * lib/gaupol/gtk/test/test_view.py: * lib/gaupol/gtk/urls.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: * lib/gaupol/test/decor.py: * tools/add-changelog: * tools/pylint: * tools/status: * tools/translate: * tools/versions: Cleaned up code. Separated testing. Added encoding auto-detection. Completed find and replace dialogs. Lots of miscellaneous changes. 2006-06-07 Osmo Salomaa * lib/gaupol/gtk/app.py: Renamed from application.py. 2006-06-07 Osmo Salomaa * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/delegate/__init__.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileclose.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/help.py: * lib/gaupol/gtk/delegate/menuupdate.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/preferences.py: * lib/gaupol/gtk/delegate/preview.py: * lib/gaupol/gtk/delegate/spellcheck.py: * lib/gaupol/gtk/delegate/view.py: * lib/gaupol/gtk/delegate/viewupdate.py: * lib/gaupol/gtk/dialog/duradjust.py: * lib/gaupol/gtk/dialog/encoding.py: * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/frconvert.py: * lib/gaupol/gtk/dialog/posadjust.py: * lib/gaupol/gtk/dialog/posshift.py: * lib/gaupol/gtk/dialog/test/test_file.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/test/test_application.py: Cleaned up code. Separated testing. * setup.py: Added a preliminary clean command. 2006-06-07 Osmo Salomaa * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/dialog/test/test_file.py: Adjusted to renamings. 2006-06-07 Osmo Salomaa * lib/gaupol/gtk/dialog/file.py: * lib/gaupol/gtk/dialog/test/test_file.py: Renamed from filechooser. 2006-06-07 Osmo Salomaa * data/glade/encoding-dialog.glade: * lib/gaupol/gtk/dialog/about.py: * lib/gaupol/gtk/dialog/encoding.py: * lib/gaupol/gtk/dialog/filechooser.py: * lib/gaupol/gtk/dialog/message.py: * lib/gaupol/gtk/dialog/test/test_about.py: * lib/gaupol/gtk/dialog/test/test_encoding.py: * lib/gaupol/gtk/dialog/test/test_filechooser.py: * lib/gaupol/gtk/dialog/test/test_message.py: Cleaned up code. Separated testing. 2006-06-06 Osmo Salomaa * data/glade/debug-dialog.glade: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/test: * lib/gaupol/gtk/dialog/test/__init__.py: * lib/gaupol/gtk/dialog/test/test_debug.py: Cleaned up code. Separated testing. Fixed debug dialog depending on enchant bug. 2006-06-05 Osmo Salomaa * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/position.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/delegate/test/test_position.py: * lib/gaupol/gtk/delegate/position.py: Cleaned up code. Separated testing. 2006-06-05 Osmo Salomaa * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/preview.py: * lib/gaupol/base/delegate/test/test_edit.py: * lib/gaupol/base/delegate/test/test_filesave.py: * lib/gaupol/base/delegate/test/test_find.py: * lib/gaupol/base/delegate/test/test_format.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/util/test/test_config.py: Cleaned up code. Separated testing. 2006-06-04 Osmo Salomaa * lib/gaupol/base/delegate/__init__.py: * lib/gaupol/base/delegate/action.py: * lib/gaupol/base/delegate/edit.py: * lib/gaupol/base/delegate/fileopen.py: * lib/gaupol/base/delegate/filesave.py: * lib/gaupol/base/delegate/find.py: * lib/gaupol/base/delegate/format.py: * lib/gaupol/base/delegate/position.py: * lib/gaupol/base/delegate/preview.py: * lib/gaupol/base/delegate/stat.py: * lib/gaupol/base/delegate/test/test_action.py: * lib/gaupol/base/delegate/test/test_fileopen.py: * lib/gaupol/base/delegate/test/test_filesave.py: * lib/gaupol/base/delegate/test/test_preview.py: * lib/gaupol/base/project.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/delegate/__init__.py: * lib/gaupol/gtk/delegate/action.py: * lib/gaupol/gtk/delegate/appupdate.py: * lib/gaupol/gtk/delegate/edit.py: * lib/gaupol/gtk/delegate/fileclose.py: * lib/gaupol/gtk/delegate/fileopen.py: * lib/gaupol/gtk/delegate/filesave.py: * lib/gaupol/gtk/delegate/find.py: * lib/gaupol/gtk/delegate/format.py: * lib/gaupol/gtk/delegate/guiinit.py: * lib/gaupol/gtk/delegate/help.py: * lib/gaupol/gtk/delegate/menuupdate.py: * lib/gaupol/gtk/delegate/position.py: * lib/gaupol/gtk/delegate/preferences.py: * lib/gaupol/gtk/delegate/preview.py: * lib/gaupol/gtk/delegate/spellcheck.py: * lib/gaupol/gtk/delegate/view.py: * lib/gaupol/gtk/delegate/viewupdate.py: * lib/gaupol/gtk/dialog/debug.py: * lib/gaupol/gtk/dialog/filechooser.py: * lib/gaupol/gtk/dialog/find.py: * lib/gaupol/gtk/dialog/preferences.py: * lib/gaupol/gtk/dialog/spellcheck.py: * lib/gaupol/gtk/main.py: Adjusted to renamings. 2006-06-04 Osmo Salomaa * lib/gaupol/base/delegate: * lib/gaupol/gtk/delegate: * lib/gaupol/gtk/dialog: Renamed. 2006-06-04 Osmo Salomaa * data/gaupol.desktop: Added Polish translations. * lib/gaupol/__init__.py: * lib/gaupol/base/__init__.py: * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/delegates/test/test_fileopen.py: * lib/gaupol/base/delegates/test/test_filesave.py: * lib/gaupol/base/delegates/test/test_find.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/position/__init__.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/test/test_converter.py: * lib/gaupol/base/test/test_project.py: * lib/gaupol/base/text/__init__.py: * lib/gaupol/base/util/__init__.py: * lib/gaupol/gtk/__init__.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/cellrend/__init__.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/dialogs/__init__.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/entry/__init__.py: * lib/gaupol/gtk/util/__init__.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/test/__init__.py: * tools/pydoc: Cleaned up code. Separated testing. Added package docstrings. 2006-06-03 Osmo Salomaa * data/glade/preferences-dialog.glade: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/delegates/test/test_preview.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/dialogs/preferences.py: Cleaned up code. Separated testing. Use string.Template with preview command. 2006-06-03 Osmo Salomaa * lib/gaupol/base/util/test/test_enclib.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/preferences.py: Changed all references of encodinglib to enclib. 2006-06-03 Osmo Salomaa * lib/gaupol/base/util/enclib.py: * lib/gaupol/base/util/test/test_enclib.py: Renamed from encodinglib. 2006-06-03 Osmo Salomaa * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/delegates/test/__init__.py: * lib/gaupol/base/delegates/test/test_action.py: * lib/gaupol/base/delegates/test/test_stat.py: * lib/gaupol/base/delegates/test: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/project.py: * lib/gaupol/base/test/test_cons.py: * lib/gaupol/base/test/test_project.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/test/test_encodinglib.py: * lib/gaupol/base/util/test/test_langlib.py: * lib/gaupol/base/util/test/test_listlib.py: * lib/gaupol/base/util/test/test_wwwlib.py: * lib/gaupol/gtk/cellrend/classes.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/test/test_classes.py: * lib/gaupol/gtk/cellrend/test/test_multiline.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: * tools/pylint: * tools/translate: Cleaned up code. Separated testing. 2006-06-01 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/base/colcons.py: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/determiner.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test/test_classes.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/test/test_classes.py: * lib/gaupol/base/tags/test/test_converter.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/test/test_wwwlib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/colcons.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/subinsert.py: * lib/gaupol/gtk/dialogs/textedit.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/paths.py: * lib/gaupol/gtk/test/test_output.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/util/test/test_gtklib.py: * lib/gaupol/gtk/view.py: * tools/add-changelog: * tools/exec: * tools/profile: * tools/py.test: * tools/pydoc: * tools/pyenchant: * tools/pylint: * tools/status: * tools/translate: Rewrote parts of config and constant modules. Cleaned up code. 2006-05-31 Osmo Salomaa * lib/gaupol/__init__.py: * lib/gaupol/base/clipboard.py: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/error.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/determiner.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test/test_classes.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/model.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/ass.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/internal.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/base/tags/subrip.py: * lib/gaupol/base/tags/subviewer2.py: * lib/gaupol/base/tags/test/test_ass.py: * lib/gaupol/base/tags/test/test_classes.py: * lib/gaupol/base/tags/test/test_converter.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/tags/test/test_internal.py: * lib/gaupol/base/tags/test/test_microdvd.py: * lib/gaupol/base/tags/test/test_mpl2.py: * lib/gaupol/base/tags/test/test_ssa.py: * lib/gaupol/base/tags/test/test_subrip.py: * lib/gaupol/base/tags/test/test_subviewer2.py: * lib/gaupol/base/test/test_clipboard.py: * lib/gaupol/base/test/test_cons.py: * lib/gaupol/base/test/test_model.py: * lib/gaupol/base/text/finder.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/test/test_encodinglib.py: * lib/gaupol/base/util/test/test_langlib.py: * lib/gaupol/base/util/test/test_listlib.py: * lib/gaupol/base/util/test/test_wwwlib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/cellrend/classes.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/test/test_classes.py: * lib/gaupol/gtk/cellrend/test/test_integer.py: * lib/gaupol/gtk/cellrend/test/test_multiline.py: * lib/gaupol/gtk/cellrend/test/test_text.py: * lib/gaupol/gtk/cellrend/test/test_time.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/find.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/position.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/message.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/previewerror.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/subinsert.py: * lib/gaupol/gtk/dialogs/textedit.py: * lib/gaupol/gtk/entry/integer.py: * lib/gaupol/gtk/entry/test/test_integer.py: * lib/gaupol/gtk/entry/test/test_time.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/error.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/paths.py: * lib/gaupol/gtk/test/test_output.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/util/test/test_gtklib.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: * lib/gaupol/test/decor.py: Replaced license notices with ones wrapped at 79 characters. 2006-05-31 Osmo Salomaa * lib/gaupol/base/clipboard.py: * lib/gaupol/base/cons.py: * lib/gaupol/base/error.py: * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/model.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/internal.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/base/tags/test/test_ass.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/tags/test/test_internal.py: * lib/gaupol/base/tags/test/test_microdvd.py: * lib/gaupol/base/tags/test/test_mpl2.py: * lib/gaupol/base/tags/test/test_ssa.py: * lib/gaupol/base/tags/test/test_subrip.py: * lib/gaupol/base/tags/test/test_subviewer2.py: * lib/gaupol/base/test/__init__.py: * lib/gaupol/base/test/test_clipboard.py: * lib/gaupol/base/test/test_cons.py: * lib/gaupol/base/test/test_model.py: * lib/gaupol/base/test: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/test/test_listlib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/cellrend/test/test_time.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/position.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/entry/test/test_time.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/error.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/paths.py: * lib/gaupol/gtk/test/test_output.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/view.py: Separated testing. Cleaned up code. Rewrote parts of config module. Rewrote parts of constant modules. 2006-05-25 Osmo Salomaa * lib/gaupol/base/file/test/test_ass.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/file/test/test_microdvd.py: * lib/gaupol/base/file/test/test_mpl2.py: * lib/gaupol/base/file/test/test_ssa.py: * lib/gaupol/base/file/test/test_subrip.py: * lib/gaupol/base/file/test/test_subviewer2.py: * lib/gaupol/base/tags/test/test_ass.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/tags/test/test_microdvd.py: * lib/gaupol/base/tags/test/test_mpl2.py: * lib/gaupol/base/tags/test/test_ssa.py: * lib/gaupol/base/tags/test/test_subrip.py: * lib/gaupol/base/tags/test/test_subviewer2.py: Restuctured testing. 2006-05-25 Osmo Salomaa * lib/gaupol/base/file/__init__.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/determiner.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/base/file/test: * lib/gaupol/base/file/test/__init__.py: * lib/gaupol/base/file/test/test_ass.py: * lib/gaupol/base/file/test/test_classes.py: * lib/gaupol/base/file/test/test_determiner.py: * lib/gaupol/base/file/test/test_init.py: * lib/gaupol/base/file/test/test_microdvd.py: * lib/gaupol/base/file/test/test_mpl2.py: * lib/gaupol/base/file/test/test_ssa.py: * lib/gaupol/base/file/test/test_subrip.py: * lib/gaupol/base/file/test/test_subviewer2.py: Cleaned up code and separated testing. * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/gtk/dialogs/header.py: Adjusted to above changes. * lib/gaupol/test/__init__.py: Cosmetic changes. 2006-05-25 Osmo Salomaa * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/file/ass.py: * lib/gaupol/base/file/classes.py: * lib/gaupol/base/file/determiner.py: * lib/gaupol/base/file/microdvd.py: * lib/gaupol/base/file/mpl2.py: * lib/gaupol/base/file/ssa.py: * lib/gaupol/base/file/subrip.py: * lib/gaupol/base/file/subviewer2.py: * lib/gaupol/gtk/dialogs/header.py: Adjusted to renamed file module. 2006-05-25 Osmo Salomaa * - lib/gaupol/base/files: * + lib/gaupol/base/file: Renamed. 2006-05-25 Osmo Salomaa * lib/gaupol/base/tags/internal.py: Removed file. * gaupol: * lib/gaupol/base/cons.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/base/tags/subrip.py: * lib/gaupol/base/tags/test: * lib/gaupol/base/tags/test/__init__.py: * lib/gaupol/base/tags/test/test_ass.py: * lib/gaupol/base/tags/test/test_classes.py: * lib/gaupol/base/tags/test/test_converter.py: * lib/gaupol/base/tags/test/test_init.py: * lib/gaupol/base/tags/test/test_microdvd.py: * lib/gaupol/base/tags/test/test_mpl2.py: * lib/gaupol/base/tags/test/test_ssa.py: * lib/gaupol/base/tags/test/test_subrip.py: * lib/gaupol/base/tags/test/test_subviewer2.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/test/test_config.py: Cleaned up code and separated testing. 2006-05-24 Osmo Salomaa * data/icons/gaupol.png: Exported properly from SVG. 2006-05-24 Osmo Salomaa * data/icons/gaupol.svg: Edited XML path data. 2006-05-24 Osmo Salomaa * data/icons/gaupol.png: * data/icons/gaupol.svg: Added shadow. 2006-05-24 Osmo Salomaa * data/ui/menubar.xml: * data/ui/popups.xml: * lib/gaupol/base/cons.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/base/text/test/test_parser.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/cons.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/entry/time.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: * tools/add-changelog: * tools/pyenchant: * tools/translate: Renamed config variables. 2006-05-22 Osmo Salomaa * - lib/gaupol/gtk/colcons.py: * + lib/gaupol/gtk/cons.py: Renamed file. * lib/gaupol/base/colcons.py: Removed file. * lib/gaupol/base/cons.py: Added column constants. * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/view.py: Adjusted to all constant renamings. 2006-05-22 Osmo Salomaa * + lib/gaupol/base/colcons.py: * - lib/gaupol/base/colconstants.py: Renamed file. * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/position.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/test/test_config.py: * lib/gaupol/gtk/view.py: * lib/gaupol/test/__init__.py: Adjusted to all constant renamings. 2006-05-22 Osmo Salomaa * - lib/gaupol/constants.py: * + lib/gaupol/base/cons.py: Renamed file. * - lib/gaupol/gtk/colconstants.py: * + lib/gaupol/gtk/colcons.py: Renamed file. 2006-05-22 Osmo Salomaa * lib/gaupol/__init__.py: * lib/gaupol/gtk/colconstants.py: * lib/gaupol/constants.py: Cleaned up code. Added Windows-specific preview commands. * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/position/calc.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/subinsert.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/view.py: Adapted to above changes. * lib/gaupol/gtk/util/config.py: Adapted to above changes. Made VLC default video player on Windows. 2006-05-21 Osmo Salomaa * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/test/test_config.py: Cleaned up code and separated testing. * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/view.py: Adapted to above changes. * lib/gaupol/gtk/dialogs/filechooser.py: (OpenFileDialog.__init__): Check if config.file.directory is None before calling self.set_current_folder(...). 2006-05-21 Osmo Salomaa * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/util/test: * lib/gaupol/gtk/util/test/__init__.py: * lib/gaupol/gtk/util/test/test_gtklib.py: Cleaned up code and separated testing. * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/find.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/previewerror.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/subinsert.py: * lib/gaupol/gtk/dialogs/textedit.py: Adapted to above changes. 2006-05-20 Osmo Salomaa * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/gtk/entry/test/test_integer.py: * lib/gaupol/gtk/test/test_output.py: Minor fixes. * lib/gaupol/gtk/cellrend/classes.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/test: * lib/gaupol/gtk/cellrend/test/__init__.py: * lib/gaupol/gtk/cellrend/test/test_classes.py: * lib/gaupol/gtk/cellrend/test/test_integer.py: * lib/gaupol/gtk/cellrend/test/test_multiline.py: * lib/gaupol/gtk/cellrend/test/test_text.py: * lib/gaupol/gtk/cellrend/test/test_time.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: Cleaned up code and separated testing. 2006-05-20 Osmo Salomaa * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/entry/test/test_integer.py: * lib/gaupol/gtk/entry/test/test_time.py: Adjusted entry renamings. 2006-05-20 Osmo Salomaa * lib/gaupol/gtk/entry: Renamed from lib/gaupol/gtk/entries. 2006-05-20 Osmo Salomaa * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/gtk/entries/test: * lib/gaupol/gtk/entries/test/__init__.py: * lib/gaupol/gtk/entries/test/test_integer.py: * lib/gaupol/gtk/entries/test/test_time.py: * lib/gaupol/gtk/entries/time.py: Cleaned up code and separated testing. * tools/exec: New file. 2006-05-19 Osmo Salomaa * gaupol: Always call sys.path.insert on source run. * lib/gaupol/gtk/main.py: Fixed --no-translation option. Minor changes. * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/test: * lib/gaupol/gtk/test/__init__.py: * lib/gaupol/gtk/test/test_output.py: Cleaned up code and separated testing. * tools/py.test: Fixed docstring. 2006-05-17 Osmo Salomaa * lib/gaupol/base/text/finder.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/text/test: * lib/gaupol/base/text/test/__init__.py: * lib/gaupol/base/text/test/test_finder.py: * lib/gaupol/base/text/test/test_parser.py: Made Parser a subclass of Finder. Cleaned up code and separated testing. Fixed all errors encountered while testing. * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/delegates/format.py: Adapted to above changes. 2006-05-17 Osmo Salomaa * lib/gaupol/base/position/test/test_calc.py: Fixed whitespace. * lib/gaupol/base/util/wwwlib.py: (browse_url): Added support for KDE and Mac OSX defaults. 2006-05-16 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/position/test/test_calc.py: * lib/gaupol/base/project.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/position.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: Renamed all timeframes to positions. 2006-05-16 Osmo Salomaa * data/glade/posadjust-dialog.glade: * data/glade/posshift-dialog.glade: * lib/gaupol/base/delegates/position.py: * lib/gaupol/base/position: * lib/gaupol/gtk/delegates/position.py: * lib/gaupol/gtk/dialogs/posadjust.py: * lib/gaupol/gtk/dialogs/posshift.py: Renamed all timeframes to positions in filenames. 2006-05-15 Osmo Salomaa * lib/gaupol/base/timeframe/calc.py: * lib/gaupol/base/timeframe/test: * lib/gaupol/base/timeframe/test/__init__.py: * lib/gaupol/base/timeframe/test/test_calc.py: Cleaned up code and separated testing. 2006-05-14 Osmo Salomaa * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: Cosmetic naming changes. * lib/gaupol/gtk/dialogs/about.py: Fixed website url. * tools/pyenchant: * tools/pylint: Adapted to above changes. 2006-05-14 Osmo Salomaa * lib/gaupol/base/util/wwwlib.py: (browse_url): Renamed from open_url. * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/find.py: * tools/pydoc: * tools/pylint: Adapted to above changes. 2006-05-14 Osmo Salomaa * lib/gaupol/test/__init__.py: Made setup/teardown py.test compatible and method-specific. * lib/gaupol/test/decor.py: New file split from test/__init__.py. * tools/add-changelog: Minor changes. 2006-05-14 Osmo Salomaa * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/test/test_encodinglib.py: * lib/gaupol/base/util/test/test_langlib.py: * lib/gaupol/base/util/test/test_wwwlib.py: * lib/gaupol/base/util/wwwlib.py: Minor fixes. Separated testing. * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/dialogs/filechooser.py: Adapted to above changes. * tools/pylint: Replaced sys.path use with PYTHONPATH. 2006-05-13 Osmo Salomaa * lib/gaupol/base/util/listlib.py: (strip): Renamed and made non-in-place. * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: Adapted to listlib changes. * lib/gaupol/base/util/test/__init__.py: * lib/gaupol/base/util/test/test_listlib.py: New files. 2006-05-13 Osmo Salomaa * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/util/relib.py: * lib/gaupol/base/util/test/test_relib.py: Removed relib. 2006-05-12 Osmo Salomaa * MANIFEST.in: Fixed to include everything from data dir. * data/gaupol.desktop: Removed icon extension. * data/icons/gaupol.png: * data/icons/gaupol.svg: New icons. * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/dialogs/about.py: Get icon from theme. * setup.py: Install icons to hicolor theme. 2006-05-05 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: Added a separator in the encoding combo box. 2006-05-04 Osmo Salomaa * lib/gaupol/__init__.py: Bumped version number to 0.4.1 due to branch release. 2006-05-03 Osmo Salomaa * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/base/tags/subrip.py: Replaced None flags with zeros. * lib/gaupol/base/util/relib.py: Removed constant NONE. * lib/gaupol/gtk/delegates/timeframe.py: Fixed bug #5880. 2006-05-02 Osmo Salomaa * tools/add-changelog: * tools/profile: * tools/py.test: * tools/pydoc: * tools/pyenchant: * tools/pylint: * tools/status: Cosmetic changes. * tools/translate: Fixed paths. 2006-05-02 Osmo Salomaa * tools/translate: Renamed from trantool. 2006-05-02 Osmo Salomaa * gaupol: * lib/gaupol/gtk/main.py: Cleaned up start-stuff and moved most of stuff to main.py. * tools/profile: Adapted to changes in lib/gaupol/gtk/main.py. 2006-05-01 Osmo Salomaa * gaupol: Removed profile and pydoc options. Removed psyco. Removed paths module configuration. * lib/gaupol/gtk/paths.py: Use relative paths by default. * tools/profile: * tools/pydoc: New files. 2006-05-01 Osmo Salomaa * tools/add-changelog: * tools/status: New files. 2006-05-01 Osmo Salomaa * tools/py.test: * tools/pyenchant: * tools/pylint: * tools/versions: Minor fixes. 2006-05-01 Osmo Salomaa * tools/versions: Renamed from tools/info. * tools/run: Removed. 2006-05-01 Osmo Salomaa * tools: Renamed test directory to tools. 2006-05-01 Osmo Salomaa * lib/gaupol/base/util/relib.py: * lib/gaupol/base/util/test: * lib/gaupol/base/util/test/test_relib.py: Moved testing under test directory. * test/py.test: New file. * test/pylint: Fixed argument passing. 2006-05-01 Osmo Salomaa * gaupol: Removed --execute option. * test/pylint: Added docstring. * test/run: New file for running tests. 2006-05-01 Osmo Salomaa * gaupol: Removed PyChecker option. * lib/gaupol/base/text/parser.py: Removed an unused local variable. * lib/gaupol/base/util/relib.py: (NONE): New attribute. * test/pylint: New file. 2006-05-01 Osmo Salomaa * data/glade/find-dialog.glade: * lib/gaupol/gtk/delegates/find.py: * lib/gaupol/gtk/dialogs/find.py: New files for search functionality. * data/glade/replace-dialog.glade: Redesigned, but still outdated. * data/ui/menubar.xml: * data/ui/toolbar.xml: Added find and replace items. * lib/gaupol/base/delegates/find.py: * lib/gaupol/base/text/finder.py: Lots of fixes based on testing. * lib/gaupol/gtk/application.py: New methods for page handling. * lib/gaupol/gtk/delegates/__init__.py: Added find module. * lib/gaupol/gtk/delegates/guiinit.py: Added search menu. * lib/gaupol/gtk/util/config.py: Added find class. * setup.py: Fixed paths.py file data-prefix to install_data. 2006-04-05 Osmo Salomaa * data/glade/find-dialog.glade: Renamed from replace-dialog.glade. 2006-04-05 Osmo Salomaa * data/glade/replace-dialog.glade: New file. * lib/gaupol/base/text/finder.py: Minor changes. 2006-03-30 Osmo Salomaa * lib/gaupol/base/delegates/__init__.py: Added find delegate to the list of delegate modules. * lib/gaupol/base/delegates/find.py: New module for find and replace functionality. * lib/gaupol/base/project.py: Added a finder instance variable. 2006-03-23 Osmo Salomaa * lib/gaupol/base/text/finder.py: Fixed a docstring. 2006-03-22 Osmo Salomaa * lib/gaupol/base/text/finder.py: Added testing and fixed all errors. 2006-03-22 Osmo Salomaa * data/gaupol.desktop: Added Spanish (es) translations from Miguel Latorre. * lib/gaupol/base/text/finder.py: New untested finder implementation. * lib/gaupol/base/timeframe/calc.py: (TimeFrameCalculator.seconds_to_time): Simplified. 2006-03-10 Osmo Salomaa RELEASE 0.4.0 * lib/gaupol/__init__.py: Bumped version number to 0.4.0. 2006-03-10 Osmo Salomaa * lib/gaupol/gtk/delegates/timeframe.py: Finetuned menu items' tooltips. 2006-03-10 Osmo Salomaa * lib/gaupol/gtk/util/config.py: (duration_adjust): Do not shorten durations by default. 2006-03-09 Osmo Salomaa * setup.py: Fixed location of README.translators file. 2006-03-09 Osmo Salomaa * lib/gaupol/gtk/delegates/timeframe.py: Select changed rows after timing manipulations. 2006-03-09 Osmo Salomaa * data/glade/tfadjust-dialog.glade: * data/glade/tfshift-dialog.glade: * data/ui/menubar.xml: * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/timeframe.py: * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/project.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/timeframe.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/tfadjust.py: * lib/gaupol/gtk/dialogs/tfshift.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: Renamed timings to timeframes in code. Renamed tmgs to tfs in code. Renamed timings to times in GUI. 2006-03-09 Osmo Salomaa * data/glade/tfadjust-dialog.glade: * data/glade/tfshift-dialog.glade: * lib/gaupol/base/delegates/timeframe.py: * lib/gaupol/base/timeframe: * lib/gaupol/gtk/delegates/timeframe.py: * lib/gaupol/gtk/dialogs/tfadjust.py: * lib/gaupol/gtk/dialogs/tfshift.py: Renamed tmg-prefixes to tf. Renamed timings to timeframes. 2006-03-09 Osmo Salomaa * MANIFEST.in: * gaupol: * data/gaupol.desktop: * setup.py: Moved gaupol.desktop under data directory. 2006-03-09 Osmo Salomaa * MANIFEST.in: Do not include translations for source tarballs. Updated README.translators location. 2006-03-09 Osmo Salomaa * test/pycheckrc: Removed file. * gaupol: Do not specify pycheckrc. 2006-03-09 Osmo Salomaa * po/README.translators: Moved translator README file under po directory. 2006-03-09 Osmo Salomaa * setup.py: Do not compile translations for source tarballs. 2006-03-09 Osmo Salomaa * setup.py: (InstallLib.install): Write paths.py file instead of appending to it to avoid numerous appendings if no clean-up is done between different prefix bdists or installs. 2006-03-09 Osmo Salomaa * setup.py: (SDist, SDistGna): Moved all custom stuff from SDist to SDistGna, so that the sdist command now works in the basic standard manner. 2006-03-08 Osmo Salomaa * README: * TODO: 2006-03-07 Osmo Salomaa * lib/gaupol/base/util/langlib.py: Cosmetic changes. * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/timing.py: Use ngettext for plural statusbar messages. * lib/gaupol/gtk/dialogs/duradjust.py: Changed selected subtitles radio button insensitive when adjusting all projects. 2006-03-06 Osmo Salomaa * lib/gaupol/gtk/delegates/filesave.py: (FileSaveDelegate.save_translation_document): Fixed wrong argument in call to save_translation_document_as. * lib/gaupol/gtk/dialogs/duradjust.py: Removed unused gobject import. * lib/gaupol/gtk/dialogs/spellcheck.py: Corrected test code to adapt to changes in previous update. 2006-03-06 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Changed message dialog texts. 2006-03-02 Osmo Salomaa * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/project.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/relib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/timing.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/tmgadjust.py: * lib/gaupol/gtk/dialogs/tmgshift.py: * lib/gaupol/gtk/output.py: * lib/gaupol/test/__init__.py: Cosmetic or minor changes. * lib/gaupol/base/delegates/action.py: Implemented and applied grouping of revertable actions. * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/error.py: Use action grouping for insert-requiring paste eliminating need for FitError. * lib/gaupol/base/delegates/timing.py: (TimingDelegate.adjust_durations): Always fix overlaps. (TimingDelegate.convert_framerate): Use action grouping. * lib/gaupol/constants.py: (Action.DO_MULTIPLE): New constant. * lib/gaupol/gtk/delegates/edit.py: Removed PasteFitErrorDialog and added feedback for pasting. * lib/gaupol/gtk/dialogs/duradjust.py: Never set adjust button insensitive because of overlap fix. * lib/gaupol/gtk/util/config.py: Renamed some config variables, especially timing manipulation dialog target variables. 2006-02-24 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/view.py: * setup.py: Cosmetic changes. 2006-02-24 Osmo Salomaa * gaupol: * setup.py: * trantool: Cosmetic changes. 2006-02-24 Osmo Salomaa * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: Renamed several application's widgets. 2006-02-24 Osmo Salomaa * lib/gaupol/constants.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/entries/time.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/output.py: Cosmetic changes. 2006-02-23 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: Fixed encoding combo box behaviour. 2006-02-23 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: Changed to use config directly. Cleaned up code. * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: Adapted to changes in filechooser.py. 2006-02-21 Osmo Salomaa * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/dialogs/textedit.py: * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/test/__init__.py: Cosmetic changes. 2006-02-21 Osmo Salomaa * data/glade/frconvert-dialog.glade: * data/glade/header-dialog.glade: * data/glade/language-dialog.glade: * data/glade/multiclose-dialog.glade: * data/glade/preferences-dialog.glade: * data/glade/previewerror-dialog.glade: * data/glade/spellcheck-dialog.glade: * data/glade/subinsert-dialog.glade: * data/glade/tmgadjust-dialog.glade: * data/glade/tmgshift-dialog.glade: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/timing.py: * lib/gaupol/gtk/dialogs/frconvert.py: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/subinsert.py: * lib/gaupol/gtk/dialogs/tmgadjust.py: * lib/gaupol/gtk/dialogs/tmgshift.py: * lib/gaupol/gtk/util/config.py: Moved mnemonic and radio group definitions to Glade XML files. Unified structure and funtionality of dialogs. Cleaned up new timing dialogs. Cosmetic changes. * lib/gaupol/gtk/dialogs/previewerror.py: New file split from lib/gaupol/gtk/delegates/preview.py. 2006-02-20 Osmo Salomaa * data/glade/debug-dialog.glade: * data/glade/duradjust-dialog.glade: * data/glade/encoding-dialog.glade: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/encoding.py: Moved mnemonic definitions to Glade XML files. Cosmetic changes. * lib/gaupol/gtk/dialogs/about.py: * test/info: * test/pyenchant: Cosmetic changes. 2006-02-20 Osmo Salomaa * lib/gaupol/gtk/delegates/timing.py: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/tmgadjust.py: * lib/gaupol/gtk/dialogs/tmgshift.py: Fixed references to previous renamings. 2006-02-20 Osmo Salomaa * data/glade/duradjust-dialog.glade: * data/glade/tmgadjust-dialog.glade: * data/glade/tmgshift-dialog.glade: * lib/gaupol/gtk/dialogs/duradjust.py: * lib/gaupol/gtk/dialogs/tmgadjust.py: * lib/gaupol/gtk/dialogs/tmgshift.py: * data/glade/adjust-dialog.glade: * data/glade/duration-dialog.glade: * data/glade/shift-dialog.glade: * lib/gaupol/gtk/dialogs/adjust.py: * lib/gaupol/gtk/dialogs/duration.py: * lib/gaupol/gtk/dialogs/shift.py: Renamed ones below to ones above. 2006-02-20 Osmo Salomaa * data/glade/duration-dialog.glade: Fixed radio button groups. * lib/gaupol/base/delegates/timing.py: (TimingDelegate.adjust_durations): Return changed rows. * lib/gaupol/gtk/cellrend/text.py: Cosmetic changes. * lib/gaupol/gtk/delegates/timing.py: (TimingDelegate.on_adjust_durations_activated): Written. * lib/gaupol/gtk/dialogs/duration.py: Completed. * lib/gaupol/gtk/util/config.py: (duration_adjust): Added use_* variables and fine-tuned default values. 2006-02-18 Osmo Salomaa * data/glade/duration-dialog.glade: * lib/gaupol/gtk/dialogs/duration.py: New files. * data/ui/menubar.xml: Added adjust_timings menu item. * lib/gaupol/base/delegates/timing.py: (TimingDelegate.adjust_durations): New method. * lib/gaupol/gtk/delegates/timing.py: (DurationAdjustAction): New class. (TimingDelegate.on_adjust_durations_activated): New method. * lib/gaupol/gtk/util/config.py: (duration_adjust): New class. 2006-02-15 Osmo Salomaa * lib/gaupol/gtk/dialogs/frconvert.py: New file. 2006-02-15 Osmo Salomaa * data/glade/frconvert-dialog.glade: Changed convert_button's response to gtk.RESPONSE_OK. * data/glade/shift-dialog.glade: Removed icon from shift_button. * data/ui/menubar.xml: Added convert_framerate menu item. * gaupol: * trantool: Cosmetic changes to option parser. * lib/gaupol/base/delegates/timing.py: (TimingDelegate.revert_framerate_conversion): Modified to be more independent and non-broken. Fixed references. * lib/gaupol/gtk/delegates/timing.py: Added framerate conversion. * lib/gaupol/gtk/util/config.py: (framerate_convert): New class. * setup.py: Fixed description capitalization. 2006-02-12 Osmo Salomaa * setup.py: Cosmetic fixes. 2006-02-08 Osmo Salomaa * data/glade/adjust-dialog.glade: Made dialog more vertical. * lib/gaupol/base/delegates/__init__.py: Removed frconv from list of modules. * lib/gaupol/base/delegates/timing.py: Implemented framerate conversion. 2006-02-08 Osmo Salomaa * lib/gaupol/base/delegates/frconv.py: * lib/gaupol/base/delegates/timing.py: Moved all stuff from frconv.py to timing.py. Removed file frconv.py. 2006-02-08 Osmo Salomaa * data/glade/frconvert-dialog.glade: New file. * data/glade/language-dialog.glade: Moved list to top and target to bottom. 2006-02-08 Osmo Salomaa * lib/gaupol/base/delegates/filesave.py: (FileSaveDelegate._remove_backup_file): Removed failure logging. (FileSaveDelegate._save_file): Use tempfile.mkstemp to create backup file. * lib/gaupol/base/delegates/preview.py: Cosmetic changes. * lib/gaupol/test/__init__.py: (Test.get_micro_dvd_path, Test.get_subrip_path): Use os.fdopen after tempfile.mkstemp. 2006-02-08 Osmo Salomaa * data/glade/shift-dialog.glade: Fixed typo. * lib/gaupol/gtk/dialogs/adjust.py: * lib/gaupol/gtk/dialogs/shift.py: Call grab_focus() in run method. * lib/gaupol/gtk/entries/time.py: (TimeEntry._insert_text): Do not select region when inserting multiple characters. 2006-02-07 Osmo Salomaa * data/glade/adjust-dialog.glade: New file. * data/glade/language-dialog.glade: * data/glade/preferences-dialog.glade: Changed section spacing to 18 pixels. * data/glade/shift-dialog.glade: Changed section spacing to 18 pixels. Renamed Target to Subtitles. * data/ui/menubar.xml: Added Adjust Timings menu item. * lib/gaupol/base/delegates/preview.py: Split preview method to preview_row and preview_time. * lib/gaupol/base/delegates/timing.py: (TimingDelegate.adjust_frames, TimingDelegate.adjust_times): New methods. * lib/gaupol/gtk/delegates/preview.py: Adapted to changes in base preview method. * lib/gaupol/gtk/delegates/timing.py: Added timing adjustment stuff. Cosmetic fixes to timing shift stuff. * lib/gaupol/gtk/dialogs/adjust.py: New file. * lib/gaupol/gtk/util/config.py: (timing_adjust): New class. * setup.py: (SDist.run): Renamed dir to directory to avoid conflict with built-in dir method. 2006-02-04 Osmo Salomaa * lib/gaupol/gtk/delegates/timing.py: (TimingShiftAction): Added F2 as keybinding. 2006-02-04 Osmo Salomaa * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/timing.py: * lib/gaupol/gtk/dialogs/shift.py: * lib/gaupol/gtk/dialogs/subinsert.py: Corrected all references after previous renamings. 2006-02-04 Osmo Salomaa * data/glade/subinsert-dialog.glade: Renamed from insertsub-dialog.glade. * lib/gaupol/gtk/dialogs/subinsert.py: Renamed from insertsub.py. 2006-02-03 Osmo Salomaa * data/glade/shift-dialog.glade: * lib/gaupol/gtk/delegates/timing.py: * lib/gaupol/gtk/dialogs/shift.py: New files for timing shifting gtk implementation. * data/ui/menubar.xml: Added "Shift Timings" menu item. * lib/gaupol/base/delegates/preview.py: (PreviewDelegate._get_subtitle_path): Use get_temp_file_path(). (PreviewDelegate.get_temp_file_path): New method. (PreviewDelegate.preview): Added temp_path as last argument defaulting to None. * lib/gaupol/base/delegates/timing.py: * lib/gaupol/base/timing/calc.py: Cosmetic changes. * lib/gaupol/gtk/delegates/__init__.py: Added timing module. * lib/gaupol/gtk/delegates/fileopen.py: (SSAWarningDialog): Changed message wording. * lib/gaupol/gtk/delegates/preview.py: (IOErrorDialog, UnicodeErrorDialog): Changed message wording. * lib/gaupol/gtk/util/config.py: (timing_shift): New class. 2006-02-02 Osmo Salomaa * lib/gaupol/base/delegates/__init__.py: Added timing delegate module. * lib/gaupol/base/delegates/edit.py: Fixed one loop to use enumerate(). * lib/gaupol/base/delegates/timing.py: New file. Implemented timing shifts. * lib/gaupol/base/timing/calc.py: (add_seconds_to_time): New function. 2006-02-02 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: Fixed typo. 2006-02-02 Osmo Salomaa * gaupol: Fixed setting of PyChecker environment variable. * lib/gaupol/base/files/ssa.py: Removed unused regular expression. * lib/gaupol/base/tags/converter.py: Fixed errors in testing code. * lib/gaupol/gtk/cellrend/time.py: Removed unused re import. * lib/gaupol/gtk/dialogs/header.py: Removed a double import. 2006-02-02 Osmo Salomaa * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subviewer2.py: Set header to template during file initilization. * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/microdvd.py: Added count item to decode_tags and encode_tags tuples. * lib/gaupol/base/tags/ass.py: * lib/gaupol/base/tags/ssa.py: Implemented decode tags and made some adjustments. * lib/gaupol/base/tags/converter.py: Added more testing. * lib/gaupol/base/tags/internal.py: Added regular expressions and docstring. * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/subrip.py: Cosmetic changes. * lib/gaupol/constants.py: (Format):Added missing commas to lists. 2006-01-31 Osmo Salomaa * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/files/subviewer2.py: Write TEMPLATE_HEADER if self.header is None. * lib/gaupol/base/tags/ass.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/ssa.py: Implemented SSA and ASS encode tags and testing. * lib/gaupol/base/tags/internal.py: New file for internal tag regular expressions and whatever. 2006-01-31 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: Added a dialog to warn when opening an SSA or ASS file. * lib/gaupol/gtk/util/config.py: Added preference file.warn_opening_ssa. 2006-01-31 Osmo Salomaa * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: Top-aligned cell contents. 2006-01-31 Osmo Salomaa * lib/gaupol/base/files/ass.py: * lib/gaupol/base/files/classes.py: * lib/gaupol/base/files/ssa.py: * lib/gaupol/base/tags/ass.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/ssa.py: * lib/gaupol/constants.py: Implemented partial read and write support for SSA and ASS. * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: Shortened docstrings. 2006-01-31 Osmo Salomaa * lib/gaupol/base/delegates/edit.py: (EditDelegate.set_time, EditDelegate.set_frame): Use native mode method for revert to avoid rounding errors. 2006-01-30 Osmo Salomaa * lib/gaupol/base/clipboard.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/model.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/message.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/view.py: Cosmetic changes to testing. * lib/gaupol/gtk/delegates/appupdate.py: (ApplicationUpdateDelegate.set_status_message): Moved statusbar popping inside the try-except clause to avoid GtkWarnings. 2006-01-30 Osmo Salomaa * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: Added testing. Cosmetic changes. * lib/gaupol/test/__init__.py: (Test.run): Require underscore to follow "test". 2006-01-29 Osmo Salomaa * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/preview.py: Added testing. 2006-01-29 Osmo Salomaa * gaupol: Cosmetic changes. * lib/gaupol/gtk/delegates/appupdate.py: (ApplicationUpdateDelegate.set_status_message): Catch AttributeError on event box acquisition. * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/menuupdate.py: Added testing. 2006-01-29 Osmo Salomaa * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Added testing. 2006-01-28 Osmo Salomaa * setup.py: Do not include gaupol.test in packages to install. 2006-01-28 Osmo Salomaa * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/preferences.py: Added or fixed testing. 2006-01-28 Osmo Salomaa * data/glade/language-dialog.glade: Made dialog invisible. * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/gtk/dialogs/insertsub.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/message.py: * lib/gaupol/gtk/dialogs/textedit.py: Added or fixed testing. 2006-01-28 Osmo Salomaa * lib/gaupol/test/__init__.py: Moved project import to "get_project" method to avoid circular import-loops. 2006-01-28 Osmo Salomaa * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Use enumerate() for looping. Fixed a few nested double-loopings both with index "i". 2006-01-28 Osmo Salomaa * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/test/__init__.py: Use dir() instead of inspect.getmembers(). 2006-01-28 Osmo Salomaa * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/util/listlib.py: Use built-in sorted function. * lib/gaupol/gtk/application.py: Fixed testing. * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/preferences.py: Commented testing out for now. 2006-01-28 Osmo Salomaa * gaupol: Indented testing output. (parse_options): Added description for parser. * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: Added or fixed testing. * lib/gaupol/test/__init__.py: (Test.get_micro_dvd_path): Use prefix and suffix. (Test.get_subrip_path): Use prefix and suffix. (run): Do not execute variables. Indented output. 2006-01-27 Osmo Salomaa * lib/gaupol/gtk/page.py: * lib/gaupol/test/__init__.py: Moved assert_store method from gaupol.test.Test to gaupol.gtk.page.Page and corrected all references. 2006-01-27 Osmo Salomaa * lib/gaupol/base/project.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/gtk/entries/time.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: * lib/gaupol/gtk/view.py: Added or fixed testing. * lib/gaupol/test/__init__.py: (Test.assert_store): New method. 2006-01-27 Osmo Salomaa * lib/gaupol/base/clipboard.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/model.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/wwwlib.py: Adapted testing to changes in gaupol.test.Test class and made some cosmetic changes. 2006-01-27 Osmo Salomaa * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/preview.py: Added testing. * lib/gaupol/test/__init__.py: Cosmetic changes. 2006-01-27 Osmo Salomaa * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/frconv.py: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/base/delegates/stat.py: Added testing. * lib/gaupol/base/delegates/stat.py: (StatisticsDelegate.get_character_count): Do not count newline to total length. * lib/gaupol/test/__init__.py: (Test): Redone again. 2006-01-26 Osmo Salomaa * gaupol: Added option to view documentation. (prepare_gettext): Removed gettext.install call. * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/constants.py: * lib/gaupol/gtk/colconstants.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/message.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/dialogs/textedit.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/page.py: Added gettext import. Added or edited testing. * lib/gaupol/test/__init__.py: (Test.get_project): New method. 2006-01-26 Osmo Salomaa * lib/gaupol/test/__init__.py: (timefunction, timemethod): New decorators. 2006-01-26 Osmo Salomaa * data/glade/output-window.glade: Removed. * gaupol: Fixed profiling bug. * lib/gaupol/gtk/output.py: Switched from Glade to manual GUI construction for faster start-up time. 2006-01-26 Osmo Salomaa * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/files/subviewer2.py: Added testing. (*.write): Make copies of shows, hides and texts if they're to be altered. * lib/gaupol/test/__init__.py: (Test.get_micro_dvd_path): New method. (Test.get_subrip_path): New method. 2006-01-26 Osmo Salomaa * lib/gaupol/gtk/delegates/help.py: (HelpDelegate.on_check_latest_version_activated): Raised timeout argument to 15 seconds. 2006-01-26 Osmo Salomaa * lib/gaupol/base/clipboard.py: * lib/gaupol/base/model.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/gtk/entries/time.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: Cosmetic changes to testing. * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/view.py: Added testing. * lib/gaupol/test/__init__.py: (Test.destroy): New method. (Test.run): Call destroy() when finished. 2006-01-25 Osmo Salomaa * gaupol: Cosmetic changes. * lib/gaupol/base/clipboard.py: * lib/gaupol/base/model.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/gtk/entries/time.py: Converted to use the new Test class. * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/output.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gtklib.py: Added testing. * lib/gaupol/test: * lib/gaupol/test/__init__.py: New module. 2006-01-24 Osmo Salomaa * MANIFEST.in: * setup.py: Removed doc/formats/* from tarballs and install. * doc/formats/ass-specs.rtf: * doc/formats/ass.txt: New files. 2006-01-23 Osmo Salomaa * gaupol: * trantool: Improved option parser formatting. * lib/gaupol/base/clipboard.py: * lib/gaupol/base/model.py: * lib/gaupol/base/tags/converter.py: Added testing. * lib/gaupol/base/tags/microdvd.py: (MicroDVD.decode_tags): Fixed a couple errors. 2006-01-23 Osmo Salomaa * lib/gaupol/base/text/parser.py: * lib/gaupol/base/timing/calc.py: Added testing. * lib/gaupol/base/util/langlib.py: Removed trailing blank lines. 2006-01-23 Osmo Salomaa * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: Added testing. * lib/gaupol/base/util/encodinglib.py: (get_description): Fixed to return description. 2006-01-23 Osmo Salomaa * lib/gaupol/gtk/cellrend/multiline.py * lib/gaupol/gtk/cellrend/text.py: Removed __gtype_name__ class attributes to get testing to work without RunTimeErrors. 2006-01-23 Osmo Salomaa * gaupol: Added option to execute modules. * lib/gaupol/base/clipboard.py: * lib/gaupol/base/util/wwwlib.py: Removed psyco imports. * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: Threw out entries. Added testing. Cosmetic changes. * lib/gaupol/gtk/entries: * lib/gaupol/gtk/entries/__init__.py: * lib/gaupol/gtk/entries/integer.py: * lib/gaupol/gtk/entries/time.py: New files. 2006-01-22 Osmo Salomaa RELEASE 0.3.4 * lib/gaupol/__init__.py: Bumped version number to 0.3.4. 2006-01-22 Osmo Salomaa * lib/gaupol/base/files/subviewer2.py: Allow malformed header. 2006-01-22 Osmo Salomaa * MANIFEST.in: * setup.py: Added format documentation files. * doc/formats: * doc/formats/README: * doc/formats/microdvd.html: * doc/formats/mpl2.txt: * doc/formats/subrip.txt: * doc/formats/subviewer2.txt: New files to document subtitle file formats. * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/subrip.py: * lib/gaupol/base/tags/subviewer2.py: Removed docs from these files as we now have the elsewhere. 2006-01-22 Osmo Salomaa * data/glade/header-dialog.glade: * data/ui/menubar.xml: * lib/gaupol/gtk/dialogs/header.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/gtk/delegates/filesave.py: Implemented header editing. * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/classes.py: * lib/gaupol/base/files/subviewer2.py: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/subviewer2.py: * lib/gaupol/constants.py: Added support for Subviewer 2.0. * lib/gaupol/base/project.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/delegates/preview.py: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/insertsub.py: * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/preferences.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/output.py: Unified method naming, especially inits. Call dialog.set_transient_for(parent) after setting dialog size. * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/subrip.py: Removed psyco imports. * lib/gaupol/base/timing/calc.py: (round_time): New method. * lib/gaupol/gtk/delegates/edit.py: Added ellipsis to "Insert Subtitles" menu item. * lib/gaupol/gtk/dialogs/spellcheck.py: Fixed bug with "Join Forward" button. * lib/gaupol/gtk/dialogs/textedit.py: Split out from lib/gaupol/gtk/dialogs/spellcheck.py. 2006-01-20 Osmo Salomaa * gaupol: * test/info: * test/pyenchant: Catch pkg_resources.DistributionNotFound when unegging enchant. * lib/gaupol/gtk/dialogs/language.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Catch exceptions in enchant importing and thus allow module to be imported when enchant is not installed. 2006-01-20 Osmo Salomaa RELEASE 0.3.3 * lib/gaupol/__init__.py: Bumped version number to 0.3.3. 2006-01-20 Osmo Salomaa * gaupol (prepare_eggs): New function to adapt to PyEnchant choice of egg distribution. * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/view.py: Renamed output window close signal to "close". * lib/gaupol/gtk/output.py: Renamed output window close signal to "close". Added Ctrl+W accelerator to close the window. * test/info: * test/pyenchant: Adapted to PyEnchant's egging. 2006-01-19 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: (SelectVideoAction.is_doable): Return False if page.project.main_file is None. 2006-01-19 Osmo Salomaa * data/glade/preferences-dialog.glade: Redesigned the preview tab's video player section. * data/glade/previewerror-dialog.glade: Turned wrap on for the text view. * lib/gaupol/base/delegates/preview.py: (PreviewDelegate._get_subtitle_path): Fixed the file saving. (PreviewDelegate.preview): Added command to output. * lib/gaupol/constants.py: (VideoPlayer): New class. * lib/gaupol/gtk/delegates/preview.py: Adapted to new configs and constants. * lib/gaupol/gtk/dialogs/preferences.py: Adapted to redesigned preview tab's video player section. Cosmetic fixes on sensitivity sets and signal connections. * lib/gaupol/gtk/util/config.py: Changed window sizes to golden ratios. (preview): Redesigned options. (_fix_changed_options): Removed as obsolete. (_set_config_option, _set_parser_option): Fixed bugs caused by earlier coding style changes. 2006-01-18 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: (OpenVideoDialog): Revert default filter back to "All files". 2006-01-18 Osmo Salomaa * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/util/config.py: * setup.py: * trantool: Coding style changes: made list generations use list(). 2006-01-18 Osmo Salomaa * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/dialogs/filechooser.py: Replaced gtk.FileChooserButton with a gtk.Button that looks like a filechooser button. Created a new filechooser class OpenVideoDialog that is initialized and run when the button is clicked. 2006-01-18 Osmo Salomaa * lib/gaupol/base/text/parser.py: * lib/gaupol/gtk/dialogs/filechooser.py: * setup.py: Coding style fixes, NOTE and TODO rewordings. 2006-01-18 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: (FileOpenDelegate.open_main_files): Set config.file.directory to directory of file opened. 2006-01-17 Osmo Salomaa * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: Removed saving a useless return value. * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/dialogs/filechooser.py: Renamed some file filters. 2006-01-17 Osmo Salomaa * lib/gaupol/gtk/application.py: Added instance variable "static_tooltips". * lib/gaupol/gtk/delegates/guiinit.py: Use static_tooltips for open button. 2006-01-17 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: (SaveDialog): Fixed overwrite confirmations by hooking up to the "response" signal rather than using the built-in overwrite confirming. 2006-01-16 Osmo Salomaa * data/glade/output-window.glade: New file. * data/glade/preferences-dialog.glade: Removed "Save changed file before preview" check button. Changed preview command format. * data/ui/menubar.xml: Added "select_video_file", "toggle_output_window" and "toggle_video_toolbar". Renamed toolbar to main_toolbar. * data/ui/toolbar.xml: Renamed toolbar to main_toolbar. * lib/gaupol/base/delegates/filesave.py: (FileSaveDelegate.save_main_file, FileSaveDelegate.save_translation_file): Set changed values to zero only if keep_changes is True. * lib/gaupol/base/delegates/preview.py: Rewritten to save to temporary file before preview. * lib/gaupol/base/project.py: New instance variables "video_path" and "output". * lib/gaupol/gtk/application.py: New instance variables "video_file_button", "video_file_dialog" and "output_window". * lib/gaupol/gtk/delegates/appupdate.py: (ApplicationUpdateDelegate.on_video_filechooser_response): New method. (ApplicationUpdateDelegate._set_widget_states): Set video filechooser button's state. * lib/gaupol/gtk/delegates/edit.py: (EditDelegate._set_sensitivities): Adapt to new toolbar names and counts. * lib/gaupol/gtk/delegates/fileclose.py: (FileCloseDelegate.on_quit_activated): Save output window geometry. * lib/gaupol/gtk/delegates/fileopen.py: (SelectVideoAction): New class. (FileOpenDelegate.on_notebook_drag_data_received): Renamed from "on_files_dropped". (FileOpenDelegate.on_select_video_file_activated): New method. (FileOpenDelegate.on_video_file_button_drag_data_received): New method. (FileOpenDelegate.open_main_files): Call page.project.guess_video_file_path. * lib/gaupol/gtk/delegates/filesave.py: Renamed toolbars to main_toolbars. (FileSaveDelegate.save_main_document_as): Call page.project.guess_video_file_path with new main file name if video_path is None. * lib/gaupol/gtk/delegates/guiinit.py: Renamed toolbars to main_toolbars. Added initialization of the video toolbar. * lib/gaupol/gtk/delegates/preview.py: Rewritten to match changes in base. Catch IOError and UnicodeError. Send output to output window. * lib/gaupol/gtk/delegates/spellcheck.py: Renamed toolbars to main_toolbars. * lib/gaupol/gtk/delegates/view.py: (ToggleMainToolbarAction): Renamed from ToggleToolbarAction. (ToggleOutputWindowAction): New class. (ToggleVideoToolbarAction): New class. (ViewDelegate.on_output_window_close_button_clicked): New method. (ViewDelegate.on_toggle_main_toolbar_activated): Renamed from on_toggle_toolbar_activated. (ViewDelegate.on_toggle_output_window_activated): New method. (ViewDelegate.on_toggle_video_toolbar_activated): New method. * lib/gaupol/gtk/dialogs/debug.py: Cosmetic changes. * lib/gaupol/gtk/dialogs/filechooser.py: (SaveFileDialog.set_filename_or_current_name): Emit "changed" signal on the format combo box to have the full filename in the entry. * lib/gaupol/gtk/dialogs/preferences.py: Removed stuff relating to the removed "Save changed file before preview" check button. * lib/gaupol/gtk/output.py: New file. * lib/gaupol/gtk/util/config.py: Renamed toolbars to main_toolbars. (output_window): New class. (preview.command): Changed for new syntax. (preview.save): Removed. (_fix_changed_options): New function. (read): Call _fix_changed_options. 2006-01-14 Osmo Salomaa * lib/gaupol/gtk/util/config.py: Change general.version to current version just before writing instead of just after reading. 2006-01-12 Osmo Salomaa RELEASE 0.3.2 * lib/gaupol/__init__.py: Bumped version number to 0.3.2. 2006-01-11 Osmo Salomaa * lib/gaupol/base/delegates/preview.py: Fixed bug #5046 (MPlayer freezes in preview) by directing video player output to a temporary file. 2006-01-11 Osmo Salomaa RELEASE 0.3.1 * lib/gaupol/__init__.py: Bumped version number to 0.3.1. 2006-01-11 Osmo Salomaa * data/glade/preferences-dialog.glade: Changed preview_save_check_button wording. * lib/gaupol/gtk/delegates/preview.py: (PreviewDelegate.on_preview_activated): Save file only if it is changed. * lib/gaupol/gtk/dialogs/spellcheck.py: Use config.editor.font if set to use custom font. Cosmetic fixes. * lib/gaupol/gtk/util/gtklib.py: (set_label_font): New function. (set_widget_font): New function. 2006-01-10 Osmo Salomaa RELEASE 0.3.0 * lib/gaupol/__init__.py: Bumped version number to 0.3.0. 2006-01-10 Osmo Salomaa * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/util/gtklib.py: Fixed some NOTE comments. 2006-01-10 Osmo Salomaa * lib/gaupol/base/delegates/preview.py: Fixed preview to use the subprocess module. 2006-01-09 Osmo Salomaa * lib/gaupol/gtk/util/config.py: (preview.command): Removed the -quiet option. 2006-01-09 Osmo Salomaa * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/gtk/dialogs/filechooser.py: Renamed nested sort functions to "sort". 2006-01-09 Osmo Salomaa * data/glade/debug-dialog.glade: Cosmetic fixes. * data/glade/language-dialog.glade: Put the tree views in a homogenous hbox. Removed hardcoded sizes. * data/glade/multiclose-dialog.glade: Made dialog resizable. * data/glade/preferences-dialog.glade: Added preview tab. * data/glade/previewerror-dialog.glade: * lib/gaupol/base/delegates/preview.py: * lib/gaupol/gtk/delegates/preview.py: New files with preview implementation. * data/glade/spellcheck-dialog.glade: Removed hardcoded tree view size. * data/ui/menubar.xml: * data/ui/popups.xml: * data/ui/toolbar.xml: Added preview. * gaupol: Raise SystemExit with error code 1. Removed lambdas in favor of nested functions. * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/gtk/delegates/__init__.py: Added preview module. * lib/gaupol/base/delegates/action.py: Cosmetic fixes. * lib/gaupol/base/delegates/fileopen.py: (FileOpenDelegate.open_translation_file): Added an assert statement. * lib/gaupol/base/delegates/filesave.py: Cosmetic fixes. * lib/gaupol/base/delegates/format.py: (FormatDelegate.toggle_dialog_lines): Allow re_tag to be None. * lib/gaupol/base/delegates/frconv.py: (FramerateConverter.change_framerate): Replaced TypeError rasing with an assert statement. * lib/gaupol/base/error.py: (GaupolBaseError): New base class for errors. (ExternalError): New class for external errors. * lib/gaupol/base/util/wwwlib.py: Split URLDocument class to URLReadThread class and read_url function. Fixed IOError not being passed on. * lib/gaupol/gtk/delegates/edit.py: Cosmetic fixes. * lib/gaupol/gtk/delegates/fileclose.py: Cosmetic fixes. Raise SystemExit with error code 1. * lib/gaupol/gtk/delegates/fileopen.py: Cosmetic fixes. * lib/gaupol/gtk/delegates/filesave.py: Cosmetic fixes. * lib/gaupol/gtk/delegates/format.py: Cosmetic fixes. (ToggleItalicizationAction.is_doable): Return False if file is None. * lib/gaupol/gtk/delegates/help.py: Adapt to changes in wwwlib. Cosmetic fixes. * lib/gaupol/gtk/delegates/menuupdate.py: (MenuUpdateDelegate._get_action_group): Added assert statement. * lib/gaupol/gtk/delegates/spellcheck.py: Cosmetic fixes. (SpellCheckDelegate.on_configure_spell_check_activated): Fixed usage of undefined variable page. * lib/gaupol/gtk/dialogs/debug.py: Cosmetic fixes. Use a smarter dialog size. Raise SystemExit with error code 1. * lib/gaupol/gtk/dialogs/encoding.py: Use a smarter dialog size. * lib/gaupol/gtk/dialogs/filechooser.py: Cosmetic fixes. Removed lambdas in favor of nested functions. * lib/gaupol/gtk/dialogs/language.py: Use a smarter dialog size. Cosmetic fixes. * lib/gaupol/gtk/dialogs/message.py: Cosmetic fixes. * lib/gaupol/gtk/dialogs/multiclose.py: Use a smarter dialog size. * lib/gaupol/gtk/dialogs/preferences.py: Added preview tab stuff. Cosmetic fixes. * lib/gaupol/gtk/dialogs/spellcheck.py: Cosmetic fixes. Use a smarter dialog sizes. * lib/gaupol/gtk/error.py: (GaupolGTKError): New base class for errors. * lib/gaupol/gtk/main.py: (main): Call gobject.threads_init(). * lib/gaupol/gtk/page.py: (Page.document_to_text_column): New method. (Page.text_column_to_document): New method. * lib/gaupol/gtk/util/config.py: Added preview options. Cosmetic fixes. * lib/gaupol/gtk/util/gtklib.py: (EXTRA): New vague spacing constant. (get_text_view_size): New function to get text view size. (get_tree_view_size): New function to get tree view size. (idlemethod): New decorator for threaded methods that touch the GUI. (resize_dialog): New method for smart dialog resizing. (resize_message_dialog): New method for smart message dialog resizing. * setup.py: Raise SystemExit with error code 1. Cosmetic fixes. * test/info: Cosmetic fixes. * test/pyenchant: Cosmetic fixes. * trantool: Raise SystemExit with error code 1. Cosmetic fixes. 2006-01-02 Osmo Salomaa * lib/gaupol/gtk/delegates/spellcheck.py: (SpellCheckDelegate.on_configure_spell_check_activated): Call self.set_sensitivities(page). 2006-01-02 Osmo Salomaa RELEASE 0.2.0 * lib/gaupol/__init__.py: Bumped version number to 0.2.0. 2006-01-02 Osmo Salomaa * lib/gaupol/base/delegates/edit.py: (EditDelegate.get_needs_resort): New method to tell if rows need resorting after show value is changed. * lib/gaupol/gtk/delegates/edit.py: (EditDelegate.on_view_cell_edited): Set focus only if rows have been reordered. (EditDelegate.on_view_cell_editing_started): Do not move to an adjacent cell if rows are going to be reordered. * lib/gaupol/gtk/dialogs/spellcheck.py: Removed a left-over print statement. 2006-01-01 Osmo Salomaa * gaupol: Added a argument to --hotshot option. * lib/gaupol/gtk/dialogs/spellcheck.py: Do not select a suggestion after clicking the check button. Cosmetic changes. 2006-01-01 Osmo Salomaa * lib/gaupol/gtk/delegates/spellcheck.py: (SpellCheckAction.is_doable): Require language to not be None if document is to be checked. * lib/gaupol/gtk/dialogs/spellcheck.py: Implemented replacement files. Changed profile directory to ~/.gaupol/spell-check. Assumed language to not be None if document is to be checked. Lots of cosmetic changes. 2006-01-01 Osmo Salomaa * lib/gaupol/gtk/delegates/spellcheck.py: (SpellCheckDelegate._on_page_checked): Call replace_both_texts only if both texts are non-empty lists. * lib/gaupol/gtk/dialogs/spellcheck.py: (SpellCheckDialog): Use brokers, one for main and one for translation texts. Fixed a few typos. 2005-12-31 Osmo Salomaa * lib/gaupol/base/delegates/action.py: (ActionDelegate._revert_multiple): Removed unused variable row_count. 2005-12-31 Osmo Salomaa * lib/gaupol/base/delegates/action.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/multiclose.py: Fixed typos. * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/dialogs/multiclose.py: Fixed all remaining gaupol.gtk.util.gui imports. * lib/gaupol/gtk/delegates/action.py: (ActionDelegate._show_updated_data): Return if changed_rows is a blank list. * lib/gaupol/gtk/dialogs/debug.py: (DebugDialog._on_text_view_motion_notify_event): Call self._text_view.window_to_buffer_coords to get correct coordinates in case text view has been scrolled down. * lib/gaupol/gtk/util/gtklib.py: Readded gtk.main_iteration() while gtk.events_pending() calls to cursor changing functions. 2005-12-31 Osmo Salomaa * lib/gaupol/gtk/util/gtklib.py: Renamed from lib/gaupol/gtk/util/gui.py. Fixed all references. * lib/gaupol/gtk/delegates/spellcheck.py: Fixed Action constant importing now that namespaces don't collide. 2005-12-31 Osmo Salomaa * MANIFEST.in: Readded the .mo files. * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/dialogs/spellcheck.py: * lib/gaupol/gtk/util/gui.py: Cosmetic fixes. 2005-12-31 Osmo Salomaa * MANIFEST.in: Removed .mo files. * gaupol: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/page.py: Cosmetic fixes. * lib/gaupol/base/delegates/action.py: (RevertableAction._validate_input): Sort lists. (ActionDelegate._revert_multiple): Hopefully fixed shifting of updated rows when rows have been inserted or removed. * lib/gaupol/base/files/__init__.py (SubtitleFile): Added constants FORMAT and MODE. * lib/gaupol/gtk/delegates/__init__.py: Renamed Action class to UIMAction and Actions class to UIMActions. Fixed all references. * lib/gaupol/gtk/delegates/appupdate.py: (ApplicationUpdateDelegate.set_status_message): Increased timeout to 6 seconds. * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Call gui.destroy_gobject(...) to destroy gobjects properly. * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/view.py: Call self.set_character_status(page). * lib/gaupol/gtk/dialogs/encoding.py: Set tree view size to fit content. * lib/gaupol/gtk/dialogs/insertsub.py: Use config to set initial values. * lib/gaupol/gtk/util/config.py: Removed sections "encoding_dialog" and "spell_check_dialog". * lib/gaupol/gtk/util/gui.py: Added function destroy_gobject. * test/info: New file to print dependency versions. 2005-12-30 Osmo Salomaa * lib/gaupol/gtk/delegates/help.py: Fixed DOWNLOAD_URL according to renewed web site. 2005-12-30 Osmo Salomaa * lib/gaupol/gtk/delegates/edit.py: (EditDelegate.on_view_cell_edited): Call self.set_character_status(page). * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/dialogs/debug.py: Raise SystemExit if gtk.main_quit() raises RuntimeError. * lib/gaupol/gtk/delegates/viewupdate.py: Made set_character_status method public. * lib/gaupol/gtk/dialogs/spellcheck.py: Added check button sensitivity handling. 2005-12-29 Osmo Salomaa * lib/gaupol/base/text/parser.py: Fixed a typo. 2005-12-29 Osmo Salomaa * lib/gaupol/base/delegates/edit.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/dialogs/language.py: Fixed typos discovered by PyChecker. * test/pycheckrc: Added configuration file for PyChecker. 2005-12-29 Osmo Salomaa * lib/gaupol/gtk/dialogs/filechooser.py: Removed a comment to not have it appear in .po files. 2005-12-29 Osmo Salomaa * data/glade/spellcheck-dialog.glade: Made dialog invisible. Fixed a typo. * lib/gaupol/base/delegates/edit.py: (EditDelegate.replace_both_texts): New method for replacing both main and translation document texts. * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/dialogs/spellcheck.py: Implemented spell-check. * lib/gaupol/gtk/dialogs/debug.py (show): Hopefully made the terminal traceback complete. * lib/gaupol/gtk/dialogs/preferences.py: (PreferencesDialog.__gsignals__): Removed gobject constants from class-variable position. 2005-12-27 Osmo Salomaa * data/glade/language-dialog.glade: Adjusted tree view sizes. 2005-12-27 Osmo Salomaa * data/glade/preferences-dialog.glade: Enabled search for fallback encoding tree view. * data/ui/menubar.xml: * data/ui/toolbar.xml: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/spellcheck.py: * lib/gaupol/gtk/dialogs/language.py: Implemented spell-check configuring. * lib/gaupol/base/util/langlib.py (locales): Removed "en_EN", "eo_EO", "ur" and "ur_PK", which were not found in langs or countries lists. * lib/gaupol/gtk/delegates/format.py: Fixed typo. * lib/gaupol/gtk/dialogs/preferences.py: Fixed terminology. * lib/gaupol/gtk/util/config.py (spell_check): Fixed variable names. 2005-12-27 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/base/delegates/format.py: * lib/gaupol/gtk/delegates/format.py: Implemented case changing. 2005-12-27 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/base/delegates/format.py: * lib/gaupol/gtk/delegates/format.py: Implemented italicization toggling. 2005-12-27 Osmo Salomaa * data/glade/debug-dialog.glade: * lib/gaupol/gtk/dialogs/debug.py: Added a quit button. * data/ui/menubar.xml: * lib/gaupol/base/delegates/format.py: * lib/gaupol/gtk/delegates/format.py: * lib/gaupol/gtk/delegates/__init__.py: Implemented dialog line toggling. * lib/gaupol/base/delegates/filesave.py: Set changed values to zero after saving. * lib/gaupol/base/text/parser.py: Fixed tag shifting. * lib/gaupol/gtk/delegates/action.py: Fixed a minor bug. * lib/gaupol/gtk/delegates/filesave.py: Cleaned up coding style. 2005-12-26 Osmo Salomaa * data/glade/preferences-dialog.glade: Shortened names and adjusted fallback encoding tree view's properties. * data/ui/menubar.xml: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/preferences.py: * lib/gaupol/gtk/dialogs/preferences.py: Implemented preferences dialog. * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/relib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/gtk/util/config.py: Removed psyco.classes imports. * lib/gaupol/gtk/dialogs/debug.py: Fixed multiple URL tags of the same file. Restructured code. Improved dialog size guessing. Added GTK and Psyco versions to system information. 2005-12-26 Osmo Salomaa * data/glade/preferences-dialog.glade: Renamed from prefs-dialog.glade. 2005-12-26 Osmo Salomaa * data/ui/menubar.xml: * lib/gaupol/gtk/delegates/edit.py: Implemented selection manipulations. 2005-12-25 Osmo Salomaa * lib/gaupol/base/clipboard.py: * lib/gaupol/gtk/dialogs/insertsub.py: Forgot to add these new files earlier. * lib/gaupol/gtk/dialogs/debug.py: Hyperlinks in debug dialog. Cool. * lib/gaupol/gtk/util/config.py: New setting general.editor. 2005-12-25 Osmo Salomaa * data/glade/debug-dialog.glade: * lib/gaupol/gtk/dialogs/debug.py: * lib/gaupol/gtk/main.py: Implemented a debug dialog to serve as a sys.excepthook. 2005-12-25 Osmo Salomaa * data/glade/insertsub-dialog.glade: Changed dialog to modal. * data/ui/menubar.xml: * data/ui/popups.xml: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/error.py: * lib/gaupol/gtk/delegates/edit.py: Implemented subtitle inserting and removing. * lib/gaupol/base/delegates/action.py: Fixed docstring. * lib/gaupol/gtk/delegates/action.py: Fixed view updating bugs. * lib/gaupol/gtk/delegates/fileclose.py: Added missing uim_paths class variables. * lib/gaupol/gtk/delegates/viewupdate.py (ViewUpdateDelegate.set_status): Improved exception handling. * lib/gaupol/gtk/dialogs/multiclose.py: Fixed a function call typo. * lib/gaupol/gtk/page.py: Fixed reload methods. * lib/gaupol/gtk/view.py (View.get_focus): Improved exception handling. (View.select_rows): Implemented selecting by ranges. 2005-12-23 Osmo Salomaa * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/delegates/edit.py: Changed keyvals to keynames for clarity. * lib/gaupol/gtk/delegates/edit.py (EditDelegate.on_view_cell_editing_started): Fixed Alt+Arrow moving when some columns are not visible. Added error handling for empty string frame value. 2005-12-23 Osmo Salomaa * data/ui/menubar.xml: * data/ui/popups.xml: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/base/project.py: * lib/gaupol/gtk/application.py: Added cut, copy, paste and clear functionality. * lib/gaupol/base/delegates/edit.py: Added cut, copy, paste and clear functionality. Simplified descriptions. * lib/gaupol/base/delegates/action.py: Added modify_action_description method. * lib/gaupol/gtk/delegates/action.py: Fixed data modification problems with [:]s. * lib/gaupol/gtk/util/gui.py: Removed slow and perhaps pointless gtk.main_iteration() calls while gtk.events_pending() in mouse cursor functions. 2005-12-20 Osmo Salomaa * INSTALL: * MANIFEST.in: * README: * README.translators: * TODO: * data/glade/language-dialog.glade: * data/glade/prefs-dialog.glade: * data/glade/spellcheck-dialog.glade: * data/ui/menubar.xml: * data/ui/popups.xml: * data/ui/toolbar.xml: * doc/releasing.txt: * gaupol: * lib/gaupol/base: * lib/gaupol/base/__init__.py: * lib/gaupol/base/colconstants.py: * lib/gaupol/base/delegates: * lib/gaupol/base/delegates/__init__.py: * lib/gaupol/base/delegates/action.py: * lib/gaupol/base/delegates/edit.py: * lib/gaupol/base/delegates/fileopen.py: * lib/gaupol/base/delegates/filesave.py: * lib/gaupol/base/delegates/format.py: * lib/gaupol/base/delegates/frconv.py: * lib/gaupol/base/delegates/stat.py: * lib/gaupol/base/error.py: * lib/gaupol/base/files: * lib/gaupol/base/files/__init__.py: * lib/gaupol/base/files/classes.py: * lib/gaupol/base/files/determiner.py: * lib/gaupol/base/files/microdvd.py: * lib/gaupol/base/files/mpl2.py: * lib/gaupol/base/files/subrip.py: * lib/gaupol/base/model.py: * lib/gaupol/base/project.py: * lib/gaupol/base/tags: * lib/gaupol/base/tags/__init__.py: * lib/gaupol/base/tags/classes.py: * lib/gaupol/base/tags/converter.py: * lib/gaupol/base/tags/microdvd.py: * lib/gaupol/base/tags/mpl2.py: * lib/gaupol/base/tags/subrip.py: * lib/gaupol/base/text: * lib/gaupol/base/text/__init__.py: * lib/gaupol/base/text/parser.py: * lib/gaupol/base/timing: * lib/gaupol/base/timing/__init__.py: * lib/gaupol/base/timing/calc.py: * lib/gaupol/base/util: * lib/gaupol/base/util/__init__.py: * lib/gaupol/base/util/encodinglib.py: * lib/gaupol/base/util/langlib.py: * lib/gaupol/base/util/listlib.py: * lib/gaupol/base/util/relib.py: * lib/gaupol/base/util/wwwlib.py: * lib/gaupol/constants.py: * lib/gaupol/gtk: * lib/gaupol/gtk/__init__.py: * lib/gaupol/gtk/application.py: * lib/gaupol/gtk/cellrend: * lib/gaupol/gtk/cellrend/__init__.py: * lib/gaupol/gtk/cellrend/classes.py: * lib/gaupol/gtk/cellrend/integer.py: * lib/gaupol/gtk/cellrend/multiline.py: * lib/gaupol/gtk/cellrend/text.py: * lib/gaupol/gtk/cellrend/time.py: * lib/gaupol/gtk/colconstants.py: * lib/gaupol/gtk/delegates: * lib/gaupol/gtk/delegates/__init__.py: * lib/gaupol/gtk/delegates/action.py: * lib/gaupol/gtk/delegates/appupdate.py: * lib/gaupol/gtk/delegates/edit.py: * lib/gaupol/gtk/delegates/fileclose.py: * lib/gaupol/gtk/delegates/fileopen.py: * lib/gaupol/gtk/delegates/filesave.py: * lib/gaupol/gtk/delegates/guiinit.py: * lib/gaupol/gtk/delegates/help.py: * lib/gaupol/gtk/delegates/menuupdate.py: * lib/gaupol/gtk/delegates/view.py: * lib/gaupol/gtk/delegates/viewupdate.py: * lib/gaupol/gtk/dialogs: * lib/gaupol/gtk/dialogs/__init__.py: * lib/gaupol/gtk/dialogs/about.py: * lib/gaupol/gtk/dialogs/encoding.py: * lib/gaupol/gtk/dialogs/filechooser.py: * lib/gaupol/gtk/dialogs/message.py: * lib/gaupol/gtk/dialogs/multiclose.py: * lib/gaupol/gtk/error.py: * lib/gaupol/gtk/main.py: * lib/gaupol/gtk/page.py: * lib/gaupol/gtk/paths.py: * lib/gaupol/gtk/util: * lib/gaupol/gtk/util/__init__.py: * lib/gaupol/gtk/util/config.py: * lib/gaupol/gtk/util/gui.py: * lib/gaupol/gtk/view.py: * setup.py: * test/pyenchant: * trantool: Major update with files taken from trunk and rewritten for the alvar branch. Contains a huge amount of changes compared to the trunk. Most notably, new undo-redo system, new config module and new GUI building and updating. All features are not yet ported from the trunk, but all the framework should be done. 2005-09-25 Osmo Salomaa otsaloma@cc.hut.fi * data/ui/popups.xml: Renamed from data/ui/treeview.xml. 2005-09-25 Osmo Salomaa otsaloma@cc.hut.fi * data/glade/language-dialog.glade: Renamed sections back to columns. * data/ui/menubar.xml: data/ui/treeview.xml: Moved edit and view menus back to menubar.xml. 2005-09-24 Osmo Salomaa otsaloma@cc.hut.fi * data: data/glade: data/glade/encoding-dialog.glade: data/glade/insertsub-dialog.glade: data/glade/language-dialog.glade: data/glade/multiclose-dialog.glade: data/glade/prefs-dialog.glade: data/glade/spellcheck-dialog.glade: data/icons: data/icons/gaupol.png: data/ui: data/ui/menubar.xml: data/ui/toolbar.xml: data/ui/treeview.xml: doc: doc/releasing.txt: lib: lib/gaupol: lib/gaupol/__init__.py: po: po/ChangeLog: po/fi.po: test: test/pyenchant: New files added from trunk with varying amount of fixes. 2005-09-24 Osmo Salomaa otsaloma@cc.hut.fi * INSTALL: NEWS: README: README.translators: TODO: gaupol: setup.py: trantool: Minor fixes. 2005-09-24 Osmo Salomaa otsaloma@cc.hut.fi START OF CODEBASE REDESIGN AND CODE REWRITE. * COPYING: ChangeLog: INSTALL: MANIFEST.in: NEWS: README: README.translators: TODO: gaupol: gaupol.desktop: setup.cfg: setup.py: trantool: Added from trunk. 2005-09-24 Osmo Salomaa otsaloma@cc.hut.fi * data/glade/insertsub-dialog.glade: Changed "Add" button caption to "Insert". * data/glade/prefs-dialog.glade: Minor fixes. * data/glade/spellcheck-dialog.glade: Corrected border width to 12 pixels. * data/icons/gaupol.png: New icon. * lib/gaupol/constants.py (EXTENSION): Removed class. (FORMAT): Added attribute "EXTENSIONS". * lib/gaupol/gtk/actions/action.py (UndoableAction): New class. * lib/gaupol/gtk/dialogs/insertsub.py: Removed "Insert" button caption changing, since it's now in the Glade file. * lib/gaupol/gtk/project.py (Project.select_rows, Project.set_focus): New functions that could be implemented later. 2005-09-20 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/dialogs/error.py: lib/gaupol/gtk/dialogs/info.py: lib/gaupol/gtk/dialogs/question.py: lib/gaupol/gtk/dialogs/warning.py: Minor fixes. * lib/gaupol/gtk/dialogs/warning.py (OpenTranslationWarningDialog): Renamed from ImportTranslationWarningDialog. 2005-09-19 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/colcons.py: lib/gaupol/gtk/dialogs/about.py: lib/gaupol/gtk/main.py: Minor fixes. 2005-09-19 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/util/config.py: Renamed "type" variables to "type_" to avoid possible namespace clashes with the built-in "type" function. 2005-09-18 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/dialogs/spellcheck.py: Renamed from lib/gaupol/gtk/spellcheck.py. 2005-09-18 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/actions/action.py (Action): Subclass Delegate. * lib/gaupol/gtk/delegates/delegate.py: Synced with delegate in base. 2005-09-17 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/actions: lib/gaupol/gtk/actions/__init__.py: lib/gaupol/gtk/actions/action.py: New directory and files for the new action system. * lib/gaupol/gtk/util/config.py: Aligned stuff. 2005-09-11 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/gtk/cellrend/custom.py: Minor fixes. * lib/gaupol/gtk/cellrend/multiline.py: Minor fixes. (CellRendererMultilineText.on_key_press_event): Removed Alt from linebreaking accel masks. * lib/gaupol/gtk/cellrend/time.py: Minor fixes. (CellRendererTime._change_to_zero): Removed unnecessary blocking of key-press-event signal. 2005-09-11 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/base/delegates/editor.py: lib/gaupol/base/delegates/filereader.py: Minor fixes. * lib/gaupol/base/delegates/filewriter.py: Minor fixes. (FileWriter._write_file): Use temp directory for backup. * lib/gaupol/constants.py: NEWLINE and FORMAT UI_NAMES are now translatable. 2005-09-11 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/base/colcons.py: lib/gaupol/constants.py: Replaced vague attributes NAMES with CLASS_NAMES, ID_NAMES and UI_NAMES and fixed all references in other modules to attribute NAMES. * lib/gaupol/base/data.py (Data._assign_delegations): Fixed automatic delegate listing. * lib/gaupol/base/delegates/classes.py (get_delegate_names): Replaces function get_delegates. * lib/gaupol/base/delegates/delegate.py: Fixed docstring. * lib/gaupol/base/delegates/filewriter.py: Beautified logger messages. * lib/gaupol/gtk/colcons.py: Removed trailing space. * lib/gaupol/gtk/util/clipboard.py: Docstring fixes. (Clipboard.set_data): Use unicode string. * lib/gaupol/gtk/util/config.py: Completely rewritten. * lib/gaupol/gtk/util/gui.py: Minor fixes. 2005-09-08 Osmo Salomaa otsaloma@cc.hut.fi * lib/gaupol/base/util/internet.py: lib/gaupol/base/util/langlib.py: lib/gaupol/gtk/cellrend/custom.py: lib/gaupol/gtk/delegates/fileopener.py: lib/gaupol/gtk/delegates/filesaver.py: lib/gaupol/gtk/dialogs/about.py: lib/gaupol/gtk/project.py: lib/gaupol/gtk/util/gui.py: Minor docstring fixes. 2005-09-08 Osmo Salomaa otsaloma@cc.hut.fi * data/glade/prefs-dialog.glade: Changed encoding preferences. 2005-09-08 Osmo Salomaa otsaloma@cc.hut.fi * data/glade/encoding-dialog.glade: data/glade/insertsub-dialog.glade: data/glade/multiclose-dialog.glade: Minor fixes. * data/glade/language-dialog.glade: data/ui/menubar.xml: Terminology fixes. * data/glade/prefs-dialog.glade: Added a notebook. Added file preferences. * data/glade/spellcheck-dialog.glade: New file to replace spellcheck-window.glade. Fixed alingments. * data/glade/spellcheck-window.glade: Removed in favor of spellcheck-dialog.glade. 2005-09-07 Osmo Salomaa * ChangeLog: Forgot to commit this. 2005-09-07 Osmo Salomaa * lib/gaupol/base/data.py: Fixed imports. Minor fixes. * lib/gaupol/base/delegates/__init__.py: lib/gaupol/base/files/__init__.py: lib/gaupol/base/tags/__init__.py: Cleared in favor of classes.py modules. * lib/gaupol/base/delegates/analyzer.py: lib/gaupol/base/delegates/delegate.py: lib/gaupol/base/delegates/editor.py: lib/gaupol/base/delegates/filereader.py: lib/gaupol/base/delegates/filewriter.py: lib/gaupol/base/delegates/frconv.py: lib/gaupol/base/files/microdvd.py: lib/gaupol/base/files/mpl2.py: lib/gaupol/base/files/subrip.py: lib/gaupol/base/tags/microdvd.py: lib/gaupol/base/tags/mpl2.py: lib/gaupol/base/timing/calc.py: lib/gaupol/base/util/encodinglib.py: lib/gaupol/base/util/internet.py: lib/gaupol/base/util/langlib.py: Minor fixes. * lib/gaupol/base/delegates/classes.py: lib/gaupol/base/files/classes.py: lib/gaupol/base/tags/classes.py: New files for importing all classes. * lib/gaupol/base/delegates/formatter.py: Made use of TextParser. Minor fixes. * lib/gaupol/base/files/determiner.py: Minor fixes. (FileFormatError): Renamed from UnknownFileFormatError. * lib/gaupol/base/text/parser.py: (TextParser.__init__): Do not require or set text. (TextParser.set_text): Fixed attribute names. 2005-09-06 Osmo Salomaa * lib/gaupol/base/files/__init__.py: Added variable __all__. * lib/gaupol/base/files/determiner.py: Automated retrieval of regular expression identifiers. * lib/gaupol/base/files/microdvd.py: lib/gaupol/base/files/mpl2.py: lib/gaupol/base/files/subfile.py: lib/gaupol/base/files/subrip.py: Added class variable ID_PATTERN. Minor fixes. * lib/gaupol/base/tags/mpl2.py: Minor comment fixes. 2005-09-06 Osmo Salomaa * lib/gaupol/base/tags/__init__.py: Added variable __all__. * lib/gaupol/base/tags/microdvd.py: lib/gaupol/base/tags/mpl2.py: lib/gaupol/base/tags/subrip.py: lib/gaupol/base/tags/tagconv.py: Minor fixes. * lib/gaupol/base/tags/taglib.py: Defined ENCODE_TAGS to clear all tags. Minor fixes. 2005-09-06 Osmo Salomaa * lib/gaupol/base/files/all.py: lib/gaupol/base/tags/all.py: Removed in favor of using __init__.py. 2005-09-06 Osmo Salomaa * lib/gaupol/base/data.py: Fixed docstrings. * lib/gaupol/base/text: lib/gaupol/base/text/__init__.py: New module for text operations. * lib/gaupol/base/text/parser.py: New module for parsing text so that the text can be edited while keeping its tags intact. 2005-09-05 Osmo Salomaa * lib/gaupol/base/data.py: Fixed imports. * lib/gaupol/base/timing/calc.py: Minor fixes. 2005-09-05 Osmo Salomaa * lib/gaupol/base/util/encodinglib.py: Added a note for translators. Minor fixes. * lib/gaupol/base/util/internet.py: Minor fixes. * lib/gaupol/base/util/langlib.py: Improved docstring. Minor fixes. (get_descriptive_name): Added lacking dgettext calls. 2005-09-05 Osmo Salomaa * lib/gaupol/base/data.py: Minor fixes. (_assign_delegations): Automated delegate listing. * lib/gaupol/base/colcons.py: Minor fixes. 2005-09-05 Osmo Salomaa * lib/gaupol/constants.py: Removed constant VERSION. Renamed framerate constants. * lib/gaupol/__init__.py: Added attribute __version__. * lib/gaupol/paths.py: Minor fixes. 2005-09-05 Osmo Salomaa START OF PARTIAL CODE REWRITE. BROKEN! * lib/gaupol/gtk: Renamed from lib/gaupol/gui. * lib/gaupol/base: Renamed from lib/gaupol/lib. 2005-09-02 Osmo Salomaa * lib/gaupol/gui/delegates/guibuilder.py (_build_framerate_combo_box): Shifted framerate combo to the left of the spell-check item. * data/glade/insertsub-dialog.glade: Removed separator. * data/glade/spellcheck-window.glade: Added "Join Back" and "Join Forward" buttons. Made language label wider. 2005-09-02 Osmo Salomaa * test/pyenchant: Print also the names of the dictionary providers. * gaupol: setup.py: trantool: Minor adjustments. * README: Added info on new optional dependencies. 2005-09-01 Osmo Salomaa * lib/gaupol/gui/dialogs/error.py (SpellCheckErrorDialog): New class for spell-check errors. * lib/gaupol/gui/spellcheck.py: New module for spell-check window. Buggy and incomplete! * lib/gaupol/gui/delegates/spellchecker.py: Major rewrite. * lib/gaupol/gui/delegates/durmanager.py (DURAction.__init__): Fixed typo. * lib/gaupol/gui/delegates/durmanager.py (DURManager.register_action): lib/gaupol/gui/application.py: New method for actions already done. Added to delegation dictionary. * lib/gaupol/gui/util/config.py (Config.write_to_file): Fixed a bug with profile directory creation error handling. * lib/gaupol/lib/util/langlib.py (get_descriptive_name): New method for getting descriptive name. * data/glade/spellcheck-window.glade: Minor adjustments. * data/glade/edit-dialog.glade: Removed in favor of manual construction. 2005-08-30 Osmo Salomaa * gaupol (prepare_gettext): Added dgettext and removed broken ngettext for now. * gui/dialogs/language.py: language-dialog.glade: Reformatted language lists. * lib/util/langlib.py: Rewrote module based on iso-codes project. 2005-08-30 Osmo Salomaa * gui/dialogs/language.py: Moved slow default language determination to _set_language method having it run only when absolutely needed. * gui/delegates/spellchecker.py (on_set_language_and_target_activated): Added busy cursor due to possible slowness of the language dialog. 2005-08-30 Osmo Salomaa * gui/dialogs/insertsub.py: Reordered methods. * gui/dialogs/prefs.py(_connect_signals): Improved error handling for radio button grouping. * gui/dialogs/language.py: New file for language selection dialog. Works! * gui/delegates/prefeditor.py: Removed a debugging print command left by accident. * gui/delegates/spellchecker.py: Added code for language dialog. Works! * lib/util/langlib.py: Added a better and longer list of languages. Added method get_descriptive_name. 2005-08-29 Osmo Salomaa * setup.py: gui/dialogs/about.py: Replaced accidental tabs with spaces. * gui/delegates/guiupdater.py: Check for PyEnchant version as well. 2005-08-29 Osmo Salomaa * spellcheck-window.glade: Revised wording and added "Add Lower" button. 2005-08-29 Osmo Salomaa * gui/application.py: Added spell-check methods to delegation dictionary. * gui/delegates/guibuilder.py: Added tools menu and spell-check menu items. * gui/delegates/spellchecker.py: New delegate for spell-checks. * gui/delegates/guiupdater.py: Added sensitivity setting for spell-check items. * gui/util/config.py: Added spell-checking settings. * lib/util/langlib.py: New file for language codes and names. * language-dialog.glade: New file for language setting dialog. * spellcheck-window.glade: New file for spell-check window. * edit-dialog.glade: New file for single text edit dialog. * toolbar.xml: Added spell-check item. * menubar.xml: Added spell-check items. 2005-08-28 Osmo Salomaa * test: New directory for tests. * test/pyenchant: New file to test PyEnchant installation. * MANIFEST.in: Added new test directory and all contents. 2005-08-27 Osmo Salomaa * gui/delegates/fileopener.py: Method _get_main_file_open renamed to _is_file_open and extended to check translation files. Corrected terminology regarding main, translation, file, document, opening and importing. 2005-08-27 Osmo Salomaa * releasing.txt: Revised instructions. 2005-08-27 Osmo Salomaa RELEASE 0.1.1 * gaupol: constants.py: Bumped version numbers to 0.1.1. * NEWS: Added release news. 2005-08-27 Osmo Salomaa * setup.py: Automated source distribution building. * releasing.txt: Revised instructions. 2005-08-27 Osmo Salomaa * gui/util/config.py (write_to_file): Create directory ~/.gaupol if it doesn't exist. Fixes #2816. * TODO: Drafted plans for 0.2.0. 2005-08-26 Osmo Salomaa * gui/util/config.py (read_from_file): Set version based on current version, not from config file. 2005-08-25 Osmo Salomaa * releasing.txt: Revised instructions. 2005-08-25 Osmo Salomaa RELEASE 0.1.0 * gaupol: constants.py: Bumped version numbers to 0.1.0. * NEWS: Added release news. 2005-08-25 Osmo Salomaa * setup.py: Added README.translators and TODO to doc files. 2005-08-25 Osmo Salomaa * trantool (compile_mo): Check syntax and be verbose. * README.translators: Updated to reflect changes in trantool. 2005-08-25 Osmo Salomaa * gui/dialogs/about.py: Added translator credits. 2005-08-25 Osmo Salomaa * po/ChangeLog: Added separate ChangeLog for translations. * MANIFEST.in: Added po/ChangeLog. 2005-08-25 Osmo Salomaa * setup.py: Import VERSION from same directory. * gaupol: constants.py: Changed version numbers to 0.0.0. * releasing.txt: Wrote file. * README.translators: Added a bit more info. 2005-08-24 Osmo Salomaa * README: Updated based on website text. * gui/delegates/helper.py: Changed DOWNLOAD_URL to point to new URL. * README.translators: Added a bit more info. * fi.po: Added package and version info. * doc: New directory for documentation. * doc/releasing.txt: New file for release checklist. 2005-08-24 Osmo Salomaa * gui/delegates/celleditor.py: fi/po: Fixed one translatable string. * lib/gaupol/lib/tags/taglib.py: lib/gaupol/lib/tags/tagconv.py: lib/gaupol/lib/tags/mpl2.py: Added arbitrary pre and post encode and decode tag conversion functions and used one for MPL2. 2005-08-22 Osmo Salomaa * setup.py: Fixed location of "doc" directory. 2005-08-22 Osmo Salomaa * fi.po: Fixed finnish translation. 2005-08-22 Osmo Salomaa * INSTALL: File initially written. 2005-08-22 Osmo Salomaa * setup.py: Changed package name to lowercase. 2005-08-22 Osmo Salomaa * MANIFEST.in: New file. * setup.cfg: New file. * setup.py: File initially written. * gaupol (prepare_installed_run): Changed LIB_DIR to point to Python's site-packages. * gaupol.desktop: Fixed Category to AudioVideo. * trantool: Use glob to find files. * uninstall.py: Removed in favor of uninstallation in setup.py. 2005-08-21 Osmo Salomaa * gaupol: Re-added "-t" / "--no-translation" option. * README.translators: Fixed instructions on testing translation. * TODO: Updated. * gui/dialogs/filechooser.py: gui/delegates/guibuilder.py: gui/delegates/filesaver.py: gui/delegates/celleditor.py: lib/util/encodinglib.py: Fixed translatable strings. * gui/dialogs/question.py (RevertQuestionDialog): Use stock button for revert. * gui/delegates/texteditor.py: gui/delegates/roweditor.py: Removed faulty and complicated ngettext strings. * fi.po: Added finnish translation. 2005-08-21 Osmo Salomaa * gaupol.desktop: Altered finnish translation. * trantool (check_write_permissions): Fixed diretory recursion bug. * gui/dialogs/error.py: gui/dialogs/warning.py: gui/dialogs/question.py: gui/delegates/helper.py: gui/delegates/celleditor.py: Fixed formatting of translatable strings. * gui/delegates/guibuilder.py: Removed search menu. * README.translators: Minor formatting and typo fixes. * prefs-dialog.glade (undo_levels_spin_button): Do not expand. 2005-08-21 Osmo Salomaa * gaupol: Minor coding style change. * README: Formatting changed. * trantool: Code clean-up. * TODO: Formatting changed. * README.translators: File written. * ChangeLog: Fixed faulty date on entry below. 2005-08-20 Osmo Salomaa * trantool: New file to automate translation tasks. * README.translators: New file for translation instructions (blank for now). * po: New directory for .po files. * Added comments for translators above translatable strings. * gaupol: Install plural ngettext function to builtin namespace. Updated all plural strings to use ngettext. 2005-08-19 Osmo Salomaa * Trivial bug-fixes on File and Documents menus' actions. 2005-08-19 Osmo Salomaa * jumpto-dialog.glade: gui/dialogs/jumpto.py: gui/delegates/searcher.py: Removed in favor of gtk.TreeView in-built search functionality. Removed all references to these. 2005-08-19 Osmo Salomaa * gui/project.py (build_tree_view): Enable search for number column in list. * menubar.xml: Removed jump_to_subtitle item and all references to it. * gui/delegates/guibuilder.py (_build_ui_manager): Changed shortcut keys due to freeing Ctrl+F for searching. 2005-08-19 Osmo Salomaa * New subtitles can now be inserted when none exist. 2005-08-18 Osmo Salomaa * Edit menu bug-fixed. * lib/delegates/editor.py (set_text): Convert value to unicode. * gui/cellrend/time.py (RE_TIME): lib/timing/calc.py (seconds_to_time): Do not allow values greater than 59 for minutes and seconds. 2005-08-18 Osmo Salomaa * View menu bug-fixed. 2005-08-17 Osmo Salomaa * Format, Search and Help menus bug-fixed. 2005-08-17 Osmo Salomaa * Preferences dialog works. 2005-08-16 Osmo Salomaa * "Jump To Subtitle" dialog is far cooler now, and it works. * New supported format: MPL2. 2005-08-16 Osmo Salomaa * TreeView model is now detached during heavy data reloading. Speed increase almost 30 %. Insignificant freeze/thaw methods removed. 2005-08-16 Osmo Salomaa * Major code clean-up done. * Code uses more constants now. * List is no longer sortable. * Preferences dialog exists, but is not yet functional. * Huge amounts of new bugs. 2005-08-09 Osmo Salomaa * New Edit menu items are now functional, although perhaps buggy. 2005-08-07 Osmo Salomaa * New Help menu items are now functional. 2005-08-06 Osmo Salomaa * Major code clean-up done. * Lots of modules and functions renamed. * paths.py file is no longer written when running from source. * Changing format in save dialog now changes extension as well. * Invert case menu entry removed. * Shortcut keys for menu entries changed. * Several non-functional menu items added to Edit and Help menus. 2005-08-01 Osmo Salomaa * Clearing and selecting under Edit menu done. * List right-click menu operational. 2005-08-01 Osmo Salomaa * Character counts are now displayed in the statusbar. New file: analyzer.py 2005-08-01 Osmo Salomaa * "Go To Subtitle" under Search menu done. New files: goto-dialog.glade, searcher.py, goto.py 2005-07-31 Osmo Salomaa * Format menu done. New files: formatter.py (x2) * Fixed sort order interfearing with editing. * Miscellanous bug fixes. 2005-07-29 Osmo Salomaa * Data is now resorted by show time/frame after manual editing. 2005-07-29 Osmo Salomaa * Undo/redo system written. New file: durmanager.py * Manual editing is now possible. New files: maneditor.py, editor.py * guiupdater.py rewritten. * Miscellanous bug fixes and minor additions. 2005-07-24 Osmo Salomaa * New file: lib/gaupol/gui/constants.py. * View menu action states now get updated on document switch. * Changed key and section names in config.py. * Project moved from SourceForge to Gna!. * Code, without history, moved to Subversion system. 2005-07-21 Osmo Salomaa * Cell renderers redone. New config setting: "font". 2005-07-20 Osmo Salomaa * View menu done. New files: viewer.py and frconv.py. * Some minor bug fixes. 2005-07-13 Osmo Salomaa * Initial CVS upload. * File, Documents and Help menus done.