Commit Graph

27 Commits

Author SHA1 Message Date
Nick Hall
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Doug Blank
c4a166af12 Temporary workaround for NAV constants
svn: r13961
2010-01-02 23:51:00 +00:00
Nick Hall
6ae29de4f0 2563: Add signals for all objects when active object changes
svn: r13960
2010-01-02 23:01:43 +00:00
Doug Blank
6cdb8a9406 Add signal for media-changed, and test on mediaview
svn: r13949
2009-12-31 17:03:04 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
1587cb8ad1 Implement restructured database objects
svn: r13139
2009-08-31 18:42:29 +00:00
Benny Malengier
4b7692708c Split CLI from GUI. These changes allow CLI to work without GTK
Part 1. To do: pylint on new files.


svn: r12674
2009-06-18 21:56:37 +00:00
Doug Blank
f18040a0d0 Don't emit signal to change active person if that is already the active person
svn: r12498
2009-04-30 04:40:20 +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
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
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
Brian Matherly
e0543b0644 More updates to better support MenuOptions. FamilyLines seems to work now.
svn: r9634
2007-12-30 05:41:16 +00:00
Don Allingham
f0c2940c04 2007-10-11 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: fix callback references
	* src/DbState.py: fix callback references



svn: r9156
2007-10-12 02:29:45 +00:00
Don Allingham
32d7968365 2007-10-06 Don Allingham <don@gramps-project.org>
* various: creation of gen.db package



svn: r9091
2007-10-07 03:19:35 +00:00
Don Allingham
76e590472f 2007-06-13 Don Allingham <don@gramps-project.org>
* src/DbManager.py: handle broken dbs that have been opened
	* src/DbState.py: handle broken dbs that have been opened
	* src/GrampsDbUtils/_Backup.py: write intermediate file firs to make
	sure no errors occur when writing, then replace old backups

	* src/ViewManager.py: better rebuild recovery
	* src/GrampsDb/_GrampsDbConst.py: better rebuild recovery
	* src/GrampsDb/_GrampsDBCallback.py: better rebuild recovery
	* src/DbManager.py: better rebuild recovery
	* src/glade/gramps.glade: better rebuild recovery
	* src/const.py.in: better rebuild recovery
	* src/QuestionDialog.py: better rebuild recovery
	* src/GrampsDbUtils/_ReadGedcom.py: better rebuild recovery
	* src/ArgHandler.py: better rebuild recovery
	* src/DbLoader.py: better rebuild recovery

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


svn: r8546
2007-06-13 22:48:28 +00:00
Don Allingham
c730a8f5c4 2007-06-12 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsDBDir.py: detection and recovery from db errors
	* src/GrampsDb/_GrampsBSDDB.py: detection and recovery from db errors
	* src/DbManager.py: detection and recovery from db errors
	* src/DbState.py: detection and recovery from db errors
	* src/ArgHandler.py: detection and recovery from db errors



svn: r8539
2007-06-12 23:31:40 +00:00
Don Allingham
263ab79ad9 2007-05-20 Don Allingham <don@gramps-project.org>
* src/Lru.py: pylint fixes
	* src/DisplayState.py: pylint fixes
	* src/Errors.py: pylint fixes
	* src/DbState.py: pylint fixes



svn: r8501
2007-05-21 03:44:18 +00:00
Don Allingham
5580ad12d3 * src/GrampsDb/_GrampsDbBase.py: handle close/delete of active database
* src/DbManager.py: clean up
	* src/DbState.py: issue database-changed signal on db close
	* src/GrampsDbUtils/_GedcomParse.py: fix adding of notes
	* src/DbLoader.py: don't give undo warning if importing into empty db


svn: r8347
2007-04-02 03:56:30 +00:00
Alex Roitman
961a543cda Merge multiple notes branch
svn: r8182
2007-02-20 00:39:10 +00:00
Don Allingham
798a975bce * src/GrampsDb/_GrampsDbBase.py: convert DbState to its own file
* src/GrampsDb/__init__.py: convert DbState to its own file
	* src/DbState.py: convert DbState to its own file
	* src/gramps_main.py: convert DbState to its own file
	* src/Makefile.am: convert DbState to its own file


svn: r8041
2007-02-04 01:18:17 +00:00
Alex Roitman
3338178102 * src/DbState.py: Remove modeule.
* src/DisplayState.py: Rename from DbState, kepp only DisplayState
class.
* src/GrampsDbBase.py: Add DbState class.
* src/MapView.py: Swap zoom_in and zoom_out to reflect reality;
add place list with the ScrollableWindow, request size for the
place list.
* src/ViewManager.py: Use DisplayState.DisplayState.
* src/gramps_main.py: Use GrampsDbBase.DbState; add docstring;


svn: r5055
2005-08-12 02:50:56 +00:00
Don Allingham
30450e2efa PersonNavView changes
svn: r5052
2005-08-11 17:19:03 +00:00
Don Allingham
b39a328f9a split UI and DB state
svn: r5049
2005-08-10 23:53:24 +00:00
Alex Roitman
8a3ee2f56a * src/ScratchPad.py: added
* src/stock_link.png: added
* src/DbState.py: better ui management, history management
* src/EditPerson.py: better ui management
* src/GrampsDbBase.py: better ui management
* src/PageView.py: better ui management
* src/PersonView.py: better ui management, history management
* src/ViewManager.py: better ui management


svn: r5044
2005-08-10 14:28:16 +00:00
Martin Hawlisch
3a8f1f3039 * src/DbState.py: change_active_person now emits the signal, change_active_handle is only a wrapper for that.
* src/PageView.py (get_stock): Work around not existing definition of gtk.STOCK_MEDIA_MISSING by using gtk.STOCK_MISSING_IMAGE.
* src/PedView.py: Start using new PageView logic. Unfinished.
* src/gramps_main.py: Enable PedView


svn: r5041
2005-08-09 10:18:56 +00:00
Don Allingham
3e153e8f6e * src/DbState.py: Added new class to keep track of database
status
* src/PageView.py: base class for pluggable views
* src/PersonView.py: new version of PeopleView
* src/ViewManager.py: view and database management class


svn: r5040
2005-08-09 04:41:20 +00:00