Commit Graph

147 Commits

Author SHA1 Message Date
Stéphane Charette
2824964116 report #2270 - NarrativeWeb skips over step-siblings
svn: r10844
2008-07-06 08:40:47 +00:00
Gerald Britton
6037e9fdd4 Replace lambdas with list comprehensions
svn: r10843
2008-07-04 17:27:51 +00:00
Kees Bakker
eff4c42626 Fix for bug 2232. Thank you, sanjuro, for the patch.
* src/plugins/NarrativeWeb.py


svn: r10840
2008-07-03 19:46:50 +00:00
Kees Bakker
b2625ec23f Fix for bug 1969. There were two places where a .html extension was
missing. I'll have to check if bugs 2230 and 2232 are solved as well.
        * src/plugins/NarrativeWeb.py


svn: r10839
2008-07-03 19:10:05 +00:00
Kees Bakker
e4f568cd01 NavWebReport.copy_file correction variable name.
DownloadPage.__init__ correction of parameter for display_header (found by Jason).
	* src/plugins/NarrativeWeb.py


svn: r10835
2008-07-01 08:34:08 +00:00
Stéphane Charette
ae2a2917c4 bug report #2234; notes should be separated from the previous text to which they apply; merged from gramps30
svn: r10824
2008-06-21 08:42:31 +00:00
Gerald Britton
fb5b8250c4 Fix typo in NarrativeWeb.py: Bug 002231
svn: r10820
2008-06-19 14:41:04 +00:00
Stéphane Charette
e45bec4eb7 bug report #2229: parental relationship redundantly says 'Birth'; merged from gramps30
svn: r10818
2008-06-18 05:06:25 +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
Kees Bakker
fbdd98920c Oops. Missing db in display_event_row
* src/plugins/NarrativeWeb.py


svn: r10747
2008-05-20 19:45:29 +00:00
Kees Bakker
c81cfef16f Converted event display to use a table with columns. The original
function (format_event) is still used for family events, but that should
be converted too.
        * src/plugins/NarrativeWeb.py


svn: r10746
2008-05-20 19:24:03 +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
Eero Tamminen
18fb84db7f Types used for the parent relation by the display_ind_parents()
method and the display_parent() method called by that did not match.
Fixed the bug so that the code for showing the relation only if it's
a non-birth one works.  This bug was inherited from Gramps 2.2.x.


svn: r10706
2008-05-11 19:25:39 +00:00
Eero Tamminen
16e6246463 - remove extra/wrong '(' from translatable event date/place string
- it's not enough to have line breaks between notes, the notes
  themselves need to be separated from previous content too.
  I used page break for that too


svn: r10705
2008-05-11 19:19:38 +00:00
Stéphane Charette
1c2981e203 bug report #2131, display latitude before longitude
svn: r10681
2008-05-06 06:51:22 +00:00
Stéphane Charette
b7aac9c7f0 better handling of end-of-line for text notes; use [br] like we do in 2.2.x instead of [p]
svn: r10659
2008-05-04 07:05:42 +00:00
Kees Bakker
75b1a77e99 Eliminate text concatenation. (Patch by Eero, kiitos.)
* src/plugins/NarrativeWeb.py


svn: r10569
2008-04-16 14:46:48 +00:00
Gary Burton
d97f73f71b Do not show duplicate media in person gallery
svn: r10561
2008-04-13 20:40:12 +00:00
Brian Matherly
4524d43b4d 0002032: translation of apostrophes in source titles (web report)
svn: r10558
2008-04-12 02:49:34 +00:00
Kees Bakker
5a953ce6b8 Undo sorting of children by birthdate. Let's first do a feature request
and see what comes out of that.
        * src/plugins/NarrativeWeb.py


svn: r10524
2008-04-08 17:11:48 +00:00
Kees Bakker
1fa86e8c93 Sort list of children on birthdate. I guess we may need an option in
the gui for this.
        * src/plugins/NarrativeWeb.py


svn: r10519
2008-04-07 19:38:08 +00:00
Kees Bakker
d5962794fa Eliminated function to set div id for class content.
Moved some functions around to classes where they are used.
        * src/plugins/NarrativeWeb.py


svn: r10431
2008-03-31 19:50:37 +00:00
Kees Bakker
d579d8543a Moving many functions from BasePage to NavWebReport. Introducing new
functions to deal with disk file and functions that deal with URLs.
Changed to selection of the extra two subdirectories so that the ppl
tree is much better balanced (not all files in one directory).
        * src/plugins/NarrativeWeb.py


svn: r10357
2008-03-20 22:24:36 +00:00
Kees Bakker
5da7180dd9 Moved create_file() and create_link_file to NavWebReport.
Solved a problem with "CurrentSection" which wasn't set in a translated
environment.
Eliminated several options in BasePage, by referring to report.options
(to keep them in one place only).
Lots of other little changes.
        * src/plugins/NarrativeWeb.py


svn: r10333
2008-03-17 21:09:16 +00:00
Gary Burton
08d840311b Revert change made in revision 10298
svn: r10312
2008-03-14 23:50:54 +00:00
Kees Bakker
f637b709d6 The surname pages now have the proper SiteTitle. And the page title
looks better too, I think. (More testing is needed.)
Usage of variable names 'id' and 'type' is corrected.
        * src/plugins/NarrativeWeb.py


svn: r10310
2008-03-14 21:07:35 +00:00
Gary Burton
1464abffab Bug 1280 make sure source media pages are created before the gallery
svn: r10298
2008-03-13 23:29:01 +00:00
Kees Bakker
e32e602b50 Two small bugfixes found by pylint.
* src/plugins/NarrativeWeb.py


svn: r10296
2008-03-13 22:35:26 +00:00
Kees Bakker
a8a59c9f7c Major reorganisation of NarrativeWeb.py
Pass instance of NavWebReport down to BasePage instead of doing it by
many function arguments. There are still a few "TODO" and "FIXME" notes
in the code. At least one test succeeded to create exactly the same HTML
output. One test, what more do you need?
Pylint reports rating of 8.01/10, but I'm sure I can do better :-)
        * src/plugins/NarrativeWeb.py


svn: r10295
2008-03-13 22:28:22 +00:00
Kees Bakker
dfe4088d86 Remove marker argument of note.get().
Eliminate 'up' parameter of person_link().
        * src/plugins/NarrativeWeb.py


svn: r10294
2008-03-13 20:31:33 +00:00
Kees Bakker
b997fc211b Cleanup interface of BasePage.display_header and moving some attributes
around. Also deleted some unused variables.
        * src/plugins/NarrativeWeb.py


svn: r10271
2008-03-11 22:11:42 +00:00
Kees Bakker
c764b185cd Reorganized the functions that create file and directory names. Nothing
got broken, I hope. More changes to come.
        * src/plugins/NarrativeWeb.py


svn: r10270
2008-03-11 21:19:36 +00:00
Kees Bakker
7ea0f31341 Added space after commas to improve readability. This makes pylint
happier too. Started to add more comments here and there.
        * src/plugins/NarrativeWeb.py


svn: r10243
2008-03-09 20:12:56 +00:00
Kees Bakker
c7226e1c04 Corrected the path for somerights20.gif.
Removed all trailing whitespace.  Added a few spaces here and there to
improve readability.
        * src/plugins/NarrativeWeb.py


svn: r10225
2008-03-08 16:40:19 +00:00
Kees Bakker
18f5768c2d Changed the use of "main1.css" to _CSS_FILES[0][1] so that the filenames
are maintained in one place. Making the first entry the default.


svn: r10223
2008-03-08 11:48:53 +00:00
Kees Bakker
d425133e8e Solved a problem with <li>..</li>
Reorganized the of.write() statements so that the text won't have
multiple newlines in them. And introduced so for-loops instead of
repetition of multiple lines of code.
        * src/plugins/NarrativeWeb.py


svn: r10222
2008-03-08 11:30:59 +00:00
Brian Matherly
455ecc4007 Patch from Jason Simanek <jsimanek@gmail.com>:
0001803: Narrative Web Report Update
Multiple updates to improve the narrative web report.

svn: r10201
2008-03-06 13:07:37 +00:00
Brian Matherly
e2bc58fe63 0001711: Inconsistant names for graphical reports
svn: r10152
2008-03-01 22:47:48 +00:00
Brian Matherly
825b301f7f Cleanup in Narrative Web report.
svn: r10146
2008-03-01 04:43:58 +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
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
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
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
Raphael Ackermann
0fc89437fa 2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_EditRule.py
    * src/FilterEditor/_ShowResults.py
    * src/plugins/ExtractCity.py
    * src/plugins/NarrativeWeb.py
    * src/plugins/ChangeNames.py
    * src/plugins/GraphViz.py
    * src/plugins/MediaManager.py
    * src/plugins/FamilyLines.py
    * src/Selectors/_BaseSelector.py
    * src/ObjectSelector/_ObjectSelectorWindow.py
    * src/ObjectSelector/_FamilyFilterFrame.py
    * src/ObjectSelector/_PersonFilterFrame.py
    * src/PageView.py
    * src/Filters/_FilterMenu.py
    * src/Filters/_SearchBar.py
    * src/Filters/_FilterComboBox.py
    * src/Filters/_FilterList.py
    * src/Filters/_FilterParser.py
    * src/Filters/_FilterStore.py
    * src/Filters/_GenericFilter.py
    * src/Filters/_ParamFilter.py
    pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types etc

svn: r9886
2008-01-18 17:03:55 +00:00
James G Sack
7ca360fcbc fix typo/parens causing exception
svn: r9864
2008-01-17 11:15:47 +00:00
Raphael Ackermann
d8852c6efe 2008-01-13 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/NarrativeWeb.py: make Filter translatable
	0001490: Cannot translate few 'filter' labels

svn: r9860
2008-01-17 07:40:01 +00:00