Commit Graph

7614 Commits

Author SHA1 Message Date
Gerald Britton
2230220ea1 Tweaks using builtins and list comprehensions -- fix error in get_name
svn: r13492
2009-11-03 14:22:37 +00:00
Doug Blank
1f5256e8fd Supress warning on not loading local translations (1st party plugins don't have them)
svn: r13491
2009-11-03 13:47:01 +00:00
Doug Blank
8143ef6c18 Added localized gettext for registration code
svn: r13490
2009-11-03 13:42:37 +00:00
Doug Blank
98ec7731e7 Used the gramps way of editing files
svn: r13489
2009-11-03 12:01:33 +00:00
Rob G. Healey
6741ffed73 Cleanup and remove some old functions in WebCal.
svn: r13488
2009-11-03 07:32:45 +00:00
Brian Matherly
3141ed0e71 Cleanup libnarrate.
svn: r13487
2009-11-03 05:25:15 +00:00
Rob G. Healey
99499779dc NarrativeWeb is now using format_date() where it is just needing to be displayed. Where calculations are needed, using Date() and date(). Stylesheets are being updated as well. A lot of general cleanup as well.
svn: r13486
2009-11-03 04:18:05 +00:00
Doug Blank
e83e5effc5 Skip hidden directories, and the po and locale system dirs of gramps-addons
svn: r13485
2009-11-03 01:56:27 +00:00
Doug Blank
822586d8a5 Added plugin.fpath to keep track of path; added edit button in plugin window
svn: r13484
2009-11-03 01:39:47 +00:00
Doug Blank
9130ddd23a Default to 'en' in get_addon_translator() if locale.getlocale()[0] returns None
svn: r13483
2009-11-03 00:34:12 +00:00
Gerald Britton
f822b4b8a0 Tweaks using builtins and list comprehensions
svn: r13482
2009-11-02 19:07:32 +00:00
Nick Hall
200bacb1f5 Add extra sections to Complete Individual Report
svn: r13481
2009-11-02 14:57:34 +00:00
Serge Noiraud
461b70a7e4 GeoView : issue 3312 : limits problem and some other minor bugs.
svn: r13480
2009-11-01 22:10:54 +00:00
Doug Blank
d23721d35f Allow plugin manager to follow links (so you can add a link in plugins to a development dir)
svn: r13479
2009-11-01 15:45:53 +00:00
Doug Blank
05de29cbf8 Don't complain if LANG is en and there is no explicit translation for addons
svn: r13478
2009-11-01 15:44:04 +00:00
Doug Blank
ba897a8e0f Added __file__ to plugin registration environment (to retrieve addon translations)
svn: r13477
2009-11-01 14:30:56 +00:00
Doug Blank
0f61597985 Begin moving 3rd-party plugins to external SVN: DataEntryGramplet removed
svn: r13476
2009-11-01 14:28:37 +00:00
Doug Blank
0dc707ef7c Added a function to get a translation with fallback for addons
svn: r13475
2009-11-01 14:26:21 +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
ffd61918c4 fix svn properties
svn: r13472
2009-10-31 08:15:10 +00:00
Peter Landgren
4e3971913d Another fix for translation to work.
svn: r13469
2009-10-30 18:28:11 +00:00
Jérôme Rapinat
d9f4b84860 update, typo on day. MON format
svn: r13468
2009-10-30 18:05:45 +00:00
Jérôme Rapinat
bb51d41133 cannot translate variable (part2 - thanks Peter)
svn: r13467
2009-10-30 18:01:48 +00:00
Serge Noiraud
140cee8e6a GeoView : change strings for translation.
svn: r13465
2009-10-30 16:45:00 +00:00
Jérôme Rapinat
9ec8339998 cannot translate variable (mailing-list)
svn: r13463
2009-10-30 10:15:18 +00:00
Serge Noiraud
291c8ed819 GeoView : Correction of bad simplifications in svn 13212.
Some limits problems.
          Try to solve 1.3 from issue 3312.
          Replacing radio buttons by a combobox to save space.


svn: r13462
2009-10-30 08:41:21 +00:00
Erik De Richter
9a93932ea1 update nl translation
svn: r13461
2009-10-30 06:37:22 +00:00
Benny Malengier
750331b8bd 3325: Gramps (from trunc) chrashes without an environment definition for LANG
svn: r13460
2009-10-29 22:12:11 +00:00
Benny Malengier
ab302b4673 Use Utils to check for Windows instead of string compare
svn: r13459
2009-10-29 21:56:31 +00:00
Benny Malengier
83fd55e363 3294: Edit buttons causing an error
svn: r13458
2009-10-29 21:36:57 +00:00
Gerald Britton
00bee4ee66 Bug 0003098: "Buri" event on GeneWeb file may break import into Gramps
svn: r13457
2009-10-29 20:03:03 +00:00
Jérôme Rapinat
0757d0821c 3278: [Records plugin] Mariage calculation should only work with event_role=Family or primary
svn: r13456
2009-10-29 11:44:32 +00:00
Peter Landgren
4c93a08c14 Change of first letter in month's names to lower case.
svn: r13454
2009-10-29 07:22:17 +00:00
Luigi Toscano
ad8c24d9c3 Italian translation for month names
svn: r13452
2009-10-28 23:36:10 +00:00
Jérôme Rapinat
cd46badf1e update still parsing problem with one date format
svn: r13448
2009-10-28 18:40:20 +00:00
Benny Malengier
61130b11ef 03288: [XML import] Custom family event role type is ignored on Family Events
svn: r13447
2009-10-28 16:15:48 +00:00
Jérôme Rapinat
dc85030a20 typo
svn: r13445
2009-10-28 15:01:36 +00:00
Jérôme Rapinat
7f9934d2c8 Revised _Date_fr.py according to Brian's changes in revision 13442
svn: r13444
2009-10-28 15:00:16 +00:00
Espen Berg
ea35e9b5e7 Revised _Date_nb.py according to Brian's changes in revision 13442
svn: r13443
2009-10-28 13:02:30 +00:00
Brian Matherly
77847d37ba 0003320: DateDisplay: incorrect index for short_months and long_months
svn: r13442
2009-10-28 12:21:37 +00:00
Doug Blank
7a19720b01 Need to ignore old values of wrong list type
svn: r13441
2009-10-28 12:15:18 +00:00
Doug Blank
b5e9f4ddf0 Added missing traceback import
svn: r13440
2009-10-28 10:38:57 +00:00
Benny Malengier
e03cd66c2d 3304: current HTML modules add a newline for every doc.write_text()
svn: r13439
2009-10-28 08:15:16 +00:00
Serge Noiraud
6ba97f3e6d GeoView : We need webkit 1.1.10 to use the encoding.
reset the combobox text when switching map.


svn: r13438
2009-10-28 07:48:05 +00:00
Peter Landgren
c1c27b3ebf Update of strings as requested.
svn: r13437
2009-10-28 07:34:37 +00:00
Brian Matherly
758d69ec88 Make short and long month strings constants in the DateDisplay class instead of using the localized month strings detected by GrampsLocale. This will allow DateDisplayers to work for languages other than the current locale - will be useful for user selectable report translations.
svn: r13436
2009-10-28 03:25:57 +00:00
Doug Blank
d920e3479a Looks like this is needed
svn: r13435
2009-10-28 01:16:21 +00:00
Serge Noiraud
e407cd26b6 GeoView : Force the renderer to be utf-8 ( issue #2887 )
Button limits problem ( issue #3312 #1.1)
          Some missings infos   ( issue #3312 #1.2)
          Info bubble problem   ( issue #3312 #1.3)
          Page limits problem   ( issue #3312 #2)
          Some minor corrections.


svn: r13433
2009-10-27 18:48:43 +00:00
Rob G. Healey
77da65bc71 Fixed a lot of string items, whereas href=; it becomes href = as an example. This was talked about a while back, and Brian or Benny made the point to code like this.
svn: r13432
2009-10-27 15:40:15 +00:00
Peter Landgren
7fe80cc10b Fix of translation problem with _().
svn: r13431
2009-10-27 09:06:52 +00:00
Brian Matherly
e03f293238 Fix some residual bugs from the implementation of the new plugin manager.
svn: r13430
2009-10-27 02:35:42 +00:00
Brian Matherly
fa10edbfd1 Skip hidden directories when registering plugins.
svn: r13429
2009-10-27 01:44:46 +00:00
Doug Blank
bb99cd20b1 Fixed missing expand option on gramplets; added connect/disconnect signal handling; removed signal to update status bar when gramplet doesn't do anything
svn: r13428
2009-10-27 00:27:40 +00:00
Benny Malengier
2ed1159e89 Gramplets need to be registered as STABLE to see
svn: r13425
2009-10-26 19:27:09 +00:00
Benny Malengier
53de46901e add license to gpr.py files
svn: r13424
2009-10-26 19:15:58 +00:00
Jérôme Rapinat
b63f7e6818 3308: Wrong position of export options (also geneweb dialog)
svn: r13423
2009-10-26 13:33:41 +00:00
Brian Matherly
2ad02fa658 Remove unused function from KinshipReport.
svn: r13422
2009-10-26 02:11:51 +00:00
Brian Matherly
22693cfbad Pylint cleanup for the relationship calculator.
svn: r13421
2009-10-26 02:10:14 +00:00
Doug Blank
7290694c43 Additions for new gen/plug/_grampley.py
svn: r13420
2009-10-25 22:37:32 +00:00
Doug Blank
2e327a10cf Added missing file
svn: r13419
2009-10-25 22:32:34 +00:00
Doug Blank
aa3c30803e Updated for new location of Gramplet
svn: r13418
2009-10-25 21:13:37 +00:00
Doug Blank
c8fc4d20dd Added = and == to match for similar and exact text_only date matches
svn: r13417
2009-10-25 21:05:45 +00:00
Doug Blank
6af2d2f30a Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
svn: r13416
2009-10-25 20:29:45 +00:00
Doug Blank
88de64e9a0 Fixes for Given Name, Top Surname, and Surname gramplets
svn: r13415
2009-10-25 19:04:32 +00:00
Benny Malengier
ebc34c4a71 add missing pluginmanager
svn: r13414
2009-10-25 18:43:01 +00:00
Benny Malengier
e75f15ca53 03289: GVFamilyLines, PlaceReport crash without individuals set
svn: r13413
2009-10-25 17:07:50 +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
14dcf94739 3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
svn: r13409
2009-10-25 15:33:50 +00:00
Jérôme Rapinat
c67c22b6c0 3308: Wrong position of export options
svn: r13408
2009-10-25 15:04:06 +00:00
Jérôme Rapinat
af0455bcdd typo
svn: r13407
2009-10-25 14:58:17 +00:00
Doug Blank
975e639dd1 Phase 1 conversion of gramplets to new plugin system
svn: r13406
2009-10-25 14:42:47 +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
Doug Blank
c10da3fec5 Fixed stderr traceback output; added dbstate to interact with the db; fixed missing on_delete_event signal
svn: r13404
2009-10-25 03:12:36 +00:00
Benny Malengier
79b6708163 03292: register plugins, load on need, not on start of GRAMPS - GEPS 014
Part 2: update plugin status: show registered, allow hide/unhide of 
        plugins


svn: r13403
2009-10-24 20:27:10 +00:00
Doug Blank
aab0acc340 removed extraneous comments
svn: r13402
2009-10-24 14:36:42 +00:00
Doug Blank
85d15dac51 Added unittests for config.py (all tests in one case for now); fixed an error on 3rd party keys; polish and cleanup to config
svn: r13401
2009-10-24 14:25:24 +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
Jérôme Rapinat
d1fbb2bff9 3309: HtmlDoc module ignores title-style of reports (contribution by lcc)
svn: r13399
2009-10-24 07:17:04 +00:00
Serge Noiraud
7bf4760409 GeoView : Some minor regressions with python 2.5 and some cleaning
svn: r13398
2009-10-23 21:17:20 +00:00
Gerald Britton
8592d8c68f change str.format calls back to % operations
svn: r13397
2009-10-23 20:43:18 +00:00
Doug Blank
131f5396b6 Use RawConfigParser so that it doesn't try to format string
svn: r13396
2009-10-23 03:28:19 +00:00
Doug Blank
40b9c7a7ca Fixed three errors in date conversions: set_slash didn't work; set_slash2 was missing; and convert_to calendar needed to clear NEWYEAR and SLASHES
svn: r13395
2009-10-23 00:06:14 +00:00
Doug Blank
4ffac19071 Change to test to see if ast.literal_eval exists; if not fallback to eval (which is not safe)
svn: r13394
2009-10-22 23:48:04 +00:00
Serge Noiraud
ed788f0507 GeoView : Removing yahoo and microsoft maps.
javascript and css simplification.
          When possible, usage of python instead of javascript.
          Adding a menubar to manage place lists, years and pages.


svn: r13393
2009-10-22 19:52:27 +00:00
Brian Matherly
4f55365e97 Add translation detection, translation class and report translation option. Leading up to user configurable report translations.
svn: r13391
2009-10-22 04:22:24 +00:00
Doug Blank
c202f43e9b Fixed two errors: simple str(date) now shows alternate newyear day; match with alt newyear day now works correctly
svn: r13390
2009-10-22 04:15:18 +00:00
Doug Blank
43cbfbfaca 3301: Error on Gramps Start from trunc (last SVN; for Windows) if using GRAMPSHOME; Rewrote config reader to safely allow all types of Python data, including dict, escaped chars in strings, and unicode; set file encoding to utf-8
svn: r13387
2009-10-20 11:18:06 +00:00
Rob G. Healey
5f52f21bf0 Changed Navigation menu font style.
svn: r13386
2009-10-19 04:34:03 +00:00
Brian Matherly
82a847226e Cleanup gettext configuration (in preparation for custom report translations).
svn: r13385
2009-10-18 22:18:29 +00:00
Doug Blank
3266f85d46 3273: Standard position for child-list descendant numbering in DDR, by lcc
svn: r13382
2009-10-18 01:28:49 +00:00
Doug Blank
d899d1eefd 3296: Data loss during XML-export->import; assumed type was set on name element
svn: r13380
2009-10-17 22:50:35 +00:00
Rob G. Healey
054acb7337 Clean up work on media_link() and doc_link(). Corrected a lot of single quatation marks to double quoteations.
svn: r13379
2009-10-17 20:54:17 +00:00
Doug Blank
a5ac560552 Fixed bug in interpreting int(date_span) which is now in months
svn: r13377
2009-10-16 03:20:07 +00:00
Doug Blank
468be7a75c 3291: "Probably alive" misses persons definitely alive, part 2
svn: r13375
2009-10-16 03:11:16 +00:00
Doug Blank
e420278a13 3291: "Probably alive" misses persons definitely alive
svn: r13374
2009-10-16 02:52:06 +00:00
Gerald Britton
764f5d846d Bug 0003063: gtk.Tooltips is deprecated -- bug in last batch of updates
svn: r13367
2009-10-13 19:11:19 +00:00
Gerald Britton
0ab22f3d76 Bug 0003063: gtk.Tooltips is deprecated -- bug in last batch of updates
svn: r13366
2009-10-13 18:56:14 +00:00
Doug Blank
b0eef2a8ba 3284: Descendant Report omits last-level spouses, by lcc
svn: r13365
2009-10-12 17:33:07 +00:00
Benny Malengier
5504df77ba 3275: PageView reworking-pageview3.patch
svn: r13364
2009-10-11 06:36:56 +00:00
Benny Malengier
3dd41b0444 3275: PageView reworking-move placeview to listview
svn: r13363
2009-10-10 09:10:00 +00:00
Doug Blank
e4be08f332 Added missing module-level functions for config
svn: r13359
2009-10-09 00:26:48 +00:00
Gerald Britton
2b5c94331d Bug 0003063: gtk.Tooltips is deprecated -- last batch of updates
svn: r13357
2009-10-08 20:55:42 +00:00
Serge Noiraud
884d1893e3 GeoView : str to int problem with the new config module.
svn: r13354
2009-10-08 18:01:06 +00:00
Doug Blank
b4b57edab4 Added an emit method, more tests, and some clean up
svn: r13353
2009-10-08 15:22:28 +00:00
Jérôme Rapinat
ce2a168d3a 3199: Localisation in web page report - Problem with word Home, too many meanings
svn: r13352
2009-10-08 12:03:14 +00:00
Doug Blank
5fef504683 Changes in build system related to Config
svn: r13350
2009-10-08 10:43:29 +00:00
Rob G. Healey
be85628214 Cleaned up and fixed all of the WebCal elements also.
svn: r13349
2009-10-08 05:48:43 +00:00
Doug Blank
4abfc5d39d Fixed order issue for 3rd-party config; fixed a reset bug; added more tests
svn: r13348
2009-10-08 05:09:08 +00:00
Doug Blank
9d8ff1bacf Added lists to config type, as a list. Changed data-views to new format; added htmlview.start-url
svn: r13347
2009-10-08 04:47:04 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Rob G. Healey
3959b59d40 Added Alphabet Navigation, EventList and EventDetail, RepositoryList elements to all stylesheets. There are no longer vertical alphabet. No longer any problems with the Download page. Navigation menu bar no longer jumps around the screen.
svn: r13345
2009-10-07 22:45:59 +00:00
Rob G. Healey
f2d5deb25a Added alphabet, EventList and EventDetail, and RepositoryList CSS sections.
svn: r13344
2009-10-07 22:30:39 +00:00
Benny Malengier
53251826f7 3275: PageView reworking - change all non person views to new classes
svn: r13343
2009-10-07 20:51:12 +00:00
Benny Malengier
ac74c5bed9 typo bug found here causing crash with tooltip
svn: r13342
2009-10-07 20:46:50 +00:00
Rob G. Healey
e2d1949cf1 New files: listview.py, navigationview.py, and pageview.py were added to the subdirs portion of the Makefile.am, so I put them where they belonged. Running autogen.sh && make will now complete.
svn: r13341
2009-10-07 20:28:18 +00:00
Gerald Britton
bebba4b366 Bug 0003063: gtk.Tooltips is deprecated -- second batch of updates
svn: r13340
2009-10-07 20:01:39 +00:00
Benny Malengier
9a8b5d8743 3275: PageView reworking-adding the new files 2
svn: r13339
2009-10-07 19:58:14 +00:00
Benny Malengier
08b4f8a510 3275: PageView reworking-adding the new files 2
svn: r13338
2009-10-07 19:53:34 +00:00
Benny Malengier
fce9b37a08 3275: PageView reworking-adding the new files
svn: r13337
2009-10-07 19:50:00 +00:00
Gerald Britton
fa0805dc60 Bug 0003063: gtk.Tooltips is deprecated -- first batch of updates
svn: r13335
2009-10-07 18:15:18 +00:00
Doug Blank
edc6dc8f0f 3259: CSS ordering broken for html text reports from lcc
svn: r13333
2009-10-07 13:18:51 +00:00
Doug Blank
a31d94d2ed 3255: patch for Descendant Report text error from lcc
svn: r13332
2009-10-07 13:13:58 +00:00
Jérôme Rapinat
b2d2820939 3199: Localisation in web page report - Problem with words Name and Home, too many meanings
svn: r13331
2009-10-07 13:00:27 +00:00
Doug Blank
a3d6864f0a #3265: An improvement of calendar report; adds links to NarWeb from WebCal, if you have both. Advanced Options has checkbox and URL prefix to NarWeb/ppl
svn: r13329
2009-10-07 05:15:34 +00:00
Rob G. Healey
b0083a862a Added alphabet navigation, EventList and EventDetail, and RepositoryList.
svn: r13328
2009-10-07 01:59:10 +00:00
Rob G. Healey
6d7a9f8c24 Added alphabet navigation, EventList and Eventdetail, RepositoryList to stylesheet.
svn: r13327
2009-10-07 01:48:19 +00:00
Rob G. Healey
7651bcc06b Added alphabet navigation, EventList and EventDetail, and RepositoryList.
svn: r13326
2009-10-07 01:35:41 +00:00
Rob G. Healey
e150d58303 Changed a section name in stylesheet for better clarification. Attempting to display_source_refs() in NarrativeWeb.py
svn: r13325
2009-10-07 01:19:42 +00:00
Rob G. Healey
9d78be9f00 Added EventList and EventDetail, and RepositoryList.
svn: r13324
2009-10-07 01:16:20 +00:00
Rob G. Healey
ff9ba0a63b Fixed problem that Ken Baseman brought up. Did not remove Web_Alphabet-Horizontal.css and Web_Alphabet-Vertical.css from the Makefile.
svn: r13321
2009-10-06 23:41:16 +00:00
Gerald Britton
9a21141c42 Bug 0003230: Error while deleting family selected by any filter.
svn: r13320
2009-10-06 20:19:56 +00:00
Benny Malengier
2de9aa8404 3217: All views except Person View are NOT updated when adding or deleting entries
svn: r13319
2009-10-06 19:13:28 +00:00
Jérôme Rapinat
34edae8cbc to allow to translate birth word
svn: r13314
2009-10-06 09:42:52 +00:00
Rob G. Healey
73cbf10ce3 Fixed some items in Web_Visually.css. Added Download, EventsList, EventDetail, and Repository sections to Ash. Removed the things that I was trying to do with the Horizontal or Vertical placement of the alphabet navigation. Getting to be too big for me at this point. I feel like a little guppie out in the ocean.
svn: r13311
2009-10-06 08:20:21 +00:00
Serge Noiraud
b484a2b5fd GeoView : Avoid to recreate html document when resizing.
css enhancement. validate language in google, ...


svn: r13309
2009-10-05 20:30:26 +00:00
Gerald Britton
44ccad19c4 Replace dictionaries with sets and set logic where possible
svn: r13308
2009-10-05 18:04:33 +00:00
Doug Blank
435aca1e95 Report format type of error
svn: r13307
2009-10-05 12:53:46 +00:00
Doug Blank
86e744cc19 One set of Swedish tests is ok
svn: r13305
2009-10-05 11:21:22 +00:00
Doug Blank
e8c72f766e #3194: fix to write gedcom output in GRAMPS order, and fix to have children in GEDCOM FAM order
svn: r13304
2009-10-04 21:38:52 +00:00
Doug Blank
09497d5576 Fixed error in sorting date spans, and refined span comparisons
svn: r13303
2009-10-04 15:13:07 +00:00
Doug Blank
ae4c341777 Fixed error in assert, which revealed some errors in testing Swedish dates
svn: r13302
2009-10-04 15:11:30 +00:00
Rob G. Healey
d8d1e12ec3 Fix for the .php parsing error. It also happens with .php3 and .cgi too.
svn: r13299
2009-10-04 05:43:10 +00:00
Rob G. Healey
9b6d133e92 Returned libhtml.py back to its original code after my mistakingly gutting the code.
svn: r13298
2009-10-04 04:56:26 +00:00
Rob G. Healey
efa639f62a Repaired stylesheets in regards to alphabet navigation and fixed alphabet_navigation() in NarrativeWeb.
svn: r13297
2009-10-04 04:54:26 +00:00
Doug Blank
281502576f Add easy way to get version info from users without causing a crash
svn: r13296
2009-10-03 16:10:50 +00:00
Peter Landgren
84cb3ca12e Fix of issue 3253 for Family Lines report. Zeros are not shown now.
svn: r13295
2009-10-03 13:55:55 +00:00
Rob G. Healey
b66e7d1af1 Removed "<?xml ... ?>" from the top of every page as per Benny Malengier.
svn: r13293
2009-10-03 06:07:48 +00:00
Rob G. Healey
7ee48aece3 Fixed placement of header, alphabet navigation, and navigation sections.
svn: r13292
2009-10-03 06:03:10 +00:00
Doug Blank
ca68d0c5ae #3254: protect from crashing on copy to same file
svn: r13289
2009-10-03 03:39:08 +00:00
Gerald Britton
6246ba97aa Change dictionaries to sets and use set logic where possible
svn: r13288
2009-10-02 20:03:39 +00:00
Serge Noiraud
6e117b6d1b GeoView : resizing problem with some css stylesheet.
svn: r13287
2009-10-02 19:27:51 +00:00
Serge Noiraud
7c0a8f97ee GeoView : resizing enhancement.
svn: r13286
2009-10-02 19:10:53 +00:00
Serge Noiraud
0dee8c91de GeoView : Some css enhancement.
CSS Button label change to show the selected css.
          HtmlRenderer updated for unused resizing.


svn: r13285
2009-10-02 18:13:44 +00:00
Gerald Britton
f845666899 remove debugging print statement and fix indentation
svn: r13284
2009-10-01 20:42:52 +00:00
Gerald Britton
f186d8bce8 fix bug on database errors; remove bsddb transaction for batch operations
svn: r13283
2009-10-01 20:38:23 +00:00
Doug Blank
6fde7bc670 use cPickle like the rest of the modules
svn: r13280
2009-10-01 02:05:20 +00:00
Serge Noiraud
a70cc55d01 GeoView : Some css correction.
Added places list over the map.
          Mapstraction infobull correction.


svn: r13279
2009-09-30 21:41:50 +00:00
Gerald Britton
1e5b2c02ed Replace dictionaries with sets and use set logic where appropriate
svn: r13278
2009-09-30 20:15:12 +00:00
Rob G. Healey
86041e6caf General cleanup, fixing of quotations, fixing of gramps_id where it was used of NarrativeWeb, polishing and cleanup of stylesheet.
svn: r13275
2009-09-29 06:16:35 +00:00
Rob G. Healey
e35544a0df Fixed Events in display_event_header(), display_event_row(), write_event_row(), class EventListPage and EventOage. Cleanup little with alphabet_navigation(), corrections and modifications to stylesheet to match.
svn: r13271
2009-09-28 23:52:05 +00:00
Gerald Britton
53dd372508 Remove commented debugging code
svn: r13270
2009-09-28 15:49:01 +00:00
Gerald Britton
2cb36b4cb7 Go back to using list of handles until bsddb DBCursor.put method better understood
svn: r13269
2009-09-28 15:43:54 +00:00
Doug Blank
93a5e3920e #3238: Glade interface file for filter editor contains duplicate identifiers by Bob Ham
svn: r13268
2009-09-28 12:58:58 +00:00
Doug Blank
a9c0286e41 Errors in CSS
svn: r13263
2009-09-27 01:03:38 +00:00
Rob G. Healey
b5f10aa476 Fixes to alphabet_navigation().
svn: r13259
2009-09-26 19:13:21 +00:00
Rob G. Healey
534188f81a User choice of either horizontal or vertical alphabet navigation bar. Changes to all of the stylesheets to accomodate this change. Fixes to RepositoryList and alphabet_navigation also. Not all stylesheets are completed upto the new choice yet.
svn: r13258
2009-09-26 17:11:03 +00:00
Rob G. Healey
74e4853d5c Fixed a problem with the weekday abbreviated letters that I previously introduced.
svn: r13257
2009-09-26 09:10:08 +00:00
Rob G. Healey
9411c8fdbf Additional style sheets for NarrativeWeb.
svn: r13256
2009-09-26 09:08:10 +00:00
Doug Blank
8afdabc729 Fix to write GENDEX to tgz, if necessary
svn: r13255
2009-09-26 02:05:06 +00:00
Rob G. Healey
4050b4f4f3 Removed svn id tag of Web_Mainz.css from GeoView.css. Added GeoView.css to Makefile.
svn: r13254
2009-09-26 01:36:20 +00:00
Doug Blank
6774dc17c0 Fixed unicode normalize issue; abstracted first_letter code; add GENDEX listing
svn: r13253
2009-09-26 01:12:57 +00:00
Doug Blank
ce97f20ff8 Issue with super() and reload of plugins in Python 2.6.0
svn: r13252
2009-09-26 01:08:14 +00:00
Doug Blank
0c856f59f5 Added get_gedcom_name formatter to Name to allow sharing
svn: r13251
2009-09-26 01:05:08 +00:00
Serge Noiraud
4f343de138 GeoView : change icon depending on the lock/unlock state.
svn: r13250
2009-09-25 21:07:38 +00:00
Doug Blank
8883fe0f97 Moved gedcom date constants and functions to gen.lib.date so they can be shared
svn: r13249
2009-09-25 20:45:05 +00:00
Serge Noiraud
39b0858c59 GeoView : add stylesheet selection
svn: r13248
2009-09-25 19:50:38 +00:00
Jérôme Rapinat
16759a08a0 #3211: Entries on choice list for SourceRef confidence level are not displayed
svn: r13247
2009-09-25 17:53:47 +00:00
Serge Noiraud
b7607c4f79 GeoView : Bug when event without people associated with it.
svn: r13246
2009-09-24 17:41:33 +00:00
Serge Noiraud
f63f13d70f GeoView : translation problem.
svn: r13245
2009-09-24 17:28:33 +00:00
Serge Noiraud
afd1a5bdef GeoView : improvment with css style.
svn: r13243
2009-09-24 14:05:06 +00:00
Serge Noiraud
68dfd261cb GeoView : some cleaning and add the marriage icon.
svn: r13242
2009-09-24 12:12:03 +00:00
Serge Noiraud
f39cb2030d GeoView : Change map icons and add marriage icon.
svn: r13241
2009-09-24 12:10:41 +00:00
Serge Noiraud
1d895a55c1 GeoView : synchronize font in infobubbles between providers.
svn: r13240
2009-09-23 21:20:58 +00:00
Rob G. Healey
c022ca4233 Removed dump_source_references() from NarrativeWeb, updating of WebCal still in place. Updates to stylesheet.
svn: r13239
2009-09-23 20:31:21 +00:00
Serge Noiraud
9530ee3599 GeoView : In events map, if we have multiple events for one place,
select the default icon marker and show the event type for
          each person.


svn: r13238
2009-09-23 20:20:57 +00:00
Gerald Britton
9b586eaf4f 1. Enhance cursor.py to support updating records after reading them
2. Implement enhancement in write.py, get_cursor method
3. Exploit new capability in ChangeNames.py

svn: r13237
2009-09-23 20:07:58 +00:00
Peter Landgren
dd10d9bfdb Fix of issue 3215.
svn: r13236
2009-09-23 13:07:12 +00:00
Serge Noiraud
d48caf0574 GeoView : Markers enhancement
Same icons between providers.
          Scroll in infoBubbles.
          Possibility to have one icon per event type.


svn: r13234
2009-09-23 06:49:59 +00:00
Doug Blank
9e66f354df #2073: Adds a warning (about turning off undo, rather than filling with bogus data), but this is only seen by developers, and at least gives a chance to cancel; probably not worth a special class just to provide proper message
svn: r13233
2009-09-23 00:40:14 +00:00
Rob G. Healey
52d573eba8 Re-placed alphabet navigation as horizontal. Fixed several problems in NarrativeWeb, and some changes to WebCal.
svn: r13231
2009-09-21 22:22:45 +00:00
Gerald Britton
2e3ba0d954 tweaks and optimizations
svn: r13230
2009-09-21 20:52:36 +00:00
Serge Noiraud
1284fb9aa2 GeoView : Some write simplification and pylint adjustment.
svn: r13227
2009-09-20 09:56:34 +00:00
Doug Blank
05b6282363 Factored out common code into find_binary function
svn: r13226
2009-09-19 10:47:24 +00:00
Doug Blank
b414b25e2b Error from iterator conversion
svn: r13224
2009-09-19 09:27:22 +00:00
Doug Blank
bb43bec5fd Fixed error in handling list of handles, not an iterator
svn: r13223
2009-09-19 09:16:55 +00:00
Doug Blank
9cbb58af27 Code cleanup
svn: r13222
2009-09-18 23:05:06 +00:00
Doug Blank
7f2b239f26 Add ability for double-click on SimpleTable row to show people by list of handles
svn: r13221
2009-09-18 22:49:43 +00:00
Doug Blank
4e3ebe9db4 #3223: Trunk revision 13203 causes crash of gramplet surnamecloud
svn: r13220
2009-09-18 01:41:31 +00:00
Doug Blank
a3efa1cb0a bug #3221: Improvements for WhatsNext Gramplet, by reinhard
svn: r13217
2009-09-17 03:13:19 +00:00
Gerald Britton
311d9b16b9 Silently accept "not found" errors when deleting database files
svn: r13215
2009-09-16 20:31:28 +00:00
Gerald Britton
c2dd4dc139 Geoview simplifications
svn: r13212
2009-09-16 16:12:40 +00:00
Rob G. Healey
60abf87026 Fixed attributes on IndividualPage and EventPage. Stylesheet to match.
svn: r13211
2009-09-16 06:39:18 +00:00
Rob G. Healey
573c9fdc20 Fixed some holidays in holidays file.
svn: r13210
2009-09-16 01:27:23 +00:00
Gerald Britton
4b77831f0f Exploit new iter_<objects> methods
svn: r13209
2009-09-15 19:37:23 +00:00
Gerald Britton
eb8ef2152b Remove pdb module from filter.py
svn: r13208
2009-09-15 16:05:28 +00:00
Gerald Britton
b3bca61535 Fix deadlock in ChangeNames
svn: r13207
2009-09-15 16:03:41 +00:00
Rob G. Healey
97b107757c This will also be in update mode until I get some of the problems ironed out.
svn: r13206
2009-09-15 08:04:26 +00:00
Rob G. Healey
3fa4338cb6 Some updating of code. Will be update for a while now.
svn: r13205
2009-09-15 08:02:57 +00:00
Rob G. Healey
b9553b1a5e Fix for Labor Day in USA holidays.
svn: r13204
2009-09-15 08:00:34 +00:00
Gerald Britton
966d2bcd42 Use new iter_objects methods
svn: r13203
2009-09-14 20:50:25 +00:00
Rob G. Healey
d7cd58e277 Cleaned up dump_addresses() and changed write_out_addresses() to dump_addresses().
svn: r13200
2009-09-13 05:48:16 +00:00
Rob G. Healey
1430e3107a Still working with classes EventListpage() and EventPage(). Making changes as I go with the stylesheet.
svn: r13199
2009-09-13 03:43:27 +00:00
Doug Blank
d76615b086 Fix for a iter change
svn: r13198
2009-09-12 18:12:31 +00:00
Peter Landgren
34442f5853 Fix of issue 3213.
svn: r13196
2009-09-12 10:00:17 +00:00
Rob G. Healey
8b2259b86d Moved self.build_events() to the conditional statement: if self.inc_events. This way it is not being ran unless you want the event pages.
svn: r13195
2009-09-12 06:06:48 +00:00
Rob G. Healey
c3d079b018 Fixed style elements that has messed up the recent WebCal.
svn: r13194
2009-09-12 03:52:42 +00:00
Rob G. Healey
79efac73da Updated work in WebCal. Updated style elements to match current work.
svn: r13193
2009-09-11 06:24:13 +00:00
Rob G. Healey
44e1291b79 Fixed alphabet navigation to remove the table elements.
svn: r13192
2009-09-11 04:14:46 +00:00
Gerald Britton
941fff23ae Tweaks to use inplace arithmetic
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
d5e48cda06 Change to set logic for reduction in storage (no affect on runtime)
svn: r13190
2009-09-10 18:49:13 +00:00
Jérôme Rapinat
e8033040bb #3182 Add an used singular form, avoid empty string on translation dict
svn: r13188
2009-09-10 13:49:58 +00:00
Rob G. Healey
2c9441eae1 Adjusted header, navigation, and body elements in stylesheet.
svn: r13186
2009-09-10 06:50:56 +00:00
Rob G. Healey
b73ad55161 Should be final ommit for classes EventListPage and EventPage, but do not hold your breath. Stylesheet updated to match work.
svn: r13185
2009-09-10 06:15:53 +00:00
Gerald Britton
a052bc3c63 Tweaks to use inplace arithmetic
svn: r13184
2009-09-09 20:37:26 +00:00
Gerald Britton
03dc41bff9 Documentation updates
svn: r13183
2009-09-09 14:43:55 +00:00
Rob G. Healey
e9b89204a8 Work is final in classes EventListPage and EventPage, modified display_ind_families() and display_attr_list(). Also changes to stylesheet to match current work.
svn: r13181
2009-09-09 08:01:20 +00:00
Serge Noiraud
5d7f92a4fc GeoView : 2 bugs : swap map and saving zoom when no title.
svn: r13180
2009-09-08 21:28:27 +00:00
Peter Landgren
4e7df6fc71 String must be unicode for truncation to work for non ascii characters.
svn: r13178
2009-09-08 13:37:48 +00:00
Peter Landgren
6d14ba233c String must be unicode for truncation to work for non ascii characters.
svn: r13176
2009-09-08 10:13:48 +00:00
Peter Landgren
d0d2dd4a58 String must be unicode for truncation to work for non ascii characters.
svn: r13174
2009-09-08 09:59:11 +00:00
Peter Landgren
44f3fcde19 String must be unicode for truncation to work for non ascii characters.
svn: r13172
2009-09-08 08:42:44 +00:00
Peter Landgren
c3b8ec4fd8 String must be unicode for truncation to work for non ascii characters.
svn: r13170
2009-09-08 08:26:23 +00:00
Peter Landgren
9991df71e8 String must be unicode for truncation to work for non ascii characters.
svn: r13168
2009-09-08 07:28:23 +00:00
Serge Noiraud
5b2ed0dafa GeoView : Split in two parts : HtmlRenderer and GeoView.
Adding two icons for map provider selection.
          We now can zoom in and out with the wheel mouse.
          It's possible to save the zoom between the maps.
          The zoom, latitude, longitude and map is now saved
          when we quit gramps:
          only if you use the save zoom between maps.
          Issue 3150, 3152 included.


svn: r13166
2009-09-07 21:13:38 +00:00
Peter Landgren
f3931f0168 Slicing of strings must be with unicode strings.
svn: r13165
2009-09-07 20:07:05 +00:00
Gerald Britton
768ea89a0f Remove deprecated method
svn: r13164
2009-09-07 16:22:12 +00:00
Gerald Britton
54d4bf6134 Add function decorator to catch dabatase errors
svn: r13163
2009-09-07 16:19:59 +00:00
Gerald Britton
be1aaf9f7b restore set_name_group_mapping method
svn: r13161
2009-09-05 23:03:31 +00:00
Rob G. Healey
fa38bf99f8 Fixed class EventList and EventPage. With it, display_attr_list(). Changed, added, and removed elements to match current work.
svn: r13160
2009-09-05 11:45:56 +00:00
Gerald Britton
06458ae1d7 Remove unused methods
svn: r13159
2009-09-04 17:57:00 +00:00
Gerald Britton
20bfbc8719 add from __future__ import with_statement
svn: r13158
2009-09-04 17:20:37 +00:00
Gerald Britton
ee9f1e82e0 Tweaks to database objects plus initial documentation in rst format
svn: r13157
2009-09-03 19:44:01 +00:00
Rob G. Healey
939ef94e67 Fixed table.infolist in style sheet.
svn: r13156
2009-09-03 09:48:35 +00:00
Rob G. Healey
8e65bbe9c0 More work on classes EventList and EventPage. Changing elements to match current work.
svn: r13155
2009-09-03 09:35:10 +00:00
Brian Matherly
2234f82e1a Remove the "check" and "summary" CLI actions. Those plugins can be run using "-a tool -p name=check" and "-a report -p name=summary" respectively.
svn: r13153
2009-09-03 04:12:11 +00:00
Gerald Britton
b0a00a39c0 AutoComp.py: remove redundant list-building and use inplace addition where applicable
svn: r13152
2009-09-02 20:54:22 +00:00
Gerald Britton
3564b04584 1. Implement iter_<object> methods in proxybase.
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples

svn: r13151
2009-09-02 20:10:45 +00:00
Gerald Britton
5fc1618a85 1. Use closures to define iterator methods
2. Change sorts on people and places to work like other sorts

svn: r13149
2009-09-01 17:46:08 +00:00
Gerald Britton
00d6b8cd50 Fix write.py to do imports from gen.db
svn: r13148
2009-09-01 17:43:54 +00:00
Rob G. Healey
5e7155ba88 fixed capitialization of include repository pages in Advanced tab.
svn: r13146
2009-09-01 00:52:00 +00:00