Doug Blank
c8fc4d20dd
Added = and == to match for similar and exact text_only date matches
...
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
6af2d2f30a
Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
...
svn: r13416
2009-10-25 20:29:45 +00:00
Benny Malengier
14dcf94739
3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
...
svn: r13409
2009-10-25 15:33:50 +00:00
Doug Blank
975e639dd1
Phase 1 conversion of gramplets to new plugin system
...
svn: r13406
2009-10-25 14:42:47 +00:00
Benny Malengier
d25cdc3958
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager
svn: r13405
2009-10-25 13:52:29 +00:00
Benny Malengier
79b6708163
03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
Part 2: update plugin status: show registered, allow hide/unhide of
plugins
svn: r13403
2009-10-24 20:27:10 +00:00
Benny Malengier
ed619cfdd6
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
40b9c7a7ca
Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
...
svn: r13395
2009-10-23 00:06:14 +00:00
Brian Matherly
4f55365e97
Add translation detection, translation class and report translation option. Leading up to user configurable report translations.
...
svn: r13391
2009-10-22 04:22:24 +00:00
Doug Blank
c202f43e9b
Fixed two errors: simple str(date) now shows alternate newyear day; match with alt newyear day now works correctly
...
svn: r13390
2009-10-22 04:15:18 +00:00
Doug Blank
99282aa715
3272: Proposal for updating config settings
...
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
435aca1e95
Report format type of error
...
svn: r13307
2009-10-05 12:53:46 +00:00
Doug Blank
86e744cc19
One set of Swedish tests is ok
...
svn: r13305
2009-10-05 11:21:22 +00:00
Doug Blank
09497d5576
Fixed error in sorting date spans, and refined span comparisons
...
svn: r13303
2009-10-04 15:13:07 +00:00
Doug Blank
ae4c341777
Fixed error in assert, which revealed some errors in testing Swedish dates
...
svn: r13302
2009-10-04 15:11:30 +00:00
Gerald Britton
f186d8bce8
fix bug on database errors; remove bsddb transaction for batch operations
...
svn: r13283
2009-10-01 20:38:23 +00:00
Doug Blank
0c856f59f5
Added get_gedcom_name formatter to Name to allow sharing
...
svn: r13251
2009-09-26 01:05:08 +00:00
Doug Blank
8883fe0f97
Moved gedcom date constants and functions to gen.lib.date so they can be shared
...
svn: r13249
2009-09-25 20:45:05 +00:00
Gerald Britton
9b586eaf4f
1. Enhance cursor.py to support updating records after reading them
...
2. Implement enhancement in write.py, get_cursor method
3. Exploit new capability in ChangeNames.py
svn: r13237
2009-09-23 20:07:58 +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
eb8ef2152b
Remove pdb module from filter.py
...
svn: r13208
2009-09-15 16:05:28 +00:00
Gerald Britton
966d2bcd42
Use new iter_objects methods
...
svn: r13203
2009-09-14 20:50:25 +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
Gerald Britton
03dc41bff9
Documentation updates
...
svn: r13183
2009-09-09 14:43:55 +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
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
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
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
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
Gerald Britton
ae404f496f
Latest updates to new modules
...
svn: r13101
2009-08-21 20:06:11 +00:00
Peter Landgren
6966e7211a
unicode text must be sliced correctly.
...
svn: r13089
2009-08-20 12:40:38 +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
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
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
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
c1be765f7a
fixed typos
...
svn: r12984
2009-08-13 08:52:05 +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
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
b33a53e487
fixed typos
...
svn: r12937
2009-08-09 22:43:43 +00:00
Raphael Ackermann
65f72560d1
pep8 fixes
...
fixing typos
svn: r12934
2009-08-09 17:09:32 +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
eeac507a40
cleanup (typos, docs, indentation)
...
svn: r12921
2009-08-08 15:52:12 +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
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
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
8a7296920f
Use Preferences -> Text -> Private Given name instead of hardcoded _('Living')
...
svn: r12847
2009-07-29 03:28:05 +00:00
Benny Malengier
cf506f544e
fix make install failing
...
svn: r12803
2009-07-16 09:17:40 +00:00
Benny Malengier
2a365f4d99
improve docstrings
...
svn: r12797
2009-07-15 09:16:39 +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
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
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
f7454de7fd
Implement iter_people_handles methods and begin to use them
...
svn: r12760
2009-07-03 20:23:41 +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
Benny Malengier
2b2f132d8c
add ldsordbase to api doc
...
svn: r12753
2009-07-02 08:28:29 +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
b0a6f7c854
replace refs to locale.strcoll with refs to locale.strxfrm
...
svn: r12712
2009-06-25 21:09:49 +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
70a0c50fca
Use GrampsCursor as a context manager using "with" statement
...
svn: r12672
2009-06-16 15:49:17 +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
a177da80b0
2707: Add markup notes to html output
...
Part 2: enable css, clean up code.
TODO: better output, support in default css files, test
svn: r12644
2009-06-08 23:19:37 +00:00
Benny Malengier
542b1e404d
02707: Add markup notes to html output
...
part 1: remove template from html output
svn: r12631
2009-06-06 09:49:40 +00:00
Gerald Britton
8584798916
person.py: minor performance improvements
...
svn: r12625
2009-06-04 19:00:51 +00:00
Peter Landgren
581b33524e
Fix of issue 3007.
...
svn: r12622
2009-06-03 18:40:10 +00:00
Benny Malengier
142e7e4970
move latexbackend into PdfDoc
...
svn: r12614
2009-06-02 18:42:41 +00:00
Brian Matherly
aa800b3ad6
Misc PEP8 cleanup.
...
svn: r12610
2009-06-02 12:09:34 +00:00
Brian Matherly
4ca984bd2f
0003033: const dependence in gen/plug/docgen stylesheet
...
svn: r12608
2009-06-02 11:50:17 +00:00
Benny Malengier
a0b1965c24
remove wrong commit of makefiles
...
svn: r12604
2009-05-31 15:01:58 +00:00
Benny Malengier
fb3ec68c6a
part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
...
update build system
svn: r12603
2009-05-31 14:59:56 +00:00
Rob G. Healey
5ed724970b
Added the Makefiles for those two directories: src/gen/plug/docgen and src/gen/plug/docbackend.
...
svn: r12599
2009-05-31 03:50:28 +00:00
Benny Malengier
7f6ca2aa45
update Makefiles and po, add not committed __init__ to import docgen module
...
svn: r12592
2009-05-29 22:41:26 +00:00
Benny Malengier
8dd7adc607
part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
...
that was missing in part 1
Still to come: makefiles and splitting new basedoc.py in small files
svn: r12591
2009-05-29 22:25:44 +00:00
Gerald Britton
220873d92e
Bug 3030: ID formats not properly verified
...
svn: r12587
2009-05-29 17:09:09 +00:00
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Gerald Britton
fc90d5fce2
Bug 3018: remove calls to keys() dictionary method where possible
...
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
021b754939
Bug 3011: change old-style classes to new-style classes
...
svn: r12559
2009-05-21 17:19:50 +00:00
Benny Malengier
068b3157f0
2995: Unable to produce Narrated Web Site using filter and privacy settings
...
svn: r12551
2009-05-20 10:18:20 +00:00
Gerald Britton
e3bd5d1e69
Fix ownereditor popup menu handling
...
svn: r12550
2009-05-19 20:07:00 +00:00
Benny Malengier
b5f8ec1717
2995: Unable to produce Narrated Web Site using filter and privacy settings
...
svn: r12543
2009-05-19 08:43:51 +00:00
Benny Malengier
53716bdca0
2942: Note in Family eventref not referenced, also source of attribute of family eventref
...
svn: r12535
2009-05-18 14:02:13 +00:00
Doug Blank
29d55c10d0
added http:// if missing scheme
...
svn: r12510
2009-05-06 22:06:12 +00:00
Doug Blank
6ebd0b0a77
Added two methods: parse_path and get_full_path, but the Url class will need to be enhanced and refined to be more useful for web development
...
svn: r12506
2009-05-06 13:11:31 +00:00
Brian Matherly
c56c25b932
Add DocGenPlugin to be used to register all docgen plugins. This replaces the array of variables which was more difficult to read.
...
svn: r12359
2009-03-19 02:24:29 +00:00
Brian Matherly
0214b842cd
Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
...
svn: r12351
2009-03-16 04:22:12 +00:00
Doug Blank
cf03cf4b23
2792: Dates in sourcereferences in person_ref_list not upgraded; this fixes the missing conversion in child-ref-list
...
svn: r12286
2009-03-09 19:49:51 +00:00
Doug Blank
0e6d1d8496
2792: Dates in sourcereferences in person_ref_list not upgraded; hack to be removed in future
...
svn: r12271
2009-03-09 14:10:51 +00:00
Doug Blank
a858c2a9b0
2792: Dates in sourcereferences in person_ref_list not upgraded
...
svn: r12265
2009-03-09 11:39:58 +00:00
Jérôme Rapinat
160b4e3c6f
#2746 : Translation problem in calendar names (by Janne Kovesjärvi)
...
svn: r12126
2009-02-26 09:13:50 +00:00
Jérôme Rapinat
82787f0413
2702: Date Conversions to and from French Republican was broken
...
svn: r11995
2009-02-15 15:10:15 +00:00
Peter Landgren
a34cf168f3
Working now with all keywords in English.
...
svn: r11963
2009-02-11 13:14:56 +00:00
Peter Landgren
e3ae9deb76
Added tests for Swedish calendar
...
svn: r11962
2009-02-11 08:32:54 +00:00
Raphael Ackermann
baef4d76a4
fixed indentation issues and mix of tabs and spaces.
...
svn: r11943
2009-02-09 23:37:40 +00:00
Doug Blank
ef066a3b6a
Feature #2393 : Allow the use of user-defined (mega)-widgets by MD Nauta; added register_option()
...
svn: r11861
2009-02-05 02:23:46 +00:00
Doug Blank
9eac556fca
Removed problem method set(): Bug #2669 : Note editor does not retain marker
...
svn: r11844
2009-02-04 12:51:34 +00:00
Benny Malengier
829d78b611
New mapservice plugin structure, as a general solution to #2659
...
* configure.in
* src/DataViews/PlaceView.py
* src/Config/_GrampsConfigKeys.py
* src/gen/plug/_manager.py
* src/plugins/mapservices
* src/plugins/mapservices/googlemap.py
* src/plugins/mapservices/openstreetmap.py
* src/plugins/lib/Makefile.am
* src/plugins/lib/libmapservice.py
* src/plugins/Makefile.am
* src/widgets/menutoolbuttonaction.py
* src/widgets/Makefile.am
* src/PageView.py
* po/POTFILES.in
svn: r11811
2009-02-02 21:55:22 +00:00
Jérôme Rapinat
40d99c2b4e
revert changes, using ngettext
...
svn: r11761
2009-01-30 10:36:23 +00:00
Brian Matherly
497e8d8233
Add support for plugin "libraries" that do not specifically tie into the plugin system and can be imported by other plugins.
...
svn: r11758
2009-01-30 02:16:00 +00:00
Jérôme Rapinat
d1918cc259
mistakes on context
...
svn: r11715
2009-01-25 13:11:27 +00:00
Doug Blank
6d50c002fe
Upgrade of source, place, and media tables.
...
svn: r11710
2009-01-25 02:29:05 +00:00
Jérôme Rapinat
0034c7c02c
translation support and use TransUtils for context
...
svn: r11703
2009-01-24 09:40:55 +00:00
Jérôme Rapinat
28ee7ee1a8
#445 : B.C.E and dates conversion on french_calendar
...
svn: r11681
2009-01-22 10:15:01 +00:00
Peter Landgren
3fc705f784
Typo fixed.
...
svn: r11674
2009-01-20 13:03:28 +00:00
Peter Landgren
f6320f0432
Removed debug stuff.
...
svn: r11672
2009-01-20 10:02:19 +00:00
Peter Landgren
a73b2da699
Swedish calendar added.
...
svn: r11665
2009-01-19 20:09:19 +00:00
Doug Blank
0887ab1ac9
Handle date differences when one is a newyear other than Jan1
...
svn: r11646
2009-01-17 17:11:34 +00:00
Doug Blank
ed35e1de38
Bug fix #1834 , 1842: new-year boundaries in history, and editing slash dates: These changes allow the date editor dialog to change slashdates, and to change the first day of the year from Jan1. This is important for some date calculations and orderings. In order to do this, a new date format variation has been added. You can put Mar1, Mar25, or Sept1 in the parens with or without a Calendar type. For example: 'Jan 1, 1735 (Julian,Mar25)'. See further docs in wiki.
...
svn: r11644
2009-01-17 14:33:10 +00:00
Doug Blank
2170b850ee
Bring date_test up to date with new Span format; passes 100%
...
svn: r11643
2009-01-17 14:24:57 +00:00
Brian Matherly
a6fa59cc35
Add support for subdirectories in the plugins directory.
...
svn: r11631
2009-01-16 16:21:54 +00:00
Brian Matherly
b77c14b74a
Include suffix and title in names for living people when names are not restricted.
...
svn: r11630
2009-01-16 00:52:49 +00:00
Doug Blank
2ed7f7becb
Translation clauses: about, less than, greater than, etc.
...
svn: r11567
2009-01-04 18:17:33 +00:00
Doug Blank
8658f5a074
Added a __getitem__ method to date Spans which should eventually be removed. I belive that only the Det*Reports.py use them.
...
svn: r11566
2009-01-04 18:05:26 +00:00
Doug Blank
61ca9201b5
Changes in the manner that date differences are represented and compared
...
svn: r11565
2009-01-04 17:44:33 +00:00
Doug Blank
dc2c438231
Refinements to give more feedback on probably alive; use CAUSE_DEATH as additional evidence for death; date span shows (unknown) for invalid differences.
...
svn: r11556
2009-01-01 00:58:18 +00:00
Doug Blank
6d2cc418e4
Fix for #2303 : plugins/Det*Report.py use an outdated method of computing ages. This fix brings it up to date, but needs some additional work once date spans can fully repr themselves.
...
svn: r11549
2008-12-31 14:49:24 +00:00
Doug Blank
983f6d3e71
Added new signal to database: home-person-changed, which is emitted when the default person is set
...
svn: r11534
2008-12-29 14:13:44 +00:00
Doug Blank
a156156394
Fixed a bug in negative date differences; enhanced Span repr (shows days, if short enough)
...
svn: r11532
2008-12-28 05:44:01 +00:00
Doug Blank
323ac9257f
Added len to Span class, and added an is_valid method to date. is_valid similar to is_regular, but allows partial dates
...
svn: r11528
2008-12-27 21:31:16 +00:00
Doug Blank
fadeb3744e
Added lt and gt for date span comparisons
...
svn: r11523
2008-12-27 16:40:25 +00:00
Doug Blank
42b00f04f4
Added a test for negative date differences
...
svn: r11522
2008-12-27 16:29:46 +00:00
Doug Blank
a11d819296
Date spans that are negative show with negative year, month, and day
...
svn: r11521
2008-12-27 16:07:36 +00:00
Doug Blank
246f76621a
Added to display age at death if dead, or current age if alive
...
svn: r11471
2008-12-14 14:52:54 +00:00
Doug Blank
9aa7bc6030
Fixed some missed dates in conversion from 13 to 14
...
svn: r11447
2008-12-08 13:15:40 +00:00
Doug Blank
2a8b08675b
Reset import and export lists (others may need to be reset, too)
...
svn: r11361
2008-11-29 16:27:08 +00:00
Doug Blank
8a690810fc
Continued attempted fix for BSDDB new methods and attributes
...
svn: r11360
2008-11-29 12:53:00 +00:00
Doug Blank
f067bf6e2c
Changes with Python 2.5.2 and BSDDB are more subtle---seems to require checking both Python and BSDDB versions. This involves a method name change, and a flag name change.
...
svn: r11354
2008-11-28 04:28:10 +00:00
Peter Landgren
475da86de2
Fix of issue 2505. Also fix of string and unicode problems in matching
...
svn: r11336
2008-11-22 15:35:14 +00:00
Peter Landgren
2876068bdf
Fix of issue 2504, sorting in WinXP.
...
svn: r11332
2008-11-21 15:26:26 +00:00
Benny Malengier
7424433a69
0002483: Gramps crashes while loading database, always.
...
Patch of Josip, support bsddb >= 4.7
svn: r11297
2008-11-13 08:28:32 +00:00
Brian Matherly
2e9a488e3e
Refactor export plugin framework. All importers and exporters are now plugins.
...
svn: r11243
2008-11-04 04:12:51 +00:00
Gary Burton
d682a1dcde
Fix for bug when deleting birth and death events. Bug #2456
...
svn: r11191
2008-10-25 11:36:56 +00:00
Brian Matherly
dfd426e5ca
Move the contents of "_GrampsBSDDB.py" into "ReadGrdb.py" because that is the only place it is used. Then, rename "ReadGrdb.py" to "plugins/ImportGrdb.py" for consistency. Also clean up misc import related code.
...
svn: r11173
2008-10-21 04:22:45 +00:00
Brian Matherly
8e8f37d5d3
Create a new plugin class for Import plugins.
...
svn: r11142
2008-10-14 02:34:28 +00:00
Peter Landgren
3e4a289f4b
Type _sring.py -> _string.py
...
svn: r11106
2008-10-04 11:08:05 +00:00
Brian Matherly
71013e9f50
Fix makefiles for previous source file re-arrangements.
...
svn: r11104
2008-10-04 05:15:06 +00:00
Brian Matherly
9c364490ce
Move PluginUtils/_PluginMgr.py to gen/plug/_manager.py. Now, instead of "from PluginUtils import PluginManager", use "from gen.plug import PluginManager".
...
svn: r11100
2008-10-02 04:02:10 +00:00
Brian Matherly
e811924e77
Move PluginUtils._MenuOptions into a new module in gen.plug.menu. Also, put each class in its own file so that it will scale better as new options are added.
...
svn: r11086
2008-09-27 13:56:17 +00:00
Gerald Britton
8cb51d4392
fix typo in property call
...
svn: r11068
2008-09-16 14:07:29 +00:00
Gerald Britton
5e290c4329
Remove __slots__, __getstate__ and __setstate__
...
svn: r11049
2008-09-09 19:54:27 +00:00
Gary Burton
b6ed9d389d
Stop media editor prompting to save changes on cancellation when none made. Bug #2364
...
svn: r11029
2008-09-06 09:18:57 +00:00
Brian Matherly
0254a5177f
Contribution from Robert Chéramy <robert@cheramy.net>. Adds note filters to the filter proxy. Also adds note filters to the exporters.
...
svn: r11016
2008-09-04 11:46:43 +00:00
Gary Burton
e68981fb69
Crash caused by change made in bug #2289 . Reversing change.
...
svn: r10929
2008-07-26 20:58:43 +00:00
Brian Matherly
ca62125e5b
Fix docstrings related to the proxy databases so that they are correct.
...
svn: r10885
2008-07-20 22:15:15 +00:00
Gary Burton
96c1d044f3
Performance speed up
...
svn: r10882
2008-07-20 18:30:23 +00:00
Gerald Britton
437bde6e5c
Revert 10874 changes to base.py and _FilterParser.py
...
svn: r10877
2008-07-18 13:15:15 +00:00
Gerald Britton
49316e07e8
Revert 10874 changes to dbdir.py and _GrampsBSDDB.py
...
svn: r10875
2008-07-17 21:03:26 +00:00
Gerald Britton
882199f1c2
Replace dict.has_key(x) with x in dict for performance gain
...
svn: r10874
2008-07-17 18:10:32 +00:00
Gary Burton
b2f0e1e537
New database proxy which passes through objects which are referenced by at least one another object.
...
svn: r10845
2008-07-07 19:25:18 +00:00
Gerald Britton
6037e9fdd4
Replace lambdas with list comprehensions
...
svn: r10843
2008-07-04 17:27:51 +00:00
Gerald Britton
2e4d57ea28
Fix isinstance error and replace lambdas with list comprehensions
...
svn: r10838
2008-07-03 18:30:00 +00:00
Gerald Britton
4e73de8987
add instance attribute ref to __slots__ in eventref -- bug 2210
...
svn: r10816
2008-06-17 15:03:12 +00:00
Gerald Britton
5e6e48cdb1
Fix typepo in eventref from commit 10814 -- bug 2210
...
svn: r10815
2008-06-17 14:46:06 +00:00
Gerald Britton
63f6b44481
Fix pickle.dumps problem in grampstype and eventref -- bug 2210
...
svn: r10814
2008-06-17 14:40:44 +00:00
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
0b70388483
0002204: Narrative Web report "restrict living" is different than Gramps 2.x
...
svn: r10786
2008-06-05 03:45:14 +00:00
Brian Matherly
3a98ddd4fd
0002122: Detailed Ancestor Report reports people as buried who have no birth events (contributed by Gerald Britton <gerald.britton@gmail.com>)
...
svn: r10781
2008-06-02 00:59:14 +00:00
Zsolt Foldvari
998908175f
Issue #0002175 : Change type() expressions to isinstance() expressions.
...
Patch from Gerald Britton <gerald.britton@gmail.com>
svn: r10762
2008-05-25 19:55:47 +00:00
Zsolt Foldvari
f0b1808c71
Classmethod definition using the decorator syntax.
...
svn: r10740
2008-05-18 17:57:02 +00:00
Zsolt Foldvari
05b39c5c15
Reorganize custom widgets into a new 'widgets' package.
...
1. moving existing widget modules under src/widgets/
svn: r10694
2008-05-08 19:40:56 +00:00
Zsolt Foldvari
9bf1c718f6
Move STYLE_TYPE and STYLE_DEFAULT constants from StyledTextBuffer to StyledTextTagType.
...
svn: r10629
2008-04-23 13:34:13 +00:00
Zsolt Foldvari
d003d5e61b
Refactoring:
...
- better functionality devision between buffer and editor;
- better integration with StyledTextTagType;
- font family and font size tags are separated;
- new font family and font size toolbar widgets;
svn: r10626
2008-04-23 09:07:02 +00:00
Brian Matherly
6a06a88442
0002006: Ancestor filter does not work properly with living people excluded in Narrative Web report.
...
svn: r10610
2008-04-20 23:35:39 +00:00
Doug Blank
81bc827030
Bug in computing date differences
...
svn: r10598
2008-04-20 02:02:44 +00:00
Doug Blank
f637730a87
General polish of some date handling code; fixed a bug in date comparisons involving 'ABT' dates
...
svn: r10592
2008-04-19 16:48:46 +00:00
Doug Blank
465e950888
further fixes for slash dates and updates to unit tests
...
svn: r10588
2008-04-19 04:51:12 +00:00
Doug Blank
3373062274
0002045: Julian date: year incremented each time event is modified; removed earlier hack, and fixed properly. Other date parsers or displayers may have to change
...
svn: r10587
2008-04-19 03:39:58 +00:00
Doug Blank
2098a01f8d
refactored SimpleTable; QuickReports can return values; date diffs return Span
...
svn: r10578
2008-04-18 01:09:32 +00:00
Doug Blank
02cceb2e8b
Use sophisticated Date.match() for lt and gt; don't match invalid dates
...
svn: r10574
2008-04-17 12:15:48 +00:00
Doug Blank
e410f04c7a
Removed extra line from a previous aborted refactor
...
svn: r10539
2008-04-10 02:01:47 +00:00
Doug Blank
dbf925c63e
0002041: show dialog if db version too high; ask question to upgrade the db version
...
svn: r10535
2008-04-10 01:15:12 +00:00
Doug Blank
d4311078f0
Added an integer newyear code to all dates, db version 14
...
svn: r10521
2008-04-08 04:24:18 +00:00
Doug Blank
2ac01bfcc7
Undo db update... missed many dates; reworking upgrade
...
svn: r10499
2008-04-06 12:20:33 +00:00
Doug Blank
1644727587
Upgrade the database some more for version 14: new int on dates for newyear
...
svn: r10495
2008-04-06 03:43:24 +00:00
Zsolt Foldvari
abbd6781c1
Reverting change from r10429, because metadata is now always set after DB creation.
...
svn: r10486
2008-04-05 22:02:59 +00:00
Zsolt Foldvari
311278e6a8
Method 'write_version' is created instead of loading the db after creation.
...
svn: r10484
2008-04-05 21:47:49 +00:00
Kees Bakker
f3ed8061a2
Added the new styled text modules.
...
* src/gen/lib/Makefile.am
* src/Editors/Makefile.am
svn: r10460
2008-04-03 18:32:29 +00:00
Zsolt Foldvari
0087d69fab
Implement a few string methods in StyledText, and documentation.
...
svn: r10445
2008-04-01 16:57:55 +00:00
Zsolt Foldvari
42e91346ed
StyledTextTag.ranges is rather initialized as [] than None
...
in case it is not specifically set.
svn: r10444
2008-04-01 16:55:14 +00:00
Zsolt Foldvari
0cc320ac90
When new db was created metadata still contained no information, thus in
...
dbdir.GrampsDBDir.__load the version check failed.
svn: r10429
2008-03-31 16:46:00 +00:00
Doug Blank
02b110a2b0
Missing space in db error
...
svn: r10419
2008-03-29 20:54:04 +00:00
Zsolt Foldvari
1c2ec7559b
Fix #0001991 : supported database versions checked properly.
...
svn: r10417
2008-03-29 19:59:33 +00:00
Zsolt Foldvari
0542a9b78c
Introducing StyledText in Notes.
...
svn: r10410
2008-03-28 23:22:46 +00:00
James G Sack
e21d552013
Added support for blacklisted (eg, obsolete/retired) type values.
...
Updated unittest to verify changes. No effect on existing code.
Basic pieces are ready for fixing #1680 , but now awaiting a translation
strategy and code for reading a database with blacklisted values.
At that point #1680 fix will simply require adding a line like
_BLACKLIST=[CAUSEDEATH]
to eventtype.py.
svn: r10405
2008-03-27 07:24:06 +00:00
James G Sack
bca1d41204
Some cleanup prior to an upcoming change for bug #1680 .
...
Minor optimization in _init_map (replace loop w/ list-comprehension
Remove unused variables VALUE_POS, STRING_POS,
At call to self.set, remove unnecessary logic that duplicates
else-clause within the set() function itself
svn: r10404
2008-03-27 03:11:48 +00:00
James G Sack
76ee14989f
Avert potential exception when initializing with a tuple of length 1 or 0
...
This fixes a side-effect of revision 10398.
Also add unittest for grampstype.py, to test this fix
svn: r10403
2008-03-27 02:36:55 +00:00
Zsolt Foldvari
6bb0c17384
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10402
2008-03-26 18:45:58 +00:00
Zsolt Foldvari
93998976ff
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10399
2008-03-25 23:38:24 +00:00
Zsolt Foldvari
8e5591ee16
Fixing: none of the types subclassed from GrampsType can be initialized with
...
value 0.
svn: r10398
2008-03-25 22:59:59 +00:00
Zsolt Foldvari
3f23e4b899
Introducing GrampsTypeMeta in gen.lib.grampstype.GrampsType.
...
This way the subclassed type classes don't have to import and call init_map().
svn: r10397
2008-03-25 22:55:58 +00:00
James G Sack
5f5e83f512
removed duplicate NUM_CHILD entry in _DATAMAP list
...
svn: r10379
2008-03-23 18:49:12 +00:00
Zsolt Foldvari
2642641b84
Changing the way of how formatted Notes are stored:
...
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.
svn: r10288
2008-03-13 10:44:22 +00:00
Raphael Ackermann
9868432522
2008-03-09 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/lib/data.py (Date.get_sort_value):Add updated description to
what a sortval is. Also add reference to Julian Day on Wikipedia.
svn: r10242
2008-03-09 19:51:36 +00:00
Benny Malengier
957239950d
2008-03-09 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/base.py: add docstring to find functions, #1866
* src/gen/db/dbdir.py: add docstring to find functions, #1866
svn: r10236
2008-03-09 18:10:13 +00:00
Brian Matherly
fa0b508924
0001863: <gramps> tags in notes, consistency. This should be in all notes or only in the ones that have markup
...
Markup has been disabled for notes. A new strategy is being worked on to allow styles for notes.
svn: r10230
2008-03-08 21:20:42 +00:00
Gary Burton
34cf711351
2008-03-02 Gary Burton <gary.burton@zen.co.uk>
...
* src/GrampsCfg.py:
* src/Config/_GrampsConfigKeys.py:
* src/gen/db/dbdir.py:
* src/DbManager.py:
* src/DbLoader.py: Gramps databases run with transactions enabled. The
option to switch off transactions is now removed. The "transactions" and
"port_warn" settings are ignored in the config file.
svn: r10169
2008-03-02 21:34:51 +00:00
James G Sack
54faf32fee
fix r10099 oversight, also improve callback_test.py
...
svn: r10140
2008-02-29 05:15:00 +00:00
Benny Malengier
b1561e5f78
2008-02-28 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/ViewManager.py: allow for info dialog after import
* src/gen/db/base.py: find returns if new object or not
* src/gen/db/dbdir.py: find returns if new object or not
* src/plugins/ImportGeneWeb.py: allow multiple mime types
* src/plugins/ImportvCard.py: allow multiple mime types
* src/plugins/ReadGrdb.py: allow multiple mime types
* src/plugins/ReadPkg.py: allow multiple mime types
* src/plugins/ImportCSV.py: allow multiple mime types
* src/DbManager.py: use family tree string, not database
* src/glade/gramps.glade: add info dialog
* src/QuestionDialog.py: add info dialog, clean up set transient errors
* src/GrampsDbUtils/_GrampsDbWriteXML.py: improve comment
* src/GrampsDbUtils/_ReadXML.py: fix change dates problems, fix
creation of empty objects in bookmarks, add info dialog, clean up
relative media import, remove unneeded parameters
* src/GrampsDbUtils/_GrampsDbWRFactories.py:
* src/GrampsDbUtils/_GrampsBSDDB.py: allow multiple mime types
* src/DbLoader.py: fix up import filters and some mime type issues
svn: r10138
2008-02-28 22:32:40 +00:00
Doug Blank
7aed9fc1bf
2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/DateHandler/_DateParser.py: set year += 1
* src/gen/lib/date.py: removed slash-date fix
* src/gen/lib/test/date_test.py: slash dates sort correctly
svn: r10121
2008-02-26 00:14:36 +00:00
Doug Blank
6103ed9539
2008-02-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/test/date_test.py: new slash date tests
* src/gen/lib/date.py: new get_slash(), fix slash conversions
* src/DateHandler/_DateParser.py: parser sets slash date to Julian
svn: r10114
2008-02-25 05:46:45 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Doug Blank
2180fa02cb
2008-02-23 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py (Date.get_stop_date):
added new method Date.to_calendar; dates return None if error
svn: r10102
2008-02-24 00:58:33 +00:00
Raphael Ackermann
5f375b106f
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* ViewManager.py
* gen/db/iterator.py
* gen/db/base.py
* gen/db/dbconst.py
* gen/db/cursor.py
* gen/db/__init__.py
* gen/db/exceptions.py
* gen/db/dbdir.py
* gen/lib/srcbase.py
* gen/callback: deleted unused directory
* plugins/ReorderIds.py:
pylint and pep8 doc fixes
svn: r10099
2008-02-23 08:38:55 +00:00
Doug Blank
c0fd2f8b39
2008-02-23 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/date_test.py: removed file; moved tests to:
* src/gen/lib/test/date_test.py (suite3): new tests
moved tests from src/date_test.py into unit-test framework
svn: r10098
2008-02-23 05:56:38 +00:00
Don Allingham
d45a676492
2008-02-20 Don Allingham <don@gramps-project.org>
...
* src/GrampsCfg.py: refactoring
* src/gen/utils/test/callback_test.py: refactoring
* src/gen/utils/callback.py: refactoring
* src/gen/utils/longop.py: refactoring
* src/gen/utils/__init__.py: refactoring
* src/gen/db/base.py: refactoring
* src/gen/Makefile.am: refactoring
* src/DisplayState.py: refactoring
* src/DbState.py: refactoring
* src/PluginUtils/_MenuOptions.py: refactoring
* src/ListModel.py: refactoring
* src/BaseDoc.py: refactoring
svn: r10086
2008-02-21 04:58:56 +00:00
Doug Blank
ac8b31151b
Fixes for date math and different calendars
...
svn: r10060
2008-02-19 06:00:51 +00:00
Doug Blank
bb11347869
2008-02-19 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py (Date.__init__):
added Date("Jan 1, 2000") string constructor and
calendar, quality, and modifier keywords to Date()
svn: r10059
2008-02-19 05:22:50 +00:00
Raphael Ackermann
90f883e46d
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* 143 files
* test/try_tree_model.py
* windows/nsis/gcheck.py
imports cleanup
svn: r10055
2008-02-18 20:07:09 +00:00
Doug Blank
76d1f660f0
Removed __eq__ on dates
...
svn: r10044
2008-02-17 18:04:36 +00:00
Doug Blank
6ad3a48d64
2008-02-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py (Date.__sub__): fixed some date math (#1649 )
* src/gen/lib/test/date_test.py: added some unit tests for date math
svn: r10043
2008-02-17 17:53:43 +00:00
Raphael Ackermann
534a306579
2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/DataViews/GrampletView.py
* src/ReportBase/_ReportUtils.py
* src/gen/proxy/private.py
* src/plugins/WebCal.py
* src/plugins/CmdRef.py
* src/Models/_ListCursor.py
* src/Models/_PathCursor.py
PEP 8 fixes. Change
if var == True --> if var
if var is True --> if var
if var == False --> if not var
if var == None --> if var is None
svn: r9994
2008-02-05 00:31:57 +00:00
Gary Burton
2742e8d00b
2008-02-03 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/db/base.py: Functions using the pop function expect a return
value. Bug #1632
svn: r9991
2008-02-03 21:55:03 +00:00
Raphael Ackermann
506eb32637
2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
...
Removed all the __author__, __revision__ and __version__ statements
svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
e67991ebeb
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/ReportBase/_Bibliography.py
* src/ReportBase/_Endnotes.py
* src/GrampsLocale/__init__.py
* src/gen/db/dbconst.py
* src/gen/lib/test/date_test.py
* src/plugins/CalculateEstimatedDates.py
* src/BasicUtils/__init__.py
* src/test/utils_test.py
* src/GrampsDbUtils/importdbdir.py
* po/test/po_test.py
add filename to $Id: $ to allow automatic filling in of svn properties
svn: r9914
2008-01-22 10:17:42 +00:00
Raphael Ackermann
bbe2cc6d4e
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* Everything but src/images/* and src/data/* add correct svn
properties with the commands:
svn propset -R svn:mime-type text/plain src/
svn propset -R svn:eol-style native src/
svn propset -R svn:keywords Id src/
See below why the Id keyword is enough. From svn help propset
svn:keywords - Keywords to be expanded. Valid keywords are:
URL, HeadURL - The URL for the head version of the object.
Author, LastChangedBy - The last person to modify the file.
Date, LastChangedDate - The date/time the object was last modified.
Rev, Revision, - The last revision the object changed.
LastChangedRevision
Id - A compressed summary of the previous
4 keywords.
svn: r9912
2008-01-22 09:17:46 +00:00
Raphael Ackermann
493c790703
2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/db/dbdir.py
* src/plugins/ChangeNames.py
* src/DisplayModels/_NoteModel.py
* src/GrampsDbUtils/_GrampsBSDDB.py
* src/Filters/SideBar/_MediaSidebarFilter.py
* src/Filters/SideBar/_SidebarFilter.py
* src/Filters/SideBar/_SourceSidebarFilter.py
* src/Filters/SideBar/_EventSidebarFilter.py
* src/Filters/SideBar/_FamilySidebarFilter.py
* src/Filters/SideBar/_PlaceSidebarFilter.py
* src/Filters/SideBar/_NoteSidebarFilter.py
* src/Filters/SideBar/_RepoSidebarFilter.py
* src/Filters/SideBar/_PersonSidebarFilter.py
* src/Filters/Rules/Family/_HasNoteRegexp.py
* src/Filters/Rules/Event/_MatchesSourceFilter.py
* src/Filters/Rules/Event/_HasNoteRegexp.py
* src/Filters/Rules/Event/_MatchesPersonFilter.py
* src/Filters/Rules/_HasTextMatchingRegexpOf.py
* src/Filters/Rules/Place/_MatchesEventFilter.py
* src/Filters/Rules/Person/_HasTextMatchingRegexpOf.py
* src/Filters/Rules/Person/_MatchesEventFilter.py
Pylint fixes.
svn: r9885
2008-01-18 15:51:15 +00:00
Benny Malengier
ccb0b85b15
* src/gen/db/exceptions.py: wrong exception def, bug #1593
...
* src/GrampsDbUtils/_WriteXML.py: correctly catch the exception
* src/GrampsDbUtils/_GrampsDbWriteXML.py: remove double def of xml export
* src/GrampsDbUtils/_GrampsDbWRFactories.py: remove write backend factory
* src/ExportAssistant.py: on fail, do not set success = True
* src/GrampsDbUtils/__init__.py: don't export unused stuff
2008-01-15 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9818
2008-01-15 10:47:25 +00:00
Raphael Ackermann
1abb8df85f
2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/db/dbdir.py: add doc, remove unused variable
* src/GrampsDbUtils/_GrampsBSDDB.py: : add doc, remove unused variable
* src/plugins/AncestorChart.py: cleanup unused vars
* src/plugins/Calendar.py: typo in doc
* src/plugins/ChangeNames.py: cleanup unused vars
* src/plugins/DescendChart.py: cleanup unused vars
* src/plugins/FamilyLines.py: cleanup unused vars
* src/ReportBase/_ReportUtils.py: fix typo in variable Name
svn: r9779
2008-01-11 06:50:46 +00:00
Gary Burton
811f40b5da
* src/DisplayModels/_NoteModel.py:
...
* src/Selectors/_SelectNote.py:
* src/DisplayViews/NoteView.py:
* src/gen/db/base.py:
Change the order of columns on Note View and Select Note dialog. Also
fixed a crash. Bug #1529
2008-01-09 Gary Burton <gary.burton@zen.co.uk>
svn: r9770
2008-01-09 21:15:28 +00:00
Raphael Ackermann
2857943955
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com> From PEP8 Always use 'self' for the first argument to instance methods.
...
svn: r9767
2008-01-09 16:47:56 +00:00
Raphael Ackermann
b7c7952058
2008-01-09 Raphael Ackermann <raphael.ackermann@gmail.com>
...
svn: r9760
2008-01-09 06:45:15 +00:00
James G Sack
fb025aa2bd
add comment about int4entional undefined function
...
svn: r9755
2008-01-08 21:45:06 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
Doug Blank
e226c06de6
2008-01-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/gen/lib/date.py (Date.__sub__): fixed date differences
* src/Simple/_SimpleTable.py: removed frame around textview
svn: r9709
2008-01-05 03:02:56 +00:00
Doug Blank
1e3ce27007
2008-01-03 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/ReportBase/_Constants.py: added QR_NOTE, QR_DATE
* src/gen/lib/date.py: working on date math
* src/plugins/AgeOnDate.py: new Quick View for age on date
* src/plugins/DefaultGadgets.py: added Age on Date gadget
* src/QuickReports.py: new constants
* src/Simple/_SimpleTable.py: handle sort columns
svn: r9698
2008-01-03 14:18:18 +00:00
Doug Blank
3295364aa2
Date arithmetic typo
...
svn: r9668
2007-12-31 23:26:50 +00:00
Doug Blank
a066962d6a
Date arithmetic typo
...
svn: r9667
2007-12-31 23:26:12 +00:00
Gary Burton
cfbcdce095
* src/gen/db/base.py: added missing key for reference_key in mapbase and
...
_SIGBASE. Was preventing deleted notes being undone. Bug #1507 .
2007-12-31 Gary Burton <gary.burton@zen.co.uk>
svn: r9664
2007-12-31 21:57:54 +00:00
Doug Blank
0cd7a685d6
Fixed date arithmetic
...
svn: r9662
2007-12-31 21:23:48 +00:00
Doug Blank
70a02003ba
Date arithmetic
...
svn: r9658
2007-12-31 16:43:58 +00:00