Commit Graph

7236 Commits

Author SHA1 Message Date
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