Commit Graph

7324 Commits

Author SHA1 Message Date
Gerald Britton
2e3ba0d954 tweaks and optimizations
svn: r13230
2009-09-21 20:52:36 +00:00
Serge Noiraud
1284fb9aa2 GeoView : Some write simplification and pylint adjustment.
svn: r13227
2009-09-20 09:56:34 +00:00
Doug Blank
05b6282363 Factored out common code into find_binary function
svn: r13226
2009-09-19 10:47:24 +00:00
Doug Blank
b414b25e2b Error from iterator conversion
svn: r13224
2009-09-19 09:27:22 +00:00
Doug Blank
bb43bec5fd Fixed error in handling list of handles, not an iterator
svn: r13223
2009-09-19 09:16:55 +00:00
Doug Blank
9cbb58af27 Code cleanup
svn: r13222
2009-09-18 23:05:06 +00:00
Doug Blank
7f2b239f26 Add ability for double-click on SimpleTable row to show people by list of handles
svn: r13221
2009-09-18 22:49:43 +00:00
Doug Blank
4e3ebe9db4 #3223: Trunk revision 13203 causes crash of gramplet surnamecloud
svn: r13220
2009-09-18 01:41:31 +00:00
Doug Blank
a3efa1cb0a bug #3221: Improvements for WhatsNext Gramplet, by reinhard
svn: r13217
2009-09-17 03:13:19 +00:00
Gerald Britton
311d9b16b9 Silently accept "not found" errors when deleting database files
svn: r13215
2009-09-16 20:31:28 +00:00
Gerald Britton
c2dd4dc139 Geoview simplifications
svn: r13212
2009-09-16 16:12:40 +00:00
Rob G. Healey
60abf87026 Fixed attributes on IndividualPage and EventPage. Stylesheet to match.
svn: r13211
2009-09-16 06:39:18 +00:00
Rob G. Healey
573c9fdc20 Fixed some holidays in holidays file.
svn: r13210
2009-09-16 01:27:23 +00:00
Gerald Britton
4b77831f0f Exploit new iter_<objects> methods
svn: r13209
2009-09-15 19:37:23 +00:00
Gerald Britton
eb8ef2152b Remove pdb module from filter.py
svn: r13208
2009-09-15 16:05:28 +00:00
Gerald Britton
b3bca61535 Fix deadlock in ChangeNames
svn: r13207
2009-09-15 16:03:41 +00:00
Rob G. Healey
97b107757c This will also be in update mode until I get some of the problems ironed out.
svn: r13206
2009-09-15 08:04:26 +00:00
Rob G. Healey
3fa4338cb6 Some updating of code. Will be update for a while now.
svn: r13205
2009-09-15 08:02:57 +00:00
Rob G. Healey
b9553b1a5e Fix for Labor Day in USA holidays.
svn: r13204
2009-09-15 08:00:34 +00:00
Gerald Britton
966d2bcd42 Use new iter_objects methods
svn: r13203
2009-09-14 20:50:25 +00:00
Rob G. Healey
d7cd58e277 Cleaned up dump_addresses() and changed write_out_addresses() to dump_addresses().
svn: r13200
2009-09-13 05:48:16 +00:00
Rob G. Healey
1430e3107a Still working with classes EventListpage() and EventPage(). Making changes as I go with the stylesheet.
svn: r13199
2009-09-13 03:43:27 +00:00
Doug Blank
d76615b086 Fix for a iter change
svn: r13198
2009-09-12 18:12:31 +00:00
Peter Landgren
34442f5853 Fix of issue 3213.
svn: r13196
2009-09-12 10:00:17 +00:00
Rob G. Healey
8b2259b86d Moved self.build_events() to the conditional statement: if self.inc_events. This way it is not being ran unless you want the event pages.
svn: r13195
2009-09-12 06:06:48 +00:00
Rob G. Healey
c3d079b018 Fixed style elements that has messed up the recent WebCal.
svn: r13194
2009-09-12 03:52:42 +00:00
Rob G. Healey
79efac73da Updated work in WebCal. Updated style elements to match current work.
svn: r13193
2009-09-11 06:24:13 +00:00
Rob G. Healey
44e1291b79 Fixed alphabet navigation to remove the table elements.
svn: r13192
2009-09-11 04:14:46 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
d5e48cda06 Change to set logic for reduction in storage (no affect on runtime)
svn: r13190
2009-09-10 18:49:13 +00:00
Jérôme Rapinat
e8033040bb #3182 Add an used singular form, avoid empty string on translation dict
svn: r13188
2009-09-10 13:49:58 +00:00
Rob G. Healey
2c9441eae1 Adjusted header, navigation, and body elements in stylesheet.
svn: r13186
2009-09-10 06:50:56 +00:00
Rob G. Healey
b73ad55161 Should be final ommit for classes EventListPage and EventPage, but do not hold your breath. Stylesheet updated to match work.
svn: r13185
2009-09-10 06:15:53 +00:00
Gerald Britton
a052bc3c63 Tweaks to use inplace arithmetic
svn: r13184
2009-09-09 20:37:26 +00:00
Gerald Britton
03dc41bff9 Documentation updates
svn: r13183
2009-09-09 14:43:55 +00:00
Rob G. Healey
e9b89204a8 Work is final in classes EventListPage and EventPage, modified display_ind_families() and display_attr_list(). Also changes to stylesheet to match current work.
svn: r13181
2009-09-09 08:01:20 +00:00
Serge Noiraud
5d7f92a4fc GeoView : 2 bugs : swap map and saving zoom when no title.
svn: r13180
2009-09-08 21:28:27 +00:00
Peter Landgren
4e7df6fc71 String must be unicode for truncation to work for non ascii characters.
svn: r13178
2009-09-08 13:37:48 +00:00
Peter Landgren
6d14ba233c String must be unicode for truncation to work for non ascii characters.
svn: r13176
2009-09-08 10:13:48 +00:00
Peter Landgren
d0d2dd4a58 String must be unicode for truncation to work for non ascii characters.
svn: r13174
2009-09-08 09:59:11 +00:00
Peter Landgren
44f3fcde19 String must be unicode for truncation to work for non ascii characters.
svn: r13172
2009-09-08 08:42:44 +00:00
Peter Landgren
c3b8ec4fd8 String must be unicode for truncation to work for non ascii characters.
svn: r13170
2009-09-08 08:26:23 +00:00
Peter Landgren
9991df71e8 String must be unicode for truncation to work for non ascii characters.
svn: r13168
2009-09-08 07:28:23 +00:00
Serge Noiraud
5b2ed0dafa GeoView : Split in two parts : HtmlRenderer and GeoView.
Adding two icons for map provider selection.
          We now can zoom in and out with the wheel mouse.
          It's possible to save the zoom between the maps.
          The zoom, latitude, longitude and map is now saved
          when we quit gramps:
          only if you use the save zoom between maps.
          Issue 3150, 3152 included.


svn: r13166
2009-09-07 21:13:38 +00:00
Peter Landgren
f3931f0168 Slicing of strings must be with unicode strings.
svn: r13165
2009-09-07 20:07:05 +00:00
Gerald Britton
768ea89a0f Remove deprecated method
svn: r13164
2009-09-07 16:22:12 +00:00
Gerald Britton
54d4bf6134 Add function decorator to catch dabatase errors
svn: r13163
2009-09-07 16:19:59 +00:00
Gerald Britton
be1aaf9f7b restore set_name_group_mapping method
svn: r13161
2009-09-05 23:03:31 +00:00
Rob G. Healey
fa38bf99f8 Fixed class EventList and EventPage. With it, display_attr_list(). Changed, added, and removed elements to match current work.
svn: r13160
2009-09-05 11:45:56 +00:00
Gerald Britton
06458ae1d7 Remove unused methods
svn: r13159
2009-09-04 17:57:00 +00:00
Gerald Britton
20bfbc8719 add from __future__ import with_statement
svn: r13158
2009-09-04 17:20:37 +00:00
Gerald Britton
ee9f1e82e0 Tweaks to database objects plus initial documentation in rst format
svn: r13157
2009-09-03 19:44:01 +00:00
Rob G. Healey
939ef94e67 Fixed table.infolist in style sheet.
svn: r13156
2009-09-03 09:48:35 +00:00
Rob G. Healey
8e65bbe9c0 More work on classes EventList and EventPage. Changing elements to match current work.
svn: r13155
2009-09-03 09:35:10 +00:00
Brian Matherly
2234f82e1a Remove the "check" and "summary" CLI actions. Those plugins can be run using "-a tool -p name=check" and "-a report -p name=summary" respectively.
svn: r13153
2009-09-03 04:12:11 +00:00
Gerald Britton
b0a00a39c0 AutoComp.py: remove redundant list-building and use inplace addition where applicable
svn: r13152
2009-09-02 20:54:22 +00:00
Gerald Britton
3564b04584 1. Implement iter_<object> methods in proxybase.
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples

svn: r13151
2009-09-02 20:10:45 +00:00
Gerald Britton
5fc1618a85 1. Use closures to define iterator methods
2. Change sorts on people and places to work like other sorts

svn: r13149
2009-09-01 17:46:08 +00:00
Gerald Britton
00d6b8cd50 Fix write.py to do imports from gen.db
svn: r13148
2009-09-01 17:43:54 +00:00
Rob G. Healey
5e7155ba88 fixed capitialization of include repository pages in Advanced tab.
svn: r13146
2009-09-01 00:52:00 +00:00
Rob G. Healey
ee71d35765 Fixed progress meter hanging at the end of creating eent pages.
svn: r13145
2009-09-01 00:49:13 +00:00
Rob G. Healey
3d8ff4b81e Fixed CSS problem with Download page.
svn: r13144
2009-09-01 00:42:36 +00:00
Rob G. Healey
1d4f36ac89 Partial fix to header and footer locations on page. Fixed Ancestor Tree overrun into footer.
svn: r13143
2009-09-01 00:10:10 +00:00
Rob G. Healey
693f293a2d Tturning in this commit because of a CSS problem with cutting the menu off. More will come soon.
svn: r13142
2009-08-31 20:13:54 +00:00
Gerald Britton
4e8f59c4bd grampsdbtxn.py module renamed to txn.py
svn: r13141
2009-08-31 19:07:41 +00:00
Gerald Britton
03ee012325 Implement performance-enhanced proxy databases
svn: r13140
2009-08-31 18:43:05 +00:00
Gerald Britton
1587cb8ad1 Implement restructured database objects
svn: r13139
2009-08-31 18:42:29 +00:00
Rob G. Healey
bc83fa57a3 Fixed variable name issue in display_ind_general().
svn: r13138
2009-08-31 08:08:27 +00:00
Rob G. Healey
4f5c0bcefa Fixed multiple inconsistentcies in NarrativeWeb. Items found and reported by Peter Lundgren.
svn: r13137
2009-08-31 07:47:36 +00:00
Rob G. Healey
7e78152f7b Patch from Serge Norlaud for bug #2788. Thanks for all of your patience.
svn: r13136
2009-08-29 20:53:31 +00:00
Rob G. Healey
324a932813 Fixed translation mistake for Peter Lundgren in class EventPage.
svn: r13135
2009-08-29 09:23:09 +00:00
Rob G. Healey
c1a4897e66 Fixed table problem in class EventPage.
svn: r13134
2009-08-29 09:06:48 +00:00
Rob G. Healey
a450ed2797 Fixed error in EventDetail.
svn: r13133
2009-08-29 09:01:23 +00:00
Rob G. Healey
9cf7d81978 Fixed some spacing issues in Events.
svn: r13132
2009-08-29 08:35:47 +00:00
Rob G. Healey
731928a9ab Fixed height problem with the navigation menu.
svn: r13131
2009-08-29 05:13:27 +00:00
Rob G. Healey
ff6b8d2c86 Patch from Peter Lundgren. fixes Repository type translation error.
svn: r13130
2009-08-29 05:11:23 +00:00
Peter Landgren
370efe7566 Issue 3188 search for ü did not work.
svn: r13124
2009-08-27 19:45:04 +00:00
Rob G. Healey
0ac7dc7a96 NarrativeWeb is now complete unless there are bugs. Style sheet has been updated to match current changes.
svn: r13123
2009-08-27 13:21:55 +00:00
Rob G. Healey
4538e06ac4 Modified def event_pages(), class EventListPage(), and class EventPage() to clean up a few things.
svn: r13120
2009-08-26 05:52:37 +00:00
Benny Malengier
def01f8e4f 3183: Make Reorder GRAMPS ID plugin fix IDs not following specified formats
svn: r13119
2009-08-25 20:11:54 +00:00
Serge Noiraud
442eaf9923 ODFDoc : issue 3187 : <, > and & should be escaped
svn: r13118
2009-08-25 16:48:12 +00:00
Benny Malengier
f1352ee2ee Nick_H patch to participants in selectors, fixes a bug too
2773: Primary participant(s) in Events View


svn: r13117
2009-08-24 22:56:12 +00:00
Benny Malengier
8a5113375e Nick_H patch of ticket
2863: Wrong row when dropping on embedded list


svn: r13116
2009-08-24 22:14:31 +00:00
Benny Malengier
43663bbee7 Start with fix up of connects to db in relationview.
Fix calling method of signals to a shorter algorithm based on lambda 
func


svn: r13115
2009-08-24 21:44:15 +00:00
Serge Noiraud
3d13046fa0 ODFDoc : Styled notes : Bad format, font, indents and spacing.
svn: r13113
2009-08-23 22:00:34 +00:00
Mirko Leonhäuser
a7c69b41e6 German holidays depending to easter
svn: r13112
2009-08-23 12:21:48 +00:00
Jérôme Rapinat
21779f0cb3 Use plural forms (ngettext) in plugins/tool/NotRelated (patch by VPeric)
svn: r13107
2009-08-23 07:39:29 +00:00
Rob G. Healey
fd30be0e63 Fixed problem in display_ind_sources().
svn: r13103
2009-08-22 10:43:17 +00:00
Serge Noiraud
8e7c827c83 ODFDoc : More pylint compliant.
Duplicate styles and fonts suppression.
         Multi line now works correctly : tested with multi-lines attribut.



svn: r13102
2009-08-21 20:54:14 +00:00
Gerald Britton
ae404f496f Latest updates to new modules
svn: r13101
2009-08-21 20:06:11 +00:00
Doug Blank
c0f9ab2179 Added multilines to Python Gramplet
svn: r13097
2009-08-21 00:59:31 +00:00
Rob G. Healey
014260e615 Completed the dump of the events in the database. Added styles which are affected by the two new classes: EventListPage() and EventPage().
svn: r13096
2009-08-21 00:37:59 +00:00
Jérôme Rapinat
ef08e419d1 update french translation
svn: r13092
2009-08-20 15:15:10 +00:00
Benny Malengier
6db0004c81 2863: Wrong row when dropping on embedded list
svn: r13090
2009-08-20 12:44:29 +00:00
Peter Landgren
6966e7211a unicode text must be sliced correctly.
svn: r13089
2009-08-20 12:40:38 +00:00
Jérôme Rapinat
567721323d 2548: deprecated system_filter.xml
svn: r13087
2009-08-20 12:27:29 +00:00
Benny Malengier
d9dc29c9af 2773: Primary participant(s) in Events View
svn: r13086
2009-08-20 11:58:37 +00:00
Benny Malengier
5700f6ab66 2863: Wrong row when dropping on embedded list
This patch makes sure open of old database shows correct columns, and 
adds ... if several main participants


svn: r13085
2009-08-20 09:31:10 +00:00
Benny Malengier
5f0c935256 2773: Primary participant(s) in Events View
svn: r13083
2009-08-19 22:27:06 +00:00
Benny Malengier
3d34996343 2773: Primary participant(s) in Events View
svn: r13082
2009-08-19 22:04:57 +00:00
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