Commit Graph

5451 Commits

Author SHA1 Message Date
Zsolt Foldvari
d5651b061e svn: r8335 2007-03-28 16:36:18 +00:00
Zsolt Foldvari
0cc78b2e89 * src/DataViews/_NoteView.py: enable shortcuts and drag-and-drop.
* src/Bookmarks.py (NoteBookmarks.make_label): better note label.
	* src/DisplayTabs/_NoteModel.py: better note label for preview.
	* src/DisplayTabs/_NoteTab.py: enable accepting drag-and-drop notes.
	* src/ScratchPad.py: ScratchPadNote added.
	* src/DdTargets.py: NOTE_LINK added.

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


svn: r8334
2007-03-28 16:27:45 +00:00
Zsolt Foldvari
33fedc18d4 2007-03-28 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/DataViews/_NoteView.py: put back column editor support.
	* src/GrampsDb/_GrampsDbBase.py (get_note_column_order): fix default
	values.
	* src/DisplayModels/_NoteModel.py: include marker column.



svn: r8333
2007-03-28 14:00:03 +00:00
Don Allingham
e8387f71c7 do the sensible thing, prevent duplicate names when creating a new db.
svn: r8332
2007-03-28 04:05:16 +00:00
Don Allingham
e5f0c18781 2007-03-27 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: pass dbstate to DbManager
	* src/DbManager.py: add icon, prevent deletion of open db, make buttons
	do the sensible thing



svn: r8331
2007-03-28 03:33:11 +00:00
Brian Matherly
58b1e800ca Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
2007-03-28 03:17:13 +00:00
Brian Matherly
adbf4b1dac Remove "enable_options()" from the report interface. All reports define all their own options. So it is not used.
svn: r8329
2007-03-28 02:47:03 +00:00
Zsolt Foldvari
a7083cf69c * src/GrampsDb/_DbUtils.py (db_copy): include missing Note table;
handling Note bookmarks.
	* src/GrampsDb/_GrampsDbWriteXML.py:
	* src/GrampsDb/_GrampsDBDir.py:
	* src/GrampsDb/_GrampsBSDDB.py:
	* src/Bookmarks.py:
	* src/GrampsDbUtils/_ReadXML.py:
	Handling Note bookmarks.

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


svn: r8328
2007-03-27 21:47:18 +00:00
Zsolt Foldvari
5257824b63 * src/GrampsDbUtils/_ReadGrdb.py (importData): include missing Note
table; handle Note bookmarks.

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


svn: r8327
2007-03-27 20:39:42 +00:00
Zsolt Foldvari
cbd230e24b 2007-03-27 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsDb/_GrampsDbBase.py: add note_bookmarks.
	* src/DataViews/_NoteView.py: 'add' and 'remove' functionalities added.
	* src/Editors/_EditNote.py: DeleteNoteQuery added.
	* src/DisplayTabs/_NoteModel.pya: unnecessary delete_tags call removed.
	* src/Utils.py: get_referents() and get_note_referents added();
	get_source_referents() and get_media_referents() rewritten.



svn: r8326
2007-03-27 18:28:26 +00:00
Brian Matherly
2151ad9780 Remove the "pagecount" option from the paper menu in the reports. It is not used.
svn: r8325
2007-03-27 12:04:07 +00:00
Don Allingham
51de7f3399 2007-03-27 Don Allingham <don@gramps-project.org>
* src/DbManager.py (DbManager.populate): make default directory if it
	does not exist



svn: r8324
2007-03-27 11:54:10 +00:00
Brian Matherly
4a6b730259 Remove "get_generations()" from the report options base classes. It was
forcing some reports to have the "page break between generations" options
even though they weren't using it. All reports now define all of their own
options.

svn: r8323
2007-03-27 11:50:26 +00:00
Brian Matherly
aa57b4b1a6 Make Detailed Descendant Report work with multiple notes.
svn: r8322
2007-03-27 04:25:25 +00:00
Brian Matherly
86fe9d11a8 fix for multiple notes.
svn: r8321
2007-03-27 04:18:14 +00:00
Don Allingham
911590e880 * src/ViewManager.py: integrate the new DbManager
* src/glade/gramps.glade: integrate the new DbManager
	* src/gramps_main.py: integrate the new DbManager
	* src/DbManager.py: integrate the new DbManager


svn: r8320
2007-03-27 03:18:49 +00:00
Don Allingham
bfe0e121fb 2007-03-26 Don Allingham <don@gramps-project.org>
* src/DisplayModels/_PeopleModel.py (PeopleModel._build_search_sub): 
	switch back to old format for handling cursor until bug can be resolved



svn: r8319
2007-03-26 22:16:10 +00:00
Zsolt Foldvari
6aad932574 2007-03-26 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/Editors/_EditNote.py (save): pass the handle to the callback
	instead of the object itself.
	* src/DisplayTabs/_NoteTab.py: pass the add and edit callback functions
	to EditNote; side button tooltips.



svn: r8318
2007-03-26 21:06:17 +00:00
Brian Matherly
dfed629290 Remove get_report_extra_menu_info() from _BareReportDialog as it is not used.
svn: r8317
2007-03-26 04:13:22 +00:00
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