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
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
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
5fc1618a85
1. Use closures to define iterator methods
...
2. Change sorts on people and places to work like other sorts
svn: r13149
2009-09-01 17:46:08 +00:00
Gerald Britton
00d6b8cd50
Fix write.py to do imports from gen.db
...
svn: r13148
2009-09-01 17:43:54 +00:00
Gerald Britton
4e8f59c4bd
grampsdbtxn.py module renamed to txn.py
...
svn: r13141
2009-08-31 19:07:41 +00:00
Gerald Britton
03ee012325
Implement performance-enhanced proxy databases
...
svn: r13140
2009-08-31 18:43:05 +00:00
Gerald Britton
1587cb8ad1
Implement restructured database objects
...
svn: r13139
2009-08-31 18:42:29 +00:00
Benny Malengier
43663bbee7
Start with fix up of connects to db in relationview.
...
Fix calling method of signals to a shorter algorithm based on lambda
func
svn: r13115
2009-08-24 21:44:15 +00:00
Gerald Britton
ae404f496f
Latest updates to new modules
...
svn: r13101
2009-08-21 20:06:11 +00:00
Peter Landgren
6966e7211a
unicode text must be sliced correctly.
...
svn: r13089
2009-08-20 12:40:38 +00:00
Benny Malengier
5700f6ab66
2863: Wrong row when dropping on embedded list
...
This patch makes sure open of old database shows correct columns, and
adds ... if several main participants
svn: r13085
2009-08-20 09:31:10 +00:00
Benny Malengier
5f0c935256
2773: Primary participant(s) in Events View
...
svn: r13083
2009-08-19 22:27:06 +00:00
Gerald Britton
5b8bc47bce
Update makefile to add new modules
...
svn: r13080
2009-08-19 20:30:40 +00:00
Gerald Britton
b4b9675feb
cursor.py -- add additional methods mirroring those in DBCursor and a getattr method to pass through non-overridden method calls to DBCursor
...
svn: r13079
2009-08-19 17:14:32 +00:00
Gerald Britton
c8f7bf0c69
Add new modules to support restructured database objects
...
bsddbtxn.py -- Wrapper for BSDDB DBTxn to support context manager protocol
txn.py -- GrampsDbTxn class to manage atomic transactions
write.py -- GrampsDbWrite class for read/write databases
read.py -- GrampsDbRead class for read-only databases
undoredo.py -- GrampsDbUndo class to manage the undo database
upgrade.py -- Helper module for upgrading a database at open time
svn: r13078
2009-08-19 17:05:39 +00:00
Raphael Ackermann
30d6eebd0b
0002542: Crash whilst generating web pages from command line
...
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.
svn: r13004
2009-08-14 07:14:25 +00:00
Raphael Ackermann
55730240f5
add missing import
...
svn: r13002
2009-08-14 07:07:55 +00:00
Raphael Ackermann
cf5ee9d657
pep8 & typos
...
svn: r13001
2009-08-14 07:07:10 +00:00
Raphael Ackermann
c1be765f7a
fixed typos
...
svn: r12984
2009-08-13 08:52:05 +00:00
Raphael Ackermann
5ac76d658b
0002832: Somes modules still use Relib reference on docstring
...
patch by romjerome
fixed wrong doc string in srcref.py
svn: r12949
2009-08-10 19:46:24 +00:00
Raphael Ackermann
7bb8efc479
0003102: Can't run Narrative Website report
...
Added checks for NoneType Objects.
pep8 fixes
svn: r12939
2009-08-09 22:46:55 +00:00
Raphael Ackermann
b33a53e487
fixed typos
...
svn: r12937
2009-08-09 22:43:43 +00:00
Raphael Ackermann
65f72560d1
pep8 fixes
...
fixing typos
svn: r12934
2009-08-09 17:09:32 +00:00
Raphael Ackermann
28c404be58
typos & doc string formatting
...
svn: r12925
2009-08-08 19:11:39 +00:00
Raphael Ackermann
f6409fe94f
fixed typos
...
svn: r12924
2009-08-08 19:10:36 +00:00
Raphael Ackermann
eeac507a40
cleanup (typos, docs, indentation)
...
svn: r12921
2009-08-08 15:52:12 +00:00
Doug Blank
dd1f4f0b26
Added a convienence method __len__ for cursors; you can remove if you don't like
...
svn: r12912
2009-08-07 09:11:13 +00:00
Benny Malengier
ee69317b62
Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open
...
Introduces the concept of callman.py as one single way to follow handles an
interface is interested in.
dbguielement.py contains a small base class using that, usable for all windows/
guielements that need to track database changes to handles
svn: r12881
2009-08-05 10:32:05 +00:00
Doug Blank
d5a9ffe96a
Made StyledTextTag a new-style class by extending object; allows to work with older python's too
...
svn: r12859
2009-08-02 05:25:37 +00:00
Doug Blank
8a7296920f
Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
...
svn: r12847
2009-07-29 03:28:05 +00:00
Benny Malengier
cf506f544e
fix make install failing
...
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
2a365f4d99
improve docstrings
...
svn: r12797
2009-07-15 09:16:39 +00:00
Gary Burton
6c855de785
Fix a variety of memory leaks around the PeopleView and model
...
svn: r12791
2009-07-12 19:45:17 +00:00
Gerald Britton
d45f5970fb
add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
...
svn: r12790
2009-07-11 20:11:37 +00:00
Gary Burton
1460750b24
Add missing source_predicate method and doc strings
...
svn: r12787
2009-07-11 15:35:36 +00:00
Gary Burton
215aeb4667
Fix incorrect method name
...
svn: r12786
2009-07-11 15:32:37 +00:00
Gerald Britton
b221f428bf
proxybase tweak to default predicate to None
...
svn: r12784
2009-07-11 04:02:28 +00:00
Gerald Britton
56c79b6fa4
Proxy databases:
...
1. Provide default methods in proxybase.py for get_<object>_handles and iter_<object>_handles
2. Implement callouts in iter_<object>_handles to determine if handles should be included or not
3. Added new methods to dbbase.py raising NotImplementedError for the new iter_<object>_handles methods
4. Implemented new methods in living.py, private.py and referenced.py
5. Changed filter.py to use iter_person_handles instead of get_person_handles
6. Removed duplicate methods from children of ProxyDbBase
svn: r12783
2009-07-10 19:24:43 +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
Gerald Britton
f680992d04
Tweaks
...
svn: r12775
2009-07-08 16:10:13 +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
Benny Malengier
dddcb10dd3
docstring update
...
svn: r12758
2009-07-03 09:23:07 +00:00
Gerald Britton
873f830306
Tweak
...
svn: r12757
2009-07-03 00:29:52 +00:00
Gerald Britton
c919910cca
Tweaks to replace for loops with built-in functions and list comprehensions
...
svn: r12756
2009-07-02 20:01:28 +00:00
Benny Malengier
2b2f132d8c
add ldsordbase to api doc
...
svn: r12753
2009-07-02 08:28:29 +00:00
Gerald Britton
0351c2e6ca
GrampsType: Avoid retranslating literal strings; rearrange metaclass code
...
svn: r12742
2009-06-30 18:29:45 +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
Gerald Britton
fdfacd972c
Minor tweaks to use slices instead of lists of items
...
svn: r12705
2009-06-25 13:41:16 +00:00
Benny Malengier
a52bc62be9
2691: Create api documentation with sphinx
...
svn: r12704
2009-06-24 21:56:07 +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
035096e5b2
Add iterator and context manager methods to GrampsCursor object and use them in GrampsDbBase and GrampsDBDir.
...
svn: r12660
2009-06-12 16:17:07 +00:00
Benny Malengier
a177da80b0
2707: Add markup notes to html output
...
Part 2: enable css, clean up code.
TODO: better output, support in default css files, test
svn: r12644
2009-06-08 23:19:37 +00:00
Benny Malengier
542b1e404d
02707: Add markup notes to html output
...
part 1: remove template from html output
svn: r12631
2009-06-06 09:49:40 +00:00
Gerald Britton
8584798916
person.py: minor performance improvements
...
svn: r12625
2009-06-04 19:00:51 +00:00
Peter Landgren
581b33524e
Fix of issue 3007.
...
svn: r12622
2009-06-03 18:40:10 +00:00
Benny Malengier
142e7e4970
move latexbackend into PdfDoc
...
svn: r12614
2009-06-02 18:42:41 +00:00
Brian Matherly
aa800b3ad6
Misc PEP8 cleanup.
...
svn: r12610
2009-06-02 12:09:34 +00:00
Brian Matherly
4ca984bd2f
0003033: const dependence in gen/plug/docgen stylesheet
...
svn: r12608
2009-06-02 11:50:17 +00:00
Benny Malengier
a0b1965c24
remove wrong commit of makefiles
...
svn: r12604
2009-05-31 15:01:58 +00:00
Benny Malengier
fb3ec68c6a
part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
...
update build system
svn: r12603
2009-05-31 14:59:56 +00:00
Rob G. Healey
5ed724970b
Added the Makefiles for those two directories: src/gen/plug/docgen and src/gen/plug/docbackend.
...
svn: r12599
2009-05-31 03:50:28 +00:00
Benny Malengier
7f6ca2aa45
update Makefiles and po, add not committed __init__ to import docgen module
...
svn: r12592
2009-05-29 22:41:26 +00:00
Benny Malengier
8dd7adc607
part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
...
that was missing in part 1
Still to come: makefiles and splitting new basedoc.py in small files
svn: r12591
2009-05-29 22:25:44 +00:00
Gerald Britton
220873d92e
Bug 3030: ID formats not properly verified
...
svn: r12587
2009-05-29 17:09:09 +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
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
Benny Malengier
068b3157f0
2995: Unable to produce Narrated Web Site using filter and privacy settings
...
svn: r12551
2009-05-20 10:18:20 +00:00
Gerald Britton
e3bd5d1e69
Fix ownereditor popup menu handling
...
svn: r12550
2009-05-19 20:07:00 +00:00
Benny Malengier
b5f8ec1717
2995: Unable to produce Narrated Web Site using filter and privacy settings
...
svn: r12543
2009-05-19 08:43:51 +00:00
Benny Malengier
53716bdca0
2942: Note in Family eventref not referenced, also source of attribute of family eventref
...
svn: r12535
2009-05-18 14:02:13 +00:00
Doug Blank
29d55c10d0
added http:// if missing scheme
...
svn: r12510
2009-05-06 22:06:12 +00:00
Doug Blank
6ebd0b0a77
Added two methods: parse_path and get_full_path, but the Url class will need to be enhanced and refined to be more useful for web development
...
svn: r12506
2009-05-06 13:11:31 +00:00
Brian Matherly
c56c25b932
Add DocGenPlugin to be used to register all docgen plugins. This replaces the array of variables which was more difficult to read.
...
svn: r12359
2009-03-19 02:24:29 +00:00
Brian Matherly
0214b842cd
Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
...
svn: r12351
2009-03-16 04:22:12 +00:00
Doug Blank
cf03cf4b23
2792: Dates in sourcereferences in person_ref_list not upgraded; this fixes the missing conversion in child-ref-list
...
svn: r12286
2009-03-09 19:49:51 +00:00
Doug Blank
0e6d1d8496
2792: Dates in sourcereferences in person_ref_list not upgraded; hack to be removed in future
...
svn: r12271
2009-03-09 14:10:51 +00:00
Doug Blank
a858c2a9b0
2792: Dates in sourcereferences in person_ref_list not upgraded
...
svn: r12265
2009-03-09 11:39:58 +00:00
Jérôme Rapinat
160b4e3c6f
#2746 : Translation problem in calendar names (by Janne Kovesjärvi)
...
svn: r12126
2009-02-26 09:13:50 +00:00
Jérôme Rapinat
82787f0413
2702: Date Conversions to and from French Republican was broken
...
svn: r11995
2009-02-15 15:10:15 +00:00
Peter Landgren
a34cf168f3
Working now with all keywords in English.
...
svn: r11963
2009-02-11 13:14:56 +00:00
Peter Landgren
e3ae9deb76
Added tests for Swedish calendar
...
svn: r11962
2009-02-11 08:32:54 +00:00
Raphael Ackermann
baef4d76a4
fixed indentation issues and mix of tabs and spaces.
...
svn: r11943
2009-02-09 23:37:40 +00:00
Doug Blank
ef066a3b6a
Feature #2393 : Allow the use of user-defined (mega)-widgets by MD Nauta; added register_option()
...
svn: r11861
2009-02-05 02:23:46 +00:00
Doug Blank
9eac556fca
Removed problem method set(): Bug #2669 : Note editor does not retain marker
...
svn: r11844
2009-02-04 12:51:34 +00:00
Benny Malengier
829d78b611
New mapservice plugin structure, as a general solution to #2659
...
* configure.in
* src/DataViews/PlaceView.py
* src/Config/_GrampsConfigKeys.py
* src/gen/plug/_manager.py
* src/plugins/mapservices
* src/plugins/mapservices/googlemap.py
* src/plugins/mapservices/openstreetmap.py
* src/plugins/lib/Makefile.am
* src/plugins/lib/libmapservice.py
* src/plugins/Makefile.am
* src/widgets/menutoolbuttonaction.py
* src/widgets/Makefile.am
* src/PageView.py
* po/POTFILES.in
svn: r11811
2009-02-02 21:55:22 +00:00
Jérôme Rapinat
40d99c2b4e
revert changes, using ngettext
...
svn: r11761
2009-01-30 10:36:23 +00:00
Brian Matherly
497e8d8233
Add support for plugin "libraries" that do not specifically tie into the plugin system and can be imported by other plugins.
...
svn: r11758
2009-01-30 02:16:00 +00:00
Jérôme Rapinat
d1918cc259
mistakes on context
...
svn: r11715
2009-01-25 13:11:27 +00:00