Commit Graph

5688 Commits

Author SHA1 Message Date
Doug Blank
4fa0c4e58c Options for Gramplets
svn: r10182
2008-03-04 13:13:00 +00:00
Doug Blank
3db2da7db2 Option testing
svn: r10181
2008-03-04 13:01:07 +00:00
Doug Blank
6470f7def6 * src/DataViews/GrampletView.py: added infrastructure for
editing options from the gui.

2008-03-04  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r10180
2008-03-04 12:59:10 +00:00
Doug Blank
df33e354a5 2008-03-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/PluginUtils/_GuiOptions.py (make_gui_option): 
	new stand-alone function that takes Option, returns GuiOption
	(attempting to make Options useable in additional ways)



svn: r10179
2008-03-04 12:24:04 +00:00
Erik De Richter
fb7e89d1eb manual
svn: r10176
2008-03-03 08:59:52 +00:00
Brian Matherly
afa4d05227 0001882: Reports->Text Reports->Kinship Report output to "Text buffer" causes an error
No longer use Text Buffer for reports because TextBufDoc does not conform to the report interface.

svn: r10175
2008-03-03 04:19:45 +00:00
Brian Matherly
504f0e554a 0001880: Birthday and Anniversary Report does not work
svn: r10174
2008-03-03 04:06:48 +00:00
Brian Matherly
8e90f4764d 0001878: bug: AttributeError: BookReportDialog instance has no attribute 'has_attribute'
svn: r10173
2008-03-02 23:32:01 +00:00
Brian Matherly
17c3ef4e9b Save and load books properly.
svn: r10172
2008-03-02 23:03:52 +00:00
Gary Burton
2ccef1b175 * src/GrampsDbUtils/_Backup.py: Restore databases with transactions
enabled.

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


svn: r10171
2008-03-02 22:40:15 +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
Brian Matherly
d78dacb08b 0001873: AttributeError: 'NoneType' object has no attribute 'get_gramps_id'
Fix typo in CountAncestors

svn: r10168
2008-03-02 21:21:48 +00:00
Brian Matherly
4dfb05bb06 0001876: BUG during output creation in Ancestor Tree report.
svn: r10167
2008-03-02 20:56:04 +00:00
Peter Landgren
fd349ec3f2 Author info update
svn: r10165
2008-03-02 19:41:48 +00:00
Peter Landgren
a7186a695f Author info update
svn: r10164
2008-03-02 19:40:34 +00:00
Peter Landgren
42c1086ae3 Author info update
svn: r10162
2008-03-02 19:20:55 +00:00
Peter Landgren
73f461bc1b Author info update
svn: r10161
2008-03-02 19:19:22 +00:00
Peter Landgren
2e4b493136 Author info update
svn: r10160
2008-03-02 19:18:31 +00:00
Peter Landgren
de97fadd9a Author info update
svn: r10159
2008-03-02 19:17:22 +00:00
Peter Landgren
7c05a4d37f Author info update
svn: r10158
2008-03-02 19:16:34 +00:00
Gary Burton
cc9d9e1162 2008-03-02 Gary Burton <gary.burton@zen.co.uk>
* src/plugins/RelCalc.py: Allow the tree view to be navigated via the
	keyboard. Bug #1777



svn: r10156
2008-03-02 16:16:14 +00:00
Jérôme Rapinat
9befaa17ff 2008-03-02 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/AgeOnDate.py : minor change for better translations



svn: r10155
2008-03-02 06:12:05 +00:00
Doug Blank
6b8d041c94 additional refinements
svn: r10154
2008-03-02 06:10:20 +00:00
Doug Blank
e96b543384 2008-03-02 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py (PedigreeGramplet.get_boxes): 
	Fixed a bug in turning off vertical lines; other refinements



svn: r10153
2008-03-02 05:43:50 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Brian Matherly
1f57d5224c fixed check for attribute 'window' by using has_attribute()
0001867: Patch containing fixes (for reporting and general)


svn: r10151
2008-03-01 20:55:36 +00:00
Brian Matherly
76d7b01103 0001855: BUG when running family_group report from command line (no attribute get_gramps_id)
svn: r10150
2008-03-01 20:39:39 +00:00
James G Sack
93de8b0208 add unittest for issue #1851 fix
svn: r10148
2008-03-01 08:35:07 +00:00
James G Sack
8e3e98d571 #1851 discard empty notes (and warn), also warn of skipped subordinates (see want_parse_warnings), update test util per warnings change
svn: r10147
2008-03-01 06:58:17 +00:00
Brian Matherly
825b301f7f Cleanup in Narrative Web report.
svn: r10146
2008-03-01 04:43:58 +00:00
James G Sack
6aacd516ed fix minor double-count of errors
svn: r10145
2008-03-01 02:46:20 +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
0958b83bfc 2008-02-27 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/plugins/Makefile.am: add CmdRef.py and DateParserDisplayTest.py to
    get make distcheck to run through.

svn: r10141
2008-02-29 08:34:23 +00:00
James G Sack
54faf32fee fix r10099 oversight, also improve callback_test.py
svn: r10140
2008-02-29 05:15:00 +00:00
Benny Malengier
979ea11f3d * src/DataViews/PersonView.py: don't crash on click, 1794
* src/PageView.py: don't crash on click, #1794

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


svn: r10139
2008-02-28 23:13:07 +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
Erik De Richter
fefa36ad4e wiki manual link
svn: r10137
2008-02-28 20:39:24 +00:00
Doug Blank
62f694be30 2008-02-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py: 
	made detached_width, height larger for the pedigree gramplet



svn: r10136
2008-02-28 12:29:28 +00:00
Benny Malengier
e1cae1a3bc 2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/DefaultGramplets.py: improve (??) Pedigree Gramplet
	* src/DataViews/GrampletView.py: add a no-wrap method



svn: r10135
2008-02-28 10:30:12 +00:00
Doug Blank
5f7c6c1c8a 2008-02-28 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py: new Pedigree Gramplet
	* src/DataViews/GrampletView.py: added help button on undocked windows



svn: r10134
2008-02-28 06:20:44 +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
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
Erik De Richter
c3b4f5fe89 wiki manual link
svn: r10131
2008-02-27 19:17:34 +00:00
Brian Matherly
202e0356d7 2008-02-27 Brian Matherly <brian@gramps-project.org>
* src/GrampsDbUtils/_ReadXML.py:
	Don't allow newer Gramps files to be imported (#0001722).

svn: r10130
2008-02-27 13:03:41 +00:00
Stéphane Charette
44000e4b96 1549: use standard date formats for FamilyLines
svn: r10128
2008-02-27 08:37:01 +00:00
Brian Matherly
e913abe88b 0001828: update cli handling of new options. (new in 3.0?)
svn: r10127
2008-02-27 04:38:21 +00:00
Brian Matherly
fe6c305a14 0001835: cli crashes for all reports. NoneType has no attribute get_gramps_id
svn: r10126
2008-02-27 03:03:20 +00:00
Benny Malengier
7bd31dd4f1 2008-02-26 Benny Malengier <benny.malengier@gramps-project.org>
* src/ScratchPad.py: bug when dragging sourceref #1833
    * src/GrampsDisplay.py: remove whitespace

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


svn: r10125
2008-02-26 12:35:42 +00:00
Peter Landgren
2ae2a39d66 Fix for some landscape printing
svn: r10123
2008-02-26 07:22:07 +00:00
Brian Matherly
16799c2465 Improvements to CLI reports -
0001824: Bug in command line - gramps does not show right error.
0001821: A command "python src/gramps.py --open=DG1 --action=report" cause a crash
Fix help strings.

svn: r10122
2008-02-26 04:32:57 +00:00
Doug Blank
7aed9fc1bf 2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DateHandler/_DateParser.py: set year += 1
	* src/gen/lib/date.py: removed slash-date fix
	* src/gen/lib/test/date_test.py: slash dates sort correctly



svn: r10121
2008-02-26 00:14:36 +00:00
Raphael Ackermann
658d49407c 2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/const.py.in: query os.environ for GRAMPSHOME env and use it
	0001831: A patch allowing using a different home folder than default

svn: r10120
2008-02-25 22:02:01 +00:00
Erik De Richter
e9d978d646 wiki manual link
svn: r10119
2008-02-25 11:46:19 +00:00
Raphael Ackermann
46dad9bae3 2008-02-25 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ReportBase/_ArgHandler.py (ArgHandler.cl_action): improve output
	when no report or tool name is given. Remove call to sys.exit(1) as it 
	means that gui error report handler is called (locks db).
	addresses part of #0001821

svn: r10118
2008-02-25 10:05:15 +00:00
Raphael Ackermann
3d1d81b746 2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/ReportBase/_CommandLineReport.py: add user friendly output to cli 
	gramps.py -u --open=merge --action=report -p "name=indiv_complete,show=all"
	#0001823

svn: r10117
2008-02-25 08:59:40 +00:00
Raphael Ackermann
0f8aaff690 2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/ArgHandler.py: add UI Report Names to output 
	0001826: Command line - viewing available reports nicer to read

svn: r10116
2008-02-25 08:10:19 +00:00
Raphael Ackermann
21042e7d72 2008-02-25 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/plugins/GrampsCfg.py: new (GrampsPreferences.update_idformat_entry):
	add method that sets new ID format preferences in db. 
	(GrampsPreferences.add_prefix_panel): use callback update_idformat.entry 
	0001817: Make preference changes take immediate effect. 
	* po/POTFILES.in: add DateParserDisplayTest.py. #0001819
	
2008-02-25 Raphael Ackermann <raphael.ackermann@gmail.com>
	* POTFILES.in : add missing plugins/DateParserDisplayTest.py #0001819

svn: r10115
2008-02-25 07:46:32 +00:00
Doug Blank
6103ed9539 2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/test/date_test.py: new slash date tests
	* src/gen/lib/date.py: new get_slash(), fix slash conversions
	* src/DateHandler/_DateParser.py: parser sets slash date to Julian



svn: r10114
2008-02-25 05:46:45 +00:00
Brian Matherly
e801786edb Partial fix for 0001722: add dialog that on import gives a warning if the xml is made with an older version
svn: r10113
2008-02-25 04:32:11 +00:00
Brian Matherly
af21e396d9 Fix page_break() in AsciiDoc
svn: r10112
2008-02-24 23:21:19 +00:00
Brian Matherly
d2c853cbaa 0001587: Command line reports do not work
svn: r10111
2008-02-24 23:16:52 +00:00
Brian Matherly
c7d77d253d 0001808: Bug when I click on a Generate Commandline Plugin Reference
svn: r10110
2008-02-24 22:31:06 +00:00
Gary Burton
ece26c420f 2008-02-24 Gary Burton <gary.burton@zen.co.uk>
* src/Selectors/_SelectPerson.py: Let return key close search field.
	Bug #1728

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


svn: r10109
2008-02-24 21:18:49 +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
Doug Blank
a5b569d1dc * src/DataViews/GrampletView.py (GrampletView.restore_gramplet):
Fixed restore minimized gramplet

2008-02-24  NOT Douglas S. Blank <dblank@cs.brynmawr.edu>


svn: r10106
2008-02-24 14:58:35 +00:00
Benny Malengier
cd756e5b13 * src/ViewManager.py:
* src/DbLoader.py:
	Remove os.chdir, no longer needed for relative path

2008-02-24  Douglas S. Blank <dblank@cs.brynmawr.edu>


svn: r10105
2008-02-24 14:19:40 +00:00
Doug Blank
7ff838b08b 2008-02-24 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/GrampletView.py: don't save deleted gramplets
	* src/glade/gramps.glade: changed tooltip from "close" to "delete"
	Gramplets are either undeleted before exit, or they go away



svn: r10104
2008-02-24 14:09:58 +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
Doug Blank
2180fa02cb 2008-02-23 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py (Date.get_stop_date): 
	added new method Date.to_calendar; dates return None if error



svn: r10102
2008-02-24 00:58:33 +00:00
Raphael Ackermann
5f375b106f 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* ViewManager.py
	* gen/db/iterator.py
	* gen/db/base.py
	* gen/db/dbconst.py
	* gen/db/cursor.py
	* gen/db/__init__.py
	* gen/db/exceptions.py
	* gen/db/dbdir.py
	* gen/lib/srcbase.py
	* gen/callback: deleted unused directory
	* plugins/ReorderIds.py:
	pylint and pep8 doc fixes

svn: r10099
2008-02-23 08:38:55 +00:00
Doug Blank
c0fd2f8b39 2008-02-23 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/date_test.py: removed file; moved tests to:
	* src/gen/lib/test/date_test.py (suite3): new tests
	moved tests from src/date_test.py into unit-test framework



svn: r10098
2008-02-23 05:56:38 +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
Doug Blank
a1450a8c29 2008-02-22 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/GrampletView.py: translate "Gramplet"
	* src/plugins/Makefile.am : add AgeOnDate.py QR
	* po/POTFILES.in: add AgeOnDate.py QR



svn: r10095
2008-02-22 13:11:41 +00:00
Raphael Ackermann
f3db8c0e75 2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_EditRule.py
    * src/Filters/Rules/_HasAttributeBase.py
    * src/Filters/Rules/Family/_MatchesFilter.py
    * src/Filters/Rules/Event/_MatchesFilter.py
    * src/Filters/Rules/Event/_MatchesSourceFilter.py
    * src/Filters/Rules/Event/_HasType.py
    * src/Filters/Rules/Event/_MatchesPersonFilter.py
    * src/Filters/Rules/_HasTextMatchingRegexpOf.py
    * src/Filters/Rules/_HasReferenceCountBase.py
    * src/Filters/Rules/_HasNoteSubstrBase.py
    * src/Filters/Rules/__init__.py
    * src/Filters/Rules/_HasGrampsId.py
    * src/Filters/Rules/_RegExpIdBase.py
    * src/Filters/Rules/_IsPrivate.py
    * src/Filters/Rules/_Rule.py
    * src/Filters/Rules/_HasMarkerBase.py
    * src/Filters/Rules/_HasEventBase.py
    * src/Filters/Rules/Note/_MatchesFilter.py
    * src/Filters/Rules/Person/_MatchesFilter.py
    * src/Filters/Rules/Person/_MatchesEventFilter.py
    * src/Filters/Rules/MediaObject/_MatchesFilter.py
    * src/Filters/Rules/_HasTextMatchingSubstringOf.py
    * src/Filters/Rules/_Everything.py
    * src/Filters/Rules/_MatchesFilterBase.py
    * src/Filters/Rules/_HasNoteRegexBase.py
    * src/DateHandler/_DateUtils.py
    pylint and doc fixes.

svn: r10094
2008-02-22 10:50:06 +00:00
Erik De Richter
12056e6b67 links to wiki manual
svn: r10088
2008-02-21 08:56:39 +00:00
Stéphane Charette
583f926d23 removed old FamilyLines.py, added new NotRelated.py
svn: r10087
2008-02-21 07:19:32 +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
Brian Matherly
274b630f04 0001792: Tools->Utilities->Verify the Data (exclude married names)
svn: r10085
2008-02-21 04:04:37 +00:00
Raphael Ackermann
5cd3411cfd 2008-02-20 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GedcomUtils.py: (IdMapper.get_translate()) return 
	value of dict instead of boolean. Fix #0001708

svn: r10084
2008-02-21 00:34:04 +00:00
Erik De Richter
54cad55630 links to wiki manual
svn: r10081
2008-02-20 19:04:53 +00:00
Peter Landgren
2662815571 pylint cleaning
svn: r10079
2008-02-20 15:54:41 +00:00
Raphael Ackermann
8605ce973a 2008-02-20 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DisplayTabs/_PersonRefEmbedList.py: change _o mnemonic to not 
    interfere with OK button.

svn: r10078
2008-02-20 08:49:51 +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
Brian Matherly
c3246a4e20 Remove person parameter from summary and count ancestor reports.
svn: r10076
2008-02-20 05:07:43 +00:00
Doug Blank
c76b017d64 2008-02-19 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DbLoader.py (DbLoader.import_file): 
	Importer will stay on dialog until cancel or success. Errors
	will remain in dialog until fixed, or cancel.




svn: r10075
2008-02-20 04:59:52 +00:00
Brian Matherly
cc6654ddab Remove the "person" option from reports, report options, and report dialogs. Person is selected by the user for all reports.
svn: r10074
2008-02-20 04:52:10 +00:00
Doug Blank
65951d6722 2008-02-19 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/DefaultGramplets.py: News renders text with styles
	* src/DataViews/GrampletView.py (GuiGramplet.render_text): 
	First draft of a TextBuffer with markup



svn: r10073
2008-02-20 04:16:26 +00:00
Benny Malengier
977c9d8013 * src/ViewManager.py: #1559, CTRL+N/P also if no sidebar
2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>


svn: r10072
2008-02-19 22:16:13 +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
Benny Malengier
3f9fa6f7e1 2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: #1559, use CTRL+N/P not ALT+N/P to avoid problems



svn: r10070
2008-02-19 13:34:53 +00:00
Peter Landgren
73c0fe9a5d Works for Swedish laen (A)
svn: r10065
2008-02-19 10:21:23 +00:00
Benny Malengier
49d0e309fe 2008-02-19 Benny Malengier c <benny.malengier@gramps-project.org>
* src/plugins/SimpleBookTitle.py: remove select file button



svn: r10064
2008-02-19 09:36:50 +00:00
Benny Malengier
b6687ee12e 2008-02-19 Benny Malengier b <benny.malengier@gramps-project.org>
* src/Bookmarks.py:
	* src/gramps_main.py:
	* src/PageView.py:
	Don't edit bookmarks, organize them, key: shift+ctrl+b



svn: r10063
2008-02-19 09:18:47 +00:00
Benny Malengier
a1e29c9daf 2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: CTRL+B as accel for clipboard



svn: r10062
2008-02-19 08:42:31 +00:00
Doug Blank
eb48d8290e * src/glade/gramps.glade: enlarged dbmanager by 70 pixels
so that all of the date can show in window. Note: glade-3
	will change this glade file indentation. I edited it by hand.

2008-02-19  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r10061
2008-02-19 06:30:20 +00:00
Doug Blank
ac8b31151b Fixes for date math and different calendars
svn: r10060
2008-02-19 06:00:51 +00:00
Doug Blank
bb11347869 2008-02-19 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py (Date.__init__): 
	added Date("Jan 1, 2000") string constructor and
	calendar, quality, and modifier keywords to Date()



svn: r10059
2008-02-19 05:22:50 +00:00
Brian Matherly
e579cc0e14 0001688: BUG when I clicked generate commandline plugin reference tool
svn: r10058
2008-02-19 04:32:57 +00:00
Brian Matherly
5ad4dcee22 0001788: Book report crash
svn: r10057
2008-02-19 04:24:56 +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
Raphael Ackermann
df6a507d7c 2008-02-18 Duncan Lithgow <dlithgow@gmail.com>
Raphael Ackermann <raphael.ackermann@gmail.com>
	* src/plugins/AncestorChart.py
	* src/plugins/DescendChart.py
	* src/plugins/StatisticsChart.py
	* src/plugins/TimeLine.py
	work on 0001711: Inconsistant names for graphical reports

svn: r10049
2008-02-18 14:19:18 +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
17ce1638d2 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDbUtils/_GedcomParse.py: remove encode_filename() as filename 
	is already unicode encoded.
	* src/GrampsDbUtils/_GrampsDbWRFactories.py: doc fix
	* src/GrampsDbUtils/_ReadGedcom.py: doc and pylint fixes
	* src/GrampsDbUtils/importdbdir.py: pep8 fix  ''' --> """
	* src/ArgHandler.py: in method cl_import(self, filename, format): add call 
	filename = Utils.get_unicode_path(filename) before calling 
	ReadGedcom._import2(...,filename,...). +pylint fixes
	* src/DbLoader.py: doc fix. change variable choose to choose_db_dialog

svn: r10047
2008-02-18 12:31:31 +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
Brian Matherly
347cb51593 Patch from Peter Landgren <peter.talken@telia.com> fixes:
0001756: Very strange results with statistics report.
0001760: Pie charts are clipped if paper in landscape mode.

svn: r10045
2008-02-18 04:49:54 +00:00
Doug Blank
76d1f660f0 Removed __eq__ on dates
svn: r10044
2008-02-17 18:04:36 +00:00
Doug Blank
6ad3a48d64 2008-02-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/gen/lib/date.py (Date.__sub__): fixed some date math (#1649)
	* src/gen/lib/test/date_test.py: added some unit tests for date math



svn: r10043
2008-02-17 17:53:43 +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
Doug Blank
131db3ef7e 2008-02-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ViewManager.py (ViewManager.__build_main_window):pass self to DS
	* src/DisplayState.py (DisplayState): added vm param
	DS now has a reference to the VM which allows uistate
	to have access to most of a running GRAMPS application



svn: r10038
2008-02-15 14:18:55 +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
Doug Blank
7dd79767f1 2008-02-14 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/RelationView.py (RelationshipView.write_parents): 
	added Sibling/Children add buttons; rearranged display;
	lost a bit of vertical space



svn: r10034
2008-02-14 12:58:57 +00:00
Raphael Ackermann
311aa7b15d 2008-02-14 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ObjectSelector/* : #1744: src/ObjectSelector is not used anmyore
    * src/TreeViews/* : #1744: src/TreeViews is not used anmyore
    * src/Treetips.py : changed class comment. pep8 fix for doc: ''' --> """
    * src/plugins/SoundGen.py: remove ... in menu. imports cleanup

svn: r10033
2008-02-14 11:02:39 +00:00
Peter Landgren
b1c282102f Two translatable strings were missed
svn: r10031
2008-02-14 10:02:45 +00:00
Benny Malengier
d4443d944c 2008-02-14 Benny Malengier <benny.malengier@gramps-project.org>
* src/DisplayModels/_NoteModel.py: use unicode object internally, #1739


svn: r10030
2008-02-14 08:58:37 +00:00
Doug Blank
1b9949bdc6 2008-02-13 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/GrampletView.py: right-click on name link edits
	* src/plugins/DefaultGramplets.py: change tooltip of relation gramplet
	to indicate the right-click edit option



svn: r10029
2008-02-14 02:40:45 +00:00
Benny Malengier
e1497c5f3e * src/DataViews/GrampletView.py: Gramplet key for detached min size
* src/plugins/DefaultGramplets.py: RelativesGramplet detached size

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


svn: r10028
2008-02-13 21:29:06 +00:00
Benny Malengier
b7e7f90096 * src/DataViews/GrampletView.py: minor change
* src/plugins/DefaultGramplets.py: new RelativesGramplet
	  Response to issue #1758

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


svn: r10027
2008-02-13 19:52:40 +00:00
Benny Malengier
74338d8a87 2008-02-13 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/WritePkg.py: add callback=None, issue #1398


svn: r10026
2008-02-13 14:49:46 +00:00
Peter Landgren
afcac70792 Removal of debug print
svn: r10023
2008-02-13 08:39:18 +00:00
Benny Malengier
f65094c16e * src/DisplayTabs/_ButtonTab.py: some accel keys don't work on keyboard
with numlock as MOD_MASK2, enable the keys for those keyboards

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


svn: r10022
2008-02-12 13:15:39 +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
60b7f5e04d 0001754: Capitalization in Statistics chart
0001755: Selection of contents in statistics chart does not work

svn: r10019
2008-02-12 04:49:43 +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
Brian Matherly
1adcd57028 0001731: Wrong dot in Ancestral Report
svn: r10015
2008-02-10 22:09:35 +00:00
Benny Malengier
9a1b20535f temp fix for Raphael
svn: r10014
2008-02-10 21:24:50 +00:00
Brian Matherly
fbb9bcedf8 0001751: Translation of string in FanCaaart.py does not work.
svn: r10013
2008-02-10 21:22:28 +00:00
Brian Matherly
1f783f6545 0001750: Some problems with web pages
svn: r10012
2008-02-10 21:17:43 +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
Brian Matherly
610ac774fa Web Calendar and Narrative Web report now use Menu Options.
svn: r10010
2008-02-10 04:09:09 +00:00
Jérôme Rapinat
f9a1b38155 svn: r10009 2008-02-09 14:58:42 +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
Jérôme Rapinat
eb01559178 2008-02-07 Jerome Rapinat <romjerome@yahoo.fr>
* src/DateHandler/_Date_fr.py : fix issue with french calendar and 
        year only #1733



svn: r10002
2008-02-07 15:31:27 +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
146e89876d 2008-02-05 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/data/tips.xml.in: remove checkpoint reference
	* src/plugins/Makefile.am: remove checkpoint reference
	* po/POTFILES.in: remove checkpoint reference

svn: r10000
2008-02-05 22:24:44 +00:00
Gary Burton
8335204a39 svn: r9999 2008-02-05 21:35:29 +00:00
Benny Malengier
d0b50fcf5b 2008-02-05 Benny Malengier <benny.malengier@gramps-project.org>
* src/GrampsWidgets.py: remove conditional test on pygtk 2.6, 3.0 
	  requires 2.10+, so 2.6 code should never be used.



svn: r9995
2008-02-05 10:13:25 +00:00
Raphael Ackermann
534a306579 2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/GrampletView.py
	* src/ReportBase/_ReportUtils.py
	* src/gen/proxy/private.py
	* src/plugins/WebCal.py
	* src/plugins/CmdRef.py
	* src/Models/_ListCursor.py
	* src/Models/_PathCursor.py
	PEP 8 fixes. Change 
	if var == True --> if var 
	if var is True --> if var
	if var == False --> if not var
	if var == None --> if var is None

svn: r9994
2008-02-05 00:31:57 +00:00
Raphael Ackermann
a2316b578b doc fix
svn: r9993
2008-02-04 11:12:59 +00:00
Gary Burton
2742e8d00b 2008-02-03 Gary Burton <gary.burton@zen.co.uk>
* src/gen/db/base.py: Functions using the pop function expect a return
	value. Bug #1632



svn: r9991
2008-02-03 21:55:03 +00:00