Commit Graph

93 Commits

Author SHA1 Message Date
Peter Landgren
54dba4fc09 Fix of issue 3007.
svn: r12621
2009-06-03 18:39:24 +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
Gerald Britton
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
0440ca1c2a Bug 2888: gramps.glade: convert from liglade to gtkbuilder -- part 1
svn: r12508
2009-05-06 14:44:22 +00:00
Gary Burton
df3e8413d1 Fix memory leak in DbManager
svn: r12063
2009-02-21 21:04:09 +00:00
Brian Matherly
d96eda6dfe Potential fix for: 0002609: Archive does not work
svn: r11932
2009-02-09 05:10:58 +00:00
Doug Blank
71be10c1bc Protect from crash when attempting to read status of DB
svn: r11623
2009-01-14 03:09:03 +00:00
Brian Matherly
2e9a488e3e Refactor export plugin framework. All importers and exporters are now plugins.
svn: r11243
2008-11-04 04:12:51 +00:00
Peter Landgren
f90d19c254 Fix of issue 2470
svn: r11215
2008-10-29 15:16:43 +00:00
Gary Burton
6f0c3922c9 Keep the archive and extract button visible. Bug #2316.
svn: r10979
2008-08-12 21:05:11 +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
Gary Burton
6e0995d409 Fix rename button. Broken in an earlier revision
svn: r10851
2008-07-09 21:08:36 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
f0101e788a Check if RCS is installed (this is an improvement on r10776)
svn: r10778
2008-06-01 20:57:11 +00:00
Brian Matherly
4e8ef1cb31 0002119: Archiving via RCS does not work in Windows
svn: r10776
2008-06-01 20:37:56 +00:00
Gary Burton
2c2abb6b7c Make sure database version is set when recovering a database
svn: r10608
2008-04-20 20:59:29 +00:00
Doug Blank
069fc653e3 0002019: Proposal to show person count and DB version --- this just adds a new command line flag, -L to show additional details
svn: r10603
2008-04-20 05:48:49 +00:00
Zsolt Foldvari
60bf4fb8d4 Make GUI static (buttons not jumping).
svn: r10555
2008-04-11 21:00:36 +00:00
Zsolt Foldvari
936c08e317 Fix broken database rename function.
svn: r10553
2008-04-11 19:28:00 +00:00
Zsolt Foldvari
1bc022b584 Revert r10548, and disable changing the family tree name by button press.
svn: r10549
2008-04-11 13:12:11 +00:00
Zsolt Foldvari
48876977c8 Handle both single and double click on name column of database treeview.
svn: r10548
2008-04-11 11:50:48 +00:00
Doug Blank
28345ea6ca Oops: remove changes I did not mean to commit
svn: r10537
2008-04-10 01:41:47 +00:00
Doug Blank
ec6efb6a95 Added some temp files to svn ignore
svn: r10536
2008-04-10 01:37:31 +00:00
Zsolt Foldvari
504621b3ba Add missing $Id$ line.
svn: r10490
2008-04-05 22:35:22 +00:00
Zsolt Foldvari
2f918cf16a Use real timestamp instead of 'Never' for newly created DBs.
This is needed because when the DBManager is re-opened after a new DB has been
created the timestamp would replace the 'Never' string anyway without opening
the DB, since now we always have metadata table created.


svn: r10488
2008-04-05 22:30:17 +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
e27422e243 Open and close a new DB right after creation in order to write the DB version
number into it's metadata.


svn: r10482
2008-04-05 21:07:21 +00:00
Gary Burton
e7a6115c91 0001977: Breaking a database lock closes the family tree manager
svn: r10433
2008-03-31 20:52:58 +00:00
Gary Burton
b8e54e6e81 Bug #1909 check to see if database is already open.
svn: r10345
2008-03-19 21:32:01 +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
1f63f72caa 2008-02-27 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DbManager.py: rename glade variable to glade_xml_file

svn: r10132
2008-02-27 19:43:36 +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
Benny Malengier
06cddbfaf7 2008-02-20 Benny Malengier <benny.malengier@gramps-project.org>
* src/DbManager.py: #1725, ENTER, double-click if OK button sensitive only



svn: r10077
2008-02-20 08:13:35 +00:00
Benny Malengier
c307c61670 * src/DbManager.py: #1725, ENTER should behave like double click
2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10071
2008-02-19 21:54:34 +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
Raphael Ackermann
9aee82d6d0 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/EventView.py
	* src/DataViews/FamilyList.py
	* src/DataViews/PedigreeView.py
	* src/DataViews/PersonView.py
	* src/GrampsCfg.py
	* src/Editors/_EditPrimary.py
	* src/DisplayTabs/_EmbeddedList.py
	* src/DisplayTabs/_BackRefList.py
	* src/plugins/RelCalc.py
	* src/QuickReports.py
	* src/Relationship.py
	* src/Selectors/_BaseSelector.py
	* src/GrampsWidgets.py
	* src/DbManager.py
	* src/DisplayState.py
	* src/DisplayModels/_BaseModel.py
	* src/DisplayModels/_PeopleModel.py
	* src/GrampsDbUtils/_GrampsDbWriteXML.py
	* src/gramps_main.py
	* src/Filters/Rules/_MatchesFilterBase.py
	* src/ManagedWindow.py
	pep8 updates. replace ''' with """ for comments
	* src/GrampsDbUtils/_WriteGedcom.py: doc fixes
	added support for exportin source, notes and repos that are not linked to 
	other records.
	0001707: export to gedcom doesn't include source, if source is the only 
	thing in the db 

svn: r10051
2008-02-18 15:52:40 +00:00
Raphael Ackermann
de5edf9f29 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/PersonView.py
	* src/ViewManager.py
	* src/GrampsCfg.py
	* src/plugins/WriteCD.py
	* src/plugins/FindDupes.py
	* src/Merge/_MergePerson.py
	* src/DbManager.py
	* src/ArgHandler.py
	* src/docgen/HtmlDoc.py
	* src/DbLoader.py
	use from QuestionDialog import ErrorDialog etc to bring in line with
	rest of gramps
	* src/Editors/_EditPrimary.py: EditPrimary._uses_duplicate_id() check
	for duplicates and give error dialog if id is already used. #0001347
	* src/Editors/_EditFamily.py: EditFamily.__do_save(), add call to 
	_uses_duplicate_id(). #0001347 

svn: r10046
2008-02-18 10:09:50 +00:00
Benny Malengier
f37918ad3a 2008-01-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py:
	* src/DbManager.py:
	* src/const.py.in: run ./autogen !!
	fix #1445, don't open locked/unrepaired dbs, new option -u to unlock



svn: r9944
2008-01-28 11:16:54 +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
Gary Burton
88ad5f7133 2008-01-21 Gary Burton <gary.burton@zen.co.uk>
* src/DbManager.py: Localise revision last modification dates so that they
	are presented the same as database last modification dates.



svn: r9904
2008-01-21 21:39:23 +00:00
Gary Burton
f274cf4a03 2008-01-19 Gary Burton <gary.burton@zen.co.uk>
* src/GrampsDbUtils/_ReadXML.py: Remove print debugging statements

2008-01-19  Gary Burton <gary.burton@zen.co.uk>
	* src/DbManager.py: Fix date regular expression used to find rcs
	revisions also found in Bug #1622

2008-01-19  Douglas S. Blank  <dblank@cs.brynmawr.edu>
	* src/DbManager.py: Test for missing path. Bug #1622



svn: r9895
2008-01-19 23:45:09 +00:00
Benny Malengier
c5ad2323dc 2008-01-08 Benny Malengier <benny.malengier@gramps-project.org>
Peter Landgren <peter.talken2telia.com>
	* src/DbManager.py: rename check, issue 1562, 1569



svn: r9771
2008-01-09 21:19:36 +00:00
Benny Malengier
080b47bb1a * src/DbManager.py: bug with creation/rename
2008-01-07  Benny Malengier <benny.malengier@gramps-project.org>


svn: r9747
2008-01-07 22:03:57 +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
Benny Malengier
fb60df120a 2007-12-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/ArgHandler.py: better handling of -l
	* src/const.py.in: forgot to commit this, new constants
	* configure.in: remove GrampsDb makefile
	* src/DbManager.py: allow inheriting create_new_db_cli


svn: r9625
2007-12-29 14:47:38 +00:00
Benny Malengier
dc9f03b6c0 2007-12-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: remove unused functions, add alt actions left/right
	* src/GrampsDb: deleted with _GrampsDbWriteXML.py,
		_GrampsDbFactories.py, _GrampsGEDDB.py, _GrampsXMLDB.py,
		__init__.py, Makefile.am, _GrampsInMemDB.py, _GrampsBSDDB.py.
		No more inmemory databases
	* src/GrampsDbUtils: moved here _GrampsDbWriteXML.py and _GrampsBSDDB.py
	* src/plugins/ReadGrdb.py:
	* src/plugins/Checkpoint.py:
	* src/ObjectSelector/_ObjectSelectorWindow.py:
	* src/DbManager.py:
	* src/GrampsDbUtils/_WriteGrdb.py:
	* src/GrampsDbUtils/__init__.py:
	* src/GrampsDbUtils/_GrampsDbWRFactories.py:
	* src/GrampsDbUtils/_WriteXML.py:
	* src/GrampsDbUtils/Makefile.am:
	* src/gramps_main.py:
	* src/RecentFiles.py: recent-files-gramps.xml, don't overwrite 2.2.x data
	* src/ArgHandler.py:
	* src/DbLoader.py: remove unused functions
	* src/Makefile.am:
	* po/POTFILES.in:
	* src/GrampsDbUtils/importdbdir.py: allow import of new database via cli
	Remove inMem Editing, move remaining to DbUtils, fix ArgHandler



svn: r9613
2007-12-28 15:09:01 +00:00
Peter Landgren
a7da42bdc3 Doug's changes are back
svn: r9542
2007-12-20 10:03:05 +00:00
Peter Landgren
49fa15ec27 Update of DbManager for unique renam/name
svn: r9535
2007-12-19 16:39:36 +00:00
Doug Blank
3a10b36866 * src/DbManager.py: I was having some weird issues with the archive
file giving errors about "still in use". With these changes, I haven't
	had it happen... yet. Can't say for certain if these changes fixed it,
	or if there is another cause.

2007-12-17  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9528
2007-12-17 18:43:04 +00:00