Alex Roitman
36413653f9
* src/GrampsDb/_WriteGedcom.py: Multiple improvements.
...
* various: Replace get/set_base_handle with get/set_reference_handle.
* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
Remove redundant methods.
svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
a45108305b
* src/GrampsDb/_WriteGedcom.py: Repository export.
...
svn: r6743
2006-05-21 23:32:34 +00:00
Alex Roitman
270e14ae92
* src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
...
unused variables.
svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
4b4ff7e0ac
* src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
...
Do not import unused module.
svn: r6738
2006-05-21 20:48:50 +00:00
Alex Roitman
0c2f2fdd11
* src/const.py.in: Use gettext.
...
* src/GrampsDb/_ConstXML.py: Remove file.
svn: r6736
2006-05-21 20:27:46 +00:00
Alex Roitman
ba6a131489
2006-05-21 Alex Roitman <shura@gramps-project.org>
...
* src/DisplayTabs/_PersonEventEmbedList.py
(PersonEventEmbedList.default_type): properly process event list.
* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
Use correct method.
* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
(EditPersonEvent.get_custom_events): Use correct method.
* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.
svn: r6735
2006-05-21 18:17:52 +00:00
Alex Roitman
e08ae4e0b0
* src/GrampsDb/_WriteGedcom.py (write_repos): Add method.
...
svn: r6733
2006-05-21 04:14:47 +00:00
Alex Roitman
e0f97ecfc7
2006-05-20 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: Correct set_type calls.
svn: r6731
2006-05-20 18:40:20 +00:00
Don Allingham
116e75ffda
2006-05-19 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: repository does not have a media_list
2006-05-17 Don Allingham <don@gramps-project.org>
* GrampsDb/_ReadGedcom.py: pychecker
* GrampsDb/_GrampsDbBase.py: pychecker
* GrampsDb/_DbUtils.py: pychecker
* GrampsDb/_WriteGedcom.py: pychecker
* StartupDialog.py: pychecker
* DisplayTabs/_FamilyLdsEmbedList.py: pychecker
* TipOfDay.py: pychecker
* Utils.py: pychecker
* PageView.py: pychecker
* ToolTips.py: pychecker
* Filters/_FilterWidget.py: pychecker
* Filters/_SearchBar.py: pychecker
* Filters/__init__.py: pychecker
* Filters/_FilterStore.py: pychecker
* Filters/_PersonSidebarFilter.py: pychecker
* Filters/_FilterMenu.py: pychecker
* Filters/_SidebarFilter.py: pychecker
svn: r6727
2006-05-20 01:21:37 +00:00
Alex Roitman
bbf3932b26
2006-05-19 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom types.
svn: r6726
2006-05-20 00:52:47 +00:00
Alex Roitman
7eac93a623
Update
...
svn: r6725
2006-05-19 19:48:36 +00:00
Alex Roitman
6193015a87
Minor tweaks
...
svn: r6723
2006-05-19 18:54:21 +00:00
Alex Roitman
1d68d38388
Typo
...
svn: r6722
2006-05-19 18:02:06 +00:00
Alex Roitman
02494fcaa7
2006-05-19 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: Define methods to get custom types.
* src/GrampsDb/_GrampsBSDDB.py: Load/save marker_types.
svn: r6721
2006-05-19 17:32:23 +00:00
Alex Roitman
7647d541e0
(commit_*): update custom type sets on commit.
...
svn: r6719
2006-05-19 00:39:22 +00:00
Alex Roitman
5aac3cd713
* src/GrampsDb/_GrampsBSDDB.py: Remove unused methods; remove
...
unused secondary tables; add more custom type holders.
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Add more
custom type holders.
(XmlWriter.write_xml_data): Do not export name groups.
svn: r6718
2006-05-19 00:05:44 +00:00
Alex Roitman
53269db447
* src/GrampsDb/_DbUtils.py (db_copy): Copy bookmarks and gender stats.
...
(importData): Import bookmarks.
svn: r6715
2006-05-18 22:56:13 +00:00
Alex Roitman
b970a24a1b
* data/grampsxml.dtd: Update for new bookmarks.
...
* data/grampsxml.rng: Update for new bookmarks.
* src/GrampsDb/_WriteXML.py (write_bookmarks): Add method to write
new bookmarks.
* src/GrampsDb/_ReadXML.py (start_bmark): Parse new bookmarks
svn: r6714
2006-05-18 22:17:51 +00:00
Alex Roitman
ac4dae0429
2006-05-18 Alex Roitman <shura@gramps-project.org>
...
* INSTALL: Clarify; list build-dependencies.
* src/GrampsDb/_ReadGrdb.py: Update progress.
svn: r6713
2006-05-18 21:16:59 +00:00
Don Allingham
c3f8dbb44f
fix ansel detection
...
svn: r6710
2006-05-18 16:08:56 +00:00
Alex Roitman
040ab9f6fb
Update
...
svn: r6706
2006-05-18 05:01:16 +00:00
Alex Roitman
db5050f860
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
...
svn: r6705
2006-05-18 04:40:37 +00:00
Alex Roitman
ff8a1910d9
* src/GrampsDb/_ReadGrdb.py: Add repos, modularize.
...
svn: r6704
2006-05-18 04:16:54 +00:00
Don Allingham
8e2c9ee3b8
svn: r6703
2006-05-18 03:14:55 +00:00
Alex Roitman
47ad2d19cb
* src/ArgHandler.py: Adapt to recent changes.
...
* src/BasicUtils.py (update_empty): Clean up callback.
* src/GrampsDb/_ReadGedcom.py: Clean up callback.
svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
79468e0196
In .:
...
* src/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
Add new method.
* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6699
2006-05-17 23:36:31 +00:00
Alex Roitman
1086570d2f
2006-05-17 Alex Roitman <shura@gramps-project.org>
...
* src/DbLoader.py: add new module.
* src/ViewManager.py: Use DbLoader.
* src/DisplayState.py (load): Do not perform post_load tasks.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
version is incopmatible.
svn: r6698
2006-05-17 21:16:59 +00:00
Don Allingham
2822d10efb
* src/GrampsDb/_GrampsDbBase.py: remove place name storage
...
* src/Editors/_EditLdsOrd.py: new SelectPlace interface
* src/glade/gramps.glade: new select place interface changes
svn: r6697
2006-05-17 20:42:02 +00:00
Don Allingham
9ad577a0bc
2006-05-16 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: handle blank lines
svn: r6684
2006-05-17 01:23:14 +00:00
Alex Roitman
4487df24da
2006-05-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_WriteXML.py: Use new callback class.
* src/GrampsDb/_WriteGedcom.py: Use new callback class.
* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
the InMem databases.
svn: r6679
2006-05-16 03:47:58 +00:00
Alex Roitman
934d154d5a
2006-05-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_DbUtils.py: import proper class.
svn: r6674
2006-05-15 21:56:57 +00:00
Alex Roitman
00e46b9a0c
* src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
...
svn: r6666
2006-05-15 05:37:54 +00:00
Alex Roitman
cde80a95dd
* src/DateHandler/__init__.py: Proper import sequence.
...
* src/DateHandler/_DateHandler.py: Split into parts.
* src/DateHandler/_DateUtils.py: Add new file.
* src/DateHandler/_Date_sk.py: Bring to the new module structure.
* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/GrampsDb/_ReadGedcom.py: Import from proper module.
svn: r6657
2006-05-14 20:14:59 +00:00
Alex Roitman
e7971c78d4
* src/GrampsDb/_ReadXML.py (GrampsParser): Use UpdateCallback.
...
* src/GrampsDb/_ReadGedcom.py (GedcomParser): Use UpdateCallback.
(get_total): Add function, remove unneeded class.
(UpdateCallback.update_real): Allow optional argument;
(UpdateCallback.set_total): Add method.
svn: r6618
2006-05-11 06:16:45 +00:00
Alex Roitman
ae59d17a60
In .:
...
* src/GrampsDb/_DbUtils.py (db_copy): Use UpdateCallback class.
* src/BasicUtils.py: Add module.
* src/Makefile.am (gdir_PYTHON): Add new file.
In po:
2006-05-10 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6617
2006-05-11 05:11:47 +00:00
Alex Roitman
4f2b19a733
2006-05-10 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos.
svn: r6610
2006-05-10 20:17:28 +00:00
Alex Roitman
99db21d8fe
* src/GrampsDb/_DbUtils.py (db_copy): Use batch transaction.
...
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Proper indentation.
svn: r6606
2006-05-10 14:23:38 +00:00
Alex Roitman
cbd84af66b
* src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
...
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
* src/GrampsDb/_WriteGrdb.py: Use db_copy.
* src/GrampsDb/_DbUtils.py (db_copy): Add function.
* src/ViewManager.py: Save as support.
* src/DataViews/_MapView.py (enable_debug): Set to False to be
able to see the output besides MapView.
svn: r6604
2006-05-10 05:52:55 +00:00
Alex Roitman
e6eea70727
* src/Exporter.py (Exporter.native_export): Use callback.
...
* src/Utils.py (get_new_filename): Add path separator.
* src/GrampsDb/_WriteGrdb.py: Proper export of tables with and
without transaction support, add callback.
svn: r6600
2006-05-09 23:15:38 +00:00
Alex Roitman
c50c23de4d
* src/GrampsDb/_WriteXML.py (write_object): Check whether path is
...
empty before removing leading slash.
svn: r6598
2006-05-09 21:47:17 +00:00
Alex Roitman
82a5be28d6
* src/GrampsDb/_WriteGedcom.py: Bring to new API.
...
svn: r6597
2006-05-09 20:36:12 +00:00
Alex Roitman
6435be5852
2006-05-08 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py (get_default_person): Use proper
way of getting person from the handle.
svn: r6592
2006-05-09 04:33:21 +00:00
Don Allingham
9bc839681b
2006-05-08 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: get_default_handle()
* src/DisplayState.py: use get_default_handle, fix race condition
svn: r6591
2006-05-09 04:15:04 +00:00
Alex Roitman
f2a73acbea
* src/GrampsDb/_GrampsBSDDB.py (load): Better non-TXN support.
...
* src/UndoHistory.py (__init__): Rename list to tree.
svn: r6589
2006-05-08 23:18:16 +00:00
Alex Roitman
a91a87da50
Update
...
svn: r6586
2006-05-08 19:04:18 +00:00
Alex Roitman
1063ff3d02
(GrampsInMemDB._del_*): Prpoper deletes.
...
svn: r6585
2006-05-08 18:54:56 +00:00
Alex Roitman
a19c4f2543
(GrampsInMemDB._del_family): Remove obsolete code.
...
svn: r6584
2006-05-08 18:47:42 +00:00
Alex Roitman
89d926bcd3
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add callname to
...
names during upgrade.
svn: r6582
2006-05-08 18:09:11 +00:00
Alex Roitman
07057b40a6
Update
...
svn: r6581
2006-05-08 17:57:47 +00:00
Alex Roitman
82b45e0b2b
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
...
svn: r6580
2006-05-08 17:50:12 +00:00