Commit Graph

47 Commits

Author SHA1 Message Date
Benny Malengier
1fe13f7a78 Fix sort on change issues
svn: r14181
2010-02-01 15:14:17 +00:00
Benny Malengier
e06fd89d14 missing imports
svn: r14180
2010-02-01 15:01:36 +00:00
Benny Malengier
a89e8d1d18 Remove column config from db, move to the plugins
Start with reuse of preferences for all configuration
Allow all view plugins to set configuration dialog
TODO: activate the column reorder in config of listviews


svn: r14176
2010-02-01 07:01:45 +00:00
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Gerald Britton
d6ede10e89 Tweaks to reduce source- and byte-code sizes
svn: r14069
2010-01-13 20:54:46 +00:00
Benny Malengier
63d9122ea2 fix 3 one line bugs in treebasemodel
svn: r14068
2010-01-13 20:17:45 +00:00
Benny Malengier
623e39d0a8 On delete of node in treeview, remove handle link so that goto_handle unsets
selection


svn: r14052
2010-01-12 22:10:33 +00:00
Benny Malengier
61de0898af 1. remove leftover from using nodeid as iter
2. fix error in add on placetreeview: preset values with node.name of parents


svn: r14051
2010-01-12 21:50:37 +00:00
Benny Malengier
263c87ff87 correct not general string, more logical treeview
svn: r14040
2010-01-12 08:37:17 +00:00
Benny Malengier
db06758bb0 Only clear dicts, don't reassign
svn: r14028
2010-01-11 10:51:56 +00:00
Benny Malengier
2a36355a8b fix goto_handle on row update
change placetreeview somewhat, further to discuss


svn: r14024
2010-01-10 20:11:18 +00:00
Benny Malengier
04763f50fe *fix displayed/total on views, so they are correct on updates
*listviews don't become dirty from add/delete/update signals while
 they are not active. This should improve performance on large trees
 now that these actions are cheap in all views after rework of the views


svn: r14020
2010-01-10 15:00:15 +00:00
Benny Malengier
de2d669763 3275: PageView reworking, changes by B. Malengier and N.Hall
Specifically: improve new treeview by using a linked list implementation so 
 iters can be quickly iterated over
Also: progressdialog on long personview loads.


svn: r14002
2010-01-09 11:10:32 +00:00
Peter Landgren
d664fa4aa2 Fix of issue 3480.
svn: r13997
2010-01-08 15:59:05 +00:00
Brian Matherly
1fa4e8d66c Continued work on GEP008: move gen/utils/longop.py, gen/utils/progressmon.py, ProgressDialog.py into gui/widgets/progressdialog.py.
svn: r13980
2010-01-06 05:27:28 +00:00
Peter Landgren
7c152a868a Fix of issue 3480.
svn: r13967
2010-01-03 14:14:30 +00:00
Nick Hall
5422931318 Allow nodes with handles at higher levels in the tree
svn: r13921
2009-12-26 19:42:22 +00:00
Doug Blank
872e971fd3 gen.lib and gen.utils are independent; removed gen.utils.dbutils --- moved db methods to gen.db.base
svn: r13872
2009-12-21 04:18:31 +00:00
Nick Hall
7b9bd62734 Bug fix for trees with handles on non-leaf nodes
svn: r13845
2009-12-18 15:55:05 +00:00
Nick Hall
bfd2a9629f Improved export for hierarchical views
svn: r13830
2009-12-16 22:56:55 +00:00
Nick Hall
a921cc784f 3433: Fix hierarchy problem in place view
svn: r13828
2009-12-16 19:40:53 +00:00
Gerald Britton
54e5538c2d Readability and performance tweaks
svn: r13767
2009-12-11 17:30:54 +00:00
Doug Blank
0cf5665a78 3426: No "invalid_date_format" definition on peoplemodel
svn: r13739
2009-12-08 00:24:56 +00:00
Nick Hall
0e87714de3 Fix bug in new place view with empty places
svn: r13608
2009-11-17 10:28:13 +00:00
Nick Hall
d7b4ca2d9c Add hierarchical place view. Reorganise existing place view and model.
svn: r13601
2009-11-17 00:13:03 +00:00
Benny Malengier
19522ec975 GEPS 014: Plugin registration and management
Also views are now plugins belonging to view category


svn: r13528
2009-11-08 16:41:49 +00:00
Benny Malengier
eea7ba35c7 enable change of sortkey moves rows in flat views
svn: r13527
2009-11-07 23:38:49 +00:00
Benny Malengier
a5ac3beda9 one way of converting the sortkey, not two
svn: r13520
2009-11-07 13:50:10 +00:00
Benny Malengier
1b556586a4 3275: PageView reworking main work by Nick Hall
Moving personview to the new pageview classes, and using a generic 
treebasemodel


svn: r13515
2009-11-07 13:04:45 +00:00
Benny Malengier
5504df77ba 3275: PageView reworking-pageview3.patch
svn: r13364
2009-10-11 06:36:56 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Benny Malengier
9a8b5d8743 3275: PageView reworking-adding the new files 2
svn: r13339
2009-10-07 19:58:14 +00:00
Benny Malengier
08b4f8a510 3275: PageView reworking-adding the new files 2
svn: r13338
2009-10-07 19:53:34 +00:00
Benny Malengier
c2c937ae5d avoid crash when update on object not seen in model
svn: r12811
2009-07-16 21:47:06 +00:00
Benny Malengier
cf506f544e fix make install failing
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
d49e1f0ec7 update documentation
svn: r12780
2009-07-10 08:46:18 +00:00
Benny Malengier
0d7c048052 svn id tag
svn: r12764
2009-07-04 15:55:43 +00:00
Benny Malengier
4b9bf10c07 bug fix, correctly query system
svn: r12763
2009-07-04 10:21:10 +00:00
Benny Malengier
c8ef93f120 Correct localized sort in windows using os encoding in the flat views
svn: r12761
2009-07-03 22:00:58 +00:00
Benny Malengier
d97e62fa27 optimization suggested by Gerald to avoid append
svn: r12734
2009-06-29 20:46:00 +00:00
Benny Malengier
4e974dc0e1 add missing Makefile and suggestions by Gerald
svn: r12730
2009-06-29 18:15:28 +00:00
Benny Malengier
f07a12766a Further optimization in the flatbasemodel:
* keep list of all possible keys in memory so database is no longer touched 
     for the searches. ==> a search is faster
   * bug fixes to previous patch set: show total and displayed number correctly


svn: r12726
2009-06-29 13:37:15 +00:00
Benny Malengier
7a5e5f4476 bug fix, on delete return old path of deleted row
svn: r12725
2009-06-28 22:07:18 +00:00
Benny Malengier
d182a5797f some pylint fixes
svn: r12724
2009-06-28 21:47:04 +00:00
Benny Malengier
fb6967d000 optimization and cleaning of the base model for flat treeviews
svn: r12723
2009-06-28 21:15:10 +00:00