Commit Graph

65 Commits

Author SHA1 Message Date
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
Doug Blank
671726bf60 * src/DbManager.py: typo %{}s -> %()s; fixed rcs -q issue
* src/Utils.py: typo %{}s -> %()s 

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


svn: r9521
2007-12-16 17:35:16 +00:00
Doug Blank
10d24dd35f * src/DbManager.py: fixed issue in breaking lock on lock
which has already been removed

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


svn: r9485
2007-12-11 00:04:38 +00:00
Benny Malengier
c1d399a435 2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/DbManager.py: issue #1325, localize last date of change



svn: r9264
2007-10-29 09:41:12 +00:00
Don Allingham
992322d9b8 2007-09-10 Don Allingham <don@gramps-project.org>
* src/ThumbNails.py: Added to handle the thumbnailing routines
	* src/DataViews/_MediaView.py: thumbnail updates
	* src/DataViews/_PedigreeView.py: thumbnail updates
	* src/DataViews/_RelationView.py: thumbnail updates
	* src/Editors/_EditMediaRef.py: thumbnail updates
	* src/Editors/_EditMedia.py: thumbnail updates
	* src/DisplayTabs/_GalleryTab.py: thumbnail updates
	* src/plugins/WebCal.py: thumbnail updates
	* src/plugins/NarrativeWeb.py: thumbnail updates
	* src/plugins/GraphViz.py: thumbnail updates
	* src/plugins/SimpleBookTitle.py: thumbnail updates
	* src/plugins/FamilyLines.py: thumbnail updates
	* src/DbManager.py: pylint fixes
	* src/ImgManip.py: pull out thumbnail routines

2007-09-08  Benny Malengier  <benny.malengier@gramps-project.org>
	* src/DataViews/_RelationView.py  : expand/collapse, edit button on/off bug fix




svn: r8958
2007-09-10 22:14:33 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +00:00
Don Allingham
325b825ca1 2007-09-01 Don Allingham <don@gramps-project.org>
* src/DbManager.py (check_in): don't expect stdin to be open (#1203)



svn: r8920
2007-09-01 22:08:17 +00:00
Don Allingham
582c56e11e 2007-07-17 Don Allingham <don@gramps-project.org>
* src/Editors/_EditSourceRef.py: remove text tab
	* src/Editors/_EditRepoRef.py: Add privacy to reporef
	* src/Lru.py: pylint
	* src/Selectors/_BaseSelector.py: set sort column
	* src/DbManager.py: clean up of dnd
	* src/glade/gramps.glade: Add privacy to reporef
	* src/DisplayModels/_PeopleModel.py: try to speed up sorts using
	mapper values
	* src/GrampsDbUtils/_GedcomParse.py: handle source text citations
	* src/GrampsDbUtils/_ReadGedcom.py: type check
	* src/GrampsDbUtils/_GedcomLex.py: handle broken conc
	* src/GrampsDbUtils/_WriteGedcom.py: handle source text citations



svn: r8734
2007-07-18 04:17:30 +00:00
Don Allingham
576c4b705f 2007-07-11 Don Allingham <don@gramps-project.org>
* src/DbManager.py (DbManager.__button_press): check for node == None



svn: r8713
2007-07-12 04:24:44 +00:00
Don Allingham
0fa16f7bd2 * src/DbManager.py: Add support for Thunar, which stores the DND
information in a different area (and probably a more correct area) than
	Nautilus.

2007-07-08  Don Allingham  <don@gramps-project.org>


svn: r8709
2007-07-09 01:18:04 +00:00
Don Allingham
8f445b7114 2007-07-08 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle drag-n-drop files in DbManager. Dragging an
	XML or GEDCOM file into the DbManager will create a new database and import
	the file.



svn: r8708
2007-07-08 22:20:10 +00:00
Don Allingham
c0737ebfe3 2007-06-24 Don Allingham <don@gramps-project.org>
* configure.in: add files
	* src/DataViews/_RelationView.py: fix translation argument
	* src/RelLib/Makefile.am: Add missing files
	* src/plugins/Makefile.am: Add missing files
	* src/DbManager.py: fix translation argument
	* src/Utils.py: fix translation argument
	* src/Filters/Rules/Person/Makefile.am: Add missing files
	* src/Makefile.am: Add missing files



svn: r8661
2007-06-25 04:57:53 +00:00
Don Allingham
9fc7370400 2007-06-22 Don Allingham <don@gramps-project.org>
* src/DbManager.py: pylint fixes
	* src/glade/gramps.glade: widen with DbManager window



svn: r8634
2007-06-23 04:31:05 +00:00
Alex Roitman
c70a3c2852 * src/DbManager.py (__rcs): Typo; (find_revisions): Use local
time; (__selection_changed, __rcs): Change label.


svn: r8618
2007-06-21 05:59:19 +00:00
Don Allingham
dfa46b7af4 2007-06-20 Don Allingham <don@gramps-project.org>
* src/DbManager.py: Catch the icons properly
	* src/GrampsDb/_GrampsDBDir.py: catch error on lock file deletion



svn: r8617
2007-06-21 04:55:26 +00:00
Alex Roitman
3f062375f5 * src/DbManager.py (__rcs): Typo.
svn: r8616
2007-06-21 02:18:22 +00:00
Don Allingham
dc360924e6 2007-06-20 Don Allingham <don@gramps-project.org>
* src/DbManager.py: Handle more advanced RCS commands, such as
	rename revisions, checking out a new revision, and breaking locks
	* src/glade/gramps.glade: fix window positioning



svn: r8614
2007-06-20 23:36:09 +00:00
Alex Roitman
72b74e4ae2 checking even if it is identical; fix -t option;
(find_revisions): get the date from rlog;
	(__populate): Use date and comment, not rcs version numbers.
	(__button_press): Fix double-click handling.


svn: r8610
2007-06-20 06:37:09 +00:00
Alex Roitman
ede07988fa 2007-06-19 Alex Roitman <shura@gramps-project.org>
* src/DbManager.py (check_in): Add -f option to ci to force
	checking even if it is identical.

2007-06-19  Alex Roitman  <shura@gramps-project.org>


svn: r8607
2007-06-20 04:53:30 +00:00
Don Allingham
5217058733 2007-06-19 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle RCS init properly, don't use gziped files
	* src/GrampsDbUtils/_WriteXML.py: pass compress argument properly

2007-06-19  Don Allingham  <don@gramps-project.org>
	* src/DbManager.py: parse comment for display in list
	* src/glade/gramps.glade: fix names of buttons on dbmanager



svn: r8606
2007-06-20 04:44:32 +00:00
Don Allingham
28b00c5bab svn: r8605 2007-06-20 03:56:39 +00:00
Brian Matherly
04a41cb464 * src/DbManager.py: make path recursive. Make default db dir consistent.
svn: r8589
2007-06-19 04:27:32 +00:00
Don Allingham
3ec91e149b * src/GrampsDb/_GrampsDBDir.py: revision control check in
* src/DbManager.py: revision control check in
	* src/glade/gramps.glade: revision control check in

2007-06-18  Don Allingham  <don@gramps-project.org>


svn: r8588
2007-06-19 03:59:10 +00:00
Don Allingham
3c84f349af * src/DbManager.py: check for revisions
2007-06-18  Don Allingham  <don@gramps-project.org>


svn: r8585
2007-06-18 23:04:05 +00:00
Don Allingham
b5ce4a2c59 2007-06-18 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDBDir.py: support lock file
	* src/DbManager.py: display locked file message



svn: r8584
2007-06-18 19:33:52 +00:00
Don Allingham
493dfd0aae 2007-06-16 Don Allingham <don@gramps-project.org>
* src/DbManager.py: add user sorting to manager lists



svn: r8570
2007-06-17 03:09:26 +00:00
Don Allingham
7da9ba3e6a * src/GrampsDb/_GrampsDbBase.py: fix typo
* src/GrampsDb/_GrampsDBDir.py: check for writability, otherwise open as readonly
	* src/DbManager.py: use single, user configurable database path
	* data/gramps.schemas.in: set default path to ~/.gramps/grampsdb
	
2007-06-16  Don Allingham  <don@gramps-project.org>


svn: r8566
2007-06-17 00:57:21 +00:00
Don Allingham
9059ddedec 2007-06-16 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: additional database path
	* src/Config/_GrampsConfigKeys.py: additional database path
	* src/DbManager.py: additional database path
	* src/GrampsDbUtils/Makefile.am: additional database path
	* src/Makefile.am: additional database path
	* data/gramps.schemas.in: additional database path



svn: r8563
2007-06-16 23:17:29 +00:00
Don Allingham
9b8759a25b * src/GrampsDbUtils/_Backup.py (__do_export): check for existance before deleting
2007-06-13  Don Allingham  <don@gramps-project.org>


svn: r8548
2007-06-14 04:26:46 +00:00