Rob G. Healey
36a91b6cb9
Changed some formatted strings to named variables for 'make distcheck' to work properly.
...
svn: r14483
2010-02-25 15:52:32 +00:00
Doug Blank
696b236777
Changes to allow distcheck to pass
...
svn: r14436
2010-02-22 12:05:37 +00:00
Doug Blank
7f5e91d9ea
3428: When running with pythonw.exe, Windows may crash if you write to stdout
...
svn: r14396
2010-02-16 02:18:24 +00:00
Doug Blank
843fb89ba0
Plugins required to be correct version
...
svn: r14300
2010-02-10 12:13:47 +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
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
Brian Matherly
cd30f4db2f
Continued work on GEP008: move src/Mime to src/gen/mime.
...
svn: r14118
2010-01-24 20:17:14 +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
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
Brian Matherly
4838650df4
Move _GedcomParse.py to src/plugins/lib/libgedcom.py. Remove GrampsDbUtils.
...
svn: r13940
2009-12-29 19:20:16 +00:00
Brian Matherly
c7b595210f
Move GedcomStageOne.py into GedcomParse.py.
...
svn: r13936
2009-12-29 05:37:20 +00:00
Brian Matherly
06b3d7dc1f
Fix Misnamed DbMixin
...
svn: r13910
2009-12-24 20:14:15 +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
814d721f68
Remove QuestionDialog dependency from gen. The database now raises exceptions and the GUI generates the question dialog.
...
svn: r13865
2009-12-20 22:44:32 +00:00
Doug Blank
49bd78481a
Removed as now unneeded with Django-supported interface
...
svn: r13815
2009-12-15 17:32:24 +00:00
Doug Blank
d05e98cbf6
Removed as now unneeded with Django-supported interface
...
svn: r13813
2009-12-15 17:11:05 +00:00
Doug Blank
54ac83e6ed
3420: Error in line 498 of importCSV.py during CSV import.
...
svn: r13740
2009-12-08 01:13:42 +00:00
Doug Blank
18e4b52115
Print to stderr, turn debug off, use addon translations, if any
...
svn: r13654
2009-11-22 18:12:58 +00:00
Doug Blank
670e9bc1ff
Django importer; may move to addons later, but keeping it with DjangoExport for now
...
svn: r13653
2009-11-22 18:07:38 +00:00
Peter Landgren
c1c5a61266
Update for consistent use of Gramps. See issue 3355.
...
svn: r13621
2009-11-18 08:34:20 +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
Gerald Britton
00bee4ee66
Bug 0003098: "Buri" event on GeneWeb file may break import into Gramps
...
svn: r13457
2009-10-29 20:03:03 +00:00
Benny Malengier
53de46901e
add license to gpr.py files
...
svn: r13424
2009-10-26 19:15:58 +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
d899d1eefd
3296: Data loss during XML-export->import; assumed type was set on name element
...
svn: r13380
2009-10-17 22:50:35 +00:00
Doug Blank
99282aa715
3272: Proposal for updating config settings
...
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
941fff23ae
Tweaks to use inplace arithmetic
...
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
1587cb8ad1
Implement restructured database objects
...
svn: r13139
2009-08-31 18:42:29 +00:00
Doug Blank
76d8c108b6
SQL import/export complete. Byte for Byte exact, excluding differences in True-False/1-0, []/(), and unicode/string
...
svn: r12936
2009-08-09 19:26:30 +00:00
Doug Blank
0a476e2a3c
SQL update: two diffs left, in family and place
...
svn: r12935
2009-08-09 17:40:36 +00:00
Doug Blank
778cc935e9
SQL import/export complete except for source repos, and datamap
...
svn: r12932
2009-08-09 08:01:51 +00:00
Doug Blank
78530fae2e
Very close to having the SQL import/export done
...
svn: r12930
2009-08-09 04:14:33 +00:00
Doug Blank
24750e0272
Nearing completition; most data is pulled out of the SQL db, now I need to get the relations fixed
...
svn: r12918
2009-08-08 04:18:34 +00:00
Doug Blank
f3a7e259e5
SQL Export/Import about 30% done: Notes are complete. People and Events close. The rest still to check.
...
svn: r12917
2009-08-07 22:32:30 +00:00
Doug Blank
9b8d97455f
Work in progress towards SQL importer
...
svn: r12915
2009-08-07 13:01:36 +00:00
Doug Blank
22c68abd6e
Bug #3097 : Dates parsed after a .gw import should not use Julian calendar; Changed None to 0
...
svn: r12822
2009-07-20 06:48:40 +00:00
Doug Blank
acfb0c8344
Changed set_wife_handle to set_mother_handle
...
svn: r12821
2009-07-20 06:28:55 +00:00
Gerald Britton
181c0c9b41
Replace get_place_handles with iter_place_handles
...
svn: r12778
2009-07-08 18:11:02 +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
d66632812f
ImportGrdb.py: Remove duplication from derived classes
...
svn: r12661
2009-06-12 16:18:18 +00:00
Benny Malengier
0aedf53b6b
2847: Trying to import an older Gramps DB fails, delayed commit like rev 12575
...
svn: r12609
2009-06-02 11:53:48 +00:00
Benny Malengier
1edada53d0
3021: When ever try to import a data.gramps from 3/2005, it bombs with errors given here
...
svn: r12574
2009-05-27 09:35:50 +00:00
Gerald Britton
4785ca18b4
Bug 3018: ImportGrdb: reverted 12563 due to missing method in DB
...
svn: r12564
2009-05-22 20:34:05 +00:00
Gerald Britton
c5c0ce7bfb
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12563
2009-05-22 19:27:46 +00:00