Peter Landgren
8636acda8e
Fixed another problem with string formatting using {}.
...
svn: r14612
2010-03-04 13:48:49 +00:00
Peter Landgren
7ad1b8563f
Fixed another problem with string formatting using {}.
...
svn: r14611
2010-03-04 13:39:22 +00:00
Peter Landgren
3b1e7d5a36
Typo.
...
svn: r14596
2010-03-03 15:37:30 +00:00
Rob G. Healey
bcedebba64
Fixed an error on line 691-- named variables. Thanks Peter for pointing it out.
...
svn: r14486
2010-02-25 16:53:31 +00:00
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
Gerald Britton
fc90d5fce2
Bug 3018: remove calls to keys() dictionary method where possible
...
svn: r12562
2009-05-22 18:43:40 +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
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
29d53439e1
Bug 2888: ImportGetcom.glade: downgrade requires to 2.12
...
svn: r12466
2009-04-17 16:06:31 +00:00
Gerald Britton
703174b188
Bug 2888: ImportGetcom: convert from liglade to gtkbuilder
...
svn: r12463
2009-04-17 15:07:29 +00:00
Gerald Britton
5c60081622
ExportFtree: fix typo
...
svn: r12462
2009-04-17 14:58:25 +00:00
Benny Malengier
8d080adb2f
2880: old api use in import grdb
...
svn: r12399
2009-03-31 21:21:55 +00:00
Kees Bakker
e04fe91f53
A few more entries in the list of possible month spellings
...
svn: r11977
2009-02-12 20:49:59 +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
Brian Matherly
a356c5aa7c
Move ImportGpkg, ImportXml and ExportXml into their respective directories.
...
svn: r11946
2009-02-10 06:06:14 +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
Kees Bakker
0b0253f6ef
Apply same patch as in branches/gramps30.
...
Process most common (Dutch) surname prefixes.
Date conversion improvement (Dutch month names, etc).
Store patroniem in Patronymic field.
* src/plugins/import/ImportProGen.py
svn: r11735
2009-01-26 20:02:30 +00:00
Jérôme Rapinat
0f2222a380
update french translation
...
svn: r11689
2009-01-22 19:17:01 +00:00
Peter Landgren
a73b2da699
Swedish calendar added.
...
svn: r11665
2009-01-19 20:09:19 +00:00
Brian Matherly
451aaee4f4
Plugins Restructure: Move NarrativeWeb.py plugins into plugins/webreport.
...
svn: r11649
2009-01-17 23:32:20 +00:00
Brian Matherly
6671a8f26e
Plugins Restructure: Move import plugins into plugins/import.
...
svn: r11641
2009-01-17 03:36:19 +00:00