Commit Graph

246 Commits

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