Commit Graph

304 Commits

Author SHA1 Message Date
Gerald Britton
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Peter Landgren
bf71f6f367 Fix of issue 2964.
svn: r12518
2009-05-10 16:04:58 +00:00
Gerald Britton
0440ca1c2a Bug 2888: gramps.glade: convert from liglade to gtkbuilder -- part 1
svn: r12508
2009-05-06 14:44:22 +00:00
Gerald Britton
1441ea8ba9 Bug 2888: _PaperMenu: convert from liglade to gtkbuilder
svn: r12468
2009-04-17 18:34:27 +00:00
Brian Matherly
125266878d FileEntry clean up.
svn: r12423
2009-04-10 02:24:13 +00:00
Peter Landgren
8dc14d8106 Fix of issue 2851.
svn: r12378
2009-03-22 08:27:19 +00:00
Peter Landgren
71139e3522 Final fix of issue 2843 for any number of references.
svn: r12370
2009-03-21 08:10:09 +00:00
Brian Matherly
84b972cfb5 Remove src/ReportBase/_PrintTools.py. It is not being used.
svn: r12360
2009-03-19 02:32:16 +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
Peter Landgren
aa25958623 Wrong Help reference for reports.
svn: r12343
2009-03-14 14:40:18 +00:00
Peter Landgren
55d5595d47 Fix of issue 2815.
svn: r12330
2009-03-13 10:17:19 +00:00
Peter Landgren
b93aac2667 Hopefully fix of issue 2790 for non-Latin-1 letters.
svn: r12327
2009-03-11 19:40:59 +00:00
Stéphane Charette
f4b360e733 merged from gramps31; re-apply fix for bug #2121 - graphviz graphs generated off the edge of the page
svn: r12250
2009-03-08 20:21:08 +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
Peter Landgren
80b1915b92 Fix: *.dot.gv now is *.gv
svn: r11783
2009-02-01 08:39:16 +00:00
Brian Matherly
bd966adafd Change from using ".dot" to ".gv" for Graphviz files. ".dot" is recognized as MS Word Template file on some systems.
svn: r11782
2009-02-01 05:14:20 +00:00
Brian Matherly
3259b393da Change the way we "launch" files using their default application. Instead of trying to find the application ourselves, use the OS built in functions to open a file with its default application. We no longer show the name of the application that we will open the file with because we don't know.
svn: r11781
2009-02-01 04:21:17 +00:00
Stéphane Charette
a9c314713f slight modification to the previous long-standing graphviz bug
svn: r11730
2009-01-25 23:34:22 +00:00
Stéphane Charette
83fecfac74 yet another attempt to work around a long-standing graphviz bug
svn: r11727
2009-01-25 23:03:13 +00:00
Brian Matherly
dacbd0df19 0002467: Add christening narration to detailed text reports.
svn: r11629
2009-01-15 21:40:25 +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
Brian Matherly
d88fa26ab7 0002184: BUG: IndexError: tuple index out of range
svn: r11425
2008-12-06 05:29:33 +00:00
Benny Malengier
a8b72a6eff #2489 Abbreviations are sometimes hard to translate
svn: r11293
2008-11-12 09:50:50 +00:00
Peter Landgren
baea3b276b Update due to new context prefix.
svn: r11276
2008-11-08 15:37:32 +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
5c3bffeb21 0002418: Gramps hangs when producing graphs on Windows
svn: r11097
2008-09-30 01:40:16 +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
d092df28a5 0002386: Command line reports do not work.
svn: r11062
2008-09-15 02:20:25 +00:00
Gary Burton
3ed982112e Add a new place report
svn: r11008
2008-09-01 20:08:39 +00:00
Kees Bakker
b677214dac Correct typo from previous update.
* src/ReportBase/_ReportUtils.py
(Hmmm, what about a minimum test before commit?)


svn: r10946
2008-07-29 19:39:18 +00:00
Jérôme Rapinat
856cd41a57 #2299 baptism and burial statements lack sources on Detailed reports
svn: r10939
2008-07-28 16:21:31 +00:00
Jérôme Rapinat
26133e7fd8 #2300: error in baptised_str()'s logic at the end
svn: r10916
2008-07-23 09:11:08 +00:00
Jérôme Rapinat
9f801f3aa5 #2124: Baptism as alternate birth event on Det (Ancestral,Descendant) reports and Ancestral report
svn: r10909
2008-07-22 08:58:51 +00:00
Brian Matherly
428919875c 0002286: Unselecting "use complete sentences" has no effect for the burial information in the Detailed Ancestor and Descendant reports. (contribution from James Friedmann <jfriedmannj@gmail.com>)
svn: r10902
2008-07-22 03:05:44 +00:00
Brian Matherly
8fb9097815 0002271: Exception when creating HTML report (place_name must be unicode)
svn: r10891
2008-07-21 03:17:53 +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
5d8934efa2 Fix 0002184: BUG: IndexError: tuple index out of range
svn: r10819
2008-06-18 13:17:36 +00:00
Peter Landgren
de6b1f80c2 Fix of issue #2226.
svn: r10813
2008-06-17 14:02:08 +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
da98881140 bug report 2214: fix for "Graphviz reports cause GRAMPS to hang for long periods of time"
svn: r10797
2008-06-09 08:49:32 +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
Kees Bakker
b57eafff1a Correct typo __draw_doc_list =>__drawdoc_list.
* src/ReportBase/_DrawFormatComboBox.py


svn: r10768
2008-05-29 20:36:45 +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
Stéphane Charette
0774bf2a8e bug reports #2176, #2177, #2178; various Graphviz issues, merged up from gramps30
svn: r10758
2008-05-24 08:59:32 +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
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
Peter Landgren
eb15b26284 Fix of bugs 2121 and 2134
svn: r10713
2008-05-13 08:39:27 +00:00
Stéphane Charette
75a04613be revert my previous incorrect fix for svn #2121
svn: r10701
2008-05-11 05:36:34 +00:00
Brian Matherly
c58a40164d 0002143: The dpi value is not set to 72 for ps/pdf formats for the FIRST report.
svn: r10700
2008-05-11 05:05:11 +00:00
Stéphane Charette
679f0c68ad bug report #2121, GraphViz problems when the page=... option is specified with the new versions of GraphViz
svn: r10678
2008-05-06 05:37:00 +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
c4024f91db Pylint updates for GraphvizReportDialog.
svn: r10625
2008-04-23 04:42:08 +00:00
Brian Matherly
634fd3964d General cleanup to GraphizReportDialog.
svn: r10624
2008-04-23 03:25:41 +00:00
Brian Matherly
26cdcd680e Merge BareReportDialog with ReportDialog. BareReportDialog is now gone.
svn: r10620
2008-04-22 03:45:09 +00:00
Eero Tamminen
660e642bd9 fix more typos
svn: r10570
2008-04-16 18:33:58 +00:00
Eero Tamminen
2ef49fc82e correct PDF, PostScript and TrueType capitalization
svn: r10566
2008-04-15 19:43:54 +00:00
Brian Matherly
a46e733398 Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
svn: r10474
2008-04-05 14:17:15 +00:00
Brian Matherly
ac83ce0468 Make the report wiki url a constant.
svn: r10472
2008-04-05 12:38:47 +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
50539237d7 Enable the "help" button to work on the report dialog.
svn: r10462
2008-04-04 02:46:36 +00:00
Brian Matherly
cf6073a4ba Remove support for "View" reports. In the future, use either tools, gramplets, or quick views.
svn: r10424
2008-03-30 04:38:37 +00:00
Brian Matherly
5918599acf 0001957: Orientation switch doesn't work for Graphviz reports.
0001940: GS PDF output is broken for Graphiz graphs. Page size depends on dpi

svn: r10346
2008-03-20 03:18:35 +00:00
Peter Landgren
b078464281 Decimal comma/point, Issue 1939, fixed.
svn: r10321
2008-03-15 09:08:54 +00:00
Peter Landgren
51e3fe7e75 Unnessecary empty translatable string made untranslatable
svn: r10317
2008-03-15 08:02:10 +00:00
Brian Matherly
f184e22720 0001779: Texts "in." and "cm." on Document Options tab is not translatable
svn: r10314
2008-03-15 04:23:23 +00:00
Brian Matherly
54ec566e55 0001893: python src/gramps.py -u -O "merge" -a report -p "name=navwebpage,show=off": IndexError: list index out of range
svn: r10281
2008-03-12 03:24:23 +00:00
Brian Matherly
955ec96cc1 Patch from Peter Landgren with modification by Brian Matherly:
0001761: Style editor problems
0001921: Custom style colors not saving

svn: r10275
2008-03-12 02:21:03 +00:00
Doug Blank
6ab09e3d39 2008-03-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/ReportBase/_WebReportDialog.py:
	* src/ReportBase/_ReportDialog.py:
	* src/ReportBase/_GraphvizReportDialog.py:
	* src/ReportBase/_DocReportDialog.py:
	* src/ReportBase/_BareReportDialog.py:
	0001814: Applied patch to move print options below option tabs



svn: r10240
2008-03-09 19:39:56 +00:00
Raphael Ackermann
3650d1c564 2008-03-05 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/ReportBase/_CommandLineReport.py: print warning if show=option is 
	not a valid option. Addresses some of 0001891.

svn: r10196
2008-03-05 20:31:20 +00:00
Doug Blank
e63589a044 new QR MISC category
svn: r10189
2008-03-05 04:03:50 +00:00
Brian Matherly
d78dacb08b 0001873: AttributeError: 'NoneType' object has no attribute 'get_gramps_id'
Fix typo in CountAncestors

svn: r10168
2008-03-02 21:21:48 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Brian Matherly
76d7b01103 0001855: BUG when running family_group report from command line (no attribute get_gramps_id)
svn: r10150
2008-03-01 20:39:39 +00:00
Brian Matherly
e913abe88b 0001828: update cli handling of new options. (new in 3.0?)
svn: r10127
2008-02-27 04:38:21 +00:00
Brian Matherly
fe6c305a14 0001835: cli crashes for all reports. NoneType has no attribute get_gramps_id
svn: r10126
2008-02-27 03:03:20 +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
3d1d81b746 2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/ReportBase/_CommandLineReport.py: add user friendly output to cli 
	gramps.py -u --open=merge --action=report -p "name=indiv_complete,show=all"
	#0001823

svn: r10117
2008-02-25 08:59:40 +00:00
Brian Matherly
d2c853cbaa 0001587: Command line reports do not work
svn: r10111
2008-02-24 23:16:52 +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
Brian Matherly
5ad4dcee22 0001788: Book report crash
svn: r10057
2008-02-19 04:24:56 +00:00
Raphael Ackermann
dab5470dec 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/Editors/_EditAddress.py
    * src/Editors/_EditName.py
    * src/Editors/_EditPersonRef.py
    * src/plugins/FindDupers.py
    * src/ReportBase/_StyleEditor.py
    * src/MarkupText.py
    Fix import issues introduce through previous commit.
    #0001791 fixed

svn: r10056
2008-02-18 23:48:35 +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
Benny Malengier
55ba9c4d37 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DataViews/RelationView.py
	* src/DataViews/PedigreeView.py
	* src/ReportBase/_ReportUtils.py
	* src/Editors/_EditPerson.py
	* src/Editors/_EditMediaRef.py
	* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
	* src/plugins/Summary.py
	* src/plugins/WriteCD.py
	* src/plugins/IndivComplete.py
	* src/plugins/NarrativeWeb.py
	* src/plugins/WritePkg.py
	* src/plugins/GVFamilyLines.py
	* src/plugins/DefaultGramplets.py
	* src/plugins/SimpleBookTitle.py
	* src/plugins/Check.py
	* src/plugins/GVRelGraph.py
	* src/plugins/FamilyLines.py
	* src/Selectors/_SelectObject.py
	* src/GrampsDbUtils/_WriteGedcom.py
	#1787, #1208: use relative path correctly



svn: r10048
2008-02-18 14:06:41 +00:00
Brian Matherly
1adcd57028 0001731: Wrong dot in Ancestral Report
svn: r10015
2008-02-10 22:09:35 +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
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
Brian Matherly
d9a1acc4f5 0001704: Det. anc. report - newline needed after endnote entries.
svn: r9985
2008-02-02 20:14:37 +00:00
Brian Matherly
d45a2fc957 0001624: Source reference hyperlinks do not always work in Narrated Web Site
svn: r9971
2008-02-01 02:23:51 +00:00
Brian Matherly
212cb34365 Fix 0001656: New menu item
svn: r9940
2008-01-28 04:37:19 +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
481b464ca5 Modify the style editor to properly handle unicode style names.
svn: r9918
2008-01-23 13:14:05 +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
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