Raphael Ackermann
2857943955
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> From PEP8 Always use 'self' for the first argument to instance methods.
...
svn: r9767
2008-01-09 16:47:56 +00:00
Raphael Ackermann
b7c7952058
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
...
svn: r9760
2008-01-09 06:45:15 +00:00
James G Sack
fb025aa2bd
add comment about int4entional undefined function
...
svn: r9755
2008-01-08 21:45:06 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
Doug Blank
e226c06de6
2008-01-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py (Date.__sub__): fixed date differences
* src/Simple/_SimpleTable.py: removed frame around textview
svn: r9709
2008-01-05 03:02:56 +00:00
Doug Blank
1e3ce27007
2008-01-03 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/ReportBase/_Constants.py: added QR_NOTE, QR_DATE
* src/gen/lib/date.py: working on date math
* src/plugins/AgeOnDate.py: new Quick View for age on date
* src/plugins/DefaultGadgets.py: added Age on Date gadget
* src/QuickReports.py: new constants
* src/Simple/_SimpleTable.py: handle sort columns
svn: r9698
2008-01-03 14:18:18 +00:00
Doug Blank
3295364aa2
Date arithmetic typo
...
svn: r9668
2007-12-31 23:26:50 +00:00
Doug Blank
a066962d6a
Date arithmetic typo
...
svn: r9667
2007-12-31 23:26:12 +00:00
Gary Burton
cfbcdce095
* src/gen/db/base.py: added missing key for reference_key in mapbase and
...
_SIGBASE. Was preventing deleted notes being undone. Bug #1507 .
2007-12-31 Gary Burton <gary.burton@zen.co.uk>
svn: r9664
2007-12-31 21:57:54 +00:00
Doug Blank
0cd7a685d6
Fixed date arithmetic
...
svn: r9662
2007-12-31 21:23:48 +00:00
Doug Blank
70a02003ba
Date arithmetic
...
svn: r9658
2007-12-31 16:43:58 +00:00
James G Sack
7216c72509
fix confusing dup function name (fn -> fn3)
...
svn: r9618
2007-12-29 03:00:46 +00:00
Brian Matherly
85fd9a2d1b
src/Config/_GrampsConfigKeys.py: Better default for report output.
...
src/gen/db/dbconst.py: Remove constants that are duplicated in const.py.
src/GrampsDb/_GrampsBSDDB.py: Use ENV_DIR from const.py.
svn: r9601
2007-12-27 21:44:15 +00:00
Benny Malengier
886e3299e4
2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/lib/person.py: sources in attributes of eventref are not seen
in ref tables
* src/gen/lib/eventref.py: can contain sources, add methods for that
* src/gen/lib/notebase.py: whitespace
* src/plugins/Check.py: low level check of repo table, add check to
clean up referenced but not existing repos
svn: r9532
2007-12-19 09:47:17 +00:00
Benny Malengier
00511a133f
2007-12-14 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/Editors/_EditEvent.py: first attribute tab THEN backref
* src/DisplayTabs/_BackRefList.py: whitespace change
* src/gen/lib/repo.py: correct error with source backref too
* src/gen/lib/personref.py:
* src/gen/lib/mediaref.py:
* src/gen/lib/childref.py:
* src/gen/lib/place.py:
* src/gen/lib/address.py:
* src/gen/lib/src.py:
* src/gen/lib/person.py:
* src/gen/lib/mediaobj.py:
* src/gen/lib/eventref.py:
* src/gen/lib/name.py:
* src/gen/lib/family.py:
* src/gen/lib/event.py:
* src/gen/lib/ldsord.py:
Add get_note_child_list method to allow recursive deletion of notes in
child objects
* src/gen/lib/notebase.py: add remove_note that recursively searches
in the child secondary objects
* src/plugins/Check.py: fix broken note links, fix broken repo-source link
svn: r9507
2007-12-14 22:18:19 +00:00
Benny Malengier
283678e47e
2007-12-10 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/lib/notebase.py: change comment string
* src/gen/lib/person.py: change comment string
* src/gen/lib/event.py: add attr to list of sec objects, bug #1318
svn: r9481
2007-12-10 21:44:09 +00:00
Benny Malengier
30e224ff35
* src/gen/db/dbdir.py: always use db.DB_RECOVER
...
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9475
2007-12-09 22:27:24 +00:00
Benny Malengier
c4bf352d49
* src/gen/db/dbdir.py: rebuild ref map correctly, bug #1421
...
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9466
2007-12-09 15:56:01 +00:00
Benny Malengier
027036a8c5
2007-12-09 Benny Malengier <benny.malengier@gramps-project.org>
...
Add support for name grouping import/export
* src/GrampsDb/_GrampsDbWriteXML.py: write group table out
* src/GrampsDb/_GrampsBSDDB.py: group table is no sec table, init it
together with primary tables!
* src/gen/db/base.py: obtain grouping keys
* src/gen/db/dbdir.py: group table is no sec table, init it
together with primary tables!
* src/gen/utils/dbutils.py: grdb -> grdb copy of grouping table,
copy mediapath.
* src/gen/proxy/proxybase.py: obtain grouping keys, add missing
bookmark methods
* src/gen/proxy/dbbase.py: add obtain grouping keys method
* src/GrampsDbUtils/_ReadXML.py: read in group table
* src/plugins/ReadGrdb.py: read in group table
svn: r9464
2007-12-09 10:18:59 +00:00
Benny Malengier
e6e33b8934
* src/gen/proxy/proxybase.py: remove unneeded assign
...
2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9443
2007-12-04 20:32:55 +00:00
Benny Malengier
490a3957f1
2007-12-04 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/proxy/proxybase.py: add mediapath get
* src/gen/proxy/dbbase.py: add mediapath methods
svn: r9442
2007-12-04 17:06:45 +00:00
Doug Blank
ea61a85402
2007-12-02 Douglas S.Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py: added new method copy_ymd()
* src/plugins/CalculateEstimatedDates.py: new tool based on
MenuOptions: calculates estimated dates
* src/PluginUtils/_PluginWindows.py: refactoring, cleanup
* po/POTFILES.in: renamed PluginStatus.py -> PluginWindows.py
svn: r9438
2007-12-02 18:41:21 +00:00
Benny Malengier
d1b65054a9
2007-11-30 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/GrampsCfg.py: rel media path entry box
* src/gen/db/base.py: methods for access
* src/gen/db/dbdir.py: storage in BSDDB
* src/GrampsDb/_GrampsDbWriteXML.py: write in header
* src/GrampsDbUtils/_ReadXML.py: read relative path
Start of adding relative media path to database
svn: r9435
2007-11-30 23:50:05 +00:00
Benny Malengier
8d64c728fc
2007-11-29 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/DataViews/_RepositoryView.py:
* src/gen/db/base.py:
* src/DisplayModels/_RepositoryModel.py:
Added a change column in repoview, model, database column storage
svn: r9432
2007-11-29 14:02:22 +00:00
Benny Malengier
e8f08492bc
2007-11-28 Benny Malengier <benny.malengier@gramps-project.org>
...
* example/gramps/example.gramps: correct 3.0 example.gramps, stext is
no longer used, xml no longer sorted on id on ouput.
* src/gen/db/base.py: remove test code from Don
svn: r9421
2007-11-28 09:24:00 +00:00
James G Sack
db81451083
make date_test regrtest-compatible, minor tweak to regrtest
...
svn: r9404
2007-11-26 01:15:56 +00:00
Benny Malengier
ac82ef8754
2007-11-25 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/lib/notetype.py: type report, citation
* src/plugins/NarrativeWeb.py: new selection of home note & home media
* src/GrampsWidgets.py: NoteEntry, MediaEntry
I intend to change the other note selectors likewise next.
svn: r9403
2007-11-25 19:07:50 +00:00
Doug Blank
5fdffbe292
* src/gen/lib/date.py: refer to Config values via Config.get()
...
* src/gen/lib/test/date_test.py: set Config values before testing
2007-11-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
svn: r9402
2007-11-25 18:13:19 +00:00
Doug Blank
36c73d38b3
2007-11-25 Douglas S.Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/test/date_test.py: turned each test into a case
svn: r9400
2007-11-25 05:16:12 +00:00
Doug Blank
3d2b06a66a
2007-11-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py: had to import calendar by path.name
(so that the import of date_test would work)
* src/gen/lib/test: new test directory
* src/gen/lib/test/date_test.py: unittests for date.py
svn: r9397
2007-11-24 16:35:57 +00:00
Doug Blank
d6deb0c95b
* src/gen/lib/date.py: added comparison operator for match()
...
* src/Utils.py: uses new match comparison
2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
svn: r9382
2007-11-21 20:05:18 +00:00
Doug Blank
d692868ce0
Fixed error in setting None values
...
svn: r9381
2007-11-21 15:11:14 +00:00
Doug Blank
5975600e6a
typo
...
svn: r9380
2007-11-21 14:55:19 +00:00
Doug Blank
9ee75010b6
2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/Utils.py: probably_alive now takes date rather than year
* src/gen/proxy/living.py: create date from year
* src/gen/lib/date.py: added methods to do date math
and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
* src/plugins/Calendar.py: updated to use probably alive date
* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date
svn: r9379
2007-11-21 14:49:50 +00:00
James G Sack
013b725dc1
add missing gettext import
...
svn: r9307
2007-11-06 08:18:18 +00:00
James G Sack
2adea9a5f5
extract test code to seperate (_test) module
...
svn: r9302
2007-11-06 05:37:29 +00:00
Martin Hawlisch
aa0a835330
* src/gen/lib/Makefile.am, src/gen/db/Makefile.am, src/gen/proxy/Makefile.am, src/gen/utils/Makefile.am: Fix path structure
...
svn: r9295
2007-11-04 20:41:12 +00:00
James G Sack
3ce249d923
CLI fixup: bugs 1331,2,3,4
...
svn: r9286
2007-10-31 21:47:58 +00:00
Gary Burton
5023c4a84f
2007-10-30 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/lib/person.py: setting the death index wrongly.
svn: r9277
2007-10-30 15:07:46 +00:00
Gary Burton
29b974160f
2007-10-29 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/lib/person.py: reset birth and death indexes after deleting
an event. Fixes #1327
svn: r9269
2007-10-29 22:35:52 +00:00
Doug Blank
5d276ee146
2007-10-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py: added method Date.offset(value) -> (y,m,d)
svn: r9200
2007-10-17 04:07:26 +00:00
Don Allingham
4c2e57cb2e
2007-10-12 Don Allingham <don@gramps-project.org>
...
* src/gen/lib/note.py (Note.get): fix typo
svn: r9161
2007-10-12 11:48:28 +00:00
Benny Malengier
1add2aa37b
2007-10-12 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/dbdir.py: do name group change from GrampsBSDDB to dbdir.
svn: r9159
2007-10-12 10:37:19 +00:00
Benny Malengier
a0c9947dbd
2007-10-11 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/base.py: allow check without gid creation on all objects
* src/GrampsDbUtils/_ReadXML.py: on reference read, don't create gid.
This also patches a privacy setting error on placeobj in place tag section
svn: r9151
2007-10-11 22:41:03 +00:00
Don Allingham
a8b10d1092
2007-10-11 Don Allingham <don@gramps-project.org>
...
* src/gen/db/base.py:
* src/GrampsDb_GrampsDbWriteXML.py:
* src/gen/db/__init__.py: fix callback call
svn: r9140
2007-10-11 12:58:16 +00:00
Don Allingham
5c5022e2cd
2007-10-09 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/Makefile.am: update
* src/gen/db/Makefile.am: update
* src/gen/lib/primaryobj.py: remove MarkupText dependency
* src/Makefile.am: remove RelLib
* po/POTFILES.in: update
svn: r9121
2007-10-10 03:41:44 +00:00
Benny Malengier
967ef1c163
2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/base.py: allow not to create gramps_id on add
* src/GrampsDbUtils/_ReadXML.py: on sourceref, don't create gramps_id
* src/GrampsDb/_GrampsInMemDB.py: remove gid from memory map only if not None
svn: r9119
2007-10-09 20:02:02 +00:00
Benny Malengier
f01ae999c3
2007-10-09 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/GrampsDb/_GrampsInMemDB.py: correctly store global name grouping
* src/GrampsDb/_GrampsBSDDB.py: correctly store global name grouping
* src/gen/lib/name.py: allow grouping equal to surname
* src/Editors/_EditName.py: correct handling of name grouping, issue #647
svn: r9116
2007-10-09 13:05:56 +00:00
Don Allingham
99febc759f
* various: cleanup
...
2007-10-08 Don Allingham <don@gramps-project.org>
svn: r9109
2007-10-08 21:19:32 +00:00
Don Allingham
c8d45e8b89
2007-10-08 Don Allingham <don@gramps-project.org>
...
* src/gen/lib/note.py: make independent of MarkupText.py
svn: r9106
2007-10-08 19:45:06 +00:00