Commit Graph

282 Commits

Author SHA1 Message Date
Rob G. Healey
f8682183ab Updated GrampsLocale.long_months to DateHandler.displayer.long_months.
svn: r14177
2010-02-01 09:47:41 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
Brian Matherly
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +00:00
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Gerald Britton
2b12f3df07 Use defaultdict type where possible for minor performance gain and source code simplification
svn: r14011
2010-01-09 19:54:32 +00:00
Benny Malengier
e8042007ff init list before use
svn: r13920
2009-12-26 10:05:25 +00:00
Benny Malengier
862d1446d0 Fix two things in nar web:
1/fix bug that not scaled images are not printed out on webpage
  2/remove annoying warning dialogs on every missing images, and 
    replace it by one warning dialog at the end of the report


svn: r13913
2009-12-25 11:44:20 +00:00
Rob G. Healey
c96e7a579a Some cleanup work, and changed get_marriage_event() to use the extended eventtype.py
svn: r13904
2009-12-24 07:55:26 +00:00
Rob G. Healey
c00ffbcf14 Remove references to import pyexiv2, and fixed RepositoryTypes.
svn: r13887
2009-12-22 22:00:24 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Rob G. Healey
35b2dee97a Added to *.gpr.py files and WebCal. Updated EventList and add _find_death_date().
svn: r13878
2009-12-21 07:44:25 +00:00
Doug Blank
f76d9c9aad Added try/except to exif tag import
svn: r13854
2009-12-20 02:32:01 +00:00
Rob G. Healey
9971a4f1a2 Removed Exif tags completely from NarrativeWeb.
svn: r13836
2009-12-17 14:59:00 +00:00
Rob G. Healey
1191bb227d Fixed the sorting in class EventListPage. Changed elements in stylesheet.
svn: r13835
2009-12-17 07:22:29 +00:00
Doug Blank
2a047ab65e Sort events by alphabetical type name
svn: r13823
2009-12-16 12:04:48 +00:00
Rob G. Healey
b060d4189d Removed Editors and Sekectors directories to allow ./autogen.sh to complete. Fixed attribute type so it is translated. Made option visible, but greyed out if the library is not installed by suggestion from Doug Blank. See feature request 3449.
svn: r13819
2009-12-16 03:02:08 +00:00
Rob G. Healey
224c8c1ffc Fixed error causing crash as per Nick Hall. Corrected tags on libhtmlconst and WebCal.
svn: r13805
2009-12-15 02:50:46 +00:00
Gerald Britton
04a15c8647 tweaks
svn: r13804
2009-12-14 18:32:46 +00:00
Rob G. Healey
c94c9c588e Cleanup work on attributes and a comment on sort_event_types() in NarrativeWeb. Clean up work on calendar_build() in WebCal.
svn: r13796
2009-12-14 08:47:01 +00:00
Rob G. Healey
73a8acc7bc Removed debugging code in NarrativeWeb. Adjusted elements in MediaListPage.
svn: r13794
2009-12-14 07:04:37 +00:00
Rob G. Healey
e72257b3f5 Cleaned up class MediaListPage and added mime type to the MediaListPage.
svn: r13793
2009-12-14 06:18:33 +00:00
Rob G. Healey
97f8091467 Fix bug report #3276. Link to temp.png should be document.png. Thanks jerome for finding it.
svn: r13792
2009-12-14 06:15:59 +00:00
Peter Landgren
3edb3a88bc Fixed one wrong gettext call and deleted one unnecessary statement.
svn: r13782
2009-12-13 14:07:24 +00:00
Doug Blank
1206598620 Sorts event by ID, date
svn: r13779
2009-12-13 01:04:09 +00:00
Rob G. Healey
1f6d87182b Cleanup of little things in WebCal.
svn: r13775
2009-12-12 07:42:42 +00:00
Rob G. Healey
bfbba59482 Changed how EventPage works. Cleanup work on NarrativeWeb. Changed some elements in stylesheet that is specific to Visually impaired only.
svn: r13773
2009-12-12 07:38:10 +00:00
Brian Matherly
04a1da3daf Fix crash in NavWeb when accessing uninitiailzed variables.
svn: r13757
2009-12-11 05:51:16 +00:00
Gary Burton
0c18bc53ce Remove a typo which prevents the plugin from loading.
svn: r13751
2009-12-10 18:52:02 +00:00
Rob G. Healey
e9650a703b Fixed event types in multiple places. Fixed a crash at line 520 reported by Gary Britton. Thank you.
svn: r13750
2009-12-10 15:37:58 +00:00
Rob G. Healey
e5b231ef6b Fixed all of the stylesheets, NarrativeWeb, and WebCal with the proper use of the header from Brian Matherly.
svn: r13749
2009-12-10 06:50:21 +00:00
Rob G. Healey
c544e79b22 Fixed event types not being translated in IndividualPages, Events section. Made some spacial alignment in eventtypes.py for better visual aid.
svn: r13748
2009-12-10 00:01:20 +00:00
Doug Blank
b1676eedb7 3265: An improvement of calendar report
svn: r13741
2009-12-08 02:22:26 +00:00
Peter Landgren
90bde6a00a Found two typos when translating.
svn: r13733
2009-12-06 18:38:11 +00:00
Jérôme Rapinat
22847e90ec typo
svn: r13716
2009-12-05 17:15:32 +00:00
Rob G. Healey
b886d022bb Completed bug# 2698. Please test it out completely. Report issues to bug#2698.
svn: r13715
2009-12-05 11:10:28 +00:00
Rob G. Healey
46dd4e6c1a Beginning work on Bug #2698.
svn: r13714
2009-12-05 09:00:32 +00:00
Doug Blank
e07455b891 3410: holidays.xml is reported to not load from user's plugin directory
svn: r13703
2009-12-05 03:09:21 +00:00
Rob G. Healey
fc48e51d1c Fixed person section of Event Pages.
svn: r13698
2009-12-03 19:10:20 +00:00
Rob G. Healey
da054668cd Working more on Events classes.
svn: r13695
2009-12-01 15:41:23 +00:00
Rob G. Healey
b6f8cd5ee6 Kept place source references and fixed a crash.
svn: r13692
2009-11-29 23:48:51 +00:00
Gary Burton
393d547d6e Fix for bug 3393.
svn: r13691
2009-11-29 22:02:06 +00:00
Gary Burton
f49f1059c0 Fix issue with paragraph breaks on preformatted notes.
svn: r13684
2009-11-28 19:24:46 +00:00
Gary Burton
06ca52e812 Fix typo
svn: r13683
2009-11-28 19:12:36 +00:00
Gary Burton
53fb269d54 Fix problem with missing sources in bibliography
svn: r13682
2009-11-28 19:11:00 +00:00
Rob G. Healey
086c297975 Fixed missing person in class EventListPage. Hyperlinked the grampsid to the to its EventPage as I didn't have the event type to hyperlink with.
svn: r13681
2009-11-28 10:07:20 +00:00
Rob G. Healey
b90b6f769c Finished EventListPage. Now only need to work out the sorting protion of it... updated stylesheet to match.
svn: r13678
2009-11-27 09:28:39 +00:00
Gerald Britton
e572a41566 Tweaks using list comprehensions
svn: r13670
2009-11-24 20:14:19 +00:00
Gerald Britton
9698b0306f Tweaks replacing for-loops with iterator expressions
svn: r13664
2009-11-23 20:52:04 +00:00