Raphael Ackermann
534a306579
2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/DataViews/GrampletView.py
* src/ReportBase/_ReportUtils.py
* src/gen/proxy/private.py
* src/plugins/WebCal.py
* src/plugins/CmdRef.py
* src/Models/_ListCursor.py
* src/Models/_PathCursor.py
PEP 8 fixes. Change
if var == True --> if var
if var is True --> if var
if var == False --> if not var
if var == None --> if var is None
svn: r9994
2008-02-05 00:31:57 +00:00
Gary Burton
2742e8d00b
2008-02-03 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/db/base.py: Functions using the pop function expect a return
value. Bug #1632
svn: r9991
2008-02-03 21:55:03 +00:00
Raphael Ackermann
506eb32637
2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
...
Removed all the __author__, __revision__ and __version__ statements
svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
e67991ebeb
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/ReportBase/_Bibliography.py
* src/ReportBase/_Endnotes.py
* src/GrampsLocale/__init__.py
* src/gen/db/dbconst.py
* src/gen/lib/test/date_test.py
* src/plugins/CalculateEstimatedDates.py
* src/BasicUtils/__init__.py
* src/test/utils_test.py
* src/GrampsDbUtils/importdbdir.py
* po/test/po_test.py
add filename to $Id: $ to allow automatic filling in of svn properties
svn: r9914
2008-01-22 10:17:42 +00:00
Raphael Ackermann
bbe2cc6d4e
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* Everything but src/images/* and src/data/* add correct svn
properties with the commands:
svn propset -R svn:mime-type text/plain src/
svn propset -R svn:eol-style native src/
svn propset -R svn:keywords Id src/
See below why the Id keyword is enough. From svn help propset
svn:keywords - Keywords to be expanded. Valid keywords are:
URL, HeadURL - The URL for the head version of the object.
Author, LastChangedBy - The last person to modify the file.
Date, LastChangedDate - The date/time the object was last modified.
Rev, Revision, - The last revision the object changed.
LastChangedRevision
Id - A compressed summary of the previous
4 keywords.
svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
493c790703
2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/db/dbdir.py
* src/plugins/ChangeNames.py
* src/DisplayModels/_NoteModel.py
* src/GrampsDbUtils/_GrampsBSDDB.py
* src/Filters/SideBar/_MediaSidebarFilter.py
* src/Filters/SideBar/_SidebarFilter.py
* src/Filters/SideBar/_SourceSidebarFilter.py
* src/Filters/SideBar/_EventSidebarFilter.py
* src/Filters/SideBar/_FamilySidebarFilter.py
* src/Filters/SideBar/_PlaceSidebarFilter.py
* src/Filters/SideBar/_NoteSidebarFilter.py
* src/Filters/SideBar/_RepoSidebarFilter.py
* src/Filters/SideBar/_PersonSidebarFilter.py
* src/Filters/Rules/Family/_HasNoteRegexp.py
* src/Filters/Rules/Event/_MatchesSourceFilter.py
* src/Filters/Rules/Event/_HasNoteRegexp.py
* src/Filters/Rules/Event/_MatchesPersonFilter.py
* src/Filters/Rules/_HasTextMatchingRegexpOf.py
* src/Filters/Rules/Place/_MatchesEventFilter.py
* src/Filters/Rules/Person/_HasTextMatchingRegexpOf.py
* src/Filters/Rules/Person/_MatchesEventFilter.py
Pylint fixes.
svn: r9885
2008-01-18 15:51:15 +00:00
Benny Malengier
ccb0b85b15
* src/gen/db/exceptions.py: wrong exception def, bug #1593
...
* src/GrampsDbUtils/_WriteXML.py: correctly catch the exception
* src/GrampsDbUtils/_GrampsDbWriteXML.py: remove double def of xml export
* src/GrampsDbUtils/_GrampsDbWRFactories.py: remove write backend factory
* src/ExportAssistant.py: on fail, do not set success = True
* src/GrampsDbUtils/__init__.py: don't export unused stuff
2008-01-15 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9818
2008-01-15 10:47:25 +00:00
Raphael Ackermann
1abb8df85f
2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/db/dbdir.py: add doc, remove unused variable
* src/GrampsDbUtils/_GrampsBSDDB.py: : add doc, remove unused variable
* src/plugins/AncestorChart.py: cleanup unused vars
* src/plugins/Calendar.py: typo in doc
* src/plugins/ChangeNames.py: cleanup unused vars
* src/plugins/DescendChart.py: cleanup unused vars
* src/plugins/FamilyLines.py: cleanup unused vars
* src/ReportBase/_ReportUtils.py: fix typo in variable Name
svn: r9779
2008-01-11 06:50:46 +00:00
Gary Burton
811f40b5da
* src/DisplayModels/_NoteModel.py:
...
* src/Selectors/_SelectNote.py:
* src/DisplayViews/NoteView.py:
* src/gen/db/base.py:
Change the order of columns on Note View and Select Note dialog. Also
fixed a crash. Bug #1529
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
svn: r9770
2008-01-09 21:15:28 +00:00
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