Kees Bakker
72e38bbeaa
Before creating the EnumeratedListOption for the name formats we
...
must get the list so we can use the value of the first entry.
Otherwise you'll see "Value -1 not found for option..." on your
command window.
* src/plugins/Calendar.py
svn: r11490
2008-12-17 22:00:12 +00:00
Kees Bakker
60aa458d87
Use progress meter while doing the filtering.
...
* src/plugins/Calendar.py
svn: r11488
2008-12-17 20:57:19 +00:00
Jérôme Rapinat
b58ae794b7
2429: Typos/grammar errors
...
svn: r11122
2008-10-06 12:36:03 +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
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +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
Brian Matherly
3afbd461c0
Put all the plugin management and registration stuff into a class. This new class is named PluginManager. It is a Singleton so that everyone gets access to the same plugin information.
...
svn: r10741
2008-05-18 19:24:28 +00:00
Brian Matherly
504f0e554a
0001880: Birthday and Anniversary Report does not work
...
svn: r10174
2008-03-03 04:06:48 +00:00
Brian Matherly
e2bc58fe63
0001711: Inconsistant names for graphical reports
...
svn: r10152
2008-03-01 22:47:48 +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
Brian Matherly
cc6654ddab
Remove the "person" option from reports, report options, and report dialogs. Person is selected by the user for all reports.
...
svn: r10074
2008-02-20 04:52:10 +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
Raphael Ackermann
3bd5ea1f35
2008-01-29 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/ViewManager.py: 0001641: add ... ellipsis to menu items.
* src/plugins/Calendar.py: 0001641: add ... ellipsis to menu items.
* src/PluginUtils/__init__.py: pep8 fixes
* src/PluginUtils/_PluginMgr.py: pylint and doc fixes
svn: r9960
2008-01-29 21:48:19 +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
Brian Matherly
77af7ed092
Refactoring the report system: reports no longer require dbstate.
...
svn: r9924
2008-01-24 12:50:33 +00:00
Brian Matherly
2f0d587bec
More refactoring in the report system. Book report should work again.
...
svn: r9916
2008-01-23 05:41:46 +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
Brian Matherly
07e1529f27
Refactoring the report system. Decouple MenuOptions from the code that displays them. (Book Report is broken and needs to be fixed.)
...
svn: r9875
2008-01-18 05:39:50 +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
Brian Matherly
81e521c53b
More refactoring in the report system. More reports use MenuOptions now. BareReportDialog no longer has "center person".
...
svn: r9714
2008-01-05 20:42:05 +00:00
Brian Matherly
e0543b0644
More updates to better support MenuOptions. FamilyLines seems to work now.
...
svn: r9634
2007-12-30 05:41:16 +00:00
Doug Blank
ca186628c7
2007-12-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/CalculateEstimatedDates.py: Give good defaults for Filter
and Enumerated Lists
* src/plugins/Calendar.py: Give good defaults for Filter and Enumerated
lists
* src/PluginUtils/_MenuOptions.py: added a get_filter() method to return
filter object; added a param to constructor to set default filter
svn: r9526
2007-12-17 05:09:34 +00:00
Brian Matherly
f5393d7d3a
Properly initialize Filter option.
...
svn: r9525
2007-12-17 04:12:01 +00:00
Doug Blank
4ba6f344a7
* src/plugins/Calendar.py: fixed MenuOption's EnumeratedList to match
...
Brian's changes on 2007-12-15.
2007-12-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
svn: r9522
2007-12-16 18:27:43 +00:00
Doug Blank
8712649b7d
* src/plugins/Calendar.py: Added relationships (feature #1086 )
...
* src/PluginUtils/_MenuOptions.py: added get_center_person to filter option
2007-12-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
svn: r9510
2007-12-15 17:09:44 +00:00
Doug Blank
56905cedd8
2007-11-29 Douglas S.Blank <dblank@cs.brynmawr.edu>
...
* src/ReportBase/__init__.py: import MenuReportOptions
* src/ReportBase/_ReportOptions.py: import MenuOptions and
define MenuReportOptions
* src/plugins/Calendar.py: get MenuReportOptions from ReportOptions
* src/plugins/DescendChart.py: ditto
* src/plugins/AncestorChart.py: ditto
* src/plugins/GVHourGlass.py: ditto
* src/plugins/FanChart.py: ditto
* src/PluginUtils/__init__.py: define MenuToolOptions
* src/PluginUtils/_MenuOptions.py: Remove circular dependancies
svn: r9433
2007-11-29 15:02:40 +00:00
Doug Blank
d2be7227f5
* src/ReportBase/_MenuOptions.py: removed/moved to PluginUtils
...
* src/ReportBase/__init__.py: removed Menu items
* src/plugins/Calendar.py: uses MenuReportOptions
* src/plugins/DescendChart.py: uses MenuReportOptions
* src/plugins/AncestorChart.py: uses MenuReportOptions
* src/plugins/GVHourGlass.py: uses MenuReportOptions
* src/plugins/FanChart.py: uses MenuReportOptions
* src/PluginUtils/__init__.py: imports Menu items
2007-11-28 Douglas S.Blank <dblank@cs.brynmawr.edu>
svn: r9424
2007-11-28 23:33:40 +00:00
James G Sack
ecfa4aa0c0
add USER_xxx constants to const, use them
...
svn: r9407
2007-11-26 05:11:19 +00:00
Doug Blank
9ee75010b6
2007-11-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/Utils.py: probably_alive now takes date rather than year
* src/gen/proxy/living.py: create date from year
* src/gen/lib/date.py: added methods to do date math
and return Date object (set_yr_mon_day_offset, copy_offset_ymd)
* src/plugins/Calendar.py: updated to use probably alive date
* src/Filters/Rules/Person/_ProbablyAlive.py: parse entry as date
svn: r9379
2007-11-21 14:49:50 +00:00
Doug Blank
22cf5aaa4c
2007-10-31 Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/Calendar.py: added capitalize() to months/days; dst()
* src/plugins/holidays.xml: uses dst() Daylight Saving Time function
svn: r9283
2007-10-31 14:30:54 +00:00
Doug Blank
61e31e9f16
2007-10-30 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/Calendar.py: added Peter Landgren's locale suggestions
svn: r9279
2007-10-31 01:13:53 +00:00
Doug Blank
2bead748b9
2007-10-25 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/Calendar.py: display date on text report in locale;
changed a font default; removed string date class: use offset instead
svn: r9251
2007-10-26 00:22:12 +00:00
Doug Blank
84b7fd8f7d
2007-10-21 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/Calendar.py: select first/last marriage for maiden name
svn: r9230
2007-10-21 20:41:49 +00:00
Doug Blank
b4cc165711
* src/plugins/Calendar.py: changed exp eval char to '>'
...
* src/plugins/holidays.xml: added easter and ash wed eval's
2007-10-17 Douglas S. Blank <dblank@cs.brynmawr.edu>
svn: r9201
2007-10-17 04:21:34 +00:00
Doug Blank
d24ef026a9
2007-10-16 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/Calendar.py: Fixed bug with maiden names, added some support for selecting name formats
svn: r9198
2007-10-17 01:32:51 +00:00
Doug Blank
f9606c4b03
2007-10-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/WebCal.py: fixed a wrong indent level
* src/plugins/Calendar.py: handle divorces, weekdays, easter, eval values in XML
svn: r9191
2007-10-16 02:26:38 +00:00
Doug Blank
c49af9ad43
* src/plugins/Calendar.py: no negative years on calendar (no events show before they occur)
...
* src/plugins/Calendar.py: uses StringOption in MenuOption
* src/ReportBase/_MenuOptions.py: adds StringOption (one line text entry)
* src/ReportBase/__init__.py: adds StringOption
svn: r9175
2007-10-14 01:56:00 +00:00
Don Allingham
d58641415d
2007-10-08 Don Allingham <don@gramps-project.org>
...
* various: gen.lib integration. probably touches almost every file
* various: gen.utils integration
svn: r9101
2007-10-08 16:41:39 +00:00
Benny Malengier
8c89fa68c7
2007-07-23 Johan Gonqvist <johan.gronqvist@gmail.com>
...
* src/plugins/Calendar.py: first day of calendar is an option.
svn: r9083
2007-10-05 12:55:08 +00:00
Brian Matherly
817efdf103
Bring the calendar report up to date with the changes in the 3.0 branch. Issue #0001170 .
...
svn: r8978
2007-09-16 03:51:18 +00:00
Don Allingham
a65a73d1d7
* various: const.py changes
...
2007-09-07 Don Allingham <don@gramps-project.org>
* src/DateHandler/_Date_fr.py: fix indentation errors
2007-09-07 Don Allingham <don@gramps-project.org>
svn: r8948
2007-09-08 05:54:02 +00:00
Brian Matherly
d7d7ed340b
* src/BaseDoc.py:
...
* src/docgen/PSDrawDoc.py:
* src/docgen/SvgDrawDoc.py:
* src/docgen/PdfDoc.py:
* src/docgen/OpenOfficeDoc.py:
* src/docgen/GtkPrint.py:
* src/docgen/LPRDoc.py:
* src/docgen/ODFDoc.py:
* src/plugins/StatisticsChart.py:
* src/plugins/Calendar.py:
* src/ReportBase/_ReportUtils.py:
Remove draw_bar function
svn: r8254
2007-02-27 04:10:43 +00:00
Brian Matherly
f53f1abc21
* src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize
...
* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin
svn: r8166
2007-02-19 04:13:41 +00:00
Brian Matherly
176c51d3ca
0000876: Calendar would print beyond a day's borders if too many, or too long
...
svn: r7992
2007-01-26 15:06:52 +00:00
Brian Matherly
0cebd61da3
* src/plugins/Calendar.py: 0000871: Holidays do not work in Windows
...
* src/plugins/holidays.xml: 0000871: Holidays do not work in Windows
svn: r7975
2007-01-25 01:43:31 +00:00
Brian Matherly
8fcf9c81d3
* src/plugins/Calendar.py: 0000858: Patch for calendar enhancements and new Birthday Report
...
* src/plugins/holidays.xml: add holidays for France
svn: r7969
2007-01-24 14:51:32 +00:00
Brian Matherly
8582d6b11e
* src/plugins/Calendar.py: 0000858: Patch for calendar enhancements and new Birthday Report
...
svn: r7957
2007-01-23 03:29:59 +00:00
Alex Roitman
5fd72cf53a
Update
...
svn: r7848
2006-12-25 05:23:06 +00:00