Peter Landgren
581b33524e
Fix of issue 3007.
...
svn: r12622
2009-06-03 18:40:10 +00:00
Gerald Britton
220873d92e
Bug 3030: ID formats not properly verified
...
svn: r12587
2009-05-29 17:09:09 +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
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
a858c2a9b0
2792: Dates in sourcereferences in person_ref_list not upgraded
...
svn: r12265
2009-03-09 11:39:58 +00:00
Doug Blank
6d50c002fe
Upgrade of source, place, and media tables.
...
svn: r11710
2009-01-25 02:29:05 +00:00
Doug Blank
983f6d3e71
Added new signal to database: home-person-changed, which is emitted when the default person is set
...
svn: r11534
2008-12-29 14:13:44 +00:00
Doug Blank
9aa7bc6030
Fixed some missed dates in conversion from 13 to 14
...
svn: r11447
2008-12-08 13:15:40 +00:00
Doug Blank
8a690810fc
Continued attempted fix for BSDDB new methods and attributes
...
svn: r11360
2008-11-29 12:53:00 +00:00
Doug Blank
f067bf6e2c
Changes with Python 2.5.2 and BSDDB are more subtle---seems to require checking both Python and BSDDB versions. This involves a method name change, and a flag name change.
...
svn: r11354
2008-11-28 04:28:10 +00:00
Peter Landgren
2876068bdf
Fix of issue 2504, sorting in WinXP.
...
svn: r11332
2008-11-21 15:26:26 +00:00
Benny Malengier
7424433a69
0002483: Gramps crashes while loading database, always.
...
Patch of Josip, support bsddb >= 4.7
svn: r11297
2008-11-13 08:28:32 +00:00
Brian Matherly
dfd426e5ca
Move the contents of "_GrampsBSDDB.py" into "ReadGrdb.py" because that is the only place it is used. Then, rename "ReadGrdb.py" to "plugins/ImportGrdb.py" for consistency. Also clean up misc import related code.
...
svn: r11173
2008-10-21 04:22:45 +00:00
Brian Matherly
8e8f37d5d3
Create a new plugin class for Import plugins.
...
svn: r11142
2008-10-14 02:34:28 +00:00
Gary Burton
e68981fb69
Crash caused by change made in bug #2289 . Reversing change.
...
svn: r10929
2008-07-26 20:58:43 +00:00
Gerald Britton
437bde6e5c
Revert 10874 changes to base.py and _FilterParser.py
...
svn: r10877
2008-07-18 13:15:15 +00:00
Gerald Britton
49316e07e8
Revert 10874 changes to dbdir.py and _GrampsBSDDB.py
...
svn: r10875
2008-07-17 21:03:26 +00:00
Gerald Britton
882199f1c2
Replace dict.has_key(x) with x in dict for performance gain
...
svn: r10874
2008-07-17 18:10:32 +00:00
Gerald Britton
6037e9fdd4
Replace lambdas with list comprehensions
...
svn: r10843
2008-07-04 17:27:51 +00:00
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Doug Blank
2098a01f8d
refactored SimpleTable; QuickReports can return values; date diffs return Span
...
svn: r10578
2008-04-18 01:09:32 +00:00
Doug Blank
e410f04c7a
Removed extra line from a previous aborted refactor
...
svn: r10539
2008-04-10 02:01:47 +00:00
Doug Blank
dbf925c63e
0002041: show dialog if db version too high; ask question to upgrade the db version
...
svn: r10535
2008-04-10 01:15:12 +00:00
Doug Blank
d4311078f0
Added an integer newyear code to all dates, db version 14
...
svn: r10521
2008-04-08 04:24:18 +00:00
Doug Blank
2ac01bfcc7
Undo db update... missed many dates; reworking upgrade
...
svn: r10499
2008-04-06 12:20:33 +00:00
Doug Blank
1644727587
Upgrade the database some more for version 14: new int on dates for newyear
...
svn: r10495
2008-04-06 03:43:24 +00:00
Zsolt Foldvari
abbd6781c1
Reverting change from r10429, because metadata is now always set after DB creation.
...
svn: r10486
2008-04-05 22:02:59 +00:00
Zsolt Foldvari
311278e6a8
Method 'write_version' is created instead of loading the db after creation.
...
svn: r10484
2008-04-05 21:47:49 +00:00
Zsolt Foldvari
0cc320ac90
When new db was created metadata still contained no information, thus in
...
dbdir.GrampsDBDir.__load the version check failed.
svn: r10429
2008-03-31 16:46:00 +00:00
Doug Blank
02b110a2b0
Missing space in db error
...
svn: r10419
2008-03-29 20:54:04 +00:00
Zsolt Foldvari
1c2ec7559b
Fix #0001991 : supported database versions checked properly.
...
svn: r10417
2008-03-29 19:59:33 +00:00
Zsolt Foldvari
0542a9b78c
Introducing StyledText in Notes.
...
svn: r10410
2008-03-28 23:22:46 +00:00
Benny Malengier
957239950d
2008-03-09 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/base.py: add docstring to find functions, #1866
* src/gen/db/dbdir.py: add docstring to find functions, #1866
svn: r10236
2008-03-09 18:10:13 +00:00
Gary Burton
34cf711351
2008-03-02 Gary Burton <gary.burton@zen.co.uk>
...
* src/GrampsCfg.py:
* src/Config/_GrampsConfigKeys.py:
* src/gen/db/dbdir.py:
* src/DbManager.py:
* src/DbLoader.py: Gramps databases run with transactions enabled. The
option to switch off transactions is now removed. The "transactions" and
"port_warn" settings are ignored in the config file.
svn: r10169
2008-03-02 21:34:51 +00:00
Benny Malengier
b1561e5f78
2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/ViewManager.py: allow for info dialog after import
* src/gen/db/base.py: find returns if new object or not
* src/gen/db/dbdir.py: find returns if new object or not
* src/plugins/ImportGeneWeb.py: allow multiple mime types
* src/plugins/ImportvCard.py: allow multiple mime types
* src/plugins/ReadGrdb.py: allow multiple mime types
* src/plugins/ReadPkg.py: allow multiple mime types
* src/plugins/ImportCSV.py: allow multiple mime types
* src/DbManager.py: use family tree string, not database
* src/glade/gramps.glade: add info dialog
* src/QuestionDialog.py: add info dialog, clean up set transient errors
* src/GrampsDbUtils/_GrampsDbWriteXML.py: improve comment
* src/GrampsDbUtils/_ReadXML.py: fix change dates problems, fix
creation of empty objects in bookmarks, add info dialog, clean up
relative media import, remove unneeded parameters
* src/GrampsDbUtils/_GrampsDbWRFactories.py:
* src/GrampsDbUtils/_GrampsBSDDB.py: allow multiple mime types
* src/DbLoader.py: fix up import filters and some mime type issues
svn: r10138
2008-02-28 22:32:40 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
5f375b106f
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* ViewManager.py
* gen/db/iterator.py
* gen/db/base.py
* gen/db/dbconst.py
* gen/db/cursor.py
* gen/db/__init__.py
* gen/db/exceptions.py
* gen/db/dbdir.py
* gen/lib/srcbase.py
* gen/callback: deleted unused directory
* plugins/ReorderIds.py:
pylint and pep8 doc fixes
svn: r10099
2008-02-23 08:38:55 +00:00
Don Allingham
d45a676492
2008-02-20 Don Allingham <don@gramps-project.org>
...
* src/GrampsCfg.py: refactoring
* src/gen/utils/test/callback_test.py: refactoring
* src/gen/utils/callback.py: refactoring
* src/gen/utils/longop.py: refactoring
* src/gen/utils/__init__.py: refactoring
* src/gen/db/base.py: refactoring
* src/gen/Makefile.am: refactoring
* src/DisplayState.py: refactoring
* src/DbState.py: refactoring
* src/PluginUtils/_MenuOptions.py: refactoring
* src/ListModel.py: refactoring
* src/BaseDoc.py: refactoring
svn: r10086
2008-02-21 04:58:56 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +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
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
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
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