diff -Nru odot-1.2.0/ChangeLog odot-1.3.0/ChangeLog --- odot-1.2.0/ChangeLog 2005-12-07 15:11:28.000000000 -0200 +++ odot-1.3.0/ChangeLog 2008-03-22 10:16:51.000000000 -0300 @@ -1,350 +1,390 @@ -2005-12-07 18:10 torsten +2008-03-22 13:10 torsten + + * Makefile: Fix the tar argument quoting. + +2008-03-22 13:06 torsten + + * NEWS: Version 1.3.0. + +2008-03-22 13:05 torsten + + * Makefile: Add a release target. + +2008-03-22 12:49 torsten + + * odot, odot.pod: Update copyright. + +2008-03-22 12:41 torsten + + * odot: When editing starts, set the height request of the editable + to the covered cell's height to work around a bug in some + versions of gtk+ that resulted in very thing text entry windows. + +2008-03-22 12:39 torsten + + * odot: Refactor some conditionals; avoid using the + lower-precedence boolean operators. + +2008-03-22 12:37 torsten + + * odot: After trying to move the current editing text entry, only + update the cursor setting if the resulting path is defined. + +2008-03-22 12:35 torsten + + * odot: Add a commented-out profiling aid. + +2008-03-22 12:35 torsten + + * odot: Use a foreach loop instead of a map-with-side-effects to + create XPM data. + +2005-12-07 17:10 torsten * NEWS: Version 1.2.0. -2005-12-03 19:06 torsten +2005-12-03 18:06 torsten - * odot: Disable the global accel group when editing a cell. This + * odot: Disable the global accel group when editing a cell. This makes the usual shortcuts for copying, pasting, etc. work as - expected. Save and restore the selected node and the scrollbar + expected. Save and restore the selected node and the scrollbar positions. -2005-09-29 23:35 torsten +2005-09-29 21:35 torsten * NEWS: Version 1.1.0. -2005-09-29 23:31 torsten +2005-09-29 21:31 torsten * odot: Remove parens on builtin function calls if they're not - necessary. Implement undo/redo support for drag and drop. + necessary. Implement undo/redo support for drag and drop. -2005-09-25 16:55 torsten +2005-09-25 14:55 torsten * NEWS: Version 1.0.5. -2005-09-25 16:52 torsten +2005-09-25 14:52 torsten * odot: Use muppet's new popup positioning algorithm. -2005-09-24 19:32 torsten +2005-09-24 17:32 torsten * odot: Implement the possibility to add color-coded labels to - nodes -- nearly identical with the same feature in Evolution. Do + nodes -- nearly identical with the same feature in Evolution. Do some line wrapping so the code doesn't exceed column 80. -2005-08-16 14:42 torsten +2005-08-16 12:42 torsten * NEWS: Version 1.0.4. -2005-08-16 14:35 torsten +2005-08-16 12:35 torsten * odot: By default, make the headers and the due date column - invisible. This should fix the bug that left Due Date in the - View menu unticked even though the due date column was visible - (reported by Gábor Szabó). Also fix a bug in the highlighting + invisible. This should fix the bug that left Due Date in the View + menu unticked even though the due date column was visible + (reported by Gábor Szabó). Also fix a bug in the highlighting code that made nodes bold which had a due date that was one or more months _and one day_ in the future. -2005-05-06 16:22 torsten +2005-05-06 14:22 torsten * NEWS: Version 1.0.3. -2005-05-06 16:12 torsten +2005-05-06 14:12 torsten * odot: Fix another issue found by Marc: Avoid an assertion when dragging a node to the toplevel by checking if the depth of the path of the node is greater than zero. -2005-05-06 16:05 torsten +2005-05-06 14:05 torsten * odot: Fix the save-on-quit error that occured when you were editing a new file, which had no backend associated with it yet. -2005-05-04 18:27 torsten +2005-05-04 16:27 torsten * odot: Fix adding a new node when another is already being edited. Reported by a Debian user and brought to my attention by Marc Brockschmidt. -2005-04-10 17:15 torsten +2005-04-10 15:15 torsten * odot: When a due node is dropped into a collapsed node, highlight it. -2005-02-26 20:27 torsten +2005-02-26 19:27 torsten * odot: Optimize check_due_date by adding a due_data parameter that can be used if callers already fetched the due date. -2005-02-20 20:39 torsten +2005-02-20 19:39 torsten * NEWS: Version 1.0.1. -2005-02-20 20:27 torsten +2005-02-20 19:27 torsten * odot: Fix various small and huge bugs that cropped up due to changes in gtk+ 2.6. -2004-10-17 16:33 torsten +2004-10-17 14:33 torsten * NEWS: Version 1.0.0. -2004-10-17 16:33 torsten +2004-10-17 14:33 torsten - * odot: Remember the maximized state. Get rid of setup_clipboard() - by inlining its contents. Speed up startup slightly by moving + * odot: Remember the maximized state. Get rid of setup_clipboard() + by inlining its contents. Speed up startup slightly by moving some signal_connect()s. -2004-09-20 21:59 torsten +2004-09-20 19:59 torsten * odot: Make [Ctrl]+[Return] add a new child, and [Shift]+[Return] - a new sibling. Split an edit() out of the backend's add() - method, to support this. Handle undef in + a new sibling. Split an edit() out of the backend's add() method, + to support this. Handle undef in Odot::CellEditableText::set_text. -2004-09-13 14:48 torsten +2004-09-13 12:48 torsten * odot: Move the generate_* stuff to a separate package: - Odot::Serializer. Add it as a property to the general and the - xml backend. Fix replace_path_with_parent to work when $parent - is undef, i.e. the "root" node. + Odot::Serializer. Add it as a property to the general and the xml + backend. Fix replace_path_with_parent to work when $parent is + undef, i.e. the "root" node. -2004-09-13 14:30 torsten +2004-09-13 12:30 torsten * odot: Redo the generate_* methods to use a manual algorithm instead of $model->foreach. -2004-09-01 09:41 torsten +2004-09-01 07:41 torsten * NEWS, README, odot, odot.pod: Fix initial file loading: Use $ARGV[0] if it's set; use ~/.odot if it exists; use nada in all - other cases. Version 0.9.4. + other cases. Version 0.9.4. -2004-09-01 09:17 torsten +2004-09-01 07:17 torsten - * odot: Fix undo/redo support for indent/unindent. Add undo/redo + * odot: Fix undo/redo support for indent/unindent. Add undo/redo support for node movement. -2004-09-01 08:12 torsten +2004-09-01 06:12 torsten - * odot: Get rid of -w and use warnings instead. Save the column + * odot: Get rid of -w and use warnings instead. Save the column view widgets in the backends, to make it possible to hide the due - date column. Implement Odot::CellEditableText::select_all - manually to make it work under gtk+ 2.2 as well. Use a + date column. Implement Odot::CellEditableText::select_all + manually to make it work under gtk+ 2.2 as well. Use a preferences key in the xml data structure, instead of a separate - key for every preference. Remove the unused + key for every preference. Remove the unused [sg]et_show_headings_widget. -2004-08-18 05:51 torsten +2004-08-18 03:51 torsten - * odot: Use strict and warnings everywhere. Implement node moving - and (un)indenting via the cursor keys and tab/backspace. Create - a separate package for the XML::Parser handling; use it - everywhere. Remove a confirmation dialog; undo/redo makes it - needless. + * odot: Use strict and warnings everywhere. Implement node moving + and (un)indenting via the cursor keys and tab/backspace. Create a + separate package for the XML::Parser handling; use it everywhere. + Remove a confirmation dialog; undo/redo makes it needless. -2004-08-14 21:40 torsten +2004-08-14 19:40 torsten * NEWS: Version 0.9.3. -2004-08-14 21:31 torsten +2004-08-14 19:31 torsten * odot: Use delta_days instead of in_units("days"), since the latter is not available in all versions of DateTime. -2004-08-14 02:13 torsten +2004-08-14 00:13 torsten * odot: Use 0 instead of 3 for the button of keyboard popups. -2004-08-14 00:13 torsten +2004-08-13 22:13 torsten * odot: Fix the keyboard popup by falling back to alternative values for button and time in case there's no event object. -2004-08-13 05:25 torsten +2004-08-13 03:25 torsten * odot: When filling, use insert instead of append to fix undo'ing removals. -2004-08-09 14:04 torsten +2004-08-09 12:04 torsten - * odot: Alter some comments. Speed up a loop by not using a - lexical. Fix an error message. + * odot: Alter some comments. Speed up a loop by not using a + lexical. Fix an error message. -2004-08-07 17:23 torsten +2004-08-07 15:23 torsten * NEWS: Version 0.9.2. -2004-08-07 17:22 torsten +2004-08-07 15:22 torsten * odot: Fix bug introduced by using low-precedence logic operators. -2004-08-07 16:07 torsten +2004-08-07 14:07 torsten * NEWS: Version 0.9.1. -2004-08-07 14:30 torsten +2004-08-07 12:30 torsten * odot: Make us work with GTK+ 2.2 by adding some version checks - around new things and reworking some undo/redo logic. Add - undo/redo support for removing nodes. Fix und/redo for modifying + around new things and reworking some undo/redo logic. Add + undo/redo support for removing nodes. Fix und/redo for modifying nodes. -2004-08-02 21:49 torsten +2004-08-02 19:49 torsten * odot: Intercept all relevant signals directly in the backend and - update the changed state there. Gets rid of all those scattered + update the changed state there. Gets rid of all those scattered set_changed(TRUE) calls. -2004-08-02 20:24 torsten +2004-08-02 18:24 torsten - * README, odot: Use DateTime instead of Date::Calc. Implement + * README, odot: Use DateTime instead of Date::Calc. Implement keyboard navigation for the popup calendar. -2004-08-02 03:32 torsten +2004-08-02 01:32 torsten * odot: Use TRUE and FALSE instead of 1 and 0. -2004-08-02 02:20 torsten +2004-08-02 00:20 torsten * odot: Make unde/redo work for changing the contents of a node. -2004-08-02 01:50 torsten +2004-08-01 23:50 torsten * odot: Recognize drag-and-drop and set the internal changed state accordingly. -2004-08-02 00:45 torsten +2004-08-01 22:45 torsten * odot: After deleting a node, select the one that replaced it. -2004-08-02 00:24 torsten +2004-08-01 22:24 torsten * odot: Require GTK+ 2.4.0 for various tree view enhancements. Change the semantics of the popup: Connect to button_press_event - so you can also keep the button pressed to choose an item. Fix + so you can also keep the button pressed to choose an item. Fix d'n'd stuff happening after the popup by returning TRUE if we handled the event. -2004-04-26 21:32 torsten +2004-04-26 19:32 torsten * NEWS: Version 0.9. -2004-04-26 20:50 torsten +2004-04-26 18:50 torsten * README, odot.pod: Update the documentation to reflect recent changes. -2004-04-26 20:42 torsten +2004-04-26 18:42 torsten * odot: Move Odot::Accessors to the top so the CHECK blocks can be - replaced with BEGIN blocks. Use caller() to get the correct - package name. Implement undo and redo via Odot::Stack. + replaced with BEGIN blocks. Use caller() to get the correct + package name. Implement undo and redo via Odot::Stack. Desensitize the db related menu enties when DBI is not available. Remove a newly added row if its editing has been canceled. -2004-04-12 16:38 torsten +2004-04-12 14:38 torsten - * odot: Whitespace and comment fixes. Use $buffer->get_bounds + * odot: Whitespace and comment fixes. Use $buffer->get_bounds instead of ->get_start_iter and ->get_end_iter. -2004-04-12 10:45 torsten +2004-04-12 08:45 torsten * odot: Added an Id tag. -2004-04-10 01:06 torsten +2004-04-09 23:06 torsten * odot: And a nifty Odot::Accessors class that generates accessors. - Use it all over the place. Get rid of most direct object data + Use it all over the place. Get rid of most direct object data accesses. -2004-04-09 19:35 torsten +2004-04-09 17:35 torsten - * odot: Fix recursive sorting. When saving, only popup an error - dialog if the data wasn't written *and* there was an error. Ask + * odot: Fix recursive sorting. When saving, only popup an error + dialog if the data wasn't written *and* there was an error. Ask before overwriting files. -2004-04-09 17:04 torsten +2004-04-09 15:04 torsten * odot: If there is an argument, try to open it -- default to - $HOME/.odot. Make the renderer creation more generic, supply - types and modes in COLUMNS. Add an $INSTANCES counter that is + $HOME/.odot. Make the renderer creation more generic, supply + types and modes in COLUMNS. Add an $INSTANCES counter that is used for multi-session support: In the constructor, increment it - and start the main loop if it was 0. In the destructor, - decrement it and stop the main loop if it is 0. Remove the About - stock icon code. Create a new class Odot::Backend that handles - pretty much everything that deals with the data being displayed - and delegates GUI operations to the appropriate backend. Create - a new subclass Odot::Backend::XML for the xml-specific code. Add - innitial database support via Odot::Backend::DB. Add a /File/New - menu entry that opens a new Odot. Add ellipsis to /File/Open and - /File/Save As. Make those menu widgets that are needed later on - available as object data. Handle the delete-event response on - all dialogs. Reuse the selection object in popup(). + and start the main loop if it was 0. In the destructor, decrement + it and stop the main loop if it is 0. Remove the About stock icon + code. Create a new class Odot::Backend that handles pretty much + everything that deals with the data being displayed and delegates + GUI operations to the appropriate backend. Create a new subclass + Odot::Backend::XML for the xml-specific code. Add innitial + database support via Odot::Backend::DB. Add a /File/New menu + entry that opens a new Odot. Add ellipsis to /File/Open and + /File/Save As. Make those menu widgets that are needed later on + available as object data. Handle the delete-event response on all + dialogs. Reuse the selection object in popup(). -2004-03-18 01:21 torsten +2004-03-18 00:21 torsten * NEWS: Version 0.8. -2004-03-18 01:21 torsten +2004-03-18 00:21 torsten * Makefile: Make the install rule depend on the all rule so the manpage is generate if you just use "make install". -2004-03-18 01:20 torsten +2004-03-18 00:20 torsten * README: Provide Makefile installation instructions. -2004-03-18 01:10 torsten +2004-03-18 00:10 torsten * odot: Comment out the new view column click implementation until - the corresponding gtk+ deficiencies get fixed. Use "Ok" instead - of "Close" in the generic error dialog. Put the "Cancel" button - in the save dialog on the right. Add a return value to file_save - so that file_quit can know if saving was succesful. Change - file_quit to not automatically save changes. Make it ask for + the corresponding gtk+ deficiencies get fixed. Use "Ok" instead + of "Close" in the generic error dialog. Put the "Cancel" button + in the save dialog on the right. Add a return value to file_save + so that file_quit can know if saving was succesful. Change + file_quit to not automatically save changes. Make it ask for confirmation if there are unsaved changes. -2004-03-17 20:32 torsten +2004-03-17 19:32 torsten - * odot: Add a View menu with one entry "Column Headings". Store - the menu item widget as object data. Make the parser and the - load and save routines recognize show_headings. Change the - version checks to look out for 2.4.0 instead of 2.3.0. Make the - parser check for the most common tags first. + * odot: Add a View menu with one entry "Column Headings". Store the + menu item widget as object data. Make the parser and the load and + save routines recognize show_headings. Change the version checks + to look out for 2.4.0 instead of 2.3.0. Make the parser check for + the most common tags first. -2004-03-15 13:46 torsten +2004-03-15 12:46 torsten * Makefile, odot.pod: Initial import of a Makefile and a POD file that is used to generate a manpage. -2004-03-15 13:45 torsten +2004-03-15 12:45 torsten * README: Small grammatical correction. -2004-03-14 23:54 torsten +2004-03-14 22:54 torsten - * odot: Remove the global version check again. Protect the call to - Gtk2::TreeViewColumn::set_expand with version guards. Implement - a custom clicked handler for the column headings. Fall back to + * odot: Remove the global version check again. Protect the call to + Gtk2::TreeViewColumn::set_expand with version guards. Implement a + custom clicked handler for the column headings. Fall back to using Gtk2::FileSelection instead of Gtk2::FileChooserDialog when we're not running gtk+ >= 2.3.0. -2004-03-13 18:09 torsten +2004-03-13 17:09 torsten - * odot: Add a gtk+ version check. Change the COLUMNS constant to - be a reference to a list of hash references. Make the task - column take up all the available width. Set the min. size of all - visible columns to 75px. Make the headers visible/clickable, - thus introducing sorting. Save and restore the sorting - preferences (column and order). Only display the Sort and Sort - Recursively popup menu items if no sorting is active. + * odot: Add a gtk+ version check. Change the COLUMNS constant to be + a reference to a list of hash references. Make the task column + take up all the available width. Set the min. size of all visible + columns to 75px. Make the headers visible/clickable, thus + introducing sorting. Save and restore the sorting preferences + (column and order). Only display the Sort and Sort Recursively + popup menu items if no sorting is active. -2004-03-12 23:49 torsten +2004-03-12 22:49 torsten - * COPYING, NEWS, README, odot: Initial import + * COPYING, NEWS, README, odot: Initial revision -2004-03-12 23:49 torsten +2004-03-12 22:49 - * COPYING, NEWS, README, odot: Initial revision + * .: New repository initialized by cvs2svn. diff -Nru odot-1.2.0/debian/changelog odot-1.3.0/debian/changelog --- odot-1.2.0/debian/changelog 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/changelog 2016-08-24 13:13:38.000000000 -0300 @@ -1,3 +1,23 @@ +odot (1.3.0-0.1) unstable; urgency=medium + + * Non-maintainer upload. + * New upstream release. (Closes: #615689) + * Updated DH level to 9. (Closes: #817601) + * Updated menu entry. + * debian/control: + - Added ${misc:Depends} in Depends field. + - Bumped Standards-Version to 3.9.8. + - Improve Long Description field + * debian/copyright: + - Update Copyright format to 1.0. + * debian/source: + - Added format 3.0 (quilt). + * debian/watch: + - Improved watch file. + - Updated to version 4. + + -- Fernando Ike Wed, 24 Aug 2016 13:13:38 -0300 + odot (1.2.0-1) unstable; urgency=low * New upstream release. @@ -8,7 +28,7 @@ odot (1.0.3-1) unstable; urgency=low * New upstream release: - + Fix save_on_quit to work with completly new files + + Fix save_on_quit to work with completely new files + Fix ugly Gtk-Warning if dragging an item to the top-level -- Marc 'HE' Brockschmidt Fri, 6 May 2005 17:40:30 +0200 diff -Nru odot-1.2.0/debian/compat odot-1.3.0/debian/compat --- odot-1.2.0/debian/compat 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/compat 2016-08-24 13:13:38.000000000 -0300 @@ -1 +1 @@ -4 +9 diff -Nru odot-1.2.0/debian/control odot-1.3.0/debian/control --- odot-1.2.0/debian/control 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/control 2016-08-24 13:13:38.000000000 -0300 @@ -2,13 +2,20 @@ Section: x11 Priority: optional Maintainer: Marc 'HE' Brockschmidt -Build-Depends: debhelper (>= 4) -Standards-Version: 3.6.2 +Build-Depends: debhelper (>= 9) +Standards-Version: 3.9.8 +Homepage: http://home.arcor.de/kaffeetisch/odot.html Package: odot Architecture: all -Depends: perl (>= 5.8.0), libgtk2-perl (>= 1:1.040), libgtk2.0-0 (>= 2.2.0), libxml-parser-perl, libdatetime-perl +Depends: libdatetime-perl, + libgtk2-perl (>= 1:1.040), + libgtk2.0-0 (>= 2.2.0), + libxml-parser-perl, + perl (>= 5.8.0), + ${misc:Depends} Recommends: libdbi-perl Description: task list manager written in Gtk2-Perl - odot is a task list manager that organizes tasks hierarchically and emphasizes - ones which are due. + Odot is a task list manager that organizes tasks hierarchically and emphasizes + due ones. It has advanced keyboard support and can also be used as an + outliner. Any action is undoable. diff -Nru odot-1.2.0/debian/copyright odot-1.3.0/debian/copyright --- odot-1.2.0/debian/copyright 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/copyright 2016-08-24 13:13:38.000000000 -0300 @@ -1,17 +1,30 @@ -This package was debianized by Marc Brockschmidt on -Thu, 18 Mar 2004 09:50:11 +0100. +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: odot +Source: http://home.arcor.de/kaffeetisch/odot.html -The sources were downloaded from http://home.arcor.de/kaffeetisch/odot.html +Files: * +Copyright: 2003-2008, Torsten Schoenfeld +License: GPL-2+ -The upstream author is Torsten Schoenfeld +Files: debian/* +Copyright: 2004-2005, Marc 'HE' Brockschmidt + 2016, Fernando Ike +License: GPL-2+ -Copyright (C) 2003-2004 Torsten Schoenfeld -This program is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2 of the License, or (at your option) -any later version. - -On Debian GNU/Linux systems, the complete text of the GNU -General Public License version 2 can be found in -/usr/share/common-licenses/GPL-2. +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff -Nru odot-1.2.0/debian/odot.menu odot-1.3.0/debian/odot.menu --- odot-1.2.0/debian/odot.menu 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/odot.menu 2016-08-24 13:13:38.000000000 -0300 @@ -1,8 +1,8 @@ ?package(odot):\ - needs="X11"\ - section="Apps/Tools"\ - hints="ToDo"\ - title="odot"\ - longtitle="odot task manager"\ + needs="X11" \ + section="Applications/Data Management" \ + hints="ToDo" \ + title="odot" \ + longtitle="odot task manager" \ command="/usr/bin/odot" diff -Nru odot-1.2.0/debian/rules odot-1.3.0/debian/rules --- odot-1.2.0/debian/rules 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/rules 2016-08-24 13:13:38.000000000 -0300 @@ -2,25 +2,27 @@ TMP=$(CURDIR)/debian/odot -build: build-stamp +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp build-stamp: dh_testdir - $(MAKE) PREFIX=/usr + $(MAKE) PREFIX=$(TMP)/usr touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp install-stamp - -$(MAKE) clean + #-$(MAKE) clean dh_clean install: install-stamp install-stamp: build dh_testdir dh_testroot - dh_clean -k - $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + dh_prep + $(MAKE) install DESTDIR=$(TMP) PREFIX=$(TMP)/usr touch install-stamp # Build architecture-dependent files here. diff -Nru odot-1.2.0/debian/source/format odot-1.3.0/debian/source/format --- odot-1.2.0/debian/source/format 1969-12-31 21:00:00.000000000 -0300 +++ odot-1.3.0/debian/source/format 2016-08-24 13:13:18.000000000 -0300 @@ -0,0 +1 @@ +3.0 (quilt) diff -Nru odot-1.2.0/debian/watch odot-1.3.0/debian/watch --- odot-1.2.0/debian/watch 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/debian/watch 2016-08-24 13:13:38.000000000 -0300 @@ -1,3 +1,3 @@ -version=2 - -http://home.arcor.de/kaffeetisch/downloads/odot-((?:\d+\.)+\d+)\.tar\.gz +version=4 +http://home.arcor.de/kaffeetisch/odot.html \ + downloads/odot-((?:\d+\.)+\d+)\.tar\.gz debian uupdate diff -Nru odot-1.2.0/Makefile odot-1.3.0/Makefile --- odot-1.2.0/Makefile 2016-08-30 23:21:41.000000000 -0300 +++ odot-1.3.0/Makefile 2008-03-22 10:15:53.000000000 -0300 @@ -4,18 +4,28 @@ MANDIR=${DATADIR}/man MAN1DIR=${MANDIR}/man1 -all: manpage +TARARGS=--exclude .svn -C .. --transform 's|^odot|odot-${VERSION}|' --show-transformed -manpage: - pod2man odot.pod > odot.1 +PROGRAM=odot +PODFILE=odot.pod +MANFILE=odot.1 -install: all - mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1DIR} - install -m 0755 odot ${DESTDIR}${BINDIR} - install -m 0644 odot.1 ${DESTDIR}${MAN1DIR} +${MANFILE}: ${PODFILE} + pod2man ${PODFILE} > ${MANFILE} + +all: ${MANFILE} + +release: ${MANFILE} + svn2cl --reparagraph + tar ${TARARGS} -cvzf ../odot-${VERSION}.tar.gz odot + +install: ${MANFILE} + mkdir -p ${BINDIR} ${MAN1DIR} + install -m 0755 ${PROGRAM} ${BINDIR} + install -m 0644 ${MANFILE} ${MAN1DIR} uninstall: - rm -f ${DESTDIR}${BINDIR}/odot ${DESTDIR}${MAN1DIR}/odot.1 + rm -f ${BINDIR}/${PROGRAM} ${MAN1DIR}/${MANFILE} clean: - rm -f odot.1 + rm -f ${MANFILE} ChangeLog diff -Nru odot-1.2.0/NEWS odot-1.3.0/NEWS --- odot-1.2.0/NEWS 2005-12-07 15:11:28.000000000 -0200 +++ odot-1.3.0/NEWS 2008-03-22 09:51:49.000000000 -0300 @@ -1,3 +1,8 @@ + Overview of changes in odot 1.3.0 + ----------------------------------- + +* Work around cell editing entries being very thin on some versions of gtk+. + Overview of changes in odot 1.2.0 ----------------------------------- diff -Nru odot-1.2.0/odot odot-1.3.0/odot --- odot-1.2.0/odot 2005-12-07 15:11:28.000000000 -0200 +++ odot-1.3.0/odot 2008-03-22 09:49:41.000000000 -0300 @@ -3,7 +3,7 @@ ############################################################################### # # # Odot - A task list manager # -# Copyright (C) 2003-2005 Torsten Schoenfeld # +# Copyright (C) 2003-2008 Torsten Schoenfeld # # # # This program is free software; you can redistribute it and/or modify it # # under the terms of the GNU General Public License as published by the Free # @@ -21,7 +21,7 @@ # # ############################################################################### -# $Id: odot,v 1.44 2005/12/03 18:06:22 torsten Exp $ +# $Id: odot 70 2008-03-22 12:49:41Z torsten $ package main; @@ -238,7 +238,9 @@ my ($id, $color) = @{$_}; my @copy = @template; - map { s//$color/ } @copy; + foreach (@copy) { + s//$color/; # Modify @copy in-place + } Gtk2::Stock -> add({stock_id => $id}); my $icon_set = Gtk2::IconSet -> new_from_pixbuf( @@ -738,6 +740,10 @@ my ($self) = @_; $self -> get_window() -> show_all(); + + # For profiling: + # Glib::Idle -> add(sub { $self -> quit(); }); + Gtk2 -> main() unless (Gtk2 -> main_level()); } @@ -990,9 +996,10 @@ $model -> get_path($iterator), $iterator); - Gtk2 -> main_iteration() while (Gtk2 -> events_pending()); - - $view -> set_cursor($path, $view -> get_column(COLUMN_TASK), TRUE); + if ($path) { + Gtk2 -> main_iteration() while (Gtk2 -> events_pending()); + $view -> set_cursor($path, $view -> get_column(COLUMN_TASK), TRUE); + } } } @@ -1023,10 +1030,12 @@ while (defined($iterator = $model -> iter_parent($iterator))) { my $path = $model -> get_path($iterator); - if (!$view -> row_expanded($path) and - $parent_path -> is_ancestor($path) || - 0 == $parent_path -> compare($model -> get_path($iterator))) { - $model -> set($iterator, COLUMN_UNDERLINE, "single"); + if (!$view -> row_expanded($path)) { + my $is_ancestor = $parent_path -> is_ancestor($path); + my $is_me = 0 == $parent_path -> compare($model -> get_path($iterator)); + if ($is_ancestor || $is_me) { + $model -> set($iterator, COLUMN_UNDERLINE, "single"); + } } } } @@ -1564,15 +1573,15 @@ return TRUE; } - # elsif ($event -> keyval == $Gtk2::Gdk::Keysyms{ Return } || - # $event -> keyval == $Gtk2::Gdk::Keysyms{ KP_Enter } - # and $event -> state & qw(control-mask)) { + # elsif (($event -> keyval == $Gtk2::Gdk::Keysyms{ Return } || + # $event -> keyval == $Gtk2::Gdk::Keysyms{ KP_Enter }) + # && $event -> state & qw(control-mask)) { # # resize the editable somehow ... # } - elsif ($event -> keyval == $Gtk2::Gdk::Keysyms{ Return } || - $event -> keyval == $Gtk2::Gdk::Keysyms{ KP_Enter } - and not $event -> state & qw(control-mask)) { + elsif (($event -> keyval == $Gtk2::Gdk::Keysyms{ Return } || + $event -> keyval == $Gtk2::Gdk::Keysyms{ KP_Enter }) + && !($event -> state & qw(control-mask))) { $editable -> { _editing_canceled } = FALSE; $editable -> editing_done(); $editable -> remove_widget(); @@ -1621,6 +1630,7 @@ $editable -> { _editing_canceled } = FALSE; $editable -> { _path } = $path; + $editable -> set(height_request => $cell_area -> height()); $editable -> set_text($cell -> get("text")); $editable -> select_all(); $editable -> show(); diff -Nru odot-1.2.0/odot.1 odot-1.3.0/odot.1 --- odot-1.2.0/odot.1 1969-12-31 21:00:00.000000000 -0300 +++ odot-1.3.0/odot.1 2008-03-22 10:16:50.000000000 -0300 @@ -0,0 +1,202 @@ +.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05) +.\" +.\" Standard preamble: +.\" ======================================================================== +.de Sh \" Subsection heading +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Vb \" Begin verbatim text +.ft CW +.nf +.ne \\$1 +.. +.de Ve \" End verbatim text +.ft R +.fi +.. +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' +.ie n \{\ +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` "" +. ds C' "" +'br\} +.el\{\ +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' +'br\} +.\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" +.\" If the F register is turned on, we'll generate index entries on stderr for +.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" entries marked with X<> in POD. Of course, you'll have to process the +.\" output yourself in some meaningful fashion. +.ie \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +.. +. nr % 0 +. rr F +.\} +.el \{\ +. de IX +.. +.\} +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. +. \" fudge factors for nroff and troff +.if n \{\ +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP +.\} +.if t \{\ +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& +.\} +. \" simple accents for nroff and troff +.if n \{\ +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / +.\} +.if t \{\ +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' +.\} +. \" troff and (daisy-wheel) nroff accents +.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' +.ds 8 \h'\*(#H'\(*b\h'-\*(#H' +.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] +.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' +.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' +.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] +.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] +.ds ae a\h'-(\w'a'u*4/10)'e +.ds Ae A\h'-(\w'A'u*4/10)'E +. \" corrections for vroff +.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' +.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' +. \" for low resolution devices (crt and lpr) +.if \n(.H>23 .if \n(.V>19 \ +\{\ +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE +.\} +.rm #[ #] #H #V #F C +.\" ======================================================================== +.\" +.IX Title "ODOT 1" +.TH ODOT 1 "2008-03-22" "perl v5.8.8" "User Contributed Perl Documentation" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh +.SH "NAME" +Odot \- A task list manager +.SH "SYNOPSIS" +.IX Header "SYNOPSIS" +odot [\s-1FILE\s0] +.SH "DESCRIPTION" +.IX Header "DESCRIPTION" +Odot is a task list manager that organizes tasks hierarchically and emphasizes +ones which are due. +.PP +You can add tasks by either using the \*(L"Add\*(R" button at the bottom or the right +click context menu. A new row will be appended and you can immediately start +editing it. +.PP +Tasks can be modified by highlighting the row and activating the cell that +should be edited. Cells are activated by either clicking on them or by +pressing [Enter] when they are focused. Existing tasks can be deleted with the +\&\*(L"Delete\*(R" button, the equivalent menu entry or by hitting the [Del] key. +.PP +When editing a node, you can press [Up] or [Down] to commit changes to the +current node and move to and edit the previous or next node. +.PP +You can reorder tasks by dragging and dropping them wherever you like or by +using [Alt] plus the arrow key that denotes the direction you want. Indenting +and unindenting can also be achieved via [Tab] and [Backspace] respectively. +You can sort the children of a task alphabetically by using the \*(L"Sort\*(R" or the +\&\*(L"Sort Recursively\*(R" menu item. +.PP +You can cut / copy and paste nodes including all their children with [Ctrl]+[x] +/ [Ctrl]+[C] and [Ctrl]+[v]. +.PP +Every change is undoable by pressing [Ctrl]+[z] and every undone change is +redoable by pressing [Ctrl]+[Shift]+[z]. +.PP +If its due date is only two days ahead of the current date, the task will be +printed bold. If a task is due today, it's printed bold and italic. If a task +is overdue, it's printed italic. +.PP +If a due task is hidden because one of its ancestors is collapsed, these +ancestors are printed underlined. +.SH "OPTIONS" +.IX Header "OPTIONS" +You can specify where Odot should store the tasks by passing a filename as a +commandline argument. The default is ~/.odot. +.SH "AUTHOR" +.IX Header "AUTHOR" +Torsten Schoenfeld . +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright (C) 2003\-2008 Torsten Schoenfeld +.PP +This program is free software; you can redistribute it and/or modify it under +the terms of the \s-1GNU\s0 General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. +.PP +This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 +\&\s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A +\&\s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details. +.PP +You should have received a copy of the \s-1GNU\s0 General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 59 Temple +Place, Suite 330, Boston, \s-1MA\s0 02111\-1307 \s-1USA\s0 diff -Nru odot-1.2.0/odot.pod odot-1.3.0/odot.pod --- odot-1.2.0/odot.pod 2005-12-07 15:11:28.000000000 -0200 +++ odot-1.3.0/odot.pod 2008-03-22 09:48:54.000000000 -0300 @@ -55,7 +55,7 @@ =head1 COPYRIGHT -Copyright (C) 2003-2004 Torsten Schoenfeld +Copyright (C) 2003-2008 Torsten Schoenfeld This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software