Commit Graph

419 Commits

Author SHA1 Message Date
Doug Blank
302781a6b3 Event types know how to abbreviate themselves
svn: r13898
2009-12-23 19:35:18 +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
eb23cfd76f 3467: Exporter returns an error, but it exports fine if we try once more during session
svn: r13892
2009-12-23 11:42:05 +00:00
Doug Blank
172988ff36 Apparently gen.proxy.dbbase and gen.db.dbdir are not needed anymore; edited support files too
svn: r13888
2009-12-22 22:53:25 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
3edeee83f2 Moved fallback functions from Db to gen.utils
svn: r13877
2009-12-21 05:59:47 +00:00
Doug Blank
3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +00:00
Doug Blank
7558a4b8de Moved configmanager code to gen/utils so other parts of gramps can use configman
svn: r13874
2009-12-21 04:41:56 +00:00
Doug Blank
1fdb6c4b2c Removed gen.utils.dbutils
svn: r13873
2009-12-21 04:22:14 +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
c47b494b39 Cleaning up Utils and refactoring common functionality
svn: r13862
2009-12-20 22:21:59 +00:00
Doug Blank
dcb926bf87 Cleaning up Utils and refactoring common functionality
svn: r13860
2009-12-20 22:12:29 +00:00
Doug Blank
7f55894f26 Added is_primary method to EventRoleType
svn: r13859
2009-12-20 19:59:21 +00:00
Brian Matherly
806bd63ca2 Continued work on GEP008: Move GrampsDbUtils/_Backup.py to gen/db/backup.py.
svn: r13856
2009-12-20 04:30:28 +00:00
Doug Blank
9f74bdacce Was adding .svn and subdirectories; this should properly limit subdirs
svn: r13832
2009-12-17 04:02:04 +00:00
Rob G. Healey
224c8c1ffc Fixed error causing crash as per Nick Hall. Corrected tags on libhtmlconst and WebCal.
svn: r13805
2009-12-15 02:50:46 +00:00
Rob G. Healey
426691a2ac Not ready yet and I am out of time for now.
svn: r13801
2009-12-14 12:31:34 +00:00
Rob G. Healey
057e8504c0 Finished exiftype.py Will add it to POTFILES.IN in the afternoon.
svn: r13799
2009-12-14 12:22:17 +00:00
Rob G. Healey
8c5c6a428e Continuation of exiftype. Variables have been completed.
svn: r13798
2009-12-14 10:52:57 +00:00
Rob G. Healey
42d45dfa5c Beginning of extending the media exif tags section.
svn: r13797
2009-12-14 10:01:57 +00:00
Doug Blank
6183947763 Fixed wrong value for 'track' for detached gramplets
svn: r13771
2009-12-12 03:07:19 +00:00
Doug Blank
cc768b3d36 Proper default value for lookup_calendar
svn: r13769
2009-12-11 23:09:02 +00:00
Doug Blank
966ecbf20c Convieniences: get_year_calendar(int) or get_year_calendar(name); date.to_calendar(int) or to_calendar(name)
svn: r13764
2009-12-11 15:17:39 +00:00
Doug Blank
b1e51013e6 Updated date_test to test swedish dates more
svn: r13763
2009-12-11 15:06:21 +00:00
Doug Blank
96737bf442 Refined calendar lookup
svn: r13762
2009-12-11 15:05:29 +00:00
Doug Blank
6d245db5fc Fixed error in get_year_calendar
svn: r13761
2009-12-11 14:27:50 +00:00
Brian Matherly
3dd5506903 Remove unneeded TranslationOption import.
svn: r13759
2009-12-11 12:38:43 +00:00
Brian Matherly
c3546880fc Fix translated dates in Ancestor Report. Currently, dates for other than the current locale will print in ISO format.
svn: r13758
2009-12-11 05:55:30 +00:00
Rob G. Healey
c544e79b22 Fixed event types not being translated in IndividualPages, Events section. Made some spacial alignment in eventtypes.py for better visual aid.
svn: r13748
2009-12-10 00:01:20 +00:00
Doug Blank
f271154b59 Fixes for get_year_calendar
svn: r13743
2009-12-08 12:32:10 +00:00
Doug Blank
4434fd6542 Added convienience method for getting year in the calendar of a date
svn: r13731
2009-12-06 17:34:27 +00:00
Doug Blank
e091da41de Refinements and tests for cancelling processes
svn: r13719
2009-12-06 00:36:10 +00:00
Doug Blank
0c10d47a90 Added a == to match to check more exact matches
svn: r13717
2009-12-05 20:07:53 +00:00
Doug Blank
785184e74f 3339: [Patch] Views get their column display data from db (meta); should get from config ini
svn: r13709
2009-12-05 06:52:53 +00:00
Doug Blank
b876023812 3413: Hidden export plugins still show in list; and rewrote eval() as getattr()
svn: r13708
2009-12-05 06:35:21 +00:00
Doug Blank
7fbdff5e0d 3352: Confusion in creating multiple views of same type and selecting them; see tracker for more details
svn: r13705
2009-12-05 04:38:31 +00:00
Gerald Britton
288a20f62d Small simplifications
svn: r13676
2009-11-26 19:53:52 +00:00
Doug Blank
d004430882 Fixed error in computing days of a date diff span
svn: r13661
2009-11-23 01:54:44 +00:00
Benny Malengier
5b1038a2a9 3269: Export privacy switch toggles inclusion of source page data
svn: r13639
2009-11-19 20:49:52 +00:00
Benny Malengier
1846c513cf 2799: in GEDCOM export, changed timestamp for every single record is 31 DEC 1969
svn: r13630
2009-11-18 22:45:54 +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
Doug Blank
f272ce3dd1 Move gtk-based items out of scope of import for cli
svn: r13599
2009-11-16 22:39:54 +00:00
Benny Malengier
47158f47ac allow forcing a view to be first in category
svn: r13590
2009-11-15 13:49:27 +00:00
Doug Blank
406e46eac9 Added link and underline sections to base and html docgen types; defaults to silent pass so that we can add to other docgen types without breaking anything yet
svn: r13587
2009-11-15 13:15:54 +00:00
Doug Blank
f90c2db4cd Moved src/gen/web to src/web
svn: r13547
2009-11-10 14:23:19 +00:00
Doug Blank
08d8861048 Changes to allow webapp to work out of the box
svn: r13546
2009-11-10 13:10:44 +00:00
Doug Blank
7063d4215c Use gramps const for locations
svn: r13544
2009-11-10 13:04:14 +00:00
Doug Blank
3be59844d4 Test db should not be in svn; removed
svn: r13543
2009-11-10 05:29:10 +00:00
Doug Blank
4ab1467845 New files for gramps webapp; src/data/templates contains html templates, and src/gen/web contains gramps-Django interface
svn: r13542
2009-11-10 05:28:35 +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
1b556586a4 3275: PageView reworking main work by Nick Hall
Moving personview to the new pageview classes, and using a generic 
treebasemodel


svn: r13515
2009-11-07 13:04:45 +00:00
Doug Blank
e80f108688 Removed walking of links
svn: r13509
2009-11-06 15:14:38 +00:00
Doug Blank
aee3e932e1 Added fpath and help_url for plugins
svn: r13500
2009-11-05 11:57:19 +00:00
Doug Blank
8143ef6c18 Added localized gettext for registration code
svn: r13490
2009-11-03 13:42:37 +00:00
Doug Blank
e83e5effc5 Skip hidden directories, and the po and locale system dirs of gramps-addons
svn: r13485
2009-11-03 01:56:27 +00:00
Doug Blank
822586d8a5 Added plugin.fpath to keep track of path; added edit button in plugin window
svn: r13484
2009-11-03 01:39:47 +00:00
Nick Hall
200bacb1f5 Add extra sections to Complete Individual Report
svn: r13481
2009-11-02 14:57:34 +00:00
Doug Blank
d23721d35f Allow plugin manager to follow links (so you can add a link in plugins to a development dir)
svn: r13479
2009-11-01 15:45:53 +00:00
Doug Blank
ba897a8e0f Added __file__ to plugin registration environment (to retrieve addon translations)
svn: r13477
2009-11-01 14:30:56 +00:00
Benny Malengier
ffd61918c4 fix svn properties
svn: r13472
2009-10-31 08:15:10 +00:00
Benny Malengier
61130b11ef 03288: [XML import] Custom family event role type is ignored on Family Events
svn: r13447
2009-10-28 16:15:48 +00:00
Doug Blank
b5e9f4ddf0 Added missing traceback import
svn: r13440
2009-10-28 10:38:57 +00:00
Brian Matherly
fa10edbfd1 Skip hidden directories when registering plugins.
svn: r13429
2009-10-27 01:44:46 +00:00
Doug Blank
bb99cd20b1 Fixed missing expand option on gramplets; added connect/disconnect signal handling; removed signal to update status bar when gramplet doesn't do anything
svn: r13428
2009-10-27 00:27:40 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Doug Blank
7290694c43 Additions for new gen/plug/_grampley.py
svn: r13420
2009-10-25 22:37:32 +00:00
Doug Blank
2e327a10cf Added missing file
svn: r13419
2009-10-25 22:32:34 +00:00
Doug Blank
c8fc4d20dd Added = and == to match for similar and exact text_only date matches
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
6af2d2f30a Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
svn: r13416
2009-10-25 20:29:45 +00:00
Benny Malengier
14dcf94739 3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
svn: r13409
2009-10-25 15:33:50 +00:00
Doug Blank
975e639dd1 Phase 1 conversion of gramplets to new plugin system
svn: r13406
2009-10-25 14:42:47 +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
Benny Malengier
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27:10 +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
40b9c7a7ca Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
svn: r13395
2009-10-23 00:06:14 +00:00
Brian Matherly
4f55365e97 Add translation detection, translation class and report translation option. Leading up to user configurable report translations.
svn: r13391
2009-10-22 04:22:24 +00:00
Doug Blank
c202f43e9b Fixed two errors: simple str(date) now shows alternate newyear day; match with alt newyear day now works correctly
svn: r13390
2009-10-22 04:15:18 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
435aca1e95 Report format type of error
svn: r13307
2009-10-05 12:53:46 +00:00
Doug Blank
86e744cc19 One set of Swedish tests is ok
svn: r13305
2009-10-05 11:21:22 +00:00
Doug Blank
09497d5576 Fixed error in sorting date spans, and refined span comparisons
svn: r13303
2009-10-04 15:13:07 +00:00
Doug Blank
ae4c341777 Fixed error in assert, which revealed some errors in testing Swedish dates
svn: r13302
2009-10-04 15:11:30 +00:00
Gerald Britton
f186d8bce8 fix bug on database errors; remove bsddb transaction for batch operations
svn: r13283
2009-10-01 20:38:23 +00:00
Doug Blank
0c856f59f5 Added get_gedcom_name formatter to Name to allow sharing
svn: r13251
2009-09-26 01:05:08 +00:00
Doug Blank
8883fe0f97 Moved gedcom date constants and functions to gen.lib.date so they can be shared
svn: r13249
2009-09-25 20:45:05 +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
Gerald Britton
311d9b16b9 Silently accept "not found" errors when deleting database files
svn: r13215
2009-09-16 20:31:28 +00:00
Gerald Britton
eb8ef2152b Remove pdb module from filter.py
svn: r13208
2009-09-15 16:05:28 +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
Gerald Britton
d5e48cda06 Change to set logic for reduction in storage (no affect on runtime)
svn: r13190
2009-09-10 18:49:13 +00:00
Gerald Britton
03dc41bff9 Documentation updates
svn: r13183
2009-09-09 14:43:55 +00:00
Gerald Britton
768ea89a0f Remove deprecated method
svn: r13164
2009-09-07 16:22:12 +00:00
Gerald Britton
54d4bf6134 Add function decorator to catch dabatase errors
svn: r13163
2009-09-07 16:19:59 +00:00
Gerald Britton
be1aaf9f7b restore set_name_group_mapping method
svn: r13161
2009-09-05 23:03:31 +00:00
Gerald Britton
06458ae1d7 Remove unused methods
svn: r13159
2009-09-04 17:57:00 +00:00
Gerald Britton
20bfbc8719 add from __future__ import with_statement
svn: r13158
2009-09-04 17:20:37 +00:00
Gerald Britton
ee9f1e82e0 Tweaks to database objects plus initial documentation in rst format
svn: r13157
2009-09-03 19:44:01 +00:00