Commit Graph

694 Commits

Author SHA1 Message Date
Jérôme Rapinat
fb2e585278 5351: Focus on eventref and sourecref editors (patches by Michiel, MathieuMD); consistent editeventref.glade file and accessibilty improvement #5301 (romjerome)
svn: r18472
2011-11-21 10:45:19 +00:00
Tim G L Lyons
9f29350da4 Fix bug that wasn't taking account of the fact that event references in Person and Family have attributes which themselves can have Citations.
* In Person, add event_ref_list to get_citation_child_list (therefore it is no longer needed in get_handle_referents)
* Similarly in Family, add event_ref_list to get_citation_child_list
* Enhance upgrade to add upgrade of event_ref_list for person and family
* Add has_citation_reference, replace_citation_references and remove_citation_references to EventRef
* Change name of remove_citation_refs to remove_citation_references to be consistent with has_citation_reference (singular) and replace_citation_references

Fix editcitation because it was displaying the wrong privacy button for sources.
Also remove FIXME for editcitation for db signal connect, because comment explains why it is not needed.


svn: r18469
2011-11-20 17:42:04 +00:00
Michiel Nauta
32b5905aea 5368: Loading familytree with downgraded Berkeley db should generate expressive error
svn: r18467
2011-11-20 09:33:31 +00:00
Paul Franklin
4ec64538c3 5353: CLI tools ignore an option if remembered as non-default
svn: r18463
2011-11-18 19:43:18 +00:00
Tim G L Lyons
7ebf8de20a Implement drag and drop for citations
svn: r18438
2011-11-12 22:34:18 +00:00
Tim G L Lyons
f8f510d5f1 Delete remove_source_references and replace_source_references as they are no longer needed.
Rename remove_citation to remove_citation_refs and make it apply to a citation_handle_list.
Updated tool/Check.py to change check_source_references into check_citation_references


svn: r18433
2011-11-11 17:12:43 +00:00
Tim G L Lyons
3adb1b7ffa Merged trunk r17888 through r18397 into geps023.
Conflicts resolved in:
    /data/grampsxml.dtd
    /data/grampsxml.rng
    /src/Filters/Rules/Repository/_MatchesNameSubstringOf.py
    /src/plugins/import/ImportXml.py
(Various property conflicts also resolved)

svn: r18405
2011-11-05 19:07:58 +00:00
Tim G L Lyons
4169661302 Update uses of get_source_referents to handle citations:
* implement new Utils get_source_and_citation_referents
* Update sourceview.py and citationtreeview.py to use it
* Fix editsource.py, where deletion of a source object was not properly dealing with all possible citations
* Update mediaobj.py which still had a remnant of a source_list
* fix _HasTextMatchingSubstringOf filter to deal with text in both sources and citations

svn: r18394
2011-11-01 11:10:18 +00:00
Paul Franklin
6a651d80e7 malformed SVN "Id" line
svn: r18392
2011-10-31 15:33:09 +00:00
Paul Franklin
bb0b9de18b malformed SVN "Id" line
svn: r18391
2011-10-31 15:27:48 +00:00
Brian Matherly
93ec059b3d Remove ErrorDialog and WarningDialog from reports. Replace with User.warn() and User.notify_error().
svn: r18388
2011-10-31 02:40:19 +00:00
Brian Matherly
8d8b66f722 Disable the automated "activity" bar that is shown whenever a report is run.
The dialog interferes with any report that may open its own dialog (like a progress bar) and causes GTK crashes. Every report will just have to run its own progress bar.

svn: r18384
2011-10-30 05:15:32 +00:00
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Nick Hall
020dae3d72 Set maximum for default GrampsBar size
svn: r18375
2011-10-27 09:07:53 +00:00
Nick Hall
e1ae74e952 Replace netbook mode with sizing proportional to screen size
svn: r18374
2011-10-26 18:28:32 +00:00
Nick Hall
594bc9257f 5321: Tidy up code for the children tab in the family editor
svn: r18372
2011-10-25 21:31:32 +00:00
Jérôme Rapinat
effbde51a8 5310 5314: missing tags and date fields
svn: r18367
2011-10-24 10:26:09 +00:00
Paul Franklin
22b0f8476c 5031: Some reports should not register the page orientation to non-default (Landscape)
svn: r18366
2011-10-23 20:38:22 +00:00
Paul Franklin
ca94331a70 5323: Cannot run sort events in gramps 3.4 SVN
svn: r18365
2011-10-23 17:01:53 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Doug Blank
fd04480052 5266: Christening dates displayed as Birth dates in Family editor
svn: r18349
2011-10-18 21:10:35 +00:00
Paul Franklin
1a4f9cdca7 added GPLv2 and SVN Id line
svn: r18345
2011-10-18 18:14:07 +00:00
Jérôme Rapinat
dcf5fe856f 3145: improve image subsection, bug with filtered objects (patch by Robert Cheramy)
svn: r18341
2011-10-17 14:20:53 +00:00
Paul Franklin
331c135235 5128: Python files with no SVN "Id" property (& added MIME text/plain if none)
svn: r18338
2011-10-16 20:21:22 +00:00
Doug Blank
4ce6dc3788 Should not call _LOG.error (reported by P. Franklin)
svn: r18291
2011-10-12 11:24:21 +00:00
Paul Franklin
98d1fff55c typo
svn: r18280
2011-10-10 16:33:04 +00:00
Peter Landgren
9ec1291fd3 Issue 5275, missed the case when lat or long was missing.
svn: r18263
2011-10-08 16:23:48 +00:00
Peter Landgren
06bd6096a4 Issue 5275, problem when lat/long has wrong format in place view.
svn: r18262
2011-10-08 14:23:00 +00:00
John Ralls
59e8941495 Fix typo in src/gui/editors/displaytabs/Makefile.am
svn: r18240
2011-10-02 21:26:06 +00:00
Jérôme Rapinat
9ec57d9bec 3145: Improve image subsection selection; patch for gtk < 2.22 (by Robert Cheramy)
svn: r18239
2011-10-02 08:06:40 +00:00
Tim G L Lyons
afefdb09a7 Fixes for database update signal handling for treemodel as used for the citation tree
- corrected handing of setting of the handle of a node to 'None' for a non-leaf (heading) node
  - only insert the citation leaf node if it is not already present.

svn: r18220
2011-09-29 18:00:58 +00:00
Jérôme Rapinat
af1f95dbd7 3145: Improve image subsection selection (contribution by Robert Cheramy)
svn: r18212
2011-09-27 06:28:27 +00:00
Tim G L Lyons
a906c98439 Clean-up Sources and Citations views:
* Add icon for citations view
* disable old sourceview
* change citationtreeview to be Sources navigation view
* citationlistview is now the Citations view
* merge libcitationview into citationlistview and citationtreeview, and corrected and rationalised
* remove libcitationview
* corrected initialisation of source_handle in Citation.py
* fixes for preventing same source being edited twice
    - fixed blockedtext in citationembededlist
    - override build_window_key in editcitation.py

svn: r18211
2011-09-26 19:53:18 +00:00
Tim G L Lyons
5719832f36 Citation filters
svn: r18182
2011-09-20 22:05:41 +00:00
Tim G L Lyons
21e402fc6f * Updated signal handlers to deal with citation tree model and secondary nodes
* Fix for citation selector.

svn: r18171
2011-09-18 19:49:18 +00:00
Tim G L Lyons
c474e5e638 * change CitationtreeModel so that building the view starts from sources so that it displays sources that have no citations
consequent restructuring:
* introduce separate CitationBaseModel module which encapsulates access to both citation and source fields for the views
* introduce separate CitationListModel and CitationTreeModel modules

* move configuration data from libcitationview to citationtreeview and citationlistview, because the two different views have different data


svn: r18110
2011-09-03 22:19:15 +00:00
Nick Hall
6004f5ee22 5112: Fix error when moving empty surname row
svn: r18102
2011-09-02 20:10:13 +00:00
Tim G L Lyons
bb854ec772 Modifications as suggested by Nick Hall:
* Remove inheritance of Citation from RefBase, using source_handle filed instead (similar to  the way Family objects store mother and father handles) (also use the set_ and get_reference_handle functions more consistently)
* Use get_citation_list instead of get_citation_references (more consistent with the way notes are handled)

svn: r18100
2011-09-02 10:40:53 +00:00
Tim G L Lyons
29cc4ee6e9 * various updates to CitationView, CitationEmbedView and CitationEditor to take account of Rev 17973 for two different object types in selectors
* updates to citationviews to support all the functionality (add source etc.) provided by sourceview (including different tooltips for tree view and list view)
* moved registration of citationtreeview into view.grp.py
* removed citationtreeview.grp.py module
* fixed update to citation when note is deleted
* fixed update to citation when media object is deleted
* re-enabled edit button in sourcebackreflist
* improved date display in mergecitation
* changed default note type for citation notes
* changed backref in citation editor to CitationBackRefList
* fixed removal of citation handles from the list in primary objects when a citation is deleted
* fixes for pylint

svn: r18095
2011-09-01 18:13:42 +00:00
Tim G L Lyons
5a3cef062c * Implemented merge Citation
* Updated merge Sources
* Implemented undo-redo for citations (revision 18069 had only added citations to the undo-redo list, not acted on that types of element)
* Fixed embedded lists for some of the object type editors that were done in Rev 18069
* Modified EditCitation so the source parameter is optional
* Added svn properties for all /src/Merge/merge*.py modules
* Added support for EditCitation from backreflist.py

svn: r18085
2011-08-30 10:40:30 +00:00
Michiel Nauta
319db30436 5151: Latin American surname guessing fails
svn: r18083
2011-08-29 19:06:20 +00:00
Tim G L Lyons
d3dcbb1c12 Implemented database upgrade for all eligible remaining object types.
Added Citations to undo-redo feature.
Moved Citation view within navigation pane to below Sources.
Removed useless edit button from sourcebackreflist.
Fixed default bottombar gramplets for citations. 

svn: r18069
2011-08-26 23:18:11 +00:00
Tim G L Lyons
165625715d Various enhancements:
* Modified Event object to include references to Citations
* Implemented database upgrade for Events (upgrade for Media had already been done)
* Enhanced database upgrade to do backlinks
* Modified Media object to remove sourceref
* Implemented citations bottombar gramplet
* Some minor fixes and improvements

svn: r18054
2011-08-23 16:54:03 +00:00
Brian Matherly
b0b919d148 Patch from Paul Franklin - Partial work for: 0004646: reports cannot be run from the command line in a non-GUI environment
svn: r18047
2011-08-19 01:57:43 +00:00
Nick Hall
e26c5325e0 New citation editor
svn: r17983
2011-08-01 22:49:19 +00:00
Nick Hall
570f5e53a3 Remove code that was adding duplicate nodes to the model
svn: r17979
2011-07-29 18:47:20 +00:00
Tim G L Lyons
61944d7a49 Fixed missing column_header and 'self' in citationmodel
svn: r17978
2011-07-29 10:51:26 +00:00
Tim G L Lyons
f9df3503b2 Added svn properties and improved some code layout (mainly long lines).
svn: r17977
2011-07-29 10:31:41 +00:00
Nick Hall
763bea26ec Allow selection of two different object types in selectors
svn: r17973
2011-07-27 18:53:17 +00:00
Nick Hall
59c793608c Introduce experimental netbook mode for small screen sizes
svn: r17965
2011-07-25 22:47:57 +00:00
Nick Hall
7b743e61af Improve layout of citation tree view
svn: r17962
2011-07-24 23:42:05 +00:00
Nick Hall
6df8226f11 Add width and height configuration settings
svn: r17961
2011-07-24 23:38:49 +00:00
Tim G L Lyons
9ff46d9eab Initial prototype.
* Changed database to introduce Citations
* Introduced new Citation Primary object and CitationBase (equivalent to CitationRef) child object
* Implemented CitationTreeModel and CitationListModel
* Implemented CitationTreeView and CitationListView for new citation views in the navigator
* Implemented EditCitation which is used both for the citation views in the navigator and for the citations of an object
* Implemented the CitationEmbedList to display the citations of an object
* Modified the bottom bar gramplets to support citations
* Implemented the citation selector.
* Modified Media object to include references to Citations
* Initial work on deleting citations


svn: r17960
2011-07-24 18:30:28 +00:00
Doug Blank
768fe26346 Refactored statusbar width
svn: r17898
2011-07-07 02:37:52 +00:00
Nick Hall
58eb8627e9 4809: Add an option to restore a GrampsBar to its default gramplets
svn: r17897
2011-07-06 22:31:03 +00:00
Nick Hall
f34d60ad9d 5055: Issue warning when attempting to edit media reference when media object is already being edited
svn: r17873
2011-06-30 20:41:15 +00:00
Jérôme Rapinat
dfd17224ad 5032: Report selection logic
svn: r17835
2011-06-27 07:17:20 +00:00
Benny Malengier
ee14f249f3 5002: control n and p to move between categories not working
svn: r17791
2011-06-15 08:35:42 +00:00
Benny Malengier
89575e7208 src/gui/views/navigationview.py
svn: r17784
2011-06-14 21:12:10 +00:00
Benny Malengier
fb0e7e007f 5004: hot key for bottombar and filter sidebar
svn: r17782
2011-06-14 21:01:59 +00:00
Benny Malengier
df971e431d 5002: control n and p to move between categories not working
5003: A hotkey to enable/disable the navigator is needed


svn: r17780
2011-06-14 20:34:39 +00:00
Gary Burton
ae30ba66ad Improve alignment of gallery objects and their text labels
svn: r17721
2011-06-08 19:51:58 +00:00
Nick Hall
deebab7a01 4969: Prevent a view being changed whilst a view change is already in progress
svn: r17710
2011-06-07 22:49:18 +00:00
Michiel Nauta
dc36a4b9c2 Add comment clarifying use of modal during tag assignment/reÃmoval
svn: r17699
2011-06-06 20:19:38 +00:00
Gary Burton
b864727d03 Bug #4825. Ensure that button is still clickable
svn: r17695
2011-06-06 16:07:32 +00:00
Michiel Nauta
1567978f9d 4959: Errors raised by Organize Tags window related to tag removal
svn: r17675
2011-06-03 12:11:18 +00:00
Michiel Nauta
4841f48dcf 4951: AttributeError on removal of a tag
svn: r17672
2011-06-03 09:04:15 +00:00
Nick Hall
c824b9dd0f 4951: Fix bug introduced in r17423
svn: r17671
2011-06-02 23:13:59 +00:00
Jérôme Rapinat
fc3fbe509e 4952: Several grammar mistakes
svn: r17662
2011-06-02 09:47:03 +00:00
Jérôme Rapinat
d09f234cca 4952: Several grammar mistakes
svn: r17660
2011-06-02 08:41:35 +00:00
Doug Blank
7901808c88 4950: Unhandled exception upon closing Gramps with an undocked gramplet
svn: r17639
2011-05-31 17:34:31 +00:00
Doug Blank
ab94917070 Corrupt gramplet file fixes
svn: r17637
2011-05-31 17:27:33 +00:00
Benny Malengier
99a7805d8a 4825: Tag button opens tagwindow on all buttons including tab
svn: r17629
2011-05-30 20:45:37 +00:00
Michiel Nauta
783012aa3e 4906: Infinitive loop when trying to remove matched person/event filter rules
svn: r17625
2011-05-30 20:22:13 +00:00
Jérôme Rapinat
9bb6a77850 navigation history is for all objects
svn: r17619
2011-05-29 16:56:28 +00:00
Benny Malengier
607d06f901 4910: when no surname known, Narweb picks up the patronymic as Main surnames
svn: r17606
2011-05-28 15:49:57 +00:00
Benny Malengier
610442278c Last column is an integer, not general object
svn: r17566
2011-05-26 08:18:06 +00:00
Jérôme Rapinat
ff638d041b 3866 3976 3977: Two 'spell' entries; remove Enchant dependency (patch by Tim Lyons)
svn: r17563
2011-05-26 08:05:04 +00:00
Doug Blank
0936618091 Fixed issue with state check
svn: r17553
2011-05-22 13:39:12 +00:00
Benny Malengier
273ad7c240 Prevent crash on building of a view that fails. A dummy view is shown with the error on failure of a view.
svn: r17551
2011-05-22 13:27:14 +00:00
Michiel Nauta
654fb81665 Change default to return handles unsorted on get_object_handles methods
svn: r17537
2011-05-19 20:36:17 +00:00
Michiel Nauta
cd0f3a4a36 4920: Click on family in Session Log gramplet doesn't select that family
svn: r17535
2011-05-19 19:30:33 +00:00
Doug Blank
4d321d27cb Change initial gramplets, as per name change (dropped Gramplet from id)
svn: r17516
2011-05-17 14:09:01 +00:00
Jérôme Rapinat
3c955ed9ec 4331: typo
svn: r17496
2011-05-14 14:02:20 +00:00
Jérôme Rapinat
f00516e702 4853: Cannot enable 'child' options of BooleanOption (patch by Adam Stein)
svn: r17456
2011-05-08 13:14:49 +00:00
Michiel Nauta
66efd796c5 4669: Long transactions can cause unwanted effects in TreeViews
svn: r17422
2011-05-05 20:02:48 +00:00
Jérôme Rapinat
c65b1d8259 4698: Additional Source Filters
svn: r17412
2011-05-05 08:37:54 +00:00
Michiel Nauta
75d144e6b5 4780: Error when hitting ESC or Close-button in name display editor
svn: r17404
2011-05-04 17:07:01 +00:00
Nick Hall
8f361f33b8 4881: Convert bottombar gramplets to use the thumbnailer
svn: r17400
2011-05-03 21:33:19 +00:00
Nick Hall
da70c79983 4881: Use the thumbnailer to display the image
svn: r17381
2011-05-02 18:51:33 +00:00
Nick Hall
03a93790c0 4880: Ensure image rectangle is updated when editing a media reference from the gallery
svn: r17378
2011-05-02 18:42:51 +00:00
Nick Hall
35628aa699 Hide navigation the plugin selector when only the default plugin is loaded
svn: r17341
2011-04-29 20:55:53 +00:00
Nick Hall
e4348092c3 Cosmetic improvements to details gramplets
svn: r17333
2011-04-28 22:06:44 +00:00
Nick Hall
01c89915ab Increase size of configuration dialog window
svn: r17319
2011-04-28 14:35:51 +00:00
Serge Noiraud
199e3a7bab geography : missing icons after merge.
svn: r17255
2011-04-25 19:37:51 +00:00
Brian Matherly
f3cc4a4b05 0004821: get_family_from_gramps_id(fid) broken on initialize_family (gui/plug/_guioptions.py)
svn: r17233
2011-04-24 02:54:26 +00:00
Michiel Nauta
0e40cc3fee 4047: Cannot modify a mother on a family editor without father
svn: r17219
2011-04-23 08:53:25 +00:00
Doug Blank
c8ec736e9e Limit gramplets showing on Gramplet View, and made add list faster
svn: r17214
2011-04-23 02:30:48 +00:00
Nick Hall
d3cd2e6acf 4772: Performance improvement for context menu
svn: r17213
2011-04-22 23:20:15 +00:00
Doug Blank
7f0ded5673 4772: Not all Gramplets make sense on all views (filter gramplet on Gramplets View); changed to using navigation_type rather than category
svn: r17209
2011-04-22 14:24:14 +00:00