Commit Graph

53 Commits

Author SHA1 Message Date
Kees Bakker
992f0534bb Remove the validator button at the bottom of each generated page.
* src/plugins/NarrativeWeb.py
	* src/plugins/WebCal.py


svn: r11461
2008-12-12 13:22:35 +00:00
Kees Bakker
8a7b8fe3e3 Bugfix in collect_data. Was overwriting 'year', and then confused
the probably_alive call.
	* src/plugins/WebCal.py


svn: r11455
2008-12-11 13:08:37 +00:00
Kees Bakker
4fe006e575 Correction of CSS and Python code in WebCal.
svn: r11418
2008-12-04 20:38:02 +00:00
Kees Bakker
5d35e5d867 More cleaning up. Eliminate self.year and more.
* src/plugins/WebCal.py


svn: r11286
2008-11-10 22:47:48 +00:00
Kees Bakker
7b6a5144a1 Beginning of a new round of cleanups. The code was a mess, and we need
to think about CSS usage once more. I've added a TODO list so that we
have some clue what is to be done. There might be more.
Meanwhile the plugin should remain somewhat usable, but the calendars
could be ugly. Please be patient.
    * src/plugins/WebCal.py


svn: r11285
2008-11-10 21:41:38 +00:00
Kees Bakker
0ead404135 Cleanup work to make NarrativeWeb and WebCal. With this they should
produce webpages similar to grams 3.x, but under the hood there are a
lot of changes. There are new and improved CSS files and images. And
these are shares between NarrativeWeb and WebCal.
  *** Many thanks to Jason and Rob. ***


svn: r11180
2008-10-21 18:57:42 +00:00
Kees Bakker
5e8b724872 Changes by Rob Healey.
The biggest difference is support for multiple years. But there is more,
such as name handling for female spouses (new option for that).


svn: r11129
2008-10-07 20:11:46 +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
Kees Bakker
82dabaaeb1 Solved an issue with konqueror, which was in fact incorrect
HTML that is kindly accepted by all other browsers.
Moved calendar.setfirstweekday so that it is set only once.
        * src/plugins/WebCal.py


svn: r10978
2008-08-11 20:19:51 +00:00
Kees Bakker
e4b5e71897 Add an option to select the day of the week for the first
column.
        * src/plugins/WebCal.py


svn: r10975
2008-08-07 21:00:05 +00:00
Kees Bakker
7cc57c2029 Added arrow gifs, and made some changes to WebCal
to deal with this arrow gif.
        * src/plugins/WebCal.py
        * src/images/Makefile.am


svn: r10963
2008-08-04 20:46:46 +00:00
Kees Bakker
e9d0b4594b Correct name display so that it includes prefix and suffix.
* src/plugins/WebCal.py


svn: r10962
2008-08-04 19:31:38 +00:00
Kees Bakker
537e44b24c Removed _subdirs()
Moved dst() to _get_dst_start_stop() outside class.
A bit of cleanup in calendar_build().
        * src/plugins/WebCal.py


svn: r10961
2008-08-04 19:08:31 +00:00
Kees Bakker
4341fb08aa Some more corrections with respect to subdirs.
Eliminated 'cal' argument to some functions.
        * src/plugins/WebCal.py


svn: r10956
2008-08-01 20:47:04 +00:00
Espen Berg
54a898778a Corrected two language typos in WebCal.py
svn: r10954
2008-08-01 15:03:19 +00:00
Kees Bakker
1a93ee6d53 More corrections in WebCal (year at a glance).
New Web_Evergreen.css from Rob Healey.
Added Rob to the authors.xml
Removed unused CSS files from the Makefile. (These files will
have to be deleted from SVN too.)
	* src/data/Makefile.am
	* src/data/Web_Evergreen.css
	* src/data/authors.xml
	* src/plugins/WebCal.py


svn: r10951
2008-08-01 09:51:16 +00:00
Kees Bakker
0eeb4c3e01 Correct subdir when creating individual page.
* src/plugins/WebCal.py


svn: r10950
2008-08-01 09:01:24 +00:00
Kees Bakker
5292cd0ed9 Fix the navigation links in WebCal
* src/plugins/WebCal.py


svn: r10949
2008-07-31 20:42:05 +00:00
Kees Bakker
126b06ef81 More corrections to calendar_build of WebCal. It's working much better
(for me). But it needs more testing. And there are still more changes to
come.
The nav links are not working, I know. Maybe I'll work on that next.
        * src/plugins/WebCal.py
        * po/nl.po


svn: r10948
2008-07-30 21:37:24 +00:00
Kees Bakker
8c2dc12d62 Move some functions outside the class.
Eliminate return value of six_weeks() and calender_build().
_easter() now gets the year as argument.
Note. There is still an off-by-one error with the days.
        * src/plugins/WebCal.py


svn: r10947
2008-07-29 21:23:44 +00:00
Kees Bakker
575c1f634f Going back to previous version.
svn: r10945
2008-07-29 18:37:29 +00:00
Peter Landgren
07c15e48da Patch from Rob Healey
svn: r10931
2008-07-28 06:12:46 +00:00
Kees Bakker
a6a264d1ce A bunch of miscelaneous corrections.
- variable names
- added several notes about things todo
- replaced store_file() with copy_file() from NarrativeWeb
- and more
	* src/plugins/WebCal.py


svn: r10873
2008-07-17 14:48:54 +00:00
Kees Bakker
6d67535bf9 Major change from Rob Healey and Jason Simanek.
* src/plugins/WebCal.py


svn: r10872
2008-07-17 13:05:15 +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 : 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
5181e073e9 Add StyleOption class for reports and use it in WebCal.
svn: r10651
2008-04-29 04:47:50 +00:00
Peter Landgren
7c05a4d37f Author info update
svn: r10158
2008-03-02 19:16:34 +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
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
7cda6f4c7a 0001663: webcal options show Mos. 1-6 Notes and Mos. 7-12 Notes
svn: r9980
2008-02-02 14:57:32 +00:00
Raphael Ackermann
9d11c72ca2 2008-01-28 Duncan Lithgow <dlithgow@gmail.com>
Raphael Ackermann <raphael.ackermann@gmail.com>
	*  src/plugins/Summary.py
	*  src/plugins/WebCal.py
	*  src/plugins/KinshipReport.py
	*  src/plugins/DescendReport.py
	*  src/plugins/DetDescendantReport.py
	*  src/plugins/ExtractCity.py
	*  src/plugins/EventNames.py
	*  src/plugins/DumpGenderStats.py
	*  src/plugins/Desbrowser.py
	*  src/plugins/Checkpoint.py
	*  src/plugins/OwnerEditor.py
	*  src/plugins/ChangeNames.py
	*  src/plugins/AncestorReport.py
	*  src/plugins/MarkerReport.py
	*  src/plugins/DateParserDisplayTest.py
	*  src/plugins/FindDupes.py
	*  src/plugins/SoundGen.py
	*  src/plugins/TestcaseGenerator.py
	*  src/plugins/Rebuild.py
	*  src/plugins/DescendChart.py
	*  src/plugins/EndOfLineReport.py
	*  src/plugins/AncestorChart.py
	*  src/plugins/DetAncestralReport.py
	*  src/plugins/CountAncestors.py
	*  src/plugins/Check.py
	*  src/plugins/EventCmp.py
	*  src/plugins/FamilyGroup.py
	*  src/plugins/RelCalc.py
	*  src/plugins/MediaManager.py
	*  src/plugins/ChangeTypes.py
	*  src/plugins/StatisticsChart.py
	*  src/plugins/FamilyLines.py
	*  src/plugins/PatchNames.py

svn: r9953
2008-01-29 07:40:35 +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
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
bf3900f043 Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
2008-01-05 20:10:26 +00:00
Doug Blank
95c3645f13 * src/plugins/WebCal.py: Temp fixes to keep running (bug )
2007-12-15  Douglas S. Blank  <dblank@cs.brynmawr.edu>


svn: r9509
2007-12-15 15:49:53 +00:00
Brian Matherly
05575ad026 Refactor various aspects of the report system.
svn: r9496
2007-12-13 01:52:03 +00:00
James G Sack
ecfa4aa0c0 add USER_xxx constants to const, use them
svn: r9407
2007-11-26 05:11:19 +00:00
Brian Matherly
b3fcd5a4f5 Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
2007-10-21 04:23:54 +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
Brian Matherly
8aaf924411 Create the directory if it doesn't exist for the web calendar.
svn: r9190
2007-10-15 12:26:31 +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
Zsolt Foldvari
b42877e41b 2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/WebCal.py:
	* src/plugins/NarrativeWeb.py:
	Change const.image_dir to uppercase const.IMAGE_DIR


svn: r8998
2007-09-23 17:18:47 +00:00
Don Allingham
992322d9b8 2007-09-10 Don Allingham <don@gramps-project.org>
* src/ThumbNails.py: Added to handle the thumbnailing routines
	* src/DataViews/_MediaView.py: thumbnail updates
	* src/DataViews/_PedigreeView.py: thumbnail updates
	* src/DataViews/_RelationView.py: thumbnail updates
	* src/Editors/_EditMediaRef.py: thumbnail updates
	* src/Editors/_EditMedia.py: thumbnail updates
	* src/DisplayTabs/_GalleryTab.py: thumbnail updates
	* src/plugins/WebCal.py: thumbnail updates
	* src/plugins/NarrativeWeb.py: thumbnail updates
	* src/plugins/GraphViz.py: thumbnail updates
	* src/plugins/SimpleBookTitle.py: thumbnail updates
	* src/plugins/FamilyLines.py: thumbnail updates
	* src/DbManager.py: pylint fixes
	* src/ImgManip.py: pull out thumbnail routines

2007-09-08  Benny Malengier  <benny.malengier@gramps-project.org>
	* src/DataViews/_RelationView.py  : expand/collapse, edit button on/off bug fix




svn: r8958
2007-09-10 22:14:33 +00:00