Commit Graph

819 Commits

Author SHA1 Message Date
Nick Hall
0f564c43ef 4641: Interface for indicating if GrampsBar gramplets have data
svn: r17049
2011-04-05 18:24:44 +00:00
Vassilii Khachaturov
4a03503c98 4796: 'Primary' string needs l10n context
CR: Benny
* Created two strings with l10n context instead of the old one,
'Role|Primary' and 'Name|Primary'.
* While testing, GUI started showing the context when not localized, fixed
that with appropriate sgettext instead of gettext in surnametab.py.
* While at it, changed also changed 'Family' in the Role context to 'Role|Family'.
* ru.po: major translations in the area of name and name formats.
The new Primary[...] and Patronymic[...] concept along with Notpatronymic
still don't fit well when translated :-(



svn: r16986
2011-03-30 14:43:34 +00:00
Doug Blank
e2c6a9cdb4 #4795 Gramplet titles now appear in current language, not the language used at time of creation; also added properties for gramplet navtype and orientation preferences
svn: r16985
2011-03-30 13:48:46 +00:00
Michiel Nauta
d1a8593f7f Add merge unittests
svn: r16952
2011-03-27 21:15:07 +00:00
Michiel Nauta
5835c8e933 Move opening of file to gen.plug.utils
svn: r16939
2011-03-27 08:11:51 +00:00
Michiel Nauta
caec97cb7f Make DbWriteBase inherit from DbReadBase to increase pylint score
svn: r16913
2011-03-24 21:38:04 +00:00
Jérôme Rapinat
31c7750b62 help for translators, avoid long strings here
svn: r16879
2011-03-22 12:37:07 +00:00
Benny Malengier
fac3f46efb Fix regression with sort as and display as in names. Functionality is again as one would expect in treeview
svn: r16849
2011-03-18 15:45:41 +00:00
Benny Malengier
3c9fa2c1d4 4598: (trunk 3.3) new name format copies patronymic into surname as well as leaving it as a patronymic when importing
This extends what name display can be


svn: r16848
2011-03-18 10:42:03 +00:00
Brian Matherly
e6befe67b9 Separate some general code from GUI specific code - particularly for graph generators so that graphs can be generated from the CLI.
svn: r16838
2011-03-17 03:02:36 +00:00
Michiel Nauta
12a01f6700 4759: Make setting a grampstype only assign a string when type is CUSTOM
svn: r16837
2011-03-16 22:06:28 +00:00
Michiel Nauta
3e76c9d3b5 4758: Copy constructor of gen.lib objects uses shallow copy instead of deep copy
svn: r16825
2011-03-15 21:52:08 +00:00
Michiel Nauta
2b72a71a6e 4416: Adjust import ID to users ID format
svn: r16791
2011-03-09 16:22:05 +00:00
Michiel Nauta
959bea3507 4041: Filter rule people with records containing <substring> fails on street name
svn: r16760
2011-03-05 10:47:07 +00:00
Michiel Nauta
a7906886af undo revision 16673
svn: r16742
2011-03-02 11:31:57 +00:00
Michiel Nauta
e99e492a1b 4665: Aborted transactions appear in the undo history
svn: r16697
2011-02-22 16:03:11 +00:00
Gerald Britton
e8b0c9d1eb Tweak
svn: r16688
2011-02-21 14:35:04 +00:00
Michiel Nauta
cdf024c6dc 4662: Unable to add more than one name format
svn: r16682
2011-02-20 18:29:59 +00:00
Benny Malengier
752d594571 4198: Person view does not remove a row correctly when two people are merged.
This patch improves on the context changes:
 * avoid use of transaction_xx methods
 * force an abort in case of unclean transaction

Backward compatibility is broken to achieve this.


svn: r16680
2011-02-20 10:52:06 +00:00
Peter Landgren
dbfd4c9e35 Further improvment for Swedish Calendar.
svn: r16675
2011-02-19 14:13:46 +00:00
Michiel Nauta
756bd836a0 4657: The "sort as" name is ignored
svn: r16673
2011-02-19 14:06:21 +00:00
Doug Blank
8715e15b95 Don't crash if name.txt doesn't exist; this can happen if you try to get name before you open a database
svn: r16666
2011-02-18 19:07:32 +00:00
Doug Blank
918f8f949b Why was this removed?
svn: r16654
2011-02-17 20:33:33 +00:00
Michiel Nauta
17e1091024 4614: Views with persons name look strang after XML import
svn: r16652
2011-02-17 18:09:53 +00:00
Gerald Britton
e25b523fc5 Fix bug in version_str_to_tup
svn: r16651
2011-02-17 17:03:09 +00:00
Peter Landgren
e3557e3008 Improved Swedish Calendar.
svn: r16643
2011-02-17 08:36:40 +00:00
Gerald Britton
a19e65073c Use built-in map function to simplify some list comprehensions
svn: r16636
2011-02-16 20:06:40 +00:00
Michiel Nauta
d2a0f9fa23 Properly close database environment upon open failure
svn: r16618
2011-02-14 20:19:44 +00:00
Michiel Nauta
0eb166615b Replace bare except by specific exception.
svn: r16606
2011-02-11 18:29:15 +00:00
Michiel Nauta
1231b1cac8 4590: Error on access of LDS editor when sealed to family has been removed.
svn: r16592
2011-02-09 16:03:52 +00:00
Gary Burton
b1ce7f7014 Add new abstract methods to ReportOptions. Bug #4572
svn: r16581
2011-02-05 17:46:43 +00:00
Peter Landgren
8aec0756a8 Better abbreviations, thanks to Paul Franklin.
svn: r16568
2011-02-04 15:43:36 +00:00
Benny Malengier
ebe5229822 4599: regression from 3.2.5 - name format preference doesn't persist across reloads
svn: r16565
2011-02-04 10:51:28 +00:00
Benny Malengier
60e8c0c013 3975: Accessing an incompatible database corrupts the database
Undoing unset of DB_RECOVERY flag, we need it to have ACI(D) database


svn: r16562
2011-02-03 22:23:36 +00:00
Michiel Nauta
a34d022cae Restore person-place replace_handle_reference.
svn: r16555
2011-02-03 18:17:00 +00:00
Peter Landgren
35d8b00993 Added a comment.
svn: r16528
2011-02-01 12:11:51 +00:00
Benny Malengier
6d596ad987 4198: Person view does not remove a row correctly when two people are merged.
This is a major patch by Michael Nauta. It means all writes happen immediately to bsddb, and the bsddb 
rollback is used on a crash. Transaction is no longer used to store changes and do them on commit.
Undo database is set on end. 
At the same time with statement is used throughout for transactions
At the same time, the original bug in merge code should be fixed
Still some issues, that will be ironed out


svn: r16523
2011-01-31 21:54:58 +00:00
Peter Landgren
7716c7cbdd Issue 4425: Abbreviation algorithm does not work for all languages.
svn: r16518
2011-01-31 19:40:27 +00:00
Benny Malengier
9a2fd50642 Changes to allow a QML interface:
* a const to launch it
 * fix an error in obtaining dbname
 * refractor pieces to allow reuse


svn: r16504
2011-01-30 16:28:54 +00:00
Nick Hall
116d26e69f Add extra GrampsBar functionality.
svn: r16502
2011-01-30 03:02:38 +00:00
Benny Malengier
c2e353a72b 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore



svn: r16468
2011-01-25 12:45:49 +00:00
Benny Malengier
4313de6f72 Fix bug in bsddb 4.7 by moving the NOSYNC setting before env open
svn: r16460
2011-01-24 19:34:59 +00:00
Gerald Britton
0b0913bac1 Remove unneeded line continuations
svn: r16450
2011-01-23 23:01:50 +00:00
Benny Malengier
4e261e9bf8 Still write to log synchronously, don't flush
svn: r16449
2011-01-23 21:54:56 +00:00
Benny Malengier
b3beba53d8 Some bsddb changes
* allow to use bsddb3 as database via a config setting
  * set async write to disk to improve speed, eg import * 40


svn: r16446
2011-01-23 21:25:51 +00:00
Benny Malengier
1e119f93c3 location as predifined name origin type
svn: r16436
2011-01-22 15:09:38 +00:00
Gerald Britton
680a780a8c Remove redundant line continuations
svn: r16425
2011-01-21 16:27:54 +00:00
Benny Malengier
2667c4262f 4336: Generate a set of filters matching Alternate names, Nickname attribute and a NameType() selector
svn: r16420
2011-01-21 12:10:10 +00:00
Benny Malengier
198e222e91 correct typo in error message
svn: r16371
2011-01-13 09:48:00 +00:00
Benny Malengier
d127992b0d string change update
svn: r16368
2011-01-12 08:57:44 +00:00
Nick Hall
bb41511fc4 Add get_divorce_or_fallback function
svn: r16352
2011-01-09 00:05:38 +00:00
Doug Blank
cb246c6a87 Signal item can have more than one callback to handle
svn: r16330
2011-01-02 16:52:37 +00:00
Michiel Nauta
ff8cf61e99 4422: Search on father fails in family view
svn: r16321
2010-12-29 16:27:17 +00:00
Doug Blank
4daf72f8d8 Assert to make sure method is called correctly
svn: r16317
2010-12-27 18:22:54 +00:00
Doug Blank
00bd583120 Undo of 16304; found a less intrusive method
svn: r16310
2010-12-23 22:41:08 +00:00
Doug Blank
26fef46c35 Add new selection class option to reports so that reports can reuse a common proxy/filter selection framework
svn: r16304
2010-12-21 13:58:28 +00:00
Gerald Britton
5e33e5e81d remove obsolete code
svn: r16292
2010-12-16 21:08:41 +00:00
Gerald Britton
cd81324e9a remove obsolete code
svn: r16291
2010-12-16 21:03:39 +00:00
Jérôme Rapinat
205b1f107b 4463: Forgotten return statement in get_surnames/get_prefixes/get_connectors (contribution by MD Nauta)
svn: r16286
2010-12-15 16:51:31 +00:00
Doug Blank
6f4829e680 Typo on surname changes
svn: r16251
2010-12-05 21:47:41 +00:00
Doug Blank
67cb93a28c 3719: Pedigree View: should display engagement date if no marriage known; added markup dates to family view to show fallback dates, and invalid dates; pedigreeview shows abbrev. date with markup, and tooltip details
svn: r16250
2010-12-05 17:58:56 +00:00
Benny Malengier
de72ec184f all non primary surnames as an option in the display of names in preferences
svn: r16235
2010-11-24 13:41:58 +00:00
Doug Blank
92ac326024 Typo in comment
svn: r16232
2010-11-23 21:09:12 +00:00
Doug Blank
d9b544c17a 4415: Editing ID format in preferences can throw exception
svn: r16227
2010-11-23 04:01:02 +00:00
Doug Blank
92758a5a69 Compressed text some; changed common to mean 'nickname or first of given'
svn: r16215
2010-11-19 14:36:04 +00:00
Doug Blank
b439b377eb 3975: Accessing an incompatible database corrupts the database
svn: r16212
2010-11-19 01:08:07 +00:00
Benny Malengier
a5122b4d1d 4370: Reports in ODT format are corrupted
svn: r16210
2010-11-18 20:19:50 +00:00
Benny Malengier
482f2d112e extend nameorigin with 3 extra types: coming from father, from mother, and from occupation.
Adding surname to the generated docs


svn: r16197
2010-11-16 20:29:45 +00:00
Jérôme Rapinat
bb5ad700e3 New event role type: 'Informant' (UK, FR)
svn: r16191
2010-11-14 12:58:40 +00:00
Doug Blank
6ba569fa68 Load all general plugins of a category
svn: r16182
2010-11-11 20:12:33 +00:00
Jérôme Rapinat
b43e13d6c4 4345: custom TIME on eventdate
svn: r16178
2010-11-11 14:55:36 +00:00
Doug Blank
02db3c69af 4122: feature request: have Relationship View optionally show divorces
svn: r16108
2010-11-02 11:45:49 +00:00
Benny Malengier
e59b7276b4 4333: memory leak in 3.2
svn: r16091
2010-10-31 08:36:03 +00:00
Benny Malengier
1fee4971f4 4333: memory leak in 3.2
svn: r16089
2010-10-31 07:33:17 +00:00
Nick Hall
fd73514004 Update is_empty method with street and locality
svn: r16088
2010-10-30 22:17:21 +00:00
Nick Hall
d5ce999d30 Only convert main location to new format if it exists
svn: r16087
2010-10-30 21:55:39 +00:00
Jérôme Rapinat
a5d68b6ef0 add missing gettext module
svn: r16084
2010-10-30 09:32:01 +00:00
Nick Hall
9c14d3b487 GEPS 006: Add Locality to researcher
svn: r16082
2010-10-29 23:11:08 +00:00
Benny Malengier
5084294a1e Various fixes for GEP21 and locality
* narweb and webcal works again
* proxy filters work
* locality upgrade in repository
* fix progress on upgrade



svn: r16074
2010-10-28 19:56:46 +00:00
Nick Hall
298827d843 GEPS 006: Add Locality field to Location
svn: r16063
2010-10-27 18:13:53 +00:00
Doug Blank
3ef961139a 4315: Error when loading all plugins
svn: r16060
2010-10-26 11:18:03 +00:00
Benny Malengier
9608af29a1 allow no surname list to be created when needed
svn: r16044
2010-10-24 21:57:05 +00:00
Benny Malengier
209b34f359 various fixes and additions for GEP 021'
svn: r16043
2010-10-24 21:38:56 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00
Nick Hall
c3e527b4fb GEPS 011: Tagging - Extended to Family, Note and Media objects
svn: r16025
2010-10-22 23:22:33 +00:00
Benny Malengier
ee91b33a43 gedcom import export for new name structure
svn: r16022
2010-10-22 14:20:01 +00:00
Benny Malengier
920535e3f6 fix in name object and quickview for names
svn: r16020
2010-10-20 20:26:23 +00:00
Peter Landgren
dbc15d475f Issue 4293, problems with LagecyGedcom and empty events.
svn: r15998
2010-10-15 17:57:07 +00:00
Peter Landgren
1d8a776cd3 Part 1 of issue 4276. I principle same patch as for branch, but adapeted to trunk.
svn: r15959
2010-10-09 12:33:47 +00:00
Nick Hall
2ec73c785c Fix bug in has_<class name>_handle methods
svn: r15954
2010-10-04 20:54:58 +00:00
Benny Malengier
5013162ded A new person editor
svn: r15951
2010-10-03 11:39:47 +00:00
Nick Hall
b733d9e306 Update database proxies to include tag objects
svn: r15950
2010-10-03 00:05:21 +00:00
Benny Malengier
371205ec70 Fix surname index for autocompletion
Fix check tool and start with importgrdb upgrade


svn: r15949
2010-10-02 16:01:34 +00:00
Benny Malengier
0ca48dd811 Working xml export
svn: r15948
2010-10-02 13:38:36 +00:00
Benny Malengier
e9599d762d Working namedisplay
Working display section in preferences


svn: r15946
2010-10-01 21:22:25 +00:00
Peter Landgren
7abb29d568 Consistent use of OS detection and host added to Win users.
svn: r15932
2010-09-27 17:54:22 +00:00
Benny Malengier
f111dcbad9 add nick and famnick
svn: r15930
2010-09-25 15:11:54 +00:00
Doug Blank
90f23818c4 4256: r15645 Created gen/lib/const.py, didn't add it to Makefile.am
svn: r15928
2010-09-24 23:40:15 +00:00
Nick Hall
f748668c89 GEPS 011: Tagging - Converted to use new database table object
svn: r15921
2010-09-21 17:52:37 +00:00
Benny Malengier
bb248fadce Good progress: * name displayer updated to new structure
* person view coded updated
               * small change in dbloader so errors can be seen


svn: r15914
2010-09-17 22:13:31 +00:00
Benny Malengier
84edfee57b updated Name object to new structure
svn: r15913
2010-09-17 13:26:36 +00:00
Benny Malengier
6011cb3ec9 some administrative cleanup
svn: r15912
2010-09-17 12:18:41 +00:00
Benny Malengier
f89bfe0796 copyright Jakim Friant, ticket 4237: Line Styles in Report not Fully Supported
svn: r15911
2010-09-17 12:08:38 +00:00
Benny Malengier
fa41e63f5a Surnamebase, surname and nameorigintype finished
svn: r15901
2010-09-14 22:07:51 +00:00
Benny Malengier
f852be14de 3519: Wrong 'Group as' value (Given instead of Surname) is used for custom display name
svn: r15896
2010-09-13 19:56:31 +00:00
Rob G. Healey
fd75d680ea Jakim Friant: Changes made to the Ancestor Tree.
svn: r15877
2010-09-11 17:06:49 +00:00
Benny Malengier
86ed7108d2 surnamebase class to inherit surname lists
svn: r15866
2010-09-09 16:54:34 +00:00
Nick Hall
a151bafaff Fix database upgrade
svn: r15832
2010-08-30 10:36:58 +00:00
Nick Hall
bf8146b9d1 GEPS 011: Tagging
svn: r15830
2010-08-29 18:36:42 +00:00
Doug Blank
7c110d15b8 Added plugin.depends_on = ['plugin_id', ...] for plugin.load_on_reg plugins
svn: r15816
2010-08-25 13:30:59 +00:00
Doug Blank
1f9eee3d92 Don't load a GENERAL lib if hidden
svn: r15813
2010-08-25 02:45:23 +00:00
Doug Blank
b11e4558b8 Added log, and db cursor close error handler
svn: r15810
2010-08-24 11:54:43 +00:00
Doug Blank
7151e07d3a Rewrote autoremove flag workaround
svn: r15795
2010-08-22 06:33:06 +00:00
Doug Blank
00f738f953 Don't evaluate callable data returned from the plugin API
svn: r15790
2010-08-22 01:00:16 +00:00
Doug Blank
fcef732f93 Added dbid and dbname to databases; id is the unique dir name, and name is the assigned name stored in text file
svn: r15786
2010-08-21 20:20:34 +00:00
Doug Blank
01e354f18d Make sure newvalue is a int(fraction * 100)
svn: r15784
2010-08-21 12:31:31 +00:00
Doug Blank
d441154d3a 4177: Needed usability improvements to addon update window
svn: r15757
2010-08-17 05:09:01 +00:00
Doug Blank
7c6cba4fae New check for updated addons
svn: r15721
2010-08-13 06:42:14 +00:00
Doug Blank
506f9dc643 Refactor to move load_addon_file out of gui code
svn: r15719
2010-08-13 04:19:16 +00:00
Doug Blank
2fc5096d23 CSS and web resources are now a plugin
svn: r15711
2010-08-12 05:26:45 +00:00
Rob G. Healey
264d6145be NarrativeWeb: changed the name of the navigation menus stylesheet to match other stylesheet naming.
svn: r15708
2010-08-12 02:26:26 +00:00
Doug Blank
961c1e4ca9 Forgot to include navigation web pages
svn: r15707
2010-08-11 21:33:12 +00:00
Doug Blank
864c79e446 First step in breaking up NarrativeWeb into plugins; please test
svn: r15704
2010-08-11 14:11:35 +00:00
Doug Blank
0199cd7da5 Enhanced GENERAL plugins for flexible API: added data and process to GENERAL plugindata, more details at http://www.gramps-project.org/wiki/index.php?title=Addons_development#General_Plugins
svn: r15701
2010-08-11 05:42:46 +00:00
Doug Blank
abd7b09450 Added _%s_ for surrounding name parts, such as _Call_
svn: r15700
2010-08-10 15:37:12 +00:00
Doug Blank
f55cd42926 Allow GENERAL plugins to have category, and more flexibility
svn: r15699
2010-08-10 13:14:09 +00:00
Doug Blank
791ab064f8 Renamed GrampsCursor to BsddbBaseCursor
svn: r15689
2010-08-08 22:06:54 +00:00
Doug Blank
db09dcc6bf Added a new method to work around gramps' use of show_all: hidden_widgets
svn: r15681
2010-08-03 00:57:50 +00:00
Doug Blank
e4bb905303 Added is_type('Name'), is_burial(), and is_baptism()
svn: r15670
2010-07-31 15:17:23 +00:00
Doug Blank
0f310e78a4 Show errors on invalid plugin load
svn: r15653
2010-07-28 15:03:37 +00:00
Doug Blank
3e28ee67ec 2059: need a way to compare and merge all objects, by MD Nauta
svn: r15645
2010-07-22 02:16:32 +00:00
Nick Hall
7f83fc7fcb Tidy up navigation sidebar code
svn: r15621
2010-07-06 14:30:38 +00:00
Peter Landgren
8900ce7f6d Fix of issue 4078, note.get() unicode now.
svn: r15599
2010-06-28 07:45:05 +00:00
Gerald Britton
da1abaa31d Optimize by replacing multiple calls to .write methods with one call where possible
svn: r15558
2010-06-11 14:29:44 +00:00
Doug Blank
3989ef284f Follow StyledText links to include other objects, too
svn: r15520
2010-06-01 17:10:00 +00:00
Doug Blank
c5d11d3218 Added filter editor for person and note filters, and removed unneeded reference filters
svn: r15518
2010-05-31 14:50:34 +00:00
Doug Blank
943cfd07e2 4037: get_full_path method of gen.lib.url uses undefined variable
svn: r15517
2010-05-31 12:56:19 +00:00
Doug Blank
41a4ff748d Protection from null objects
svn: r15504
2010-05-30 11:35:45 +00:00
Doug Blank
ba2d5d503d Protection from null family
svn: r15501
2010-05-30 04:03:05 +00:00
Doug Blank
34c7efe804 New proxy that traces forward references
svn: r15499
2010-05-29 20:17:06 +00:00
Doug Blank
8a25a77c9f Removed .get_base_db() method as there was already basedb for the same purpose
svn: r15484
2010-05-25 23:29:37 +00:00
Gerald Britton
2604ee39fa Use itertools ifilter and imap to simplify some operations
svn: r15480
2010-05-25 18:31:31 +00:00
Doug Blank
a69337b6c6 method for getting base database, if a proxy
svn: r15465
2010-05-23 15:44:51 +00:00
Doug Blank
ed3c144a79 Apparently we don't need these two methods (see Gerald in mailing list, 05/23/2010)
svn: r15461
2010-05-23 15:36:15 +00:00
Doug Blank
cdeb47ad3b Proxies should report that they are read-only
svn: r15457
2010-05-23 14:55:20 +00:00
Doug Blank
4ce41d4656 3986: Interface for running code not associated with a plugin type: this passes dbstate and uistate to a load_on_reg function/class if a library has it, and it is marked as load_on_reg
svn: r15454
2010-05-23 11:44:13 +00:00
Doug Blank
8ca80428a5 added methods that protect living data from leaking out: get_person_handles, iter_person_handles, and iter_people
svn: r15453
2010-05-23 05:10:11 +00:00
Doug Blank
1e3b765bd4 iter_people method was incorrectly returning handles and people objects; should be just people to match gen.db interface
svn: r15451
2010-05-23 04:40:58 +00:00
Gerald Britton
6369bb0286 Minor edit
svn: r15428
2010-05-20 18:32:36 +00:00
Gerald Britton
cd8ded4b37 Updates to undo/redo logic:
1. Replace single transaction list with separate undo/redo deques
2. Update UndoHistory GUI to work with new queue setup
3. Add test to txn.py for empty transaction list


svn: r15427
2010-05-20 18:32:08 +00:00
Doug Blank
d2d983f10a Try to reload first; if fails, then not in path (addon), and try new import
svn: r15403
2010-05-13 13:02:52 +00:00
Doug Blank
2df0322aef 3958: Extremely slow gedcom import
svn: r15400
2010-05-13 11:08:20 +00:00
Doug Blank
cda97348e8 3878: Private option and filter on Exporter
svn: r15383
2010-05-10 00:00:15 +00:00
Doug Blank
19089b6f51 Typo in handling tags
svn: r15361
2010-05-08 15:19:23 +00:00
Doug Blank
2f603d2592 Fixing issues with get_privacy on non-existent objects which were probably filted out by a living proxy
svn: r15354
2010-05-07 23:45:54 +00:00
Doug Blank
6db2110937 Forces the unloading of loaded plugins to load new versions
svn: r15350
2010-05-07 19:46:07 +00:00
Doug Blank
40b8c2d9a2 3914: Add a new markup for creating links to URLs and for gramps objects
svn: r15340
2010-05-06 15:54:33 +00:00
Brian Matherly
ecbde74066 Repair duplicated file contents resulting from 0003796 (Make export available when no GUI available).
svn: r15332
2010-05-06 03:40:30 +00:00
Jérôme Rapinat
e2e3065cfb merge fix on branch rev15295
svn: r15327
2010-05-05 11:47:18 +00:00
Peter Landgren
757a2a683d Fix of included files.
svn: r15312
2010-05-03 16:31:12 +00:00
Peter Landgren
d838145fdb Fix of included files.
svn: r15310
2010-05-03 16:17:42 +00:00
Peter Landgren
ab8bdc2a19 Information in file was doubled/tripled.
svn: r15306
2010-05-03 12:38:30 +00:00
Doug Blank
652a1f132b 3911: Crash because of syntax error in name format
svn: r15302
2010-05-03 01:07:24 +00:00
Doug Blank
12918718f9 3879: Allow multiple versions of a plugin
svn: r15299
2010-05-01 21:30:15 +00:00
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +00:00
Gerald Britton
72e19bb7a9 Updates to undo/redo logic -- part 1
svn: r15277
2010-04-23 19:02:24 +00:00
Doug Blank
40f88a9e7d 3851: NarWeb Associations don't show unless Include Private is checked
svn: r15192
2010-04-17 20:07:52 +00:00
Benny Malengier
56c85f0255 3815: Notes with html show verbatim in narrative web
svn: r15169
2010-04-16 20:59:10 +00:00
Doug Blank
3e7ae3aeb5 Protect from unknown types---just mark as unknown
svn: r15162
2010-04-16 15:35:40 +00:00
Raphael Ackermann
844002e312 docstring typo fixes
svn: r15036
2010-04-05 13:10:29 +00:00
Doug Blank
2842f8e8a5 3131: sibling quickview doesn't reflect person view
svn: r15033
2010-04-05 02:53:32 +00:00
Raphael Ackermann
e371599df4 docstring typo fixes
svn: r15030
2010-04-04 18:55:58 +00:00
Nick Hall
6ae2f1c81e GEPS 019: Improved sidebar which allows sidebar plugins
svn: r15029
2010-04-04 18:16:03 +00:00
Doug Blank
c551d6beb1 Newyear import/export changes and fix
svn: r15027
2010-04-04 12:10:12 +00:00
Doug Blank
cc843399a6 Typo on newyear fix
svn: r15024
2010-04-04 11:32:10 +00:00
Raphael Ackermann
08728c6bd4 doc typos
svn: r15022
2010-04-04 11:03:43 +00:00
Doug Blank
7047015603 3756: Cannot set new year value different than default (first January)
svn: r15010
2010-04-03 23:33:17 +00:00
Doug Blank
77feae36e2 3609: Can't open a gramps 3.1 database from trunk on Windows 7 64 bit from Gramps 3.2
svn: r14983
2010-04-01 01:19:04 +00:00
Benny Malengier
6b1c15db54 3783: NewPerson Dialogue: "available surname list" shows each occurrence of a family name instead of one per family name
svn: r14975
2010-03-30 13:41:23 +00:00
Benny Malengier
c17d595d70 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14914
2010-03-23 13:27:18 +00:00
Benny Malengier
aad74b8bb8 3690: Do not need to use underscore on text for file formats (import/export)
svn: r14889
2010-03-21 10:33:08 +00:00
Doug Blank
bbf2bfe654 Commented out set_pagesize to be compatible with previous versions of gramps (gramps31).
svn: r14880
2010-03-20 13:06:54 +00:00
Doug Blank
b23abf392b Changed variable name to avoid conflict with reload function
svn: r14863
2010-03-18 23:56:10 +00:00
Benny Malengier
306671f9af 3715: Plugin manager load/reload does not unload earlier versions of plugins
svn: r14861
2010-03-18 22:27:45 +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
Doug Blank
ad569fc0d9 Allows unicode strings in config .ini files
svn: r14424
2010-02-21 12:59:34 +00:00
Peter Landgren
877359d727 Better support for non ascii in path under Windows.
svn: r14411
2010-02-18 14:54:19 +00:00
Doug Blank
993a5c2fcd Unoptimized to work
svn: r14407
2010-02-17 11:53:19 +00:00
Gerald Britton
cd90261ff0 Bug 003611: delete/undo/delete sequence causes crash
svn: r14389
2010-02-15 14:14:35 +00:00
Benny Malengier
c76159ab9d 3580: People list (private handlers) and display Name format
in reality: associations are not removed on delete person


svn: r14384
2010-02-15 12:13:43 +00:00
Doug Blank
6cf43dd3d8 Track options
svn: r14353
2010-02-13 16:22:35 +00:00
Doug Blank
b1354d2009 Regenerate gui options because previous configdialog may have deleted them; draw a frame around options that need 'save'.
svn: r14349
2010-02-13 06:37:50 +00:00
Doug Blank
06bc6a8a8f Every plugin needs a gramps_target_version for 3.2+
svn: r14341
2010-02-12 20:23:05 +00:00
Doug Blank
f342323d6a Fixed 2-point versions; did allow any 2-point less that gramps to load-- now must match 1-point parts (3.2)
svn: r14318
2010-02-11 13:45:51 +00:00
Doug Blank
49823df7fe Allow 2-point versions <= gramps version; added ERROR to print statements
svn: r14315
2010-02-11 13:26:28 +00:00
Doug Blank
d7c2e39492 Still need to build the non-gui options
svn: r14308
2010-02-10 23:25:08 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Doug Blank
ea627392e8 Don't build options
svn: r14295
2010-02-09 13:15:31 +00:00
Benny Malengier
1a5f1720c0 Allow plugins to register their icons, new icons for geoview
svn: r14289
2010-02-09 00:07:43 +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
Gerald Britton
4268634b1f Remove method that is now unused as a result of changes in rev. 14179
svn: r14183
2010-02-01 18:30:16 +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
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
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
cf4748ecaf Gramplets only update when active, detached, or forced
svn: r14138
2010-01-26 12:00:01 +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
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
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
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
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
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
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
c689013025 Added two additional cases for date matches: <=, >=
svn: r14101
2010-01-20 13:37:24 +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
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
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
Peter Landgren
5d1ac53678 Fix of issue 2848.
svn: r14063
2010-01-13 18:39:40 +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
Doug Blank
f415159d6f Revised iterable table interface; removed DbEngine and DbTable
svn: r14048
2010-01-12 18:38:39 +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
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
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
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
Gerald Britton
afe85ad0d5 Tweaks and simplifications
svn: r14001
2010-01-08 21:47:02 +00:00
Peter Landgren
e4dfdb9190 Fix of issue 3480.
svn: r13996
2010-01-08 15:57:54 +00:00
Doug Blank
68e9b27265 Added method to make dates non-specific
svn: r13990
2010-01-07 21:41:07 +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
Gerald Britton
57ac58b67e Bug 3499: Referenced proxy not filtering out unreferenced sources
svn: r13974
2010-01-05 16:56:56 +00:00
Doug Blank
205b3beadd Enabled Quickviews on all list views; enabled References Quickview for all views
svn: r13947
2009-12-31 14:59:44 +00:00
Doug Blank
4f3d8f3675 Added missing 'return self' at end of unserialize to match the rest of the classes in lib.gen
svn: r13935
2009-12-29 03:24:38 +00:00
Doug Blank
a61a472668 Missing gettext
svn: r13927
2009-12-27 13:49:15 +00:00
Doug Blank
06d0291ff4 Refinements on database hierarchy
svn: r13907
2009-12-24 14:38:39 +00:00