Gerald Britton
b12dd97e71
Bug 3079: sort event crashes with dbstate not passed to options
...
svn: r12750
2009-07-01 14:43:27 +00:00
Benny Malengier
9d417e2cd6
Split Utils in a non GUI and GUI part
...
move GrampsCfg utils to Utils
improve import strategy
svn: r12680
2009-06-19 15:23:58 +00:00
Brian Matherly
187539cb72
Implement availability of the DestinationOption.
...
svn: r12671
2009-06-16 03:12:41 +00:00
Gerald Britton
078207d9fa
_Tool.py: Pythonic style change in try...except...else
...
svn: r12611
2009-06-02 14:46:25 +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
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
5c9d8ab7ff
Bug 3011: change old-style classes to new-style classes
...
svn: r12561
2009-05-21 20:58:12 +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
Gerald Britton
72c92f096c
_PluginDialogs.py: convert to use gtkbuilder instead of libglade
...
svn: r12447
2009-04-13 20:06:19 +00:00
Gerald Britton
b8eda073ab
_PluginDialogs.py: convert to use gtkbuilder instead of libglade
...
svn: r12446
2009-04-13 20:04:30 +00:00
Brian Matherly
bff93f186a
0002655: Directories and files with accents characters cause failures in Windows.
...
svn: r12106
2009-02-24 04:41:23 +00:00
Gerald Britton
2671a8cd50
Replace "== None" and "!= None" with "is None" and "is not None", respectively
...
svn: r12098
2009-02-23 19:11:46 +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
Benny Malengier
1fcd510a98
Allow sort of columns and search as you type in plugin overview window
...
svn: r11767
2009-01-30 21:48:02 +00:00
Doug Blank
ab98ce5d88
Added options to Gramplets
...
svn: r11470
2008-12-14 03:13:45 +00:00
Brian Matherly
2a33e32456
Contribution from Craig J. Anderson: Add availability update to GuiStringOption and GuiBooleanOption.
...
svn: r11338
2008-11-24 02:59:23 +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
Peter Landgren
e99c300213
Too many files for pkgdata_PYTHON
...
svn: r11105
2008-10-04 11:06:36 +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
Brian Matherly
8fc1b24125
0002309: Crash rerunning report after deleting used filter. (Improved fix - the last fix caused errors)
...
svn: r11043
2008-09-09 04:00:15 +00:00
Brian Matherly
5392e83761
0002309: Crash rerunning report after deleting used filter.
...
svn: r11021
2008-09-05 03:43:06 +00:00
Gary Burton
3ed982112e
Add a new place report
...
svn: r11008
2008-09-01 20:08:39 +00:00
Brian Matherly
4067aaed0f
0002279: report-options.xml cannot manage option value with double quotes.
...
svn: r10895
2008-07-21 04:46:58 +00:00
Gerald Britton
777928e9a7
Revert 10874 changes to _Options.py and BookReport.py
...
svn: r10879
2008-07-18 16:10:27 +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
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Stéphane Charette
e57e3fa7c7
bug report #2162 : handle surnames that have spaces within them; merged from gramps30
...
svn: r10770
2008-05-31 07:16:13 +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
92d5ba8dfd
Remove the "tables" parameter for text and book document generators. All generators support tables, and if one didn't, it doesn't look like the code would work.
...
svn: r10745
2008-05-20 03:19:58 +00:00
Brian Matherly
007ba8dd49
Rename "_Plugins.py" to a more appropriate name: "_PluginDialogs.py". Same goes for the classes in the file.
...
svn: r10742
2008-05-19 04:14:11 +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
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
Brian Matherly
5181e073e9
Add StyleOption class for reports and use it in WebCal.
...
svn: r10651
2008-04-29 04:47:50 +00:00
Brian Matherly
141c38cde3
General cleanup in the plugin manager.
...
svn: r10638
2008-04-25 01:03:08 +00:00
Brian Matherly
26cdcd680e
Merge BareReportDialog with ReportDialog. BareReportDialog is now gone.
...
svn: r10620
2008-04-22 03:45:09 +00:00
Jérôme Rapinat
0c1ec175f6
/PluginUtils/_PluginWindows.py : allow to translate reload button
...
svn: r10467
2008-04-04 16:39:03 +00:00
Brian Matherly
474d681011
Remove deprecated tooltip support from the report system.
...
svn: r10463
2008-04-04 03:33:15 +00:00
Brian Matherly
bfe3ee1590
0001981: Update plugin status when reloading plugins
...
Plus some cleanup.
svn: r10439
2008-04-01 03:12:08 +00:00
Doug Blank
4a283dd93f
Changes to allow Menu Options to be used in other places
...
svn: r10369
2008-03-21 22:58:35 +00:00
Brian Matherly
68ad749f6a
0001908: BUG: running tools from command line
...
svn: r10303
2008-03-14 04:26:44 +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
Doug Blank
df33e354a5
2008-03-04 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/_GuiOptions.py (make_gui_option):
new stand-alone function that takes Option, returns GuiOption
(attempting to make Options useable in additional ways)
svn: r10179
2008-03-04 12:24:04 +00:00
Peter Landgren
fd349ec3f2
Author info update
...
svn: r10165
2008-03-02 19:41:48 +00:00
Brian Matherly
16799c2465
Improvements to CLI reports -
...
0001824: Bug in command line - gramps does not show right error.
0001821: A command "python src/gramps.py --open=DG1 --action=report" cause a crash
Fix help strings.
svn: r10122
2008-02-26 04:32:57 +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
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
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
Brian Matherly
1f783f6545
0001750: Some problems with web pages
...
svn: r10012
2008-02-10 21:17:43 +00:00
Brian Matherly
610ac774fa
Web Calendar and Narrative Web report now use Menu Options.
...
svn: r10010
2008-02-10 04:09:09 +00:00
Brian Matherly
08c54e0d2e
0001702: invoking family group reports crashes gramps
...
svn: r9986
2008-02-02 21:23:08 +00:00
Brian Matherly
060dbd4119
Intelligent selection of default family for family option in reports.
...
svn: r9966
2008-01-31 02:55:59 +00:00
Raphael Ackermann
fc1554acaa
2008-01-30 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/FilterEditor/_EditFilter.py: self.space --> self.namespace
* src/FilterEditor/_FilterEditor.py: self.space --> self.namespace
* src/FilterEditor/_EditRule.py: self.space --> self.namespace
* src/FilterEditor/_ShowResults.py: self.space --> self.namespace
* src/plugins/ExportVCalendar.py: pylint fixes
* src/PluginUtils/_Tool.py: pylint fixes
* src/Filters/_FilterParser.py: cleanup
* src/Filters/_GenericFilter.py: doc fix
* src/Filters/Rules/Person/_Everyone.py
* src/ManagedWindow.py: doc fix
svn: r9963
2008-01-30 09:03:20 +00:00
Brian Matherly
6dbc6c3348
Default GuiOptions to use active person.
...
svn: r9962
2008-01-30 05:12:51 +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
ebf12e3106
2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
...
* various: add capitalization fixes according to HIG (plus ellipsis ...)
http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en
svn: r9951
2008-01-28 21:22:06 +00:00
Brian Matherly
a25fb9bdd6
Change the availability of some options in FamilyLines depending on the value of other options.
...
svn: r9945
2008-01-28 13:25:22 +00:00
Brian Matherly
ced194780a
Remove the use of dbstate for GuiMenuOptions in tools.
...
svn: r9942
2008-01-28 05:17:29 +00:00
Brian Matherly
79174e7114
Fix 0001659: NumberOption fields on report dialogs
...
svn: r9941
2008-01-28 05:12:09 +00:00
Brian Matherly
c2a6656f0e
Removed the use of dbstate in report options.
...
svn: r9930
2008-01-25 01:23:21 +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
Raphael Ackermann
4261e46bf9
2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/FilterEditor/_ShowResults.py
* src/GrampsCfg.py
* src/ReportBase/_StyleComboBox.py
* src/ReportBase/_PaperMenu.py
* src/ReportBase/_BookFormatComboBox.py
* src/ReportBase/_DrawFormatComboBox.py
* src/ReportBase/_GraphvizReportDialog.py
* src/ReportBase/_TextFormatComboBox.py
* src/DisplayTabs/_GalleryTab.py
* src/ColumnOrder.py
* src/plugins/WebCal.py
* src/plugins/RemoveUnused.py
* src/plugins/Verify.py
* src/plugins/PatchNames.py
* src/ObjectSelector/_FamilyFilterFrame.py
* src/ObjectSelector/_PersonFilterFrame.py
* src/GrampsWidgets.py
* src/ExportOptions.py
* src/DdTargets.py
* src/AutoComp.py
* src/UndoHistory.py
* src/PluginUtils/_PluginWindows.py
* src/DbLoader.py
* src/Filters/_FilterMenu.py
pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types
instead of str, int, bool etc + Documentation fixes
svn: r9905
2008-01-21 22:03:43 +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
Doug Blank
e304069be8
2008-01-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/_Tool.py (Tool.__init__): pass in dbstate
* src/PluginUtils/__init__.py (MenuToolOptions.__init__):
pass in dbstate
* src/plugins/Calendar.py (CalendarOptions.add_menu_options):
standard defaults
svn: r9830
2008-01-15 21:08:32 +00:00
Raphael Ackermann
2225ac3d78
2008-01-15 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/GrampsDbUtils/_GrampsDbWriteXML.py
* src/GrampsDbUtils/_WriteGedcom.py
* src/plugins/ExportCSV.py
* src/plugins/ExportVCalendar.py
* src/plugins/ExportVCard.py
* src/plugins/WriteCD.py
* src/plugins/WriteFtree.py
* src/plugins/WriteGeneWeb.py
* src/plugins/WritePkg.py
* src/PluginUtils/_PluginMgr.py: pylint fixes
pylint fixes and work on 0001597
svn: r9812
2008-01-15 09:16:45 +00:00
Brian Matherly
f3ea893102
Code cleanup in _MenuOptions.py
...
svn: r9799
2008-01-14 00:24:15 +00:00
Stéphane Charette
7c37b80716
more report changes
...
svn: r9781
2008-01-12 03:26:44 +00:00
Brian Matherly
0af382cf1e
0001539: Tab order incorrect - Statistics Chart configuration
...
svn: r9759
2008-01-09 05:36:37 +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
Stéphane Charette
95496e6449
add_comment() and work in progress for the new GraphViz framework
...
svn: r9679
2008-01-02 08:43:19 +00:00
Brian Matherly
22359b81c4
Refinement of "Center Person" selection for reports. Now only use one dialog.
...
svn: r9670
2008-01-01 06:44:58 +00:00
Brian Matherly
1f4fc8e662
Selection of center person for reports can now be one of: A person from the database, a bookmarked person, the active person, or the home person.
...
svn: r9666
2007-12-31 22:24:23 +00:00
Brian Matherly
f002f65c41
Proof of concept: adding a center person option instead of using active person in reports.
...
svn: r9652
2007-12-31 06:21:58 +00:00
Brian Matherly
e364f891d5
Rename "PeoplePickerOption" to "PersonListOption".
...
svn: r9646
2007-12-30 22:32:02 +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
Stéphane Charette
5ea0cd4b3e
work in progress converting FamilyLines to new GraphViz plugin
...
svn: r9612
2007-12-28 10:08:19 +00:00
Doug Blank
c3bda4cb4c
2007-12-27 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/_Options.py: Bug #1486 , type error on option read
svn: r9605
2007-12-28 02:20:39 +00:00
Stéphane Charette
5f077e4795
more generic changes to the GraphViz base class
...
svn: r9579
2007-12-25 01:57:45 +00:00
Stéphane Charette
e9ebd454cc
more graphviz based options
...
svn: r9562
2007-12-23 07:52:01 +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
Brian Matherly
71be179625
Fix TextOption and EnumeratedListOption in MenuOptions.py.
...
svn: r9514
2007-12-16 03:48:59 +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
Brian Matherly
6bf7737025
Fix MenuToolOptions.
...
svn: r9498
2007-12-13 05:31:13 +00:00
Brian Matherly
05575ad026
Refactor various aspects of the report system.
...
svn: r9496
2007-12-13 01:52:03 +00:00
Doug Blank
b12d33db45
2007-12-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/CalculateEstimatedDates.py: define set_title
* src/plugins/OwnerEditor.py: define build_menu_names
* src/PluginUtils/_PluginWindows.py: Fixed layer window issues
svn: r9467
2007-12-09 16:25:28 +00:00
Doug Blank
9f04eaad48
Fixed window on top issue, self.show() vs self.window.show()
...
svn: r9465
2007-12-09 15:53:47 +00:00
Doug Blank
e58d354a14
2007-12-07 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/Makefile.am: Missing _PluginsWindows.py
* po/test: new unittest dir
* po/test/po_test.py: new unittest suite for POTFILES
and Makefiles
* po/POTFILES.in: Missing CalculateEstimatedDates.py
svn: r9458
2007-12-08 05:02:09 +00:00
Doug Blank
824622f77a
Added double-click, testing Window show variations
...
svn: r9456
2007-12-07 17:19:22 +00:00
Doug Blank
865404ced6
2007-12-06 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/_MenuOptions.py: Fixed boolean option double label
svn: r9455
2007-12-07 03:45:08 +00:00
Doug Blank
dca7b6cc27
* src/PluginUtils/_PluginWindows.py: Removed unnecessary code
...
* src/PluginUtils/_MenuOptions.py: Added "Change" button for filter option
2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
svn: r9454
2007-12-07 03:09:58 +00:00
Doug Blank
4742947510
2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
...
* src/PluginUtils/_PluginMgr.py: return values on load_plugins was
reversed: return True if errors.
svn: r9453
2007-12-07 01:05:32 +00:00
Doug Blank
bd63b3db14
Refinements
...
svn: r9450
2007-12-06 17:32:40 +00:00
Doug Blank
095a4e3172
* src/plugins/CalculateEstimatedDates.py: pass in handle to link
...
* src/PluginUtils/_PluginWindows.py: New clickable text tests
2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
svn: r9449
2007-12-06 15:56:22 +00:00
Doug Blank
8be73592d6
2007-12-06 Douglas S.Blank <dblank@cs.brynmawr.edu>
...
* src/plugins/CalculateEstimatedDates.py: experimental click in text
* src/PluginUtils/_PluginWindows.py: experimental write_results_link()
svn: r9448
2007-12-06 06:33:21 +00:00