Doug Blank
30c5030ebe
A method for comparing person == person
...
svn: r14146
2010-01-27 06:05:24 +00:00
Brian Matherly
ac820cb8df
PEP8 Improvements. Remove dependency on DateHandler.
...
svn: r14145
2010-01-27 03:38:30 +00:00
Peter Landgren
a001b744b4
Notes and Endnotes look better now, but there are more to done.
...
svn: r14144
2010-01-26 19:00:16 +00:00
Gerald Britton
07decce138
Tweaks
...
svn: r14143
2010-01-26 14:21:51 +00:00
Doug Blank
294f59bb7b
If detached, force active
...
svn: r14142
2010-01-26 13:56:55 +00:00
Doug Blank
81bb97e2df
Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed
...
svn: r14141
2010-01-26 13:38:05 +00:00
Doug Blank
e7c5d7a207
Start out dirty and not active; removed debugging stuff
...
svn: r14140
2010-01-26 13:04:01 +00:00
Doug Blank
2c1a4da30c
Fixed bug reveal by optimization
...
svn: r14139
2010-01-26 12:21:28 +00:00
Doug Blank
cf4748ecaf
Gramplets only update when active, detached, or forced
...
svn: r14138
2010-01-26 12:00:01 +00:00
Doug Blank
f5fe747716
Renamed for_gramps to gramps_target_version; added newplugin function to work on additional register style
...
svn: r14137
2010-01-25 23:58:42 +00:00
Doug Blank
1cfeea3701
Renamed for_gramps to gramps_target_version
...
svn: r14136
2010-01-25 23:56:45 +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
fbb8fa2a52
Use list comprehensions and built-in functions
...
svn: r14134
2010-01-25 17:40:15 +00:00
Peter Landgren
d4117408e6
Fixed typo.
...
svn: r14133
2010-01-25 08:56:46 +00:00
Peter Landgren
7a3732d6fa
Fixed typo.
...
svn: r14132
2010-01-25 08:56:05 +00:00
Peter Landgren
9b1109a99a
Added missed file.
...
svn: r14130
2010-01-25 08:44:59 +00:00
Peter Landgren
1631ae7de1
Added missed files.
...
svn: r14129
2010-01-25 08:41:28 +00:00
Peter Landgren
00e7bf53d7
Added missed file.
...
svn: r14127
2010-01-25 08:31:24 +00:00
Peter Landgren
b367e43165
Fixed a typo.
...
svn: r14126
2010-01-25 08:26:34 +00:00
Brian Matherly
c9cb7e60c9
Move GEDCOM date functions into libgedcom.
...
svn: r14125
2010-01-25 04:54:22 +00:00
Brian Matherly
1f4043b37a
Remove redundant calendar function from DateHandler.
...
svn: r14124
2010-01-25 04:53:45 +00:00
Doug Blank
7fefcaead5
Install plugins from wiki, Part 2. Last remaining part is to give feedback and check for proper plugin version
...
svn: r14123
2010-01-25 03:20:36 +00:00
Doug Blank
6fd1c70dfd
Added a make_environment function for evaluating gpr.py envs
...
svn: r14122
2010-01-25 03:18:34 +00:00
Doug Blank
62a2d1672c
Support for plugin.for_gramps = '3.2' in registry
...
svn: r14121
2010-01-24 23:36:25 +00:00
Doug Blank
01f470db16
Make const.py.in work for Windows, too
...
svn: r14120
2010-01-24 21:27:46 +00:00
Brian Matherly
dfa56ecc72
Fix comment description in gen module.
...
svn: r14119
2010-01-24 20:24:40 +00:00
Brian Matherly
cd30f4db2f
Continued work on GEP008: move src/Mime to src/gen/mime.
...
svn: r14118
2010-01-24 20:17:14 +00:00
Doug Blank
09b0e50d41
Added est date modifier type (about, or after/before)
...
svn: r14117
2010-01-24 16:19:55 +00:00
Doug Blank
ca35196f49
Cleanup, removed old functions
...
svn: r14116
2010-01-24 16:18:37 +00:00
Doug Blank
1830a44505
Had to allow links now that plugins is a dir inside gramps32 to allow flexibility in addons
...
svn: r14115
2010-01-24 15:24:36 +00:00
Doug Blank
d3e57f4932
Moved djangodb.py to dbdjango.py
...
svn: r14114
2010-01-24 14:19:45 +00:00
Doug Blank
ddecec588d
Renamed djangodb.DjangoDb to dbdjango.DbDjango
...
svn: r14113
2010-01-24 14:01:36 +00:00
Doug Blank
e5d14f59c1
Fixed DbDjango's
...
svn: r14112
2010-01-24 13:55:39 +00:00
Doug Blank
2d36aea65a
Added doc notes on new database hierarchy
...
svn: r14111
2010-01-24 13:47:48 +00:00
Doug Blank
4fd46fe669
Moved plugins to ~/.gramps/gramps32/plugins and ini to ~/.gramps/gramps32/
...
svn: r14110
2010-01-24 12:18:30 +00:00
Brian Matherly
2e9a4c27d0
Move find_mime_type_pixbuf from the Mime module to ThumbNails. It is more closely related to thumbnails than mime.
...
svn: r14109
2010-01-24 04:52:22 +00:00
Nick Hall
4a529d0c28
Fix selected handles for merge operations
...
svn: r14108
2010-01-23 15:31:50 +00:00
Peter Landgren
6ce240ff43
Something forgotten.
...
svn: r14107
2010-01-22 17:59:54 +00:00
Peter Landgren
f6ecab76c0
Something forgotten.
...
svn: r14106
2010-01-22 17:59:07 +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
Doug Blank
fdfb1b48b0
3527: People View sometimes skips items because of LRU key error
...
svn: r14103
2010-01-21 01:55:48 +00:00
Doug Blank
97c058af9b
probably_alive and CalcEstDates now share same codebase; rewritten probably_alive
...
svn: r14102
2010-01-20 13:39:37 +00:00
Doug Blank
c689013025
Added two additional cases for date matches: <=, >=
...
svn: r14101
2010-01-20 13:37:24 +00:00
Serge Noiraud
f06acae4b1
GeoView : issue 3497 adds filters.
...
javascript errors when switching between maps.
svn: r14100
2010-01-19 19:34:47 +00:00
Peter Landgren
418618d856
Better output of pre- and unformatted notes and of end notes references.
...
svn: r14098
2010-01-19 12:47:48 +00:00
Peter Landgren
e18dd1d560
Better output of pre- and unformatted notes and of end notes references.
...
svn: r14097
2010-01-19 12:47:17 +00:00
Gerald Britton
517a5e3c90
Tweaks and minor refactoring
...
svn: r14096
2010-01-18 20:14:59 +00:00
Peter Landgren
bf0d4a5123
More info in tooltip text about formatting.
...
svn: r14095
2010-01-18 17:59:28 +00:00
Jérôme Rapinat
659c51a011
2384: KinshipReport use hard to translate sentences (by Josip)
...
svn: r14094
2010-01-18 15:46:32 +00:00
Jérôme Rapinat
d9ad7798bc
3105: general base objects
...
svn: r14093
2010-01-18 14:57:54 +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
1b8706eaf1
Plugin Manager part 3: can now install plugins
...
svn: r14090
2010-01-18 04:09:04 +00:00
Doug Blank
9e3ebf46b4
Plugin Manager, part 2 of 3: updates trunk for using 3.2 manual, Plugin Manager gets addon list from wiki
...
svn: r14088
2010-01-17 21:45:37 +00:00
Doug Blank
e2bbd220bb
Bug in comparing defaults if no deepcopy
...
svn: r14087
2010-01-17 20:23:56 +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
Doug Blank
bd15fa674a
Refined API: better arg names, and better docstring; allow config to get path implicitly, ala our Glade API
...
svn: r14085
2010-01-17 13:47:26 +00:00
Doug Blank
3413cf0372
Add ability to ask for addon translator without giving filename, ala our Glade API
...
svn: r14084
2010-01-17 13:44:53 +00:00
Doug Blank
943dbc97b4
Added a yield occasionaly in main
...
svn: r14083
2010-01-16 23:02:10 +00:00
Doug Blank
f446b66e34
Make main a generator
...
svn: r14082
2010-01-16 23:00:26 +00:00
Gary Burton
8e08e3199c
Fix for tree model changes. See bug 3503
...
svn: r14081
2010-01-16 22:23:24 +00:00
Peter Landgren
98ad2bda38
Trying to fix Notes and end notes ref. It is better now, but still some more to do.
...
svn: r14079
2010-01-14 19:53:08 +00:00
Brian Matherly
47ea087ab6
Continued work on GEP008: Move contents of ansel_utf8.py into libgedcom.py since that is the only place it is used.
...
svn: r14075
2010-01-14 05:45:51 +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
e2f9eec6e9
NameDisplay was moved.
...
svn: r14073
2010-01-14 04:21:31 +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
Rob G. Healey
44cafe6abd
Removed Navigation.py from src/Makefile.am so that it will build correctly.
...
svn: r14071
2010-01-13 23:48:33 +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
Peter Landgren
61360acb4e
Fix of issue 2848.
...
svn: r14066
2010-01-13 18:47:34 +00:00
Peter Landgren
1da6b67df6
Fix of issue 2848.
...
svn: r14065
2010-01-13 18:45:53 +00:00
Peter Landgren
27dd026a97
Fix of issue 2848.
...
svn: r14064
2010-01-13 18:40:55 +00:00
Peter Landgren
5d1ac53678
Fix of issue 2848.
...
svn: r14063
2010-01-13 18:39:40 +00:00
Jérôme Rapinat
289e77ef8b
typo
...
svn: r14062
2010-01-13 16:14:34 +00:00
Nick Hall
4a87cbbe61
Add Most Recently Used object functionality to Go menu
...
svn: r14061
2010-01-13 15:59:36 +00:00
Gerald Britton
a4b22193c2
Use defaultdict instead of dict to simplify code and improve performance
...
svn: r14060
2010-01-13 15:46:12 +00:00
Peter Landgren
334d0d6e2a
Update after Brians rev 14053.
...
svn: r14056
2010-01-13 07:57:58 +00:00
Brian Matherly
4b1c61a6e7
Make in-law relationships easier to translate for the Kinship Report.
...
svn: r14053
2010-01-13 04:31:42 +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
Doug Blank
f415159d6f
Revised iterable table interface; removed DbEngine and DbTable
...
svn: r14048
2010-01-12 18:38:39 +00:00
Jérôme Rapinat
12a4c7bebf
1683 Untranslatable text in Relationship calculator window - was the last one still using old API
...
svn: r14046
2010-01-12 16:11:39 +00:00
Jérôme Rapinat
3ebe3def2f
get rid of generation limitation (was 30)
...
svn: r14045
2010-01-12 14:53:00 +00:00
Doug Blank
f7e09f23c8
Added missing _; return errors and print
...
svn: r14044
2010-01-12 13:05:41 +00:00
Jérôme Rapinat
90b902fda3
Do not need to translate DEBUG tools (name, description)
...
svn: r14043
2010-01-12 13:01:22 +00:00
Brian Matherly
4f2f5f8986
Add ngettext, sgettext, sngettext to libtranslate.
...
svn: r14042
2010-01-12 12:54:59 +00:00
Jérôme Rapinat
9ccdb167cd
Do not need to translate variables
...
svn: r14041
2010-01-12 10:51:36 +00:00
Benny Malengier
263c87ff87
correct not general string, more logical treeview
...
svn: r14040
2010-01-12 08:37:17 +00:00
Nick Hall
4479396c86
Clear all navigation history on change of database
...
svn: r14039
2010-01-12 01:29:07 +00:00
Nick Hall
23c7f9e3f8
Fix bug in bookmark organiser introduced with commit 14023
...
svn: r14038
2010-01-12 00:30:23 +00:00
Nick Hall
a4dcfa3fc3
Bug fixes for commit 14023
...
svn: r14037
2010-01-11 22:37:18 +00:00
Doug Blank
95bb81a54c
Missing underscore
...
svn: r14036
2010-01-11 20:34:47 +00:00
Doug Blank
bdefba55ca
Towards an DbEngine, for a variety of reasons
...
svn: r14035
2010-01-11 19:45:17 +00:00
Doug Blank
f15f18056b
Some minor refinements
...
svn: r14034
2010-01-11 19:42:35 +00:00
Jérôme Rapinat
8c851f7506
1683 Untranslatable text in Relationship calculator window - keep level logic but avoid index out of range
...
svn: r14033
2010-01-11 17:11:13 +00:00
Doug Blank
44b940f07f
3511: Minor improvements on new 'Calculate Estimated dates' tool
...
svn: r14032
2010-01-11 16:31:22 +00:00
Doug Blank
29e2b12172
Fix for activating a notepad that hasn't been shown yet can crash python
...
svn: r14031
2010-01-11 16:11:30 +00:00
Doug Blank
8830a4c762
3506: Allow third-party plugins (addons) to have their own config.ini file
...
svn: r14030
2010-01-11 14:29:29 +00:00
Doug Blank
8fdfd69951
Added get_active_object
...
svn: r14029
2010-01-11 13:50:32 +00:00
Benny Malengier
db06758bb0
Only clear dicts, don't reassign
...
svn: r14028
2010-01-11 10:51:56 +00:00
Serge Noiraud
aec92a4929
ODFDoc : issue 3439, 3440, 3461, 3462
...
svn: r14026
2010-01-11 08:11:50 +00:00
Brian Matherly
252ef6daee
Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
...
svn: r14025
2010-01-10 20:21:10 +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
Nick Hall
b503fa2e25
Extend history functionality (back/forward) and active-changed signals to all primary objects
...
svn: r14023
2010-01-10 19:19:33 +00:00
Doug Blank
141100fdbf
Fixing defaultdict optimization so that it works
...
svn: r14022
2010-01-10 17:20:08 +00:00
Jérôme Rapinat
9b7d972c99
1683 Untranslatable text in Relationship calculator window - no crash on rel_xx tests - get working with current API (contribution by Andrew I Baznikin, lcc)
...
svn: r14021
2010-01-10 16:32:57 +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
2e65bfcce4
Extra keybinding/buttonbinding on treeviews for usability
...
Shift+enter and dblclick: expand group and children
svn: r14019
2010-01-10 12:20:13 +00:00
Jérôme Rapinat
1946440fc2
1683 Untranslatable text in Relationship calculator window - no crash on rel_xx tests - get working with current API (contribution by Andrew I Baznikin)
...
svn: r14018
2010-01-10 10:03:59 +00:00
Jérôme Rapinat
5d3dc7e037
1683 Untranslatable text in Relationship calculator window - no crash on rel_xx tests - get working with current API (contribution by Andrew I Baznikin)
...
svn: r14017
2010-01-10 09:12:33 +00:00
Peter Landgren
fc5d6ecfbc
ProgressDialog.py has moved from src/
...
svn: r14016
2010-01-10 08:52:58 +00:00
Doug Blank
4093c1060c
Now searches spouse, and their familes, for evidence
...
svn: r14015
2010-01-10 07:45:10 +00:00
Doug Blank
2d60b8763a
Enhanced Calculate Estimated Dates tool
...
svn: r14014
2010-01-10 04:06:44 +00:00
Doug Blank
746e934937
Support for additional notebook pages in Tool manager
...
svn: r14013
2010-01-10 04:05:20 +00:00
Doug Blank
cd17f1e0fa
Add support for checkbox/toggle columns; a debug msg for developers
...
svn: r14012
2010-01-10 04:03:59 +00:00
Gerald Britton
2b12f3df07
Use defaultdict type where possible for minor performance gain and source code simplification
...
svn: r14011
2010-01-09 19:54:32 +00:00
Gerald Britton
4c7365dbcf
Missing import
...
svn: r14010
2010-01-09 19:41:00 +00:00
Gerald Britton
721f97459e
Fix duplicate object ids in glade files
...
svn: r14009
2010-01-09 19:39:43 +00:00
Jérôme Rapinat
f56402cf37
3473: To dynamicaly change calendar option on the Gramps session
...
svn: r14008
2010-01-09 17:51:58 +00:00
Doug Blank
7dd624d657
Workaround added for strange Python 2.6 bug on recusive signal handling
...
svn: r14007
2010-01-09 17:13:56 +00:00
Doug Blank
36fa65944d
Removed unneeded imports
...
svn: r14006
2010-01-09 17:12:45 +00:00
Benny Malengier
0ec49507ed
Renable enter to expand nodes on the treeviews
...
svn: r14005
2010-01-09 16:16:52 +00:00
Benny Malengier
08c8edb43d
More info on gtk in error report & remove duplicate PYTHON line
...
svn: r14004
2010-01-09 15:16:50 +00:00
Doug Blank
bfa7687058
Fixed code that gave warning: GtkWarning: gtk_box_pack: assertion 'child->parent == NULL' failed
...
svn: r14003
2010-01-09 13:40:40 +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
Gerald Britton
afe85ad0d5
Tweaks and simplifications
...
svn: r14001
2010-01-08 21:47:02 +00:00
Gerald Britton
16808b6c0e
Add missing import
...
svn: r14000
2010-01-08 21:46:36 +00:00
Doug Blank
debfc3dd78
Fixed issue of not re-docking gramplet from whence it came (reported by Rob); refined some code
...
svn: r13999
2010-01-08 20:06:51 +00:00
Jérôme Rapinat
2f7f7ac5f8
pylint
...
svn: r13998
2010-01-08 16:10:54 +00:00
Peter Landgren
d664fa4aa2
Fix of issue 3480.
...
svn: r13997
2010-01-08 15:59:05 +00:00
Peter Landgren
e4dfdb9190
Fix of issue 3480.
...
svn: r13996
2010-01-08 15:57:54 +00:00
Peter Landgren
f579f495cb
Fix of issue 3480.
...
svn: r13995
2010-01-08 15:56:39 +00:00
Peter Landgren
418b89007e
Fix of issue 3480.
...
svn: r13994
2010-01-08 15:54:47 +00:00
Serge Noiraud
e346c68fb1
GeoView : issue 3472; using date format preference.
...
svn: r13992
2010-01-07 22:02:38 +00:00
Doug Blank
59b06487b7
Add ability for Table to have toggle-able rows; also keeps track of raw data
...
svn: r13991
2010-01-07 21:42:43 +00:00
Doug Blank
68e9b27265
Added method to make dates non-specific
...
svn: r13990
2010-01-07 21:41:07 +00:00
Serge Noiraud
da41542da6
ODFDoc : issue 3440; only remove fo:max-height.
...
svn: r13989
2010-01-07 20:40:24 +00:00
Doug Blank
427b24a34d
Allow notebook to expand; remove unneeded table (leftover?)
...
svn: r13987
2010-01-07 14:57:37 +00:00
Peter Landgren
ed34d4f62f
Fix of issue 3507.
...
svn: r13986
2010-01-07 14:39:53 +00:00
Doug Blank
239fc7f526
Removed items generated from Makefile
...
svn: r13985
2010-01-07 14:16:33 +00:00
Doug Blank
aecdc5ea62
Changed Apply to more generic Execute; Added return value for results tab textbuffer
...
svn: r13984
2010-01-07 14:13:38 +00:00
Doug Blank
3664fbb913
Added on_delete_event signal handler to surpress RuntimeWarning: missing handler
...
svn: r13983
2010-01-07 14:10:26 +00:00
Jérôme Rapinat
83d7448c1a
2846: build tree basic on arithmetics - uncomment lines (ezegzda)
...
svn: r13982
2010-01-07 10:52:41 +00:00
Gerald Britton
6726952bcc
tweaks to reduce source and object code and run-time lookups
...
svn: r13981
2010-01-06 17:53:17 +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
Brian Matherly
7aec8904ea
Remove gen.db.iterator.py - it is not used.
...
svn: r13979
2010-01-06 04:44:09 +00:00
Doug Blank
8c115f26b7
Working towards GEDCOM imports through the web
...
svn: r13978
2010-01-06 04:12:08 +00:00
Doug Blank
0d06f2fa59
Changed default date range to 50 years for before, after, and about (50 before and 50 after)
...
svn: r13977
2010-01-06 01:39:23 +00:00
Jérôme Rapinat
d2876c8318
pylint
...
svn: r13976
2010-01-05 19:15:51 +00:00
Jérôme Rapinat
9ae34b4ba8
pylint
...
svn: r13975
2010-01-05 18:07:09 +00:00
Gerald Britton
57ac58b67e
Bug 3499: Referenced proxy not filtering out unreferenced sources
...
svn: r13974
2010-01-05 16:56:56 +00:00