Commit Graph

318 Commits

Author SHA1 Message Date
Zsolt Foldvari
2642641b84 Changing the way of how formatted Notes are stored:
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.


svn: r10288
2008-03-13 10:44:22 +00:00
Brian Matherly
fa0b508924 0001863: <gramps> tags in notes, consistency. This should be in all notes or only in the ones that have markup
Markup has been disabled for notes. A new strategy is being worked on to allow styles for notes.

svn: r10230
2008-03-08 21:20:42 +00:00
Benny Malengier
d43fc26169 2008-02-29 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: find_family_from_handle returns tuple
	* src/Editors/_EditPerson.py: don't use find_person but get_person

2008-02-29 Raphael Ackermann <raphael.ackermann@gmail.com>
2008-02-28 Jim Sack <jgsack@san.rr.com>


svn: r10142
2008-02-29 09:02:43 +00:00
Raphael Ackermann
896ecd2949 2008-02-27 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditNote.py: empty_object() add extratype to object
	0001476: Opening the new note dialog/editor and cancelling shouldn't ask 
	to save changes. there are no changes 

svn: r10133
2008-02-28 00:29:51 +00:00
Raphael Ackermann
20426f36e3 2008-02-24 Raphael Ackermann <raphael.ackermann@gmail.com>
* Editors/_EditRepository.py
	* Editors/_EditFamily.py
	* DisplayTabs/_SourceEmbedList.py
	* DisplayTabs/_PersonRefEmbedList.py
	* DisplayTabs/_RepoEmbedList.py
	* DisplayTabs/_AddrEmbedList.py
	* DisplayTabs/_WebEmbedList.py
	* DisplayTabs/_NameEmbedList.py
	* DisplayTabs/_EventEmbedList.py
	* DisplayTabs/_EmbeddedList.py
	* DisplayTabs/_NoteTab.py
	* DisplayTabs/_LocationEmbedList.py
	* DisplayTabs/_ButtonTab.py
	* DisplayTabs/_DataEmbedList.py
	* DisplayTabs/_AttrEmbedList.py
	* DisplayTabs/_LdsEmbedList.py
	* DisplayTabs/_GrampsTab.py
	add Up and Down buttons to the tabs. Added individual tooltips for buttons
	0001807: Missing buttons MoveUp, MoveDown on a Events list in a person...

svn: r10108
2008-02-24 18:58:45 +00:00
Gary Burton
f6f9fbafdc 2008-02-22 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditPerson.py: Fixed crash on clicking OK to save name
	change. Bug #1783



svn: r10107
2008-02-24 17:08:38 +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
Gary Burton
3171f0f756 * src/Editors/_EditFamily.py: Add fallback dates for birth and death
Bug #1785

2008-02-22 Gary Burton <gary.burton@zen.co.uk>


svn: r10097
2008-02-22 23:53:24 +00:00
Gary Burton
a58e6fdb60 2008-02-22 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py:
	* src/Editors/_EditChildRef.py
	Fix crash on doubleclicking buttons. Bug #1802



svn: r10096
2008-02-22 22:09:39 +00:00
Raphael Ackermann
dab5470dec 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditAddress.py
    * src/Editors/_EditName.py
    * src/Editors/_EditPersonRef.py
    * src/plugins/FindDupers.py
    * src/ReportBase/_StyleEditor.py
    * src/MarkupText.py
    Fix import issues introduce through previous commit.
    #0001791 fixed

svn: r10056
2008-02-18 23:48:35 +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
Erik De Richter
a22c0aee1d wiki manual link
svn: r10053
2008-02-18 16:29:43 +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
Benny Malengier
55ba9c4d37 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py
	* src/DataViews/PedigreeView.py
	* src/ReportBase/_ReportUtils.py
	* src/Editors/_EditPerson.py
	* src/Editors/_EditMediaRef.py
	* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
	* src/plugins/Summary.py
	* src/plugins/WriteCD.py
	* src/plugins/IndivComplete.py
	* src/plugins/NarrativeWeb.py
	* src/plugins/WritePkg.py
	* src/plugins/GVFamilyLines.py
	* src/plugins/DefaultGramplets.py
	* src/plugins/SimpleBookTitle.py
	* src/plugins/Check.py
	* src/plugins/GVRelGraph.py
	* src/plugins/FamilyLines.py
	* src/Selectors/_SelectObject.py
	* src/GrampsDbUtils/_WriteGedcom.py
	#1787, #1208: use relative path correctly



svn: r10048
2008-02-18 14:06:41 +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
Gary Burton
6ba049eb94 2008-02-15 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: prevent right mouse button causing crash.
	Bug #1729



svn: r10041
2008-02-15 22:44:39 +00:00
Benny Malengier
15e789467b 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayTabs/_SourceEmbedList.py:
	* src/DisplayTabs/_PersonRefEmbedList.py:
	* src/DisplayTabs/_RepoEmbedList.py:
	* src/DisplayTabs/__init__.py:
	* src/DisplayTabs/_AddrEmbedList.py:
	* src/DisplayTabs/_WebEmbedList.py:
	* src/DisplayTabs/_NameEmbedList.py:
	* src/DisplayTabs/_EventEmbedList.py:
	* src/DisplayTabs/_EmbeddedList.py:
	* src/DisplayTabs/_GalleryTab.py:
	* src/DisplayTabs/_BackRefList.py:
	* src/DisplayTabs/_NoteTab.py:
	* src/DisplayTabs/_LocationEmbedList.py:
	* src/DisplayTabs/_ButtonTab.py:
	* src/DisplayTabs/_DataEmbedList.py:
	* src/DisplayTabs/_AttrEmbedList.py:
	* src/DisplayTabs/_LdsEmbedList.py:
	* src/DisplayTabs/_GrampsTab.py:
	* src/Editors/_EditPrimary.py:
	* src/Editors/_EditPlace.py:
	* src/Editors/_EditSecondary.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditReference.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditFamily.py:
	Add mnemonics for all tabs, eg ALT+S and INSERT to move to sources and
	insert a new source.
	* src/DisplayTabs/_TextTab.py:
	* src/DisplayTabs/Makefile.am:
	* po/POTFILES.in:
	Remove unused TextTab



svn: r10040
2008-02-15 22:38:47 +00:00
Benny Malengier
470232fa5a 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateEdit.py: example use of help
	* src/GrampsDisplay.py: internationalization of help system
	* src/Editors/_EditPrimary.py: define_help_button link to webpage
	* src/Editors/_EditSecondary.py: define_help_button link to webpage
	* src/Editors/_EditReference.py: define_help_button link to webpage
	* src/Editors/_EditFamily.py: remove empty line



svn: r10036
2008-02-15 11:40:17 +00:00
Benny Malengier
06b2b6da38 * src/DisplayTabs/_EmbeddedList.py: allow to define middle click
* src/Editors/_EditFamily.py: middle click on child calls edit child

2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10021
2008-02-12 12:38:47 +00:00
Benny Malengier
3dbfd6cbac 2008-02-12 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: popup: edit child at top, add images.
	* src/DisplayTabs/_EmbeddedList.py: allow popup with image/custom text
	* src/DisplayModels/_BaseModel.py: add comment to function
	* src/DisplayModels/_NoteModel.py: test, UTF-8 for preview



svn: r10020
2008-02-12 12:17:58 +00:00
Brian Matherly
ddd23a5164 Fix saving notes without marker being set.
svn: r10018
2008-02-12 04:21:14 +00:00
Benny Malengier
a1897e68d9 * src/plugins/MediaManager.py: conversion functions of path
* src/Utils.py: general methods to convert abs to rel
	* src/Editors/AddMedia.py: show existing descr and select file if pos
	* src/Editors/_EditPerson.py: view photo needs db for media path
	* src/Editors/_EditMedia.py: better path/mime handling
	* src/DataViews/MediaView.py: use full path to view
	Start of issue #1208

2008-02-11 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10017
2008-02-11 22:27:24 +00:00
Benny Malengier
c11f6d6a1b 2008-02-11 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditFamily.py: call editprimary correctly, double gid



svn: r10016
2008-02-11 09:01:57 +00:00
Benny Malengier
9a1b20535f temp fix for Raphael
svn: r10014
2008-02-10 21:24:50 +00:00
Raphael Ackermann
04eb7fb913 2008-02-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditPrimary.py: 0001347: double gid. fix previous commit


svn: r10011
2008-02-10 21:13:19 +00:00
Raphael Ackermann
7219ed2b44 2008-02-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditEvent.py:
    * src/Editors/_EditFamily.py:
    * src/Editors/_EditMedia.py:
    * src/Editors/_EditNote.py:
    * src/Editors/_EditPlace.py:
    * src/Editors/_EditRepository.py:
    * src/Editors/_EditSource.py:
    fixed: 0001347: double gid should not be allowed

svn: r10007
2008-02-09 01:07:23 +00:00
Raphael Ackermann
04e16919a1 2008-02-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditEvent.py:
    * src/Editors/_EditFamily.py:
    * src/Editors/_EditMedia.py:
    * src/Editors/_EditNote.py:
    * src/Editors/_EditPlace.py:
    * src/Editors/_EditPrimary.py:
    * src/Editors/_EditRepository.py:
    * src/Editors/_EditSource.py:
    pylint fixes

svn: r10005
2008-02-08 15:29:28 +00:00
Raphael Ackermann
6776b91ca5 2008-02-07 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditEvent.py:
    * src/Editors/_EditFamily.py:
    * src/Editors/_EditMedia.py:
    * src/Editors/_EditNote.py:
    * src/Editors/_EditPerson.py:
    * src/Editors/_EditPlace.py:
    * src/Editors/_EditPrimary.py:
    * src/Editors/_EditRepository.py:
    * src/Editors/_EditSource.py:
    0001745: fix where on update empty ID field would not be filled 
    automatically

svn: r10004
2008-02-08 13:40:04 +00:00
Raphael Ackermann
8c0779eabb 2008-02-07 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditPerson.py: pylint fixes & doc fixes
	fixed 0001347: double gid should not be allowed for Person View
	Still open for all the other list views.

svn: r10001
2008-02-07 08:34:47 +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
Benny Malengier
dbd7591217 2008-01-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: remove hide in save method.



svn: r9920
2008-01-23 13:36:31 +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
Benny Malengier
f5009391d6 2008-01-22 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: callback for gallerytab no longer needed



svn: r9908
2008-01-22 07:46:18 +00:00
Benny Malengier
700ee1b18b 2008-01-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditChildRef.py: remove debug print statements
	* src/glade/gramps.glade: wrong visible setting in child ref widget



svn: r9878
2008-01-18 08:26:48 +00:00
Benny Malengier
01460af4ef 2008-01-18 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditNote.py: focus on text field on start
	* src/Editors/_EditChildRef.py: add usability: name of child, edit btn
	* src/Editors/_EditFamily.py: grab Errors.WindowActiveError
	* src/glade/gramps.glade: add usability to childref, see #1462


svn: r9873
2008-01-17 23:15:08 +00:00
Benny Malengier
65141d25ac 2008-01-17 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditChildRef.py: set focus on OK button for quick work
	* src/Editors/_EditFamily.py: double click on child, adding child
               choosing existing child, brings up child ref editor, #1462



svn: r9872
2008-01-17 21:52:13 +00:00
Benny Malengier
4569eba392 * src/Editors/_EditMediaRef.py:
* src/DisplayTabs/_GalleryTab.py:
	Finish changes caused by Addmedia not touching database anymore, #1610

2008-01-16 Benny Malengier <benny.malengier@gramps-project.org>


svn: r9841
2008-01-16 12:28:56 +00:00
Raphael Ackermann
56d33a2c4f 2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditFamily.py: import fixes
	* src/plugins/FindDupes.py: variable typo fix
	0001428: In EditFamily: NameError



svn: r9752
2008-01-08 15:27:28 +00:00
Raphael Ackermann
1f2ad6a747 2008-01-08 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditFamily.py: 0001428: In EditFamily: NameError. 
	changed db -> self.db



svn: r9749
2008-01-08 07:44:05 +00:00
Benny Malengier
9664842702 * src/DataViews/MediaView.py:
* src/DataViews/RepositoryView.py:
	* src/DataViews/SourceView.py:
	* src/DataViews/EventView.py:
	* src/DataViews/PlaceView.py:
	* src/PageView.py:
	Remove unused double click procedure
	* src/plugins/SimpleBookTitle.py: remove use of AddMedia
	* src/Editors/AddMedia.py: added
	* src/AddMedia.py: removed
	* src/Editors/Makefile.am:
	* src/Makefile.am:
	* po/POTFILES.in:
	Move AddMedia to the editors directory
	* src/Editors/_EditMedia.py:
	Edit Media now works as other editors, spawning AddMedia when 
	select is clicked.
	* src/ManagedWindow.py: typo in comment
	* src/Config/_GrampsConfigKeys.py: Two new keys, rerun ./autogen.sh
	Still todo: make relative path work

2008-01-06  Benny Malengier <benny.malengier@gramps-project.org>


svn: r9722
2008-01-06 10:51:20 +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
Gary Burton
8e04fa506f 2008-01-01 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: Enabled tooltips on person edit buttons
	bug #1501


svn: r9672
2008-01-01 12:57:18 +00:00
Brian Matherly
e90e15c4af Modifications so that GenericFilters can be applied to a PeopleModel.
svn: r9665
2007-12-31 22:22:12 +00:00
Gary Burton
9726d358bd 2007-12-31 Gary Burton <gary.burton@zen.co.uk>
* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: Add a signal handler for changes to events.
	bug #1416 and #1329. Also remove previous attempt at fixing #1416 now that
	I know a bit more about how signal handling works.



svn: r9660
2007-12-31 19:23:16 +00:00
Gary Burton
101048e1ca * src/Editors/_EditEventRef.py: swap around delete/share buttons, bug #1477
2007-12-21 Gary Burton <gary.burton@zen.co.uk>


svn: r9557
2007-12-21 23:14:33 +00:00
Doug Blank
c23b1259c8 2007-12-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/_PersonView.py: pass create_quickreport uistate
	* src/Editors/_EditPrimary.py: pass create_quickreport uistate
	* src/plugins/all_events.py: use SimpleTable
	* src/plugins/siblings.py: use SimpleTable
	* src/QuickReports.py: pass create_quickreport uistate
	* src/Simple/_SimpleTable.py: Handles raw objects, click/doubleclick
	* src/PageView.py: pass create_quickreport uistate
	* src/docgen/TextBufDoc.py: need to make a managed window, transient



svn: r9552
2007-12-21 06:22:46 +00:00
Benny Malengier
13bd98097b 2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPrimary.py:
	* src/Editors/_EditPlace.py:
	* src/Editors/_EditSecondary.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditReference.py:
	* src/Editors/_EditRepoRef.py:
	* src/Editors/_EditNote.py:
	* src/Editors/_EditMediaRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditName.py:
	* src/DisplayTabs/__init__.py:
	* src/DisplayTabs/_GalleryTab.py:
	* src/DisplayTabs/_BackRefList.py:
	* src/DisplayTabs/_ButtonTab.py:
	* src/DisplayTabs/_GrampsTab.py:
	Accelator keys on displaytabs, convert _all_ tabs to GrampsTab! 
	Feature #955 #1438



svn: r9545
2007-12-20 13:49:41 +00:00
Jérôme Rapinat
fb12457651 2007-12-20 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/glade/gramps.glade : don't use C or O as accelerator keys on Name Editor, reserved for OK and Cancel buttons #1470
        * src/glade/edit_person.glade : accelerator keys are used double in person editor #1452

2007-12-20  Jerome Rapinat <romjerome@yahoo.fr>
        * src/Editors/_EditPerson.py : Unspecified gender dialog doesn't have mnemonics #1461



svn: r9544
2007-12-20 12:23:59 +00:00
Doug Blank
21b0612e84 2007-12-18 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/Editors/_EditFamily.py: doubleclick now edits; fixed share popup
	* src/DisplayTabs/_EmbeddedList.py: fixed share popup
	* src/DisplayTabs/_GalleryTab.py: fixed share popup



svn: r9530
2007-12-19 00:50:33 +00:00
Gary Burton
253990ff81 * src/DisplayTabs/_ChildModel.py:
* src/Editors/_EditFamily.py: add fallback for birth date (feature #1448)
2007-12-15 Gary Burton <gary.burton@zen.co.uk>
	* src/Editors/_EditFamily.py: emit family-update signal (bug #1416)



svn: r9513
2007-12-15 23:54:52 +00:00