Commit Graph

57 Commits

Author SHA1 Message Date
Rob G. Healey
28b8f6a0f3 Fixed BirthdayReport and Calendar report from errors in commit 14178, which I created.
svn: r14185
2010-02-01 23:07:44 +00:00
Rob G. Healey
377b0937f6 Remove GrampsLocale.long_months for DateHandler.display.long_months.
svn: r14178
2010-02-01 09:57:14 +00:00
Gerald Britton
90a172393d fix little bug checking for wrong condition
svn: r14158
2010-01-28 19:35:51 +00:00
Gerald Britton
07decce138 Tweaks
svn: r14143
2010-01-26 14:21:51 +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
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
Jérôme Rapinat
f56402cf37 3473: To dynamicaly change calendar option on the Gramps session
svn: r14008
2010-01-09 17:51:58 +00:00
Jérôme Rapinat
bf944b0de3 2385: drawreports and multiple calendars
svn: r13925
2009-12-27 11:09:58 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +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
3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +00:00
Jérôme Rapinat
b02a7cb4c6 2385: Fan chart and multiple calendars
svn: r13783
2009-12-13 14:22:57 +00:00
Jérôme Rapinat
9a23a34ff1 #2385: Fan chart and multiple calendars (only for years on french calendar; < 15)
svn: r13744
2009-12-09 08:37:08 +00:00
Brian Matherly
6392a15610 Add draw_wedge function that was removed from ReportUtils.py.
svn: r13735
2009-12-06 22:42:12 +00:00
Jérôme Rapinat
927ac824b9 #2385: Fan chart and multiple calendars (like TimeLine.py)
svn: r13725
2009-12-06 09:38:10 +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
Jérôme Rapinat
15f9344340 3391: Some sentences missed the final dot
svn: r13674
2009-11-26 11:13:44 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Brian Matherly
9b1392c912 Clean up descendant tree - PEP8, naming, etc.
svn: r13603
2009-11-17 05:11:32 +00:00
Brian Matherly
c43c3beba0 Clean up ReportUtils: Move text strings into "Narrator" class in libnarrate. Remove unused functions. Move functions out that are only used once.
svn: r13474
2009-10-31 21:36:57 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Benny Malengier
cad5461b2d 3282: Gramps should only display marriage event with role = family (or primary)
svn: r13411
2009-10-25 16:52:45 +00:00
Benny Malengier
d25cdc3958 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Improvements: gen.plug only depends on gen, relationship default is moved
to Relationship.py, and config for hidden to a gui.pluginmanager


svn: r13405
2009-10-25 13:52:29 +00:00
Benny Malengier
ed619cfdd6 3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
svn: r13400
2009-10-24 13:53:20 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
a052bc3c63 Tweaks to use inplace arithmetic
svn: r13184
2009-09-09 20:37:26 +00:00
Raphael Ackermann
30d6eebd0b 0002542: Crash whilst generating web pages from command line
Throwing Report Error if center person is not in database. Added catching of Report Error to CommandLineReport
if using GUI it is not possible to cause this, as you have to select a person that is in the DB. However on the command line you can specify any PID and even no person with that pid exists an error was thrown.

svn: r13004
2009-08-14 07:14:25 +00:00
Peter Landgren
4a2fa50abb Fix of issue 3109, max number of generations are now set to 50, equal in ancestor tree and descendent tree.
svn: r12816
2009-07-19 06:56:20 +00:00
Gerald Britton
f7454de7fd Implement iter_people_handles methods and begin to use them
svn: r12760
2009-07-03 20:23:41 +00:00
Gerald Britton
40d0605a63 fix bug in r12705
svn: r12759
2009-07-03 15:53:28 +00:00
Gerald Britton
d022d0187b Replace locale.strcoll with locale.strxfmt for performance and Python 3.0 compliance
svn: r12739
2009-06-30 14:05:57 +00:00
Gerald Britton
fdfacd972c Minor tweaks to use slices instead of lists of items
svn: r12705
2009-06-25 13:41:16 +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
Benny Malengier
fb3ec68c6a part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
update build system


svn: r12603
2009-05-31 14:59:56 +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
81a0848490 Bug 3018: remove calls to keys() and values() dictionary method where possible
svn: r12579
2009-05-27 17:33:45 +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
021b754939 Bug 3011: change old-style classes to new-style classes
svn: r12559
2009-05-21 17:19:50 +00:00
Peter Landgren
0cc4adaad6 Fix of issue 2936.
svn: r12478
2009-04-19 07:13:11 +00:00
Rob G. Healey
4238efda32 Added and deleted files that were verified by Brian. Remove sort siblings as it was broken. Will spend time on it in the next few days.
svn: r12107
2009-02-24 08:02:13 +00:00
Rob G. Healey
c56f46b493 Added revision numbering symbol to all of plugins directory if it was missing in the file.
svn: r12002
2009-02-16 06:56:49 +00:00
Benny Malengier
bf305d9251 2665: PDF: Paginate error in descendant chart (graphical) on person without descendants
svn: r11986
2009-02-14 13:45:44 +00:00
Rob G. Healey
7b85d8e4af Added date validation to these three reports in collect_data().
svn: r11983
2009-02-14 00:57:34 +00:00
Raphael Ackermann
baef4d76a4 fixed indentation issues and mix of tabs and spaces.
svn: r11943
2009-02-09 23:37:40 +00:00
Doug Blank
fc5dcee88b Fixed line ending issues, and syntax errors introduced by translation changes
svn: r11860
2009-02-05 02:10:10 +00:00
Jérôme Rapinat
d587ffe618 #2657,#1718 use ngettext
svn: r11848
2009-02-04 16:58:46 +00:00
Rob G. Healey
ac2e0e2547 removed _make_date module from libholiday as request by Brian. Removed make_date completely and substituted gen.lib.Date() instead for Calendar, BirthdayReport, and WebCal. Changes progress bar text in WebCal and NarrativeWeb.
svn: r11837
2009-02-04 05:35:34 +00:00