Commit Graph

5532 Commits

Author SHA1 Message Date
Brian Matherly
36d29f3592 Remove get_display_format() from _ReportOptions.py. It is no longer used.
svn: r8316
2007-03-25 20:42:39 +00:00
Brian Matherly
7ee6b12070 Remove get_report_filters() function. Let reports define the filter options themselves.
svn: r8315
2007-03-25 20:35:33 +00:00
Don Allingham
ec0623d67d svn: r8314 2007-03-25 03:17:25 +00:00
Don Allingham
d20b4833f9 2007-03-24 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: add support for new directory type
	* src/GrampsDb/_GrampsDbBase.py: use normal pickle encoding
	* src/GrampsDb/_GrampsDBDir.py: new directory based type
	* src/GrampsDb/_GrampsDbFactories.py: add support for new directory type
	* src/Editors/_EditNote.py: only update on save
	* src/Selectors/_SelectPerson.py: use normal columns
	* src/GrampsDbUtils/_ReadGedcom.py: add support for new directory type
	* src/GrampsDbUtils/__init__.py: add support for new directory type
	* src/GrampsDbUtils/_Backup.py: fast pickle based backup
	* src/ArgHandler.py: add support for new directory type



svn: r8313
2007-03-25 02:25:37 +00:00
Zsolt Foldvari
be30e422b9 * src/Editors/_EditAddress.py:
* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py:
	* src/glade/gramps.glade:
	move date_entry(ValidatableMaskedEntry) out into glade.

2007-03-24  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8312
2007-03-24 00:30:14 +00:00
Zsolt Foldvari
901f282088 2007-03-24 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): better unicode encoding.
	* src/Editors/_EditPlace.py: source code encoding comment removed;
	EditPlace._validate_coordinate: proper unicode coding;
	EditPlace._setup_fields: longitude and latitude entries moved out to
	glade.
	* src/Editors/_EditNote.py (EditNote._local_init): redundant method
	call removed.
	* src/GrampsWidgets.py: enable custom widget support from glade;
	MonitoredEntry.connect: enable support for custom data for signal.
	* src/glade/gramps.glade (place_editor): include ValidatableMaskedEntry
	for longitude and latitude entries.
	* src/ManagedWindow.py (ManagedWindow.show): replace window.show() with
	window.show_all().



svn: r8311
2007-03-23 23:18:32 +00:00
Jérôme Rapinat
7db878ef61 /po/fr.po: minor French translation improvement, keep moved strings (2.2 branch), need this file if GRAMPS release 2.2.7.
svn: r8310
2007-03-23 13:02:20 +00:00
Zsolt Foldvari
8c6223ba1e 2007-03-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte
	string for parseString.
	* src/Editors/_EditAddress.py:
	* src/Editors/_EditLdsOrd.py:
	* src/Editors/_EditSourceRef.py:
	* src/Editors/_EditEventRef.py:
	* src/Editors/_EditMedia.py:
	* src/Editors/_EditName.py:
	* src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table
	with FILL=False yoption for having the validation error tip at right
	position.



svn: r8309
2007-03-21 22:11:52 +00:00
Kees Bakker
e92a5979a8 Use the normal sys.exit() instead of os._exit() because the latter will
not flush any output. Also catch the SysExit exceptions in gramps.py and
do a gtk.main_quit() just to be sure. This all is to make commandline
processing usable.


svn: r8308
2007-03-20 19:21:41 +00:00
Brian Matherly
781d67a409 src/plugins/IndivComplete.py: handle multiple notes
svn: r8307
2007-03-20 12:11:53 +00:00
Brian Matherly
1b93bf11ea src/plugins/IndivComplete.py: handle multiple notes
svn: r8306
2007-03-20 12:05:58 +00:00
Brian Matherly
071d7cc6ec src/plugins/GraphViz.py: fix NameDisplay include
svn: r8305
2007-03-20 03:09:17 +00:00
Don Allingham
0d778ae075 2007-03-18 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: use tooltips for buttons when text disabled (bug 959)
	* src/Editors/_EditSourceRef.py: fix help button (bug 960),  delete the cancel
	on the comment tab.
	* src/Editors/_EditReference.py: make sure help button is sensitive if used.
	* src/GrampsDbUtils/_GedcomParse.py: check for UTF16 BOM
	* src/ArgHandler.py: use STOCK_NEW for create of db (bug 947)
	* src/DbLoader.py: use STOCK_NEW for create of db (bug 947)



svn: r8304
2007-03-19 04:19:49 +00:00
Kees Bakker
69180989ef Do not run update() if in CLI mode.
svn: r8303
2007-03-18 19:20:09 +00:00
Kees Bakker
63bf787fab If a date is not precise (e.g. day or month is 0) then
do not use that date for verification.
A father's death can be roughly 9 months before a childs
birth. We're using 294 days.


svn: r8302
2007-03-18 19:06:22 +00:00
Zsolt Foldvari
eacc71f544 2007-03-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Editors/_EditPlace.py: better tooltip for coordinates; fix position
	of those tooltip.



svn: r8301
2007-03-17 20:07:11 +00:00
Brian Matherly
ab75a832f7 src/Editors/_EditPlace.py: Add the following comment at the top of the
file:
   # -*- coding: latin-1 -*-
See here: http://www.python.org/dev/peps/pep-0263/ for details.
I'm not sure if this is what we want to do, or if there is a better way,
But I needed to do something to get Gramps running again.

svn: r8300
2007-03-15 02:50:36 +00:00
Brian Matherly
2874f7a2fe 0000975: remove extra (/b) HTML tags in NarrativeWeb
svn: r8299
2007-03-14 03:26:10 +00:00
Brian Matherly
52286c98ee 0000976: NarrativeWeb: gramps ID always output regardless of setting
svn: r8297
2007-03-14 03:15:47 +00:00
Brian Matherly
be917a4c16 src/plugins/NarrativeWeb.py: 0000969: NarrativeWeb plugin: include the date in the media object pages
svn: r8295
2007-03-13 23:00:33 +00:00
Zsolt Foldvari
efcaf0d6e1 * src/Editors/_EditPlace.py (_setup_fields): validate coordinates
* src/glade/gramps.glade: delete long, lat entries from place_editor

2007-03-13  Zsolt Foldvari  <zfoldvar@users.sourceforge.net>


svn: r8293
2007-03-13 22:12:10 +00:00
Zsolt Foldvari
63e344754f 2007-03-13 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/RelLib/_Note.py: import const from MarkupText module
	* src/MarkupText.py: use actions instead of widgets on the interface;
	new helper functions
	* src/Editors/_EditNote.py: move widgets out to glade; implement new
	MarkupText buffer interface; use uimanager/toolbar for formatting
	* src/glade/gramps.glade: edit_note update



svn: r8292
2007-03-13 20:31:50 +00:00
Brian Matherly
7593dbfe69 src/ReportBase/_ReportDialog.py: don't catch all exceptions - we won't get a traceback.
svn: r8291
2007-03-11 22:21:19 +00:00
Brian Matherly
066c41d25a * src/plugins/NarrativeWeb.py: 0000950: include the date in the reference sections of the narrative web site
svn: r8288
2007-03-11 19:33:27 +00:00
Brian Matherly
e463a083a3 * src/plugins/NarrativeWeb.py: Support new note API
* src/ReportBase/_ReportUtils.py: Support new note API

svn: r8287
2007-03-10 04:25:23 +00:00
Don Allingham
32e6699bff 2007-03-08 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py
	* src/GrampsDbUtils/_GedcomChar.py
	* src/GrampsDbUtils/_GedcomLex.py



svn: r8286
2007-03-09 06:58:45 +00:00
Don Allingham
c1c6e32085 * src/GrampsDbUtils/_GedcomParse.py (GedcomParser.__parse_record): fix note handling
svn: r8281
2007-03-07 05:25:33 +00:00
Brian Matherly
77fbebb288 * src/plugins/AncestorChart.py: Deleted - just an old version of AncestorChart2.py
svn: r8280
2007-03-07 03:57:22 +00:00
Brian Matherly
56f70f5777 * src/plugins/AncestorChart.py: Deleted - just an old version of AncestorChart2.py
svn: r8279
2007-03-07 03:56:28 +00:00
Brian Matherly
8ab1d729aa * src/plugins/NarrativeWeb.py:
* src/ReportBase/_ReportUtils.py:
Fix 0000956: Event order within GRAMPS not replicated in web report

svn: r8278
2007-03-07 03:15:45 +00:00
Don Allingham
1736120c61 2007-03-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py (EditFamily.save): disable data changed warning
	when saving the data - we know that it changed.



svn: r8276
2007-03-06 21:18:40 +00:00
Jérôme Rapinat
1be29be733 fix end line
svn: r8275
2007-03-06 11:25:30 +00:00
Brian Matherly
a4f28f1a16 src/plugins/NarrativeWeb.py: Fix 0000954: e-mail address causes Narrative Web plugin to generate bad links
svn: r8274
2007-03-06 04:30:22 +00:00
Don Allingham
2ca305b204 2007-03-05 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: support for close button on filter sidebar
	* src/DisplayModels/_BaseModel.py: support for marker coloring
	* src/DisplayModels/_FamilyModel.py: support for marker coloring
	* src/PageView.py: support for marker coloring
	* src/Filters/SideBar/_SidebarFilter.py: provide close button
	* src/Filters/SideBar/_PersonSidebarFilter.py: cleanup



svn: r8272
2007-03-06 04:13:14 +00:00
Brian Matherly
a88d60ad23 * src/plugins/GraphViz.py: Fix doc init.
svn: r8271
2007-03-06 04:06:04 +00:00
Brian Matherly
51d7922473 * src/docgen/GtkPrint.py: Fix 0000908: GtkPrint doesn't parse if you don't have pygtk version 2.10
svn: r8270
2007-03-06 03:01:43 +00:00
Brian Matherly
4d4b9441d0 * src/plugins/GraphViz.py: Fix 0000942: Relationship graph doesn't show preferred name format
svn: r8269
2007-03-06 02:26:55 +00:00
Brian Matherly
99b5a11b20 * src/plugins/TimeLine.py: Fix 0000943: Timeline doesn't show preferred name format
svn: r8267
2007-03-06 02:12:03 +00:00
Don Allingham
7787981804 * src/GrampsDbUtils/_GedcomParse.py: cleanup, reference note fixes
svn: r8265
2007-03-04 05:04:23 +00:00
Don Allingham
a7ad83b3ff 2007-03-03 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsGEDDB.py: readonly database for GEDCOM
	* src/Editors/_EditNote.py: add additional fields
	* src/RelLib/_Note.py: cleanup
	* src/DisplayTabs/_NoteModel.py: display correctly
	* src/GrampsWidgets.py: readonly support for checkbox
	* src/glade/gramps.glade: note fixes
	* src/DisplayModels/_NoteModel.py: display data correctly
	* src/GrampsDbUtils/_GedcomParse.py: cleanup 
	* example/gramps/example.gramps: new note support
	* example/gedcom/sample.ged: new note support



svn: r8264
2007-03-04 02:55:43 +00:00
Brian Matherly
cd570de9e3 * src/plugins/AncestorChart2.py:
* src/plugins/DescendChart.py:
	Make AncestorChart and DescendChart consistent in options
* src/ReportBase/_BareReportDialog.py: remove get_report_extra_textbox_info
* src/ReportBase/_CommandLineReport.py:
* src/ReportBase/_ReportOptions.py:
	remove dispf

svn: r8263
2007-03-03 03:12:04 +00:00
Jérôme Rapinat
34bb7bdad1 improve French translation
svn: r8262
2007-03-02 18:53:08 +00:00
Martin Hawlisch
12ac250d3e * src/GrampsDbUtils/_GedcomParse.py: Fix level of handle_source calls
* src/GrampsDbUtils/_GedcomLex.py: fix typo



svn: r8261
2007-03-02 16:24:14 +00:00
Don Allingham
feab448eda svn: r8260 2007-03-02 05:08:58 +00:00
Don Allingham
d98a23b8d1 2007-02-28 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py: more enhancements
	* src/GrampsDbUtils/_GedcomChar.py: more enhancements
	* src/GrampsDbUtils/_GedcomTokens.py: more enhancements



svn: r8259
2007-03-01 05:18:46 +00:00
Martin Hawlisch
66b631f12e * src/plugins/ImportGeneWeb.py: Adapt to new Notes api; Some parsing fixes
svn: r8257
2007-02-28 16:42:38 +00:00
Don Allingham
dd6be5ad72 * src/GrampsDbUtils/_GedcomChar.py: handle stripping of newlines
* src/GrampsDbUtils/_GedcomLex.py: handle newlines and eof
	the declaration line, give notes and id/handle


svn: r8256
2007-02-28 05:20:30 +00:00
Don Allingham
0a75738eb5 2007-02-27 Don Allingham <don@gramps-project.org>
* src/GrampsDbUtils/_GedcomParse.py (GedcomParser.parse_fam): use
	parse_level



svn: r8255
2007-02-27 16:45:40 +00:00
Brian Matherly
d7d7ed340b * src/BaseDoc.py:
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function

svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
1f11a01c89 * src/plugins/WritePkg.py: Fix crash on gpkg export in Windows
svn: r8253
2007-02-27 02:40:38 +00:00