Commit Graph

109 Commits

Author SHA1 Message Date
Nick Hall
edaec66f47 Translate strings for hierarchy level headings
svn: r14935
2010-03-26 21:12:09 +00:00
Nick Hall
80a1b440b8 3752: Fix sort order of last-changed column
svn: r14933
2010-03-26 19:49:46 +00:00
Benny Malengier
910d34c330 Solving connected date bugs
3390: Date module that reads calendar on Gedcom file format, cannot read the @
3763: dates parsed wrong
3754: Active markup for invalid date on Event View
Some other bugs might be fixed by these changes


svn: r14922
2010-03-24 16:05:42 +00:00
Nick Hall
669db7237e Bug fix for multiple sort keys
svn: r14679
2010-03-07 19:49:50 +00:00
Nick Hall
d34e83d9ba Allow multiple sort keys on tree views
svn: r14673
2010-03-07 17:48:58 +00:00
Nick Hall
665e62edd1 Fix sort order in flat person view
svn: r14672
2010-03-07 17:27:53 +00:00
Benny Malengier
9ab5decb47 3667: Addings a new person and changing the name grouping results in frozen window
svn: r14662
2010-03-07 15:33:38 +00:00
Nick Hall
1698f8ddbf Update history and MRU lists when objects are deleted
svn: r14581
2010-03-02 15:49:27 +00:00
Benny Malengier
d594dcf247 03651: Deleting more than one person causes crash
Actually these are fixes trying to fix this bug


svn: r14575
2010-03-02 11:13:30 +00:00
Nick Hall
4f7a2d7593 Only update display counts for nodes with handles
svn: r14527
2010-02-28 17:27:43 +00:00
Nick Hall
ccbe040c1f 3448: Prevent removal of hidden root node
svn: r14525
2010-02-28 17:02:26 +00:00
Benny Malengier
d2a341f19e translate category in menu and title
svn: r14479
2010-02-25 12:59:12 +00:00
Benny Malengier
862e2f49ec Remove unused function, add comment on a callback
svn: r14370
2010-02-14 20:24:15 +00:00
Benny Malengier
7394015a76 allow better string translation of no active object
svn: r14367
2010-02-14 16:55:06 +00:00
Nick Hall
4ef3a10161 Extend markup column definition to a list of columns for listviews.
svn: r14327
2010-02-11 22:30:16 +00:00
Nick Hall
a7c1c2b32a Fix initial value of filter sidebar toggle on menu
svn: r14288
2010-02-08 22:33:04 +00:00
Doug Blank
efe5ffdc80 3572: Selection of People from picklist seems to not work because of PeopleModel change
svn: r14251
2010-02-06 16:54:57 +00:00
Jérôme Rapinat
b3efd702a2 Make Filter Sidebar consistent on Menu
svn: r14247
2010-02-06 15:27:17 +00:00
Nick Hall
6c7fcf4607 Performance improvement when reversing the order of a column
svn: r14231
2010-02-05 19:15:00 +00:00
Gary Burton
c04899d3ea Fix for bug 3566: The column Last Changed is empty for places
svn: r14225
2010-02-05 12:05:28 +00:00
Benny Malengier
f152ac25d8 fix bug: spouse data was not shown in personviews
svn: r14222
2010-02-05 10:27:09 +00:00
Nick Hall
65d03d2556 Avoid detach model problem when reversing a column sort
svn: r14219
2010-02-04 23:33:47 +00:00
Nick Hall
a818db8817 Rename placeview and placemodel classes for consistency
svn: r14216
2010-02-04 21:05:15 +00:00
Nick Hall
31d920ef29 Remove unused constants
svn: r14215
2010-02-04 19:13:05 +00:00
Benny Malengier
8b6077a95e Give relview a configuration, remove old config from preferences
svn: r14204
2010-02-03 23:31:38 +00:00
Benny Malengier
201a0103df base place view should be a plugin lib, only used in other plugins
svn: r14200
2010-02-03 20:44:00 +00:00
Nick Hall
03b41ff8fb Fix bug where handle column not defined consistently between view and model
svn: r14197
2010-02-03 16:33:12 +00:00
Benny Malengier
967f99bf7b Use the new view plugin structure to offer a flat list person view
svn: r14195
2010-02-03 13:01:04 +00:00
Nick Hall
ac4213db94 Fix moving to bookmark when object is the first in a flat view
svn: r14193
2010-02-02 15:31:48 +00:00
Gerald Britton
7975d5c3c4 Revert some map calls to list comps to correct bug introduced in rev. 14104
svn: r14191
2010-02-02 13:56:15 +00:00
Benny Malengier
2828363e9e fix bug in notemodel, wrong offset
svn: r14184
2010-02-01 19:48:09 +00:00
Benny Malengier
030af7b07b fix bug that prevents show change date in place view
svn: r14182
2010-02-01 16:12:15 +00:00
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
140c7c6f7d Reenable changing column order for all listviews
svn: r14179
2010-02-01 13:04:19 +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
07decce138 Tweaks
svn: r14143
2010-01-26 14:21:51 +00:00
Doug Blank
2c1a4da30c Fixed bug reveal by optimization
svn: r14139
2010-01-26 12:21:28 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +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
Doug Blank
b66e96b8d9 Plugin Manager refinements, part 1: refactored plugin lists, renamed Plugin Status to Plugin Manager, added functionality on loaded plugin page
svn: r14086
2010-01-17 16:24:56 +00:00
Brian Matherly
d9a0ab8a90 Continued work on GEP008: Consolidate src/FilterEditor files into one file and move it to gui/filtereditor.py.
svn: r14074
2010-01-14 04:58:30 +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
Nick Hall
4a87cbbe61 Add Most Recently Used object functionality to Go menu
svn: r14061
2010-01-13 15:59:36 +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