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
Doug Blank
514af57f3c
Added help trans, and fixed .transaction issue
...
svn: r14154
2010-01-28 14:34:09 +00:00
Doug Blank
e16a75f449
Some bug fixes on Probably Alive
...
svn: r14147
2010-01-27 06:06:35 +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
Doug Blank
09b0e50d41
Added est date modifier type (about, or after/before)
...
svn: r14117
2010-01-24 16:19:55 +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
97c058af9b
probably_alive and CalcEstDates now share same codebase; rewritten probably_alive
...
svn: r14102
2010-01-20 13:39:37 +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
Gary Burton
8e08e3199c
Fix for tree model changes. See bug 3503
...
svn: r14081
2010-01-16 22:23:24 +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
Jérôme Rapinat
90b902fda3
Do not need to translate DEBUG tools (name, description)
...
svn: r14043
2010-01-12 13:01:22 +00:00
Doug Blank
f15f18056b
Some minor refinements
...
svn: r14034
2010-01-11 19:42:35 +00:00
Doug Blank
44b940f07f
3511: Minor improvements on new 'Calculate Estimated dates' tool
...
svn: r14032
2010-01-11 16:31:22 +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
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
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
721f97459e
Fix duplicate object ids in glade files
...
svn: r14009
2010-01-09 19:39:43 +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
Brian Matherly
4838650df4
Move _GedcomParse.py to src/plugins/lib/libgedcom.py. Remove GrampsDbUtils.
...
svn: r13940
2009-12-29 19:20:16 +00:00
Doug Blank
ab3dfe1415
3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
...
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
699dcb13fe
Fixed svn Id property
...
svn: r13881
2009-12-21 13:43:50 +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
Brian Matherly
bbe2b6da0c
move src/Editors/* to src/gui/editors as part of GEP008
...
svn: r13807
2009-12-15 05:56:12 +00:00
Brian Matherly
0001133eb8
move src/widgets/* to src/gui/widgets as part of GEP008
...
svn: r13791
2009-12-14 03:20:19 +00:00
Doug Blank
a547cc8658
RuntimeWarning: missing handler 'on_delete_event'
...
svn: r13768
2009-12-11 17:39:43 +00:00
Peter Landgren
0b711b211c
Third update for consistent use of Gramps. See issue 3355.
...
svn: r13633
2009-11-19 17:32:11 +00:00
Peter Landgren
900d1c57f4
Second update for consistent use of Gramps. See issue 3355.
...
svn: r13611
2009-11-17 20:45:58 +00:00
Peter Landgren
33686fcf18
First update for consistent use of Gramps. See issue 3355.
...
svn: r13610
2009-11-17 20:14:53 +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
53de46901e
add license to gpr.py files
...
svn: r13424
2009-10-26 19:15:58 +00:00
Benny Malengier
cad5461b2d
3282: Gramps should only display marriage event with role = family (or primary)
...
svn: r13411
2009-10-25 16:52:45 +00:00
Benny Malengier
d25cdc3958
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager
svn: r13405
2009-10-25 13:52:29 +00:00
Doug Blank
c10da3fec5
Fixed stderr traceback output; added dbstate to interact with the db; fixed missing on_delete_event signal
...
svn: r13404
2009-10-25 03:12:36 +00:00
Benny Malengier
ed619cfdd6
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
99282aa715
3272: Proposal for updating config settings
...
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
bebba4b366
Bug 0003063: gtk.Tooltips is deprecated -- second batch of updates
...
svn: r13340
2009-10-07 20:01:39 +00:00
Gerald Britton
f845666899
remove debugging print statement and fix indentation
...
svn: r13284
2009-10-01 20:42:52 +00:00
Gerald Britton
53dd372508
Remove commented debugging code
...
svn: r13270
2009-09-28 15:49:01 +00:00
Gerald Britton
2cb36b4cb7
Go back to using list of handles until bsddb DBCursor.put method better understood
...
svn: r13269
2009-09-28 15:43:54 +00:00
Gerald Britton
9b586eaf4f
1. Enhance cursor.py to support updating records after reading them
...
2. Implement enhancement in write.py, get_cursor method
3. Exploit new capability in ChangeNames.py
svn: r13237
2009-09-23 20:07:58 +00:00
Doug Blank
9e66f354df
#2073 : Adds a warning (about turning off undo, rather than filling with bogus data), but this is only seen by developers, and at least gives a chance to cancel; probably not worth a special class just to provide proper message
...
svn: r13233
2009-09-23 00:40:14 +00:00
Gerald Britton
b3bca61535
Fix deadlock in ChangeNames
...
svn: r13207
2009-09-15 16:03:41 +00:00
Gerald Britton
966d2bcd42
Use new iter_objects methods
...
svn: r13203
2009-09-14 20:50:25 +00:00
Gerald Britton
941fff23ae
Tweaks to use inplace arithmetic
...
svn: r13191
2009-09-10 18:49:48 +00:00
Jérôme Rapinat
e8033040bb
#3182 Add an used singular form, avoid empty string on translation dict
...
svn: r13188
2009-09-10 13:49:58 +00:00
Peter Landgren
f3931f0168
Slicing of strings must be with unicode strings.
...
svn: r13165
2009-09-07 20:07:05 +00:00
Gerald Britton
3564b04584
1. Implement iter_<object> methods in proxybase.
...
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples
svn: r13151
2009-09-02 20:10:45 +00:00
Gerald Britton
1587cb8ad1
Implement restructured database objects
...
svn: r13139
2009-08-31 18:42:29 +00:00
Benny Malengier
def01f8e4f
3183: Make Reorder GRAMPS ID plugin fix IDs not following specified formats
...
svn: r13119
2009-08-25 20:11:54 +00:00
Jérôme Rapinat
21779f0cb3
Use plural forms (ngettext) in plugins/tool/NotRelated (patch by VPeric)
...
svn: r13107
2009-08-23 07:39:29 +00:00
Jérôme Rapinat
9b805ac2cf
2307: better wording
...
svn: r13029
2009-08-16 09:37:02 +00:00
Raphael Ackermann
9239780182
cleanup & pep8
...
svn: r13021
2009-08-15 14:37:14 +00:00
Jérôme Rapinat
192637811d
testingrule for 2307: return string rather than true/false
...
svn: r13010
2009-08-14 16:46:56 +00:00
Jérôme Rapinat
03ea29e183
testing 2307: to add a family rule for displaying families with marriage event but still unknown relation type
...
svn: r13006
2009-08-14 15:59:32 +00:00
Raphael Ackermann
01e89f17f2
typo & pep8 fixes
...
svn: r12950
2009-08-10 21:23:38 +00:00
Raphael Ackermann
874d43f2aa
0002070: Event Comparison Tool filter list doesn't update with new filter
...
remove old unused libglade menu in _FilterMenu
svn: r12855
2009-08-01 16:09:17 +00:00
Gerald Britton
181c0c9b41
Replace get_place_handles with iter_place_handles
...
svn: r12778
2009-07-08 18:11:02 +00:00
Gerald Britton
b601f4bdf2
Replace get_family_handles with iter_family_handles
...
svn: r12776
2009-07-08 16:11:20 +00:00
Peter Landgren
6aaa3b9136
Changed start-date to start_date
...
svn: r12770
2009-07-07 06:16:30 +00:00
Gerald Britton
f7454de7fd
Implement iter_people_handles methods and begin to use them
...
svn: r12760
2009-07-03 20:23:41 +00:00
Gerald Britton
d022d0187b
Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance
...
svn: r12739
2009-06-30 14:05:57 +00:00
Gerald Britton
b0a6f7c854
replace refs to locale.strcoll with refs to locale.strxfrm
...
svn: r12712
2009-06-25 21:09:49 +00:00
Benny Malengier
9d417e2cd6
Split Utils in a non GUI and GUI part
...
move GrampsCfg utils to Utils
improve import strategy
svn: r12680
2009-06-19 15:23:58 +00:00
Gerald Britton
70a0c50fca
Use GrampsCursor as a context manager using "with" statement
...
svn: r12672
2009-06-16 15:49:17 +00:00
Gerald Britton
bb83288883
Check.py: replace get..handles and map..keys calls with calls to new iterator functions
...
svn: r12662
2009-06-12 16:19:48 +00:00
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
021b754939
Bug 3011: change old-style classes to new-style classes
...
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
e3bd5d1e69
Fix ownereditor popup menu handling
...
svn: r12550
2009-05-19 20:07:00 +00:00
Gerald Britton
73e1ab5722
Bug 2888: downgrade the glade files in tools to gtk version 2.12
...
svn: r12538
2009-05-18 15:36:03 +00:00
Gerald Britton
21e96b0616
Bug 2888 - minor edits and cleanup
...
svn: r12529
2009-05-15 18:12:10 +00:00
Gerald Britton
110557c3c7
Add glade.py with Glade class and use instead of gtk.Builder throughout project
...
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
564090665a
Bug 2888: ensure proper "requires" statement in glade files
...
svn: r12467
2009-04-17 16:39:22 +00:00
Gerald Britton
b353c7eff5
Bug 2888: set builder glade files to require 2.12
...
svn: r12458
2009-04-16 20:14:41 +00:00
Gerald Britton
ccf1c27df1
Bug 2888: downgrade builder glade files to require 2.10
...
svn: r12457
2009-04-16 20:05:46 +00:00
Gerald Britton
29ff457d25
Bug 2888: Export plugins - convert from libglade to gtkbuilder
...
svn: r12456
2009-04-16 19:29:40 +00:00
Gerald Britton
b0e8509989
Bug 2888: FindDupes.py - convert from libglade to gtkbuilder
...
svn: r12451
2009-04-15 20:51:10 +00:00
Gerald Britton
82aac3836f
plugins/tools: make file path build logic conform to Python standards
...
svn: r12450
2009-04-15 19:27:17 +00:00
Gerald Britton
1c7daa4ed5
Bug 2888: EventCmp.py - convert from libglade to gtkbuilder
...
svn: r12449
2009-04-15 19:26:07 +00:00
Gerald Britton
efffaa97e1
Bug 2888: in BookReport and Verify, make toplevel windows visible=false by default
...
svn: r12448
2009-04-15 15:42:10 +00:00
Gerald Britton
85b5ac2996
FindDupes.py: fix small bug in file path build routine.
...
svn: r12440
2009-04-13 18:58:26 +00:00
Gerald Britton
47297af2e9
ChangeTypes.py: fix small bug in file path build routine.
...
svn: r12439
2009-04-13 18:57:43 +00:00
Gerald Britton
a1e9323d3b
NotRelated.py: convert to use gtkbuilder instead of libglade
...
svn: r12438
2009-04-13 18:56:50 +00:00
Gerald Britton
8a16657375
Verify.py: convert from libglade to gtkbuilder - take 2
...
svn: r12435
2009-04-12 18:29:28 +00:00
Gerald Britton
22b0e556dd
Verify.py: convert from libglade to gtkbuilder
...
svn: r12431
2009-04-11 21:12:14 +00:00
Gerald Britton
39132b011a
RemoveUnused.py: convert to use gtkbuilder instead of libglade
...
svn: r12422
2009-04-09 19:53:38 +00:00
Gerald Britton
8e08149567
SoundGen.py: convert to use gtkbuilder instead of libglade
...
svn: r12421
2009-04-09 19:41:06 +00:00
Gerald Britton
6834c7a68d
PHPGedView.py: convert to use gtkbuilder instead of libglade
...
svn: r12420
2009-04-09 19:37:06 +00:00
Gerald Britton
eec911dc0d
PatchNames.py: convert to use gtkbuilder instead of libglade
...
svn: r12419
2009-04-09 19:04:38 +00:00
Gerald Britton
db1884afc9
OwnerEditor.py: convert to use gtkbuilder instead of libglade
...
svn: r12418
2009-04-09 18:33:49 +00:00
Gerald Britton
ee253d1868
Leak.py: convert to use gtkbuilder instead of libglade
...
svn: r12417
2009-04-09 15:56:15 +00:00
Gerald Britton
c9145bd522
new glade file for modified Eval.py
...
svn: r12416
2009-04-09 15:13:34 +00:00
Gerald Britton
8fc41ae8d4
Eval.py: convert to use gtkbuilder instead of libglade
...
svn: r12415
2009-04-09 15:12:35 +00:00
Gerald Britton
a59d141063
ChangeTypes.py: convert to use gtkbuilder instead of libglade
...
svn: r12414
2009-04-09 14:55:37 +00:00
Gerald Britton
2d648289fc
ChangeNames.py and ExtractCity.py: convert to use gtkbuilder instead of libglade
...
svn: r12413
2009-04-09 14:28:22 +00:00
Gerald Britton
4d49eab84f
RelCalc.py - convert to use gtkbuilder instead of libglade
...
svn: r12410
2009-04-08 20:09:30 +00:00
Gerald Britton
a3f82400ef
Check.py - convert to use gtkbuilder instead of libglade
...
svn: r12409
2009-04-08 19:41:22 +00:00
Doug Blank
24102deb74
2803: 'Check & Repair Database' failed at stage: 'Checking families for proper date formats'
...
svn: r12303
2009-03-10 12:56:16 +00:00
Doug Blank
b1c5eaa9ee
2803: 'Check & Repair Database' failed at stage: 'Checking families for proper date formats'
...
svn: r12298
2009-03-10 12:25:17 +00:00
Doug Blank
baba8c7bd5
2792: Dates in sourcereferences in person_ref_list not upgraded; added repair for dates that were not converted
...
svn: r12287
2009-03-09 19:52:17 +00:00
Benny Malengier
7b809aefda
DateParserDisplayTest.py is a debug tool but runs always, only run when debug
...
svn: r12156
2009-02-28 09:18:53 +00:00
Jérôme Rapinat
cc27f9d9e8
2748: Some URLs still point user to wiki manual version 3.0
...
svn: r12133
2009-02-26 10:08:38 +00:00
Brian Matherly
bff93f186a
0002655: Directories and files with accents characters cause failures in Windows.
...
svn: r12106
2009-02-24 04:41:23 +00:00
Stéphane Charette
dfb71b6cd2
fix bug #2709 , merged from gramps31 (thanks Jérôme for the patch)
...
svn: r12080
2009-02-22 20:24:08 +00:00
Benny Malengier
52b0b13507
Make Leak into a treeview, double click to have referrers, right click
...
to obtain referents of selected line
svn: r12057
2009-02-20 18:28:34 +00:00
Jérôme Rapinat
36c282780b
#2726 #2641 To improve informations on dialog
...
svn: r12033
2009-02-19 12:55:06 +00:00
Brian Matherly
a1c6710094
Remove the Command Line Reference plugin. It is no longer supported.
...
svn: r12021
2009-02-17 05:03:23 +00:00
Jérôme Rapinat
a3d33aff16
2704: Translation problem word Title (contribution by jannek)
...
svn: r11970
2009-02-12 07:31:08 +00:00
Doug Blank
b33c0fc77a
Removed tool/DateParserDisplayTest from distribution
...
svn: r11822
2009-02-03 12:16:59 +00:00
Jérôme Rapinat
be6c00842d
#2657,#1718 use ngettext
...
svn: r11820
2009-02-03 10:33:19 +00:00
Jérôme Rapinat
e4f5ad0142
#2657,#1718 use ngettext
...
svn: r11800
2009-02-02 17:13:02 +00:00
Jérôme Rapinat
1e6da8730c
#2657,#1718 use ngettext
...
svn: r11773
2009-01-31 11:29:44 +00:00
Benny Malengier
0df7429978
make autotools work again
...
svn: r11666
2009-01-19 20:26:41 +00:00
Doug Blank
31512878f1
Added a summary count, and line numbers to output to help compare details
...
svn: r11655
2009-01-18 14:12:21 +00:00
Brian Matherly
a12989719b
Move all quick views into plugins/quickview.
...
svn: r11635
2009-01-16 21:39:51 +00:00
Brian Matherly
96f9411caa
Move all draw reports into plugins/drawreport.
...
svn: r11634
2009-01-16 21:10:36 +00:00
Brian Matherly
7b47dc61ad
Move all tools into plugins/tool.
...
svn: r11633
2009-01-16 19:54:58 +00:00