Commit Graph

1035 Commits

Author SHA1 Message Date
Doug Blank
1814c41c9a Fix to convert note text str to unicode (cuni)
svn: r23388
2013-10-25 01:26:45 +00:00
Doug Blank
da1eadacd6 Fix for very long texts in a column
svn: r23387
2013-10-25 01:18:29 +00:00
Doug Blank
7d67e2bc46 7158: Some filters need a date of today; request to add "today" as a valid date to parser
svn: r23386
2013-10-24 22:27:14 +00:00
Doug Blank
365daaba62 Moved code to get links from notes to Note object; updated quickview
svn: r23382
2013-10-24 14:31:21 +00:00
Doug Blank
39a3f50a96 Add default charset for Django settings; change from default pdf output to html
svn: r23380
2013-10-24 11:40:35 +00:00
Doug Blank
83fc3ad4e8 Moved import of ProgressMeter inside prepare methdod; FIXME: use User class instead
svn: r23377
2013-10-24 04:25:17 +00:00
Doug Blank
fb704558e2 Change for Django 1.5.4, no more redirect_to
svn: r23376
2013-10-23 17:45:42 +00:00
Doug Blank
b91927e37c Added gramps. to webapp imports (should make webapp a package)
svn: r23375
2013-10-23 17:16:39 +00:00
Doug Blank
46ceab3ca8 Apparently, when running as a script, sys.stdout might not have an encoding
svn: r23374
2013-10-23 17:03:40 +00:00
Doug Blank
8ece67cab1 Initial protection for not having PIL (either not installed or not available, python3)
svn: r23372
2013-10-23 02:07:27 +00:00
Doug Blank
e06051fa7c Allow to be used without bsddb installed, for uses where it is not needed (webapp and other uses)
svn: r23371
2013-10-23 02:00:38 +00:00
Vassilii Khachaturov
a4bc19b887 6753: add long_days to DateStrings
svn: r23369
2013-10-22 18:37:20 +00:00
Paul Franklin
b91765d462 7150: crash on backup or export
svn: r23367
2013-10-22 16:53:10 +00:00
Vassilii Khachaturov
bf6901e6ed 7125/7102: port my fix from gramps40
Don't bump 1.6.0 XML version, because Gramps 4.1 --
the first version to use it -- hasn't been released yet

svn: r23356
2013-10-20 16:54:48 +00:00
Paul Franklin
59457923fa 7124: Complete Individual Report does incomplete translation
svn: r23354
2013-10-20 16:46:53 +00:00
Vassilii Khachaturov
265b1d7b53 6926: remove redundant cal prefixes in FR
these are automatically populated by the prefix table building code

svn: r23346
2013-10-20 12:27:03 +00:00
Doug Blank
8667fbc971 CLI run_report: use User()
svn: r23340
2013-10-19 13:08:56 +00:00
Doug Blank
f74d1e51a1 Handles: add __str__ method
svn: r23339
2013-10-19 13:08:19 +00:00
Doug Blank
5c50673f15 SimpleTable: allow bools
svn: r23338
2013-10-19 13:07:49 +00:00
Doug Blank
1018b9edb2 Fixed new Gtk Drag/Drop names
svn: r23337
2013-10-19 03:02:50 +00:00
Paul Franklin
fbe500a5cb 7138: missing import in editmediaref.py
svn: r23336
2013-10-18 19:59:39 +00:00
Doug Blank
e33642c412 Don't crash if not opened
svn: r23331
2013-10-17 16:02:55 +00:00
Doug Blank
27c5f4ffc5 6678: Database Differences Report crashes 4.0 beta svn 21228
svn: r23330
2013-10-17 12:07:04 +00:00
Jérôme Rapinat
0c3562f3f4 6926: some calendar names are handled via fr.po, only keep alternate names
svn: r23328
2013-10-16 17:15:13 +00:00
Vassilii Khachaturov
be84468d3f 6926: merge to trunk p2: gramps/ code changes
svn: r23324
2013-10-16 14:04:21 +00:00
Paul Franklin
6e7c18b95a 7129: the Family Group Report doesn't show "family" attributes
svn: r23320
2013-10-13 21:11:30 +00:00
Doug Blank
1a4445f576 Don't change gramps_id if doesn't fit; removed to match gen/db/read.py
svn: r23312
2013-10-11 17:47:52 +00:00
Doug Blank
5545f37edc DictionDB: don't change gramps_ids; mediaref: to_struct['rect'] returns None for (0,0,0,0)
svn: r23311
2013-10-11 17:41:06 +00:00
Doug Blank
6f057a6586 Checksum is not an int, but a md5 hash
svn: r23310
2013-10-11 17:25:25 +00:00
Doug Blank
8ee4695239 Handles that are empty strings are standardized to None
svn: r23309
2013-10-11 17:24:29 +00:00
Doug Blank
aae377636d Display Handles properly
svn: r23308
2013-10-11 17:23:42 +00:00
Doug Blank
716c14856a Update media checksums in the check and repair tool
svn: r23307
2013-10-11 17:22:47 +00:00
Doug Blank
3fd19feea4 7090: wrong age for dead people reported by webcal
svn: r23306
2013-10-11 11:46:06 +00:00
Paul Franklin
dc0deae09e 7092: API for reporting issues ["interim" solution, from Nick Hall]
svn: r23301
2013-10-11 00:01:10 +00:00
Doug Blank
9780abd304 Completed tag database upgrade; additional changes for CLIManager
svn: r23299
2013-10-10 19:50:09 +00:00
Doug Blank
2238e0479e Changed log.errors to log.warn (errors will stop execution)
svn: r23298
2013-10-10 19:48:05 +00:00
Doug Blank
6bb98bb230 Fix for when active_handle is ''
svn: r23297
2013-10-10 17:26:54 +00:00
Doug Blank
c2f0f5a063 Updates to work with CLIManager; shell refinements
svn: r23294
2013-10-10 12:29:52 +00:00
Paul Franklin
3575f63cbd 7102: XML: Gramps does not export 'very low' value (0) for confidence into citation
svn: r23289
2013-10-09 16:20:00 +00:00
Josip Pisoj
fd2efd76d8 0007114: GtkSpell: language code in a human readable format
svn: r23284
2013-10-08 17:32:22 +00:00
Doug Blank
9522a5ba53 7006: double entries in de gendex.txt file
svn: r23282
2013-10-08 16:40:00 +00:00
Doug Blank
1b6232e380 Add right-click support for media in detail views
svn: r23277
2013-10-08 12:02:55 +00:00
Doug Blank
c6585a8fac Add right-click 'Make Active Media' to Photo class
svn: r23276
2013-10-08 11:32:33 +00:00
Vassilii Khachaturov
c87066136e 7100: proper handling of dates with NY in Date.set
svn: r23275
2013-10-08 11:23:30 +00:00
Doug Blank
ed1d579bfc Add Gallery 'Make Active Media', typo
svn: r23274
2013-10-08 01:29:18 +00:00
Doug Blank
f1aa649601 Add Gallery 'Make Active Media', typo
svn: r23271
2013-10-08 01:12:28 +00:00
Doug Blank
4d8eae042a Add Gallery 'Make Active Media'
svn: r23270
2013-10-08 01:04:07 +00:00
Nick Hall
060eed99c6 Freeze headings when scrolling
svn: r23267
2013-10-07 22:03:42 +00:00
Nick Hall
fa7ee8bbb6 7080: Fix upgrade when media path does not exist
svn: r23264
2013-10-07 17:12:58 +00:00
Jérôme Rapinat
aa265ae1e7 7105: missing event_ref_list into get_citation_child_list method
svn: r23263
2013-10-07 14:44:03 +00:00
Jérôme Rapinat
9d7f4b4056 7081: QuestionDialog module moved to gramps.gui.dialog
svn: r23249
2013-10-05 16:41:50 +00:00
Vassilii Khachaturov
b716a7f298 7100: add debug logging for the bug investigation
svn: r23247
2013-10-03 23:11:04 +00:00
Nick Hall
905e6a5993 Convert SoundEx Generator tool into a gramplet
svn: r23246
2013-10-03 21:11:05 +00:00
Nick Hall
543fda3d5d Add new ancestor and descendant gramplets
svn: r23244
2013-10-03 18:06:50 +00:00
Nick Hall
ac35859e27 Convert uncollected objects tool into a gramplet
svn: r23243
2013-10-03 16:02:48 +00:00
Nick Hall
6aaccd4ca0 Convert python evaluation tool into a gramplet
svn: r23242
2013-10-03 13:33:03 +00:00
Jérôme Rapinat
c7f4a540b1 7072: fix level for citationref into person
svn: r23237
2013-10-02 08:10:07 +00:00
Jérôme Rapinat
010b67688a 7071: age on date now displays all individuals, update titles
svn: r23236
2013-10-01 08:57:18 +00:00
Doug Blank
609e2f5989 CACHES = {}
svn: r23233
2013-09-30 23:57:49 +00:00
Vassilii Khachaturov
8d5a98af2d 7088: remove SDN version reporting
svn: r23232
2013-09-30 19:31:47 +00:00
Nick Hall
c3aa0ccbb9 7066: Fix hebrew calendar and remove sdn import
svn: r23229
2013-09-30 17:41:21 +00:00
Nick Hall
533a279189 Move missing Gtk Spell warning
svn: r23224
2013-09-30 12:45:32 +00:00
Vassilii Khachaturov
3b14e98a1a 7088: rm warning on `import sdn' failure
svn: r23221
2013-09-30 11:46:07 +00:00
Nick Hall
e5a929c8b3 Revert change to suppress warnings
svn: r23218
2013-09-28 14:00:49 +00:00
Vassilii Khachaturov
659f1bec17 7089: same bug in 3 more reports
Port r23211-r23213 from gramps34.

svn: r23214
2013-09-27 23:57:49 +00:00
Vassilii Khachaturov
08dc8ffc53 7089: webcal mistreats non-gregorian event dates
svn: r23209
2013-09-26 22:06:15 +00:00
Paul Franklin
3381140ec0 7088: provide a config option to suppress the warning about missing "sdn"
svn: r23207
2013-09-26 21:53:03 +00:00
Vassilii Khachaturov
93170f1e2a 7037: proxy crash with complex person filter
reapply to trunk after retest by Mirko

svn: r23204
2013-09-26 20:32:53 +00:00
Vassilii Khachaturov
d29ea3775f friendlier test failure diags
svn: r23199
2013-09-25 15:52:55 +00:00
Vassilii Khachaturov
03ccd6b8f9 skip MatchDateTest on non-English locales
svn: r23197
2013-09-25 14:51:08 +00:00
Vassilii Khachaturov
a79e943c19 6881: latin_american broken for partial families
svn: r23193
2013-09-25 11:12:10 +00:00
Paul Franklin
203508eab1 enable Arabic date handler in trunk
svn: r23191
2013-09-24 16:29:24 +00:00
Tim G L Lyons
edafc6a7c1 0006802: In Narrative Web report most Family Maps are missing. Problem due to single apostrophe (closing single quotation mark) which needs to be escaped.
svn: r23189
2013-09-24 11:30:33 +00:00
Vassilii Khachaturov
74ea37f1ba 7037: proxy crash with complex person filter
filter parameter shadowed the global filter :-)

svn: r23184
2013-09-23 15:58:32 +00:00
Vassilii Khachaturov
05fae5df80 7045: enable cal switch in editor on empty dates
svn: r23177
2013-09-21 08:57:02 +00:00
Vassilii Khachaturov
018f0ab30b Revert "6926: display genitive/nominative months as needed"
Sorry, my mistake. Committed from the wrong branch!

This reverts commit 0e82e0077ac1cad122f4584d62b54855ca02e4d8.

svn: r23175
2013-09-20 12:41:46 +00:00
Vassilii Khachaturov
0936aa37e8 DateParserRU: suport 'до'
Add 'до' both as a Date.MOD_BEFORE modifier token
and as a span2 token (i.e., stop end for a Date.MOD_SPAN).

svn: r23174
2013-09-20 12:41:33 +00:00
Vassilii Khachaturov
6eebd80dfc 6926: display genitive/nominative months as needed
First proof of concept, fixing the original bug for Russian.
Added gramps/gen/datehandler/_datestrings.py, to hold
all the localized strings, with genitive/nominative
context as appropriate.

Remaining TODO:
1) other languages
2) expand the localized string into RE-style
concat via |, so that displayer uses the 1st instance,
and the parser uses the whole RE. Write the corresponding _().
3) same with short names as with long names
4) harmonize with _grampslocale code reading the names from
elsewhere for Julian/Gregorian months
5) expand to other calendars (non-Julian/non-Gregorian)
6) obsolete the public attributes in dd and replace with accessors

svn: r23173
2013-09-20 12:33:00 +00:00
Jérôme Rapinat
45f9ea5e6d 7081: No QuestionDialog module into gramps.gui.utils
svn: r23169
2013-09-20 10:17:29 +00:00
Jérôme Rapinat
a861db35bf wrap description for width dialog
svn: r23168
2013-09-20 09:18:14 +00:00
Vassilii Khachaturov
407b059dba 7068: undo french fallback to gregorian
French SDN conversion functions now accept an optional boolean
parameter that allows to block dates outside the republican period.
By default, calendar conversions are allowed.
Revert test blocked by r23139, it now passes!

svn: r23167
2013-09-19 22:54:49 +00:00
Vassilii Khachaturov
180cb1ac28 6926: add partial dates (M/Y and Y), not just DMY
svn: r23166
2013-09-19 22:06:27 +00:00
Vassilii Khachaturov
1972013601 7063: endless loop in probably_alive_range
Reapply r23161 from gramps40

svn: r23162
2013-09-18 14:49:59 +00:00
Doug Blank
c4125c9299 Turn off debug level, enable warn level; provide a default null handler for logging
svn: r23153
2013-09-17 15:12:36 +00:00
Doug Blank
adf9d0dc81 7069: Narrated Web Site media pages do not include multiple references
svn: r23148
2013-09-17 10:35:33 +00:00
Tim G L Lyons
42f6070d8c Fix citation filters so they no longer try to filter citations with a sources filter. Citation filter now allows specification of both source and citation data. When a citation is shown in a search or a filtered citation tree view, the corresponding source is also shown.
svn: r23143
2013-09-16 21:39:47 +00:00
Vassilii Khachaturov
f31a74d271 7068: skip blocked test code, blocks other tests
svn: r23139
2013-09-15 14:56:12 +00:00
Vassilii Khachaturov
f4be9dfc70 Cope with UnicodeDecodeError on git svn output
svn: r23138
2013-09-15 14:56:01 +00:00
Vassilii Khachaturov
f7c036ab52 7027: skip tests blocked by this bug
svn: r23137
2013-09-15 14:43:30 +00:00
Vassilii Khachaturov
6dede8d8af 7066: fix our algorithm based on jewish.c in sdn
It looks like we had an earlier fork of the same code,
and the upstream had some bugs fixed.

svn: r23133
2013-09-14 23:32:30 +00:00
Vassilii Khachaturov
b22b533846 7066: some massaging of ICU version, still fails
svn: r23129
2013-09-14 21:43:36 +00:00
Vassilii Khachaturov
da749a3fbc 7066: fallback to buggy PyICU if sdn unavailable
svn: r23128
2013-09-14 19:42:59 +00:00
Vassilii Khachaturov
a58b5cf2b7 7066: use sdn module from Calendar package on pypi
Unfortunately, no package on ubuntu for sdn...

Bug fixed on trunk, when sdn is present on the system.
Verified that sdn roundtrip works.
date_test now fails on 1789-13-4(French) recognized as invalid,
as it probably should -- I guess this one is a test bug.

svn: r23127
2013-09-14 19:42:48 +00:00
Vassilii Khachaturov
4d82a70eaa provide sensible defautls for all Date.set params
svn: r23126
2013-09-14 15:44:04 +00:00
Vassilii Khachaturov
307b8519b2 7066: comment blocked test code until bug fixed
svn: r23125
2013-09-14 15:43:54 +00:00
Vassilii Khachaturov
ad333e937c 7045: Setting an invalid date does not raise
do the sanity checks on a separate date object,
so that the uncertainty expressed with 0 d/m isn't removed

svn: r23124
2013-09-14 15:11:09 +00:00
Vassilii Khachaturov
37e82106dc 7065: Calendar conversion broken for negative date
fixed, repro steps work as expected now
date_test still broken due to further blocking issues,
see #7045

svn: r23123
2013-09-14 14:23:58 +00:00
Vassilii Khachaturov
9c47f96b9c 7045: Date.set on invalid date does not raise
refactor _zero_adjust_ymd out of 3 cut-and-paste cases
the bug with the code inside it remains -- the negative years
should not be clamped to positive ones!!!!

svn: r23122
2013-09-14 13:24:40 +00:00
Vassilii Khachaturov
ab7d12103f 7045: Date.set on invalid date does not raise
Now it does, but another test breaks:

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
    module = self._get_module_from_name(name)
  File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
    __import__(name)
  File "/home/vassilii/Gramps/gramps/gen/lib/test/date_test.py", line 136, in <module>
    d.set(quality,modifier,calendar,(4,11,-90,False),"Text comment")
  File "/home/vassilii/Gramps/gramps/gen/lib/date.py", line 1600, in set
    format(original, value))
DateError: Invalid year -90 passed in value (4, 11, -90, False)

because the corresponding year gets adjusted from -90 to 1...

svn: r23121
2013-09-14 13:00:19 +00:00
Vassilii Khachaturov
571e3cffa7 7034: fix test_copy_ymd_preserves_orig
broken in r23083

svn: r23120
2013-09-14 11:50:58 +00:00