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