Commit Graph

7324 Commits

Author SHA1 Message Date
Serge Noiraud
e60588a5b0 ODFDoc : highlight problem in styled notes.
svn: r13081
2009-08-19 22:01:28 +00:00
Gerald Britton
5b8bc47bce Update makefile to add new modules
svn: r13080
2009-08-19 20:30:40 +00:00
Gerald Britton
b4b9675feb cursor.py -- add additional methods mirroring those in DBCursor and a getattr method to pass through non-overridden method calls to DBCursor
svn: r13079
2009-08-19 17:14:32 +00:00
Gerald Britton
c8f7bf0c69 Add new modules to support restructured database objects
bsddbtxn.py -- Wrapper for BSDDB DBTxn to support context manager protocol
    txn.py      -- GrampsDbTxn class to manage atomic transactions
    write.py    -- GrampsDbWrite class for read/write databases
    read.py     -- GrampsDbRead class for read-only databases
    undoredo.py -- GrampsDbUndo class to manage the undo database
    upgrade.py  -- Helper module for upgrading a database at open time


svn: r13078
2009-08-19 17:05:39 +00:00
Gerald Britton
76586fe8c3 Update makefile to include new plugin libraries
svn: r13076
2009-08-19 15:41:06 +00:00
Gerald Britton
ca3abff763 Add new plugin libraries:
libgrdb.py -- Used by ImportGrdb to read old databases
    libmixin.py -- Used by Import plugins to add extra methods


svn: r13075
2009-08-19 15:38:00 +00:00
Doug Blank
850fac483f New Quick View showing all names for all people; need to figure out where to put these QV's which don't require a specific row
svn: r13074
2009-08-19 14:51:02 +00:00
Peter Landgren
5f024d5d2b Typo
svn: r13072
2009-08-19 11:05:36 +00:00
Rob G. Healey
2124169db3 Clean up work in several places display_ind_attributes(), display_child_link(), and add_birthdate().
svn: r13067
2009-08-18 21:40:36 +00:00
Benny Malengier
a111d627eb 03172: Error editing event filter
svn: r13066
2009-08-18 20:18:10 +00:00
Serge Noiraud
6e7970895d ODFDoc : forgot to suppress a print line.
svn: r13056
2009-08-17 22:38:50 +00:00
Serge Noiraud
2f41ff44c2 Added backend for ODFDoc and styled notes.
svn: r13055
2009-08-17 22:28:40 +00:00
Serge Noiraud
786bf9b1fd ODFDoc : Styled notes integration.
svn: r13054
2009-08-17 22:23:26 +00:00
Rob G. Healey
69e4275776 Fixed another error brought to me by Peter Lundgren.
svn: r13040
2009-08-17 03:10:34 +00:00
Jérôme Rapinat
9b805ac2cf 2307: better wording
svn: r13029
2009-08-16 09:37:02 +00:00
Rob G. Healey
9b619a5bc3 Fixed problem in associations, fixed class SourceListPage and fixed problem in stylesheet. Errors brought to me from Peter Lundgren. Thanks again.
svn: r13026
2009-08-15 20:28:22 +00:00
Raphael Ackermann
11eed9f1b0 0003018: keys() method of dictionary objects used unnecessarily
svn: r13022
2009-08-15 14:54:17 +00:00
Raphael Ackermann
9239780182 cleanup & pep8
svn: r13021
2009-08-15 14:37:14 +00:00
Raphael Ackermann
9aeeb8432c 0002723: '<name>' has different meanings in different contexts
svn: r13019
2009-08-15 09:44:49 +00:00
Doug Blank
bfd1bcd8ea Fixed an issue related to #0000841 and added two new properties: options.no_fileselect and options.confirm_text for altering assistant behavior; the Assistant code needs a refactoring at some point
svn: r13013
2009-08-15 00:19:35 +00:00
Jérôme Rapinat
192637811d testingrule for 2307: return string rather than true/false
svn: r13010
2009-08-14 16:46:56 +00:00
Raphael Ackermann
691088d116 0003162: adding pic to media gallery in person editor fails
svn: r13008
2009-08-14 16:10:24 +00:00
Jérôme Rapinat
03ea29e183 testing 2307: to add a family rule for displaying families with marriage event but still unknown relation type
svn: r13006
2009-08-14 15:59:32 +00:00
Benny Malengier
bd48c356cf 3166: Add source notes to DDR/DAR
svn: r13005
2009-08-14 11:28:28 +00:00
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Raphael Ackermann
9b676e0f0f typo
svn: r13003
2009-08-14 07:09:15 +00:00
Raphael Ackermann
55730240f5 add missing import
svn: r13002
2009-08-14 07:07:55 +00:00
Raphael Ackermann
cf5ee9d657 pep8 & typos
svn: r13001
2009-08-14 07:07:10 +00:00
Raphael Ackermann
64c79d5655 remove GConfSchemaError as it is not used anymore
svn: r13000
2009-08-14 07:05:59 +00:00
Rob G. Healey
b95281c32e Attempt to get Repository Type to be translatable. Peter Lundgren is helping me.
svn: r12998
2009-08-14 06:18:16 +00:00
Serge Noiraud
f794011fac GeoView : The swap is now fully fonctional.
svn: r12995
2009-08-13 21:59:59 +00:00
Serge Noiraud
4fcdbe2c6d GeoView : mapstraction to version 215.
svn: r12994
2009-08-13 21:58:46 +00:00
Raphael Ackermann
c1be765f7a fixed typos
svn: r12984
2009-08-13 08:52:05 +00:00
Rob G. Healey
63094c5aee Added Associations to the NarrativeWeb output.
svn: r12982
2009-08-13 01:50:13 +00:00
Raphael Ackermann
9e4df3ec96 cleanup (reordering alphabetically of DnD types)
svn: r12977
2009-08-12 10:01:28 +00:00
Raphael Ackermann
3c070fb0a6 pep8 fixes & typos
svn: r12976
2009-08-12 09:59:41 +00:00
Raphael Ackermann
516ba9ec95 better variable naming
svn: r12975
2009-08-12 09:57:29 +00:00
Raphael Ackermann
d5f186e3ee import cleanup & doc fixes
svn: r12974
2009-08-12 09:56:07 +00:00
Rob G. Healey
5e0cc4cd1e Updated printer stylesheet, src/data/Web_Print-Default.css, to match all new changes in NarrativeWeb.
svn: r12966
2009-08-11 22:39:07 +00:00
Rob G. Healey
eb5efcf116 Fixed problem with place.get_source_references().
svn: r12961
2009-08-11 20:05:56 +00:00
Rob G. Healey
aaf43d3690 NarrativeWeb is now almost at a complete export of the entire database now. Sorry about committing such a huge update at once. Stylesheet element have been modified or added for this update.
svn: r12959
2009-08-11 12:49:27 +00:00
Rob G. Healey
6996ad22e6 Added place.get_alternate_locations() amd place.get_source_references() to class PlacePae. Modified and clean up of display_ind_events().
svn: r12958
2009-08-11 06:47:42 +00:00
Rob G. Healey
f0ad462488 Fixed a typo which caused a crash.
svn: r12957
2009-08-11 04:53:35 +00:00
Rob G. Healey
cfad2f0629 Finished translatable variables in NarrativeWeb
svn: r12954
2009-08-11 01:29:53 +00:00
Rob G. Healey
b462ef15cf Some Translation strings fixed in NarrativeWeb.py. Pointed out by Gary Burton and Peter Lundgren.
svn: r12952
2009-08-10 22:51:44 +00:00
Raphael Ackermann
d6559f9044 0003064: Remove check for libglade in configure
Removed all references to gtk.glade & libglade

svn: r12951
2009-08-10 21:25:13 +00:00
Raphael Ackermann
01e89f17f2 typo & pep8 fixes
svn: r12950
2009-08-10 21:23:38 +00:00
Raphael Ackermann
5ac76d658b 0002832: Somes modules still use Relib reference on docstring
patch by romjerome

fixed wrong doc string in srcref.py

svn: r12949
2009-08-10 19:46:24 +00:00
Raphael Ackermann
f6f1cdf05c 0002841: Kinship report converts relationship descriptions to lowercase
patch by Reinhard Müller <reinhard.mueller@bytewise.at> 

svn: r12948
2009-08-10 19:09:37 +00:00
Jérôme Rapinat
7640de64ea 3160: Add Serbian DateHandler (patch provided by VPeric)
svn: r12947
2009-08-10 15:00:29 +00:00
Jérôme Rapinat
b6d71f14f7 3156: Bug in Croatian DateHandler (patch provided by VPeric)
svn: r12945
2009-08-10 14:26:24 +00:00
Rob G. Healey
9d6ddde2d8 Removed source.get_reporef_list() from class SourcePage(). There is no usable information to display.
svn: r12941
2009-08-10 04:52:41 +00:00
Doug Blank
7da65b05c3 Fixed a bug on export null locations; added primary keys and an index
svn: r12940
2009-08-10 01:25:34 +00:00
Raphael Ackermann
7bb8efc479 0003102: Can't run Narrative Website report
Added checks for NoneType Objects.
pep8 fixes 


svn: r12939
2009-08-09 22:46:55 +00:00
Raphael Ackermann
ee0f901718 cleanup
svn: r12938
2009-08-09 22:44:51 +00:00
Raphael Ackermann
b33a53e487 fixed typos
svn: r12937
2009-08-09 22:43:43 +00:00
Doug Blank
76d8c108b6 SQL import/export complete. Byte for Byte exact, excluding differences in True-False/1-0, []/(), and unicode/string
svn: r12936
2009-08-09 19:26:30 +00:00
Doug Blank
0a476e2a3c SQL update: two diffs left, in family and place
svn: r12935
2009-08-09 17:40:36 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Raphael Ackermann
ce53145dfe fix when running command line report other then html and it would try and fail to set css filename on e.g. pdf doc generator
svn: r12933
2009-08-09 17:01:52 +00:00
Doug Blank
778cc935e9 SQL import/export complete except for source repos, and datamap
svn: r12932
2009-08-09 08:01:51 +00:00
Rob G. Healey
18048ccfab Fixed display_attr_list(); display_event_header() and display_event_row(). Added style elements for Attributes in stylesheet.
svn: r12931
2009-08-09 07:55:53 +00:00
Doug Blank
78530fae2e Very close to having the SQL import/export done
svn: r12930
2009-08-09 04:14:33 +00:00
Raphael Ackermann
6c07dfc9dd remove merge error
svn: r12929
2009-08-08 21:40:12 +00:00
Raphael Ackermann
5ae1a75bc0 0003137: Attribute error on EmptyDoc for all graphical reports - only with PostScript and SVG output formats !
removed 'template' parameter from init method.
problem was that they still used template parameter, when BaseDoc didn't have a template parameter anymore.

also pylint cleanup

svn: r12927
2009-08-08 19:15:19 +00:00
Raphael Ackermann
c839502568 remove unused import
svn: r12926
2009-08-08 19:12:12 +00:00
Raphael Ackermann
28c404be58 typos & doc string formatting
svn: r12925
2009-08-08 19:11:39 +00:00
Raphael Ackermann
f6409fe94f fixed typos
svn: r12924
2009-08-08 19:10:36 +00:00
Raphael Ackermann
e4495716a9 Removed broken Export to CD on Gnome. This was never working on KDE or Windows. And no developer seems to be able to get it to run on their gnome system. It is very easy now to burn a backup of gramps to a cd using e.g., K3b or Brasero.
svn: r12923
2009-08-08 16:35:36 +00:00
Raphael Ackermann
b7827030f5 0002978: ExportCd plug-in should not load if burn:// scheme is unsupported
applied patch by Brad Crittenden.

Patch goes in the right direction but still not far enough. On my ubuntu gnome system (9.04) it doesn't load the plugin, but I can burn a cd in nautilus using the burn:/// scheme.


svn: r12922
2009-08-08 16:21:57 +00:00
Raphael Ackermann
eeac507a40 cleanup (typos, docs, indentation)
svn: r12921
2009-08-08 15:52:12 +00:00
Raphael Ackermann
3f1f088b55 0002948: error encountered while exporting to 'cd xml'
https://bugs.launchpad.net/gramps/+bug/372502 
patch by Brad Crittenden


svn: r12920
2009-08-08 15:44:46 +00:00
Raphael Ackermann
69f05f43aa Fixes 0003155: GraphViz arrow directions are odd
Patch by Bob Ham <rah@bash.sh>

+ 1 typo in WebCal.py

svn: r12919
2009-08-08 14:28:19 +00:00
Doug Blank
24750e0272 Nearing completition; most data is pulled out of the SQL db, now I need to get the relations fixed
svn: r12918
2009-08-08 04:18:34 +00:00
Doug Blank
f3a7e259e5 SQL Export/Import about 30% done: Notes are complete. People and Events close. The rest still to check.
svn: r12917
2009-08-07 22:32:30 +00:00
Rob G. Healey
9eeb2d8b92 Adding source references to all major objects: person, event, attribute, address.
svn: r12916
2009-08-07 20:02:55 +00:00
Doug Blank
9b8d97455f Work in progress towards SQL importer
svn: r12915
2009-08-07 13:01:36 +00:00
Doug Blank
a2a8aad654 Fixed missing fields
svn: r12914
2009-08-07 13:00:53 +00:00
Doug Blank
18a5c276f3 Nearly complete, but untested SQL export
svn: r12913
2009-08-07 11:53:27 +00:00
Doug Blank
dd1f4f0b26 Added a convienence method __len__ for cursors; you can remove if you don't like
svn: r12912
2009-08-07 09:11:13 +00:00
Rob G. Healey
2343bb9da5 Fixed IndividualPage: Source References section.
svn: r12886
2009-08-07 03:38:33 +00:00
Rob G. Healey
da0ff1ee84 improved look of individual gallery on NarrativeWeb.
svn: r12885
2009-08-06 22:04:52 +00:00
Rob G. Healey
f95c70cd84 Fixed multiple show stoppers in NarrativeWeb code.
svn: r12883
2009-08-06 19:13:16 +00:00
Richard Taylor
fc8917f6d2 Fix for OS X Scratchpad issue 3089: clipboard broken in Mac port
svn: r12882
2009-08-05 18:29:21 +00:00
Benny Malengier
ee69317b62 Fix for: 1277: database corroption on delete outside of DisplayTabs while tab open
Introduces the concept of callman.py as one single way to follow handles an
interface is interested in. 
dbguielement.py contains a small base class using that, usable for all windows/
guielements that need to track database changes to handles


svn: r12881
2009-08-05 10:32:05 +00:00
Benny Malengier
f34d4656a7 remember scrolled position
svn: r12872
2009-08-04 16:57:56 +00:00
Benny Malengier
3068c2b41b add explenation on catalog use in glade3
svn: r12871
2009-08-04 09:15:32 +00:00
Rob G. Healey
077271dc97 Fixed display_addresses() in NarrativeWeb.py. Added stylesheet elements for it.
svn: r12870
2009-08-04 08:58:17 +00:00
Rob G. Healey
2fc66c1830 Fixed a variable issue in class PlacePage. Thank you Peter Lundgren.
svn: r12869
2009-08-03 08:59:34 +00:00
Rob G. Healey
bc738e0811 NarrativeWeb: LDS Ordinances: added source references. Web_Visually: added LDS Source References.
svn: r12868
2009-08-03 08:43:14 +00:00
Rob G. Healey
571e73f0cd Personal LDS information is now working and complete. NarrativeWeb.py is now working once again! I return it back to working status.
svn: r12866
2009-08-03 05:38:11 +00:00
Rob G. Healey
427a34f721 Family LDS Ordinance information is now working in NarrativeWeb at display_ind_families().
svn: r12865
2009-08-03 05:21:00 +00:00
Doug Blank
850253ca41 Removing experimental server code
svn: r12863
2009-08-03 00:24:34 +00:00
Rob G. Healey
d443e86fbc Fixed layout and alignment of display_ind_families() in NarrativeWeb
svn: r12862
2009-08-02 22:29:54 +00:00
Rob G. Healey
b5902eb82f Typos fixed from patch from Bob Harm. Changes to NarrativeWeb. LDS Ordinance has been added to Individual Pages.
svn: r12861
2009-08-02 20:06:00 +00:00
Doug Blank
d5b8862082 Removed debugging statements
svn: r12860
2009-08-02 14:36:26 +00:00
Doug Blank
d5a9ffe96a Made StyledTextTag a new-style class by extending object; allows to work with older python's too
svn: r12859
2009-08-02 05:25:37 +00:00
Doug Blank
a717faf4d6 Experimental --server mode
svn: r12858
2009-08-02 03:31:39 +00:00
Doug Blank
3be34486b9 Added ability for simple functions to alternatively work with handles
svn: r12857
2009-08-02 03:29:22 +00:00
Rob G. Healey
c56a762c91 Added set_header() to ProgressMeter from Bob Harm. Changes to stylesheet once more.
svn: r12856
2009-08-02 02:07:39 +00:00
Raphael Ackermann
874d43f2aa 0002070: Event Comparison Tool filter list doesn't update with new filter
remove old unused libglade menu in _FilterMenu

svn: r12855
2009-08-01 16:09:17 +00:00
Rob G. Healey
9e5cc9d93a NarrativeWeb is broken until further notice, please bare with me for a day or so.
svn: r12854
2009-07-31 11:30:14 +00:00
Jérôme Rapinat
fe64fe1214 #2776: Thumbnail images in report output do not take referenced area into account (patch provided by lomo)
svn: r12851
2009-07-29 17:39:59 +00:00
Gerald Britton
26cd2a1ce8 Bug 3123: [Gedcom] An empty type on event may break import
svn: r12850
2009-07-29 17:39:58 +00:00
Gerald Britton
283f46d543 Bug [0003123]: [Gedcom] An empty type on event may break import
svn: r12849
2009-07-29 13:42:19 +00:00
Rob G. Healey
99e17ea98e Fixed two invalid syntax errors in ExportGeneWeb. Fixed padding issues in Nebraska with Navigation areas. Minor little changes to others.
svn: r12848
2009-07-29 07:58:22 +00:00
Doug Blank
8a7296920f Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
svn: r12847
2009-07-29 03:28:05 +00:00
Doug Blank
834968897a Change to new style glade format
svn: r12846
2009-07-29 02:23:05 +00:00
Gerald Britton
7be4c7a2bf Add ability to use Rule in a boolean operation: "if Rule()" will be equivalent to "if Rule.apply()"
svn: r12845
2009-07-28 18:18:56 +00:00
Gerald Britton
a62b15353e Tweak to check that value passed is not None
svn: r12844
2009-07-28 18:15:49 +00:00
Rob G. Healey
b98caba34d NarrativeWeb is now running once again. I do not have a good python exif library yet to use with Gramps. Tiny update to Visually impaired stylesheet to match some changes to plugin.
svn: r12843
2009-07-28 11:41:20 +00:00
Brian Matherly
7f4732714b 0002957: Crash when displaying the configuration of a book created with Gramps 3.0.x
svn: r12841
2009-07-28 04:08:26 +00:00
Brian Matherly
d2ad12a90a Fix potential crash in book report.
svn: r12839
2009-07-28 03:17:44 +00:00
Peter Landgren
55a98c40ce Fixed a typo letter>ltr.
svn: r12838
2009-07-27 18:47:00 +00:00
Brian Matherly
1a60fad3fc 0003032: Book reports loses center person
svn: r12837
2009-07-27 03:12:35 +00:00
Gerald Britton
06171f8488 CommandLineReport: simplification and bug fix in option display
svn: r12836
2009-07-24 18:05:07 +00:00
Benny Malengier
72b0b7361c remember selected item in embedded list tabs after change
svn: r12835
2009-07-24 06:14:21 +00:00
Rob G. Healey
8a474ab807 Fixed SurnameListPage. MediaPage and Exif Tags are still not completed. Working on it with Gerald Britton.
svn: r12832
2009-07-22 20:03:07 +00:00
Peter Landgren
6294c0b1b3 Fix of issue 3111, string.lowercase on Windows.
svn: r12831
2009-07-21 17:46:37 +00:00
Benny Malengier
b59199e3c3 3108: Cannot iterate through/with popup menu on active person's individual events\n and missing embedlist method
svn: r12829
2009-07-21 13:27:41 +00:00
Rob G. Healey
f979f8ee63 NarrativeWeb and Web_Visually.css will now show exif tage/keys.
svn: r12828
2009-07-21 00:59:38 +00:00
Doug Blank
81386d8572 3110: Typo on child edit context menu (EditFamily) fix by romjerome
svn: r12826
2009-07-20 13:25:11 +00:00
Doug Blank
90e918e892 fix to match changed url of blog comment rss
svn: r12825
2009-07-20 12:46:26 +00:00
Doug Blank
22c68abd6e Bug #3097: Dates parsed after a .gw import should not use Julian calendar; Changed None to 0
svn: r12822
2009-07-20 06:48:40 +00:00
Doug Blank
acfb0c8344 Changed set_wife_handle to set_mother_handle
svn: r12821
2009-07-20 06:28:55 +00:00
Doug Blank
cfd4c5e300 Removed 'self' left over from conversion from method to function.
svn: r12820
2009-07-19 23:58:32 +00:00
Doug Blank
f7f66af44a Added missing imports
svn: r12819
2009-07-19 22:08:47 +00:00
Doug Blank
64f2e01340 Added missing import
svn: r12818
2009-07-19 22:07:41 +00:00
Doug Blank
ffe12ceceb Added Utils.update_constants() that is run after changing preferences.
svn: r12817
2009-07-19 20:50:46 +00:00
Peter Landgren
4a2fa50abb Fix of issue 3109, max number of generations are now set to 50, equal in ancestor tree and descendent tree.
svn: r12816
2009-07-19 06:56:20 +00:00
Benny Malengier
a77d4fd3ae Add my copyright :-)
svn: r12813
2009-07-16 22:02:09 +00:00
Benny Malengier
4957fb2a29 Feature: see fam events in person editor and pers event in fam editor
svn: r12812
2009-07-16 22:00:22 +00:00
Benny Malengier
c2c937ae5d avoid crash when update on object not seen in model
svn: r12811
2009-07-16 21:47:06 +00:00
Rob G. Healey
8b8c63b439 fixed several little tiny problems which killed loading the plugin.
svn: r12810
2009-07-16 19:24:03 +00:00
Gerald Britton
e32b393920 add gramps widget catalog for use with glade-3
svn: r12809
2009-07-16 13:52:32 +00:00
Benny Malengier
7f0669fac8 Improve name grouping, consistent naming
svn: r12808
2009-07-16 12:58:47 +00:00
Benny Malengier
31f923bab6 avoid cli crash if css file is passed that does not exist
svn: r12807
2009-07-16 12:48:31 +00:00
Benny Malengier
19ea036795 2352: 'NoneType' object has no attribute 'get_family_handle_list'
svn: r12806
2009-07-16 12:41:09 +00:00
Benny Malengier
67f912aa2d 03090: All strings are not shown translated
svn: r12804
2009-07-16 12:23:51 +00:00
Benny Malengier
cf506f544e fix make install failing
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
ec87c55434 2352: 'NoneType' object has no attribute 'get_family_handle_list' - report from command line
Remove template code in cli reports and replace with css code


svn: r12802
2009-07-15 15:40:47 +00:00
Benny Malengier
30d15df800 missing gettext import
svn: r12801
2009-07-15 15:39:07 +00:00
Gerald Britton
0ae751e916 remove sort_handles=False parameters from iter_person_handles calls
svn: r12800
2009-07-15 14:48:11 +00:00
Benny Malengier
4e9c0246f3 avoid infinite loop in DDR
svn: r12799
2009-07-15 14:24:44 +00:00
Benny Malengier
b80e5efa42 add glade.py to install
svn: r12798
2009-07-15 14:03:31 +00:00
Benny Malengier
2a365f4d99 improve docstrings
svn: r12797
2009-07-15 09:16:39 +00:00
Rob G. Healey
098afdfb0a NarrativeWeb is still in refactoring mode until further notice. Visually Impaired stylesheet is also in modifying mode.
svn: r12796
2009-07-14 23:53:07 +00:00
Gerald Britton
302a4358fd Fix bugs in some modules caused by using enumerate instead of conventional for-loop syntax
svn: r12795
2009-07-14 14:16:03 +00:00
Gary Burton
cbd6031e47 Glade memory leak fix on event ref editor. Bug 2616
svn: r12793
2009-07-12 20:55:08 +00:00
Gary Burton
c2990a6cc1 Revert an unneccesary change
svn: r12792
2009-07-12 19:51:17 +00:00
Gary Burton
6c855de785 Fix a variety of memory leaks around the PeopleView and model
svn: r12791
2009-07-12 19:45:17 +00:00
Gerald Britton
d45f5970fb add missing iterator methods to filter.py, use get_family_handles instead of the iterator in ExportGedcom.py
svn: r12790
2009-07-11 20:11:37 +00:00
Gary Burton
aa5fce63a7 Remove period character from file format string as it is already supplied by get_ext()
svn: r12789
2009-07-11 19:37:15 +00:00
Gary Burton
e1095908ef Reinstate the building of person_dict. Bug 3103
svn: r12788
2009-07-11 16:13:29 +00:00
Gary Burton
1460750b24 Add missing source_predicate method and doc strings
svn: r12787
2009-07-11 15:35:36 +00:00
Gary Burton
215aeb4667 Fix incorrect method name
svn: r12786
2009-07-11 15:32:37 +00:00
Gerald Britton
b221f428bf proxybase tweak to default predicate to None
svn: r12784
2009-07-11 04:02:28 +00:00
Gerald Britton
56c79b6fa4 Proxy databases:
1. Provide default methods in proxybase.py for get_<object>_handles and iter_<object>_handles
2. Implement callouts in iter_<object>_handles to determine if handles should be included or not
3. Added new methods to dbbase.py raising NotImplementedError for the new iter_<object>_handles methods
4. Implemented new methods in living.py, private.py and referenced.py
5. Changed filter.py to use iter_person_handles instead of get_person_handles
6. Removed duplicate methods from children of ProxyDbBase


svn: r12783
2009-07-10 19:24:43 +00:00
Gary Burton
01492a1974 Fix bug causing GraphViz report dialog to crash resulting from recent BaseDoc changes
svn: r12782
2009-07-10 16:45:22 +00:00
Benny Malengier
2a685cbd7a 3093: Enable grouped displaytab in the editor: Name tab
svn: r12781
2009-07-10 13:18:13 +00:00
Benny Malengier
d49e1f0ec7 update documentation
svn: r12780
2009-07-10 08:46:18 +00:00
Gerald Britton
181c0c9b41 Replace get_place_handles with iter_place_handles
svn: r12778
2009-07-08 18:11:02 +00:00
Gerald Britton
b601f4bdf2 Replace get_family_handles with iter_family_handles
svn: r12776
2009-07-08 16:11:20 +00:00
Gerald Britton
f680992d04 Tweaks
svn: r12775
2009-07-08 16:10:13 +00:00
Gerald Britton
2769b58a44 Implement iter_people_handles methods and begin to use them - second batch of updates
svn: r12774
2009-07-07 18:58:47 +00:00
Jérôme Rapinat
7a235029d8 typo
svn: r12773
2009-07-07 09:44:19 +00:00
Peter Landgren
6aaa3b9136 Changed start-date to start_date
svn: r12770
2009-07-07 06:16:30 +00:00
Peter Landgren
1bbb5d6996 Fix of issue 3087.
svn: r12769
2009-07-06 18:18:22 +00:00
Jérôme Rapinat
f213382d3a Request #3083: To display /Day month year/ on Date_fr.py
svn: r12766
2009-07-06 09:59:54 +00:00
Benny Malengier
f7efb09734 add platform utility functions
svn: r12765
2009-07-06 09:54:30 +00:00
Benny Malengier
0d7c048052 svn id tag
svn: r12764
2009-07-04 15:55:43 +00:00
Benny Malengier
4b9bf10c07 bug fix, correctly query system
svn: r12763
2009-07-04 10:21:10 +00:00
Benny Malengier
cf86470781 add platform constants
svn: r12762
2009-07-04 09:30:10 +00:00
Benny Malengier
c8ef93f120 Correct localized sort in windows using os encoding in the flat views
svn: r12761
2009-07-03 22:00:58 +00:00
Gerald Britton
f7454de7fd Implement iter_people_handles methods and begin to use them
svn: r12760
2009-07-03 20:23:41 +00:00
Gerald Britton
40d0605a63 fix bug in r12705
svn: r12759
2009-07-03 15:53:28 +00:00
Benny Malengier
dddcb10dd3 docstring update
svn: r12758
2009-07-03 09:23:07 +00:00
Gerald Britton
873f830306 Tweak
svn: r12757
2009-07-03 00:29:52 +00:00
Gerald Britton
c919910cca Tweaks to replace for loops with built-in functions and list comprehensions
svn: r12756
2009-07-02 20:01:28 +00:00
Jérôme Rapinat
5da4aa816d to allow to translate n years old
svn: r12755
2009-07-02 15:47:18 +00:00
Benny Malengier
2b2f132d8c add ldsordbase to api doc
svn: r12753
2009-07-02 08:28:29 +00:00
Gerald Britton
b12dd97e71 Bug 3079: sort event crashes with dbstate not passed to options
svn: r12750
2009-07-01 14:43:27 +00:00
Benny Malengier
2b49568b1f 3073: Add/edit personfilter is VERY slow in one database
svn: r12749
2009-07-01 10:59:24 +00:00
Benny Malengier
48c746d1c8 Scratchpad does not keep history between sessions anymore
svn: r12747
2009-06-30 21:29:14 +00:00
Benny Malengier
8ad045695b fcntl module not used in scratchpad
svn: r12746
2009-06-30 21:27:15 +00:00
Gerald Britton
0351c2e6ca GrampsType: Avoid retranslating literal strings; rearrange metaclass code
svn: r12742
2009-06-30 18:29:45 +00:00
Gerald Britton
d022d0187b Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance
svn: r12739
2009-06-30 14:05:57 +00:00
Benny Malengier
b1dd135363 3077: Cannot modify column model on Family, Repository and Note Views
svn: r12738
2009-06-30 13:42:25 +00:00
Benny Malengier
01a33d1a00 update pixmap in editmediaref of y coord change
svn: r12737
2009-06-30 08:50:10 +00:00
Benny Malengier
d97e62fa27 optimization suggested by Gerald to avoid append
svn: r12734
2009-06-29 20:46:00 +00:00
Rob G. Healey
57dc74b965 Fixed two errors that Gerald pointed out to me. Added RepositoryListPage and RepositoryPage classes. More work on libhtml and with statement.
svn: r12733
2009-06-29 20:04:00 +00:00
Benny Malengier
92d344d802 3052: Only PeopleView rebuilds entries on SearchBar after a change on columns Editor
svn: r12732
2009-06-29 19:57:12 +00:00
Benny Malengier
4e974dc0e1 add missing Makefile and suggestions by Gerald
svn: r12730
2009-06-29 18:15:28 +00:00
Benny Malengier
f07a12766a Further optimization in the flatbasemodel:
* keep list of all possible keys in memory so database is no longer touched 
     for the searches. ==> a search is faster
   * bug fixes to previous patch set: show total and displayed number correctly


svn: r12726
2009-06-29 13:37:15 +00:00
Benny Malengier
7a5e5f4476 bug fix, on delete return old path of deleted row
svn: r12725
2009-06-28 22:07:18 +00:00
Benny Malengier
d182a5797f some pylint fixes
svn: r12724
2009-06-28 21:47:04 +00:00
Benny Malengier
fb6967d000 optimization and cleaning of the base model for flat treeviews
svn: r12723
2009-06-28 21:15:10 +00:00
Benny Malengier
db5458a507 bug fix: reenable the -d option
svn: r12722
2009-06-28 09:57:05 +00:00
Gary Burton
963f101c6b Remove some junk leftover from testing.
svn: r12719
2009-06-26 10:37:37 +00:00
Gary Burton
96e9fc4f6b Parse address from GEDCOM submitter tag. Bug #3056
svn: r12718
2009-06-26 10:32:36 +00:00
Benny Malengier
dc354dfd4f [Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12716
2009-06-26 09:46:06 +00:00
Benny Malengier
e5d8544a6c [Emrys] 2896: Macports 3.0.4 cannot view images
svn: r12714
2009-06-26 09:44:12 +00:00
Gerald Britton
b0a6f7c854 replace refs to locale.strcoll with refs to locale.strxfrm
svn: r12712
2009-06-25 21:09:49 +00:00
Gerald Britton
3a41651e50 PeopleModel: various performance tweaks
svn: r12711
2009-06-25 19:15:56 +00:00
Gerald Britton
4cd2468477 PeopleModel: various performance tweaks
svn: r12710
2009-06-25 19:01:40 +00:00
Jérôme Rapinat
0d3314b9dc typo - contribution by Jérôme Chailloux
svn: r12709
2009-06-25 18:16:50 +00:00
Jérôme Rapinat
83dfb87696 2831: missing filter rule on Event object matching source reference
svn: r12706
2009-06-25 17:20:29 +00:00
Gerald Britton
fdfacd972c Minor tweaks to use slices instead of lists of items
svn: r12705
2009-06-25 13:41:16 +00:00
Benny Malengier
a52bc62be9 2691: Create api documentation with sphinx
svn: r12704
2009-06-24 21:56:07 +00:00
Gerald Britton
1042bb3fe2 Bug 3069: PersonView keeps tree model attached while rebuilding the columns
svn: r12703
2009-06-24 20:26:18 +00:00
Rob G. Healey
22ecedb061 Fixed a typing error from yesterday's open_file_with_default_application(). Completed work on default printer stylesheet also.
svn: r12702
2009-06-24 20:03:10 +00:00
Rob G. Healey
d5ccd93043 More work on converting the two of these.
svn: r12700
2009-06-23 22:34:14 +00:00
Rob G. Healey
ae28b8538b Fixed Utils.open_file_with_default_application() to gui.utils instead of Utils now. Works again.
svn: r12699
2009-06-23 20:49:18 +00:00
Rob G. Healey
1101b21ba0 More cleanup work on stylesheet. Continuing to convert NarrativeWeb to use the Html class and the with statement.
svn: r12698
2009-06-22 23:58:09 +00:00
Peter Landgren
cdf0e98a55 Added errmsg in conn. with issue 3066.
svn: r12696
2009-06-22 10:24:02 +00:00
Benny Malengier
77164c848e 3066: [PlaceView] Loading... should disappear when map service plugins are present.
svn: r12694
2009-06-22 09:21:02 +00:00
Peter Landgren
7390f38f61 Reminder to change call to pixbuf.add_alpha in later version of gtk/pygtk.
svn: r12692
2009-06-22 07:50:04 +00:00
Rob G. Healey
4bc5a34938 Changed utilsgui.py to utils.py in src/gui/Makefile.am! Would not allow make install to complete.
svn: r12690
2009-06-21 06:26:51 +00:00
Rob G. Healey
c8fa363708 Large sized cleanup of NarrativeWeb, and some minor work on Web_Visually.css. There is still more work to be done on NarrativeWeb, but this commit was getting too big already.
svn: r12689
2009-06-21 03:25:28 +00:00
Gary Burton
8c22c558b2 Ensure source reference dates are always exported. Bug #3062
svn: r12688
2009-06-20 20:23:40 +00:00
Gary Burton
e6ab15fcd9 GEDCOM parser fixes for gallery objects. Bug #3056
svn: r12686
2009-06-20 19:34:42 +00:00
Rob G. Healey
d181d6bd33 NarrativeWeb now has Styked Notes! Thanks for being a giant help Benny. Could not have done it without you. Bringing the default print stylesheet up to date with the rest of them.
svn: r12683
2009-06-19 23:53:42 +00:00
Benny Malengier
0a3e869361 Add missing file grampsgui and make utilsgui just gui
svn: r12681
2009-06-19 15:26:51 +00:00
Benny Malengier
9d417e2cd6 Split Utils in a non GUI and GUI part
move GrampsCfg utils to Utils
improve import strategy


svn: r12680
2009-06-19 15:23:58 +00:00
Peter Landgren
0ac67e8a59 Reference to Query.py removed from Makefile.am, as Query.py as deleted.
svn: r12679
2009-06-19 14:51:11 +00:00
Benny Malengier
5f77bfea3b pylint fixes and bug fixes for CLI/GUI split
svn: r12677
2009-06-19 08:46:17 +00:00
Zdeněk Hataš
a16fc9a8cb Fixed typo in localized date handler, translation updates.
svn: r12676
2009-06-19 07:19:18 +00:00
Benny Malengier
4b7692708c Split CLI from GUI. These changes allow CLI to work without GTK
Part 1. To do: pylint on new files.


svn: r12674
2009-06-18 21:56:37 +00:00
Rob G. Healey
c71367ed54 Fixed a show stopper -- broke the plugin.
svn: r12673
2009-06-16 21:54:06 +00:00
Gerald Britton
70a0c50fca Use GrampsCursor as a context manager using "with" statement
svn: r12672
2009-06-16 15:49:17 +00:00
Brian Matherly
187539cb72 Implement availability of the DestinationOption.
svn: r12671
2009-06-16 03:12:41 +00:00
Doug Blank
29cf704047 Experiment abandoned
svn: r12670
2009-06-16 00:23:46 +00:00
Rob G. Healey
0dac6cf9aa Removed a duplicate class. Re did classes IndividualListPage, DownloadPage, ContactPage, SourceList, SourcePage, and a bunch of modules/ functions. More clean up work on the Visually Impaired stylesheet.
svn: r12669
2009-06-15 19:25:43 +00:00
Benny Malengier
f4e0a45fad code optimization of eventbase filters
svn: r12668
2009-06-15 19:06:25 +00:00
Benny Malengier
38876a32a5 GEPS 008: File Organization
svn: r12667
2009-06-15 19:02:15 +00:00
Benny Malengier
fd85ac0cb4 remove template code from quickreport docgen
svn: r12665
2009-06-15 16:18:16 +00:00
Rob G. Healey
33ad285de6 Re-worked IndividualListPage().
svn: r12664
2009-06-13 18:49:18 +00:00
Gerald Britton
44028cc47c libhtml.py: add title=None default option to Html.page static method
svn: r12663
2009-06-12 16:36:31 +00:00
Gerald Britton
bb83288883 Check.py: replace get..handles and map..keys calls with calls to new iterator functions
svn: r12662
2009-06-12 16:19:48 +00:00
Gerald Britton
d66632812f ImportGrdb.py: Remove duplication from derived classes
svn: r12661
2009-06-12 16:18:18 +00:00
Gerald Britton
035096e5b2 Add iterator and context manager methods to GrampsCursor object and use them in GrampsDbBase and GrampsDBDir.
svn: r12660
2009-06-12 16:17:07 +00:00
Benny Malengier
aa5aa031c0 fix ODF output put, prettify kinship html output
svn: r12657
2009-06-12 07:31:30 +00:00
Rob G. Healey
94dba1433d Fixed SurnamePage, other minor fixes. Some cleanup of the stylesheet.
svn: r12656
2009-06-12 06:04:30 +00:00
Rob G. Healey
140c565a28 NarrativeWeb now uses the HTML class-- src/plugins/lib/libhtml.py. There is still more work coming as it is still not completely refined yet. Gerald Britton has played a huge part in getting this out to you. New download page added, and name_format also.
svn: r12655
2009-06-11 16:45:30 +00:00
Benny Malengier
f78db6f418 2707: Add markup notes to html output. Finished
svn: r12654
2009-06-11 13:01:27 +00:00
Benny Malengier
a3f59f2717 2712: middle click copy paste not working in notes
svn: r12652
2009-06-11 12:51:00 +00:00
Rob G. Healey
030f170be4 Removed references to USER_TEMPLATES in const.py and const.py.in
svn: r12650
2009-06-11 06:28:51 +00:00
Rob G. Healey
4f8b992068 Removed templates directory; from Makefile.am so that it would complete autogen.sh and make commands.
svn: r12649
2009-06-11 02:39:11 +00:00
Gerald Britton
75a7e04c4b libhtml: add indent=None option and reference in docstring to wiki page
svn: r12648
2009-06-10 14:14:11 +00:00
Benny Malengier
e4de221227 2707: Add markup notes to html output: div and class elements
svn: r12647
2009-06-09 20:47:32 +00:00