Doug Blank
32bbce8ccd
Databases: removed prepare_import/commit_import; updated Django places
2015-08-12 07:42:19 -04:00
Doug Blank
e5a77a60f6
OpenOrStdin/out: add encoding
2015-08-11 15:03:27 -04:00
Doug Blank
dbb1644136
8823: New items in generic databases don't not get next gramps_id, but start from 0
2015-08-11 12:24:46 -04:00
Doug Blank
a76fa8d0c7
DbManager and -L: show counts of all primary objects
2015-08-11 11:22:01 -04:00
Doug Blank
46229b2e27
gen.db.base: protection from missing parent
2015-08-09 15:16:26 -04:00
Doug Blank
ea591bfb17
GenericDB: fixed error in order_by_tag_key
2015-08-09 14:29:25 -04:00
Doug Blank
fe73500545
Database API: add common count_func to _tables
2015-08-08 09:51:31 -04:00
Doug Blank
044307661b
8112: Common means nick, call, or otherwise first of given
2015-08-08 00:27:07 -04:00
Doug Blank
2d217e17e6
Error in loading addon will now show in debug log
2015-08-07 00:37:28 -04:00
Doug Blank
975572e858
Removed private methods in GenericDb; fixed errors in DictionaryDb
2015-08-06 23:29:37 -04:00
Doug Blank
8bedb03d1d
6767: WIP, allow opening of database without using filesystem
2015-08-06 13:22:44 -04:00
Doug Blank
90bf38e3c6
Added gramps.gen.db.generic for common non-bsddb database implementations
2015-08-06 09:25:10 -04:00
Doug Blank
ee1c98b8a0
8765: Incorrect date used for date arithmetic
2015-07-31 14:12:22 -04:00
Doug Blank
f1cc01eb1a
8768: Gramps throws fatal error when trying to delete a family
2015-07-31 07:08:51 -04:00
Doug Blank
32f6024520
8772: Copy values from previous gramps.ini when upgrading; fixed typo
2015-07-30 12:32:50 -04:00
Doug Blank
03f890f4ad
8772: Copy values from previous gramps.ini when upgrading
2015-07-29 21:23:55 -04:00
Josip
a6712e151a
8764: [Compare Individual Events :Tool ]
...
Selecting "Save" causes a UnicodeEncodeError error
2015-07-29 04:35:41 +02:00
Doug Blank
00bd848ab4
Merge pull request #48 from sam-m888/7553GraphviznotGraphViz
...
7553 Change GraphViz to Graphviz
2015-07-25 09:33:20 -04:00
Doug Blank
9ddc1cb487
7261: Import GEDCOM file from MyHeritage, added __str__ to Attribute
2015-07-21 10:18:25 -04:00
Doug Blank
cb82d9f3f4
docbackend: protect from sytledtexttag with value is None
2015-07-20 07:18:24 -04:00
Sam Manzi
d3b7efa0a6
7553 Change GraphViz to Graphviz
2015-07-19 14:24:33 +10:00
Sam Manzi
a40c865c1a
8352 Change lesser than to less than
2015-07-19 11:38:07 +10:00
Chris Mayo
0725bfe33d
Stop using concatenation to create docstring
...
Fixes gramps failing to start if file is byte-compiled and optimized
which sets __doc__ to None.
2015-07-18 20:43:43 +01:00
Doug Blank
ed2a5bcdff
Merge pull request #41 from ennoborg/maintenance/gramps41
...
8663: add exception for UnicodeEncodeError.
2015-07-13 23:14:35 -04:00
Doug Blank
ad55a28e08
Dbstate: update docstring example on apply_proxy
2015-07-13 18:08:59 -04:00
Doug Blank
ff36ddaa00
ProxyDb: return bytes(handle) like actual database
2015-07-13 17:18:18 -04:00
Paul Franklin
667afeb861
4089: fix Lithuanian date parser (another y-m-d one)
2015-07-09 23:21:20 -07:00
Paul Franklin
a65a35f011
fix date parser for y-m-d locales (e.g. Hungarian)
2015-07-08 10:12:08 -07:00
Nick Hall
741d192f1f
Fix IsEnclosedBy rule for non-existent places
2015-06-28 19:11:42 +01:00
Paul Franklin
640101c13a
8666: statistics report does not run (filter?)
2015-06-27 12:48:46 -07:00
Nick Hall
16870116e6
Remove executable permission from python code
2015-06-18 14:12:37 +01:00
Doug Blank
5950c7711a
SimpleAccess: sort by surname; fixes crash in python3
2015-06-14 22:02:40 -04:00
Doug Blank
4c47a396a8
8634: DB-API Database backend doesn't compute inverse filters correctly
2015-06-14 09:56:58 -04:00
Doug Blank
8b4c5c4ebe
undoredo: added missing item
2015-06-13 21:35:56 -04:00
Doug Blank
9eef80afb0
undoredo: changes to work with general backend
2015-06-13 19:33:57 -04:00
Doug Blank
156006567a
DbState: added import_from_filename
2015-06-10 06:49:50 -04:00
Zdeněk Hataš
47cdc1e54d
date handler fix
2015-06-07 10:54:21 +02:00
Zdeněk Hataš
bfb7f1536b
translation and dateparser fix
2015-06-07 10:39:50 +02:00
Doug Blank
2f0496d0a3
8621: Recursion Filter error
2015-06-06 19:56:34 -04:00
Doug Blank
af7348a987
Added config 'database-backend' preference; removed backend dialog
2015-06-06 10:23:27 -04:00
Zdeněk Hataš
b13c731aa5
czech translation fixes
...
inflection fixes
2015-06-06 11:04:50 +02:00
Sam Manzi
45673e847d
Merge pull request #26 from gramps-project/geps/gep-032-database-backend
...
Geps/gep 032 database backend
2015-06-06 14:40:57 +10:00
Sam Manzi
e34993ce31
Correct spelling & stop duplicate key
2015-06-05 12:24:33 +10:00
Sam Manzi
bee797007d
spelling correction to stop duplicate key
...
country > county
2015-06-04 19:52:15 +10:00
Doug Blank
56796d57b4
Merge branch 'master' into geps/gep-032-database-backend
2015-06-02 10:45:51 -04:00
Doug Blank
71c790a261
Bump all version numbers to 5.0
2015-06-01 13:16:08 -04:00
Doug Blank
8317f579c2
Merge branch 'master' into geps/gep-032-database-backend
2015-06-01 07:29:37 -04:00
Nick Hall
2f4682acbd
Add a couple more place displayer options
2015-05-31 17:54:21 +01:00
Nick Hall
fff6a5ce15
Add extra place displayer options
2015-05-31 16:51:39 +01:00
Nick Hall
fec5a5dab0
Remove place format preference setting
2015-05-31 11:01:06 +01:00
Doug Blank
07673be08c
Merge branch 'master' into geps/gep-032-database-backend
2015-05-30 07:11:45 -04:00
Doug Blank
51402bd486
PlaceName constructor shortcut; Place.set_name type check;
...
bug fixes for testcasegenerator
1. Added PlaceName(value=..., lang=...) shortcut; will add to others
2. Added an instance check on Place.set_name() to make sure it
is a PlaceName
3. Fixed Testcasegenerator to make proper fake places, and a bug
in handling windows
2015-05-27 18:13:44 -04:00
Josip
a943e63b84
Merge pull request #25 from beernarrd/slovenian
...
new framework slovenian datehandler, updated sl.po, including plural forms correction
2015-05-27 23:02:37 +02:00
Doug Blank
cb852385bd
8593: spelling mistake in the class SimpleAccess
2015-05-27 16:55:53 -04:00
Doug Blank
6f671d8bff
Merge branch 'master' into geps/gep-032-database-backend
2015-05-27 16:00:10 -04:00
Doug Blank
962608c6bf
Fixed merge tests for Places; fixed init for PlaceNames with source
2015-05-26 22:03:07 -04:00
Doug Blank
1b89239323
DB-API: added undo-redo infrastructure
2015-05-26 20:08:57 -04:00
Doug Blank
8d92b5d634
Added DbState.open_database() for opening without DbManager
2015-05-26 20:08:56 -04:00
Doug Blank
8d3657f54a
Diff: fixed import of DictionaryDb; removed mistaken tag.gramps_id
...
references in DictionartDb
2015-05-26 20:08:56 -04:00
Doug Blank
8a15aaffb7
Added missing function; allow failed plugin message to show
2015-05-26 20:08:56 -04:00
Doug Blank
4805c3c7f0
DjangoDb: force load when write_version/create to make work with reset modules
2015-05-26 20:08:56 -04:00
Doug Blank
cfb33ec1a2
DjangoDb: typo, added logger
2015-05-26 20:08:56 -04:00
Doug Blank
11ac0f1551
Database plugin type support reset_system, to reset modules
2015-05-26 20:07:45 -04:00
Doug Blank
bf12a2bc67
Basic infrastructure for Undo/Redo
2015-05-26 20:07:45 -04:00
Doug Blank
6da7f78cba
Hack to reset modules on subsequent uses of Django databases
2015-05-26 20:07:45 -04:00
Doug Blank
789158aca5
DictionaryDb: now reads/writes on open/close
2015-05-26 20:07:45 -04:00
Doug Blank
c0f9559f8c
Database backend writes its plugin id in database.txt
2015-05-26 20:07:44 -04:00
Doug Blank
e7d62cf9b1
Only BSDDB plugin needs bsddb3; back/restore moved to db
2015-05-26 20:07:44 -04:00
Doug Blank
2d6a319c13
Moved make_database to DbState
2015-05-26 20:07:44 -04:00
Doug Blank
b059bdec66
Database backend as a plugin: this set of changes moves most or
...
all of Bsddb from gramps.gen.db to gramps.plugins.database. The
id of the plugin is 'bsddb' which can be loaded using the
make_database(id, dbstate) API (for now).
Next step is to add an identifying text in the directory to
indicate which database backend to use.
2015-05-26 20:07:44 -04:00
Bernard Banko
c3a4f85e72
new framework slovenian datehandler and plural forms correction in sl.po
...
Inflections corrected in sl.po
Date parser corrected
Plural forms expression corrected. Range, Span, Estimated, Calculated precised.
Estimated and Calculated strings added.
updated sl.po
2015-05-26 23:02:36 +02:00
Nick Hall
cc6820f80c
GEPS 036: Add date and language to place names
2015-05-26 21:12:36 +01:00
Doug Blank
9c9dc2c8e2
7143: Database Differences Report fails on gpkg with media
...
Added return values on imports, so we can tell the difference
between failure and success. Return value of None means failed.
Now, all importers should return an ImportInfo object.
The Differences will now stop if there is an error (such as
existing media directory.)
2015-05-26 13:19:03 -04:00
Doug Blank
b8ffc8a77d
Diff struct comparison, can be a list
2015-05-22 14:25:40 -04:00
Nick Hall
e355a93dc1
Use escape utility from html rather than cgi module
2015-05-22 14:50:19 +01:00
Paul Franklin
4cab86897f
tweak POTFILES
2015-05-21 09:42:00 -07:00
Paul Franklin
ec0c705b55
slight tweaks to calendat-type reports
2015-05-19 23:01:27 -07:00
Paul Franklin
cbe83feeaa
tweaks to Chinese date handlers (fix parsing, reduce date formats)
2015-05-16 20:20:01 -07:00
Paul Franklin
0ad582f7b0
fix date display when month is zero but day is not (see 8477)
2015-05-16 20:15:03 -07:00
Doug Blank
9f8ffc5226
8564: Recursion error when filtering for relatives
2015-05-15 23:30:31 -04:00
Paul Franklin
578cdf6c79
8413: Finnish Date format settings does nothing
...
The corresponding fi.po, with month inflections, is from:
Matti Niemelä <matti.u.niemela@gmail.com>
2015-05-15 00:37:37 -07:00
Nick Hall
d7719962fd
8427: Add new IsEnclosedBy rule
2015-05-14 23:47:03 +01:00
Doug Blank
b2606fb6d3
Gramps 4.2 addons URL from github
2015-05-14 15:12:56 -04:00
Paul Franklin
74e90431c0
8109: fixes for Japanese date parser
2015-05-14 00:33:58 -07:00
Paul Franklin
3d9d9e2851
fix numeric date parser pathological case
2015-05-14 00:31:18 -07:00
Nick Hall
d8946d75ac
Hide place title field in place editor
...
Add option in preferences to display legacy title field. Hide by default.
2015-05-12 21:00:25 +01:00
Doug Blank
ccbab78fbc
Allow database-changed signal to work with more general databases
2015-05-10 22:42:30 -04:00
Doug Blank
c8fa5169b5
Base db: at least have right signature for NotImplemented
2015-05-10 13:25:06 -04:00
Doug Blank
5149ac7554
8541: Crash following update: addon permission issue blocks re-starting gramps
...
There were two issues:
1. attempting to read a new addon file that wasn't readable
threw an exception, aborted updating addons
2. global error catching didn't properly handle error code
from an OSError
2015-05-05 13:25:20 -04:00
Paul Franklin
f9f369fb03
enable localized span and range date displayer code
2015-05-01 20:03:16 -07:00
Paul Franklin
b79b2c3955
Update _datedisplay.py
2015-04-18 15:35:02 -07:00
Josip
bb1e5f4e3d
fix typo in commit 7a507a6
2015-04-13 10:01:13 +02:00
Josip
7a507a6b01
8473: problem by start program
2015-04-13 01:23:53 +02:00
Enno Borgsteede
4bd5faf446
8483: db upgrade fails, fatal damage
2015-04-12 10:44:10 -07:00
Paul Franklin
d86aa283eb
8477: date format month/year is not well reported at editing time
2015-04-09 22:07:41 -07:00
Paul Franklin
5dba5711b9
slight tweak to name-format option
2015-03-29 10:11:28 -07:00
Paul Franklin
1fff4e7b0c
add another missing import
2015-03-28 13:19:49 -07:00
Paul Franklin
946a4fbd2b
add missing import
2015-03-27 09:11:20 -07:00
Paul Franklin
57acf9d21a
slight tweak to name_format option
2015-03-26 22:03:35 -07:00
Paul Franklin
6961361c61
enable deferred translation of get_person_filters filter list
2015-03-26 21:47:34 -07:00
Paul Franklin
41d9bbe4c0
add DeferredFilter class (a subclass of GenericFilter)
2015-03-26 21:45:47 -07:00
kulath
a15bfd98df
Fix spurious generation of empty 'Alternative Name' in place.merge()
...
with an empty name
Bug discovered during testing of fix to 8233 (thanks, Enno for
discovering the problem and the fix).
2015-03-25 18:30:05 +00:00
Paul Franklin
98e21d9fb9
move some unrelated comments away from translated strings
2015-03-25 09:23:36 -07:00
Paul Franklin
d42a8b7adb
fix date displayer TODO: estimated and calculated month inflections
2015-03-21 12:49:26 -07:00
Paul Franklin
8d0ae96b7d
slight tweak to date displayer, for Finnish
2015-03-19 19:41:51 -07:00
Paul Franklin
768dcbf112
remove unneeded code
2015-03-19 10:00:46 -07:00
Mathieu MD
cc1ab8bac4
8109: Japanese data localisation
2015-03-17 12:35:26 -07:00
Nick Hall
13bee7cf26
7992: Fix call to get_participant_from_event during batch transaction
...
During a batch transaction the secondary tables are closed. This
causes an error when find_backlink_handles is called. Although
not ideal, we return an empty string for participants.
2015-03-17 14:03:03 +00:00
Nick Hall
6c256b96d6
8023: Remove HtmlView plugin
2015-03-15 16:53:15 +00:00
Doug Blank
12490b4600
DictionaryDb: fixed return type in get_person_from_gramps_id; added get_place_from_gramps_id
2015-03-15 00:31:15 -04:00
Doug Blank
07aec2000a
Some issues comparing Today close to midnight, in Travis
2015-03-14 23:01:24 -04:00
Nick Hall
5da10c5a80
Replace cuni with str
2015-03-14 23:48:32 +00:00
Nick Hall
c9fd339289
Replace UNITYPE with str
2015-03-14 22:33:55 +00:00
Nick Hall
beab7892e5
Replace STRTYPE with str
2015-03-14 22:11:54 +00:00
Nick Hall
6d047c946c
Replace conv_to_unicode_direct with str
2015-03-14 21:49:45 +00:00
Nick Hall
63ffd83021
Remove uni_to_gui function
...
We no longer need to convert strings to utf8 before passing them
to Gtk functions.
2015-03-14 21:30:26 +00:00
Nick Hall
7147236403
Remove use-bsddb3 configuration setting
2015-03-14 19:52:13 +00:00
Nick Hall
e0608f0ec4
Remove python2 specific code
2015-03-14 19:29:16 +00:00
Nick Hall
3b5efdf7ae
Remove imports from __future__ module
2015-03-14 16:10:36 +00:00
Paul Franklin
d1fdf737a7
8203: Complete Individual Report -- option to output all media
2015-03-13 10:32:10 -07:00
Doug Blank
021da38047
Added missing DictionaryDb.is_empty(); fixed moved constfunc reference
2015-03-12 22:44:08 -04:00
Nick Hall
102c099f1d
8430: Place displayer should not return None
...
The place displayer should return an empty string for an event
with no place.
2015-03-12 23:13:54 +00:00
Paul Franklin
e80445127f
8423: Python3 needs new_subpixbuf not subpixbuf
2015-03-12 10:11:58 -07:00
Paul Franklin
c136791a00
typo
2015-03-12 09:58:38 -07:00
Paul Franklin
dd20212156
give "update_po.py -p" fewer things to moan about
2015-03-01 15:01:52 -08:00
kulath
9444cbe388
0007824: Regression: running gramps from crontab fails
2015-03-01 16:53:45 +00:00
Nick Hall
97433d2189
Tidy up About dialog
...
Use standard string for translator credits.
Add new section for contributors.
Align artwork section properly.
2015-02-28 23:00:59 +00:00
kulath
94776a3e4f
0008380: tag_map is not initialized
2015-02-28 20:52:38 +00:00
Anthony Fok
deba8169bb
7573: implement both "traditional" and "simplfied" Chinese
...
* Translation revisions and fixes
* Generate zh_TW.po and new zh_HK.po from zh_CN.po
with the help of https://github.com/BYVoid/OpenCC
and a small sed script (see f.r. 7573 for the script)
2015-02-26 14:19:01 -08:00
Tim G L Lyons
0778a6f706
Missing import statement
2015-02-25 01:13:20 +00:00
kulath
fab7afd2a3
8134: Fix pickle upgrade of python2 strings to python3 str
...
Move load of metadata (which can also have pickle upgrade errors) and
make zip backup for pickle or schema upgrade.
2015-02-24 22:44:19 +00:00
Nick Hall
423559f48e
Fix schema upgrade from 15 to 16 with python3
2015-02-23 19:20:49 +00:00
Paul Franklin
3145eadd0a
8316: Family with children but no parents is lost on filtered export
2015-02-23 08:54:57 -08:00
Nick Hall
a01722d35f
8134: Fix pickle upgrade of python2 strings to python3 str
2015-02-22 15:24:47 +00:00
Doug Blank
d5b93c52be
Moved stderr and stdin handlers to only be installed for cli application; allows Gramps libraries to be used in other REPLs
2015-02-17 16:36:52 -05:00
Doug Blank
c6a8af9eb6
Allow gramps to be used from source, without GRAMPS_RESOURCES env variable
2015-02-17 09:06:54 -05:00
noirauds
7393b483e3
geography - new feature (8327) Moving around the map using arrow keys and possibility to zoom from keyboard/keypad with the +/- keys
2015-02-15 22:42:23 +01:00
Sveinn í Felli
240252292d
Add partial (30%) Icelandic support
2015-02-13 15:29:58 +01:00
Nick Hall
71ae1fbca3
8344: Ensure key is correct type when updating reference map
2015-02-09 15:44:51 +00:00
kulath
b69171f1a1
0007014: Errors handling owner/submitter information in GEDCOM files.
...
Only import researcher from GEDCOM or XML if the family tree was
originally empty.
2015-02-02 18:56:46 +00:00
Paul Franklin
89dc89d83a
7276: translate some currently-untranslated punctuation marks -- partial
2015-02-01 11:51:34 -08:00
Paul Franklin
46146a4893
neaten up add_reference method
2015-01-31 16:55:22 -08:00
Paul Franklin
331ea351a2
neaten some imports
2015-01-31 16:52:24 -08:00
Paul Franklin
e38a080a3e
8320: Detailed descendent report crashes
2015-01-28 09:45:00 -08:00
Nick Hall
938f38c077
7860: Add new place HasTitle rule
2015-01-27 22:58:34 +00:00
Nick Hall
7ec60ae6a3
7860: Add new place HasData rule
2015-01-27 22:58:27 +00:00
Nick Hall
f89990b5f1
7860: Rename "Name" to "Title"
2015-01-23 21:36:24 +00:00
Nick Hall
28bc8ba590
7942: Implement place displayer
2015-01-23 19:09:55 +00:00
Nick Hall
ec9dbcc045
7844: Check that the mediapath is not set to None
2015-01-21 21:42:05 +00:00
Doug Blank
cd779d5163
8145: Some Addons provide an update even it was already done during the last start of Gramps
2015-01-05 15:23:39 -05:00
Doug Blank
66fd541eea
Renamed gramps.gen.lib.calendar to gramps.gen.lib.gcalendar to avoid import conflict with Python lib calendar
2015-01-04 12:33:06 -05:00
Josip
f4abd460ba
7851: translations don't show in many labels, buttons, and other elements, Windows only
...
Added fix for Python3
2015-01-03 20:25:12 +01:00
Doug Blank
e568babb33
Records Gramplet uses wrong text
2015-01-03 11:01:35 -08:00
Doug Blank
f626cb9d0a
Test method name changes for automatic test detection
2015-01-03 11:24:13 -05:00
Doug Blank
bc4cd8ec2e
Merge branch 'master' of ssh://git.code.sf.net/p/gramps/source
2015-01-03 10:28:06 -05:00
Doug Blank
cfb3b2cc84
Renamed test methods for proper automatic detection
2015-01-03 10:27:39 -05:00
Jérôme Rapinat
9bf4661453
8169 8267 typo: Glib should be GLib
2015-01-03 16:08:55 +01:00
Doug Blank
ed70aa0d74
Fix date_handler by renaming non-test methods; removed gedcom import tests that rely on old code, and didn't test much
2015-01-03 09:15:58 -05:00
Doug Blank
2b1405624f
Fixes to DictionaryDb for Python3 and current gramps
2015-01-03 09:01:48 -05:00
Doug Blank
797f6c1683
merge_ref_test and importxml_test now passing
2015-01-02 22:32:25 -05:00
Doug Blank
626c11999e
merge_test now passing all tests
2015-01-02 21:57:25 -05:00
Doug Blank
dcea49c2a7
Updates for struct to pass unit tests
2015-01-02 17:28:38 -05:00
Jérôme Rapinat
1f8aa6917f
New year...
2015-01-02 10:05:07 +01:00
Paul Franklin
f67620dbfe
8257: Crash when mixed "inflected" and "non inflected" months
2014-12-24 12:36:31 -08:00
Fedir Zinchuk
3be2150861
Update Ukrainian date handler
2014-12-22 20:10:45 +02:00
Paul Franklin
713675521f
8185: Gramps freeze after defining a report stile with German cm values
2014-12-17 19:59:49 -08:00
kulath
c57f574cb8
Fix 0008234: part (2) Various problems with
...
docgen.TextDoc.add_media_object part (2) for master branch
2014-12-16 00:37:59 +00:00
Paul Franklin
2d590abebd
ignore a zero day and its delimiter, in numerical date format
2014-11-24 17:15:33 -08:00
Paul Franklin
0436228eb1
8175: date inflections in _datahandler.py
2014-11-22 16:05:32 -08:00
Paul Franklin
a7bffb9259
8184: regression: Complete Individual report has some untranslated output
2014-11-20 10:05:09 -08:00
Paul Franklin
4fb677283e
8152: Error converting database after upgrade to Gramps 4.1.1
2014-10-28 17:01:43 -07:00
Nick Hall
93a26b26d2
8020: Ensure that reference map has string keys
2014-10-28 17:47:34 +00:00
John Ralls
a372922e02
8140: Gramps doesn't work under Turkish locale
2014-10-27 11:22:45 -07:00
Jérôme Rapinat
f02247b89c
Serbian should be ready for Windows OS and LOCALE_NAMES mapping
2014-10-24 20:01:25 +02:00
Paul Franklin
55c7e223d4
enhance Serbian date handler to handle Cyrillic dates
2014-10-17 18:11:37 -07:00
Sam Manzi
e2e4d3c57a
6028: Cleaned up and improved the Gramps API docs, Sphinx - fixed four ERROR: Unexpected indentation, added 'sphinx.ext.viewcode' to allow Sphinx to 'Add links to highlighted source code' http://sphinx-doc.org/latest/ext/viewcode.html , updated the copyright year and instructions to use pip
2014-09-29 19:51:38 +02:00
Nick Hall
aea848de23
7868: Rebuild secondary indexes after database upgrade
2014-09-26 19:38:15 +01:00
Nick Hall
bdf38344ff
8015: Update location utilities to work with proxies
2014-09-26 16:39:16 +01:00
Petr Hejl
0c587838b4
8051: Can't fill in calculated and estimated dates in cs locale
2014-09-11 17:23:02 +02:00
Paul Franklin
60ca25deee
python3 bytes-string mismatch with ICU installed
2014-08-22 18:18:38 -07:00
Paul Franklin
462897bf44
8012: Text reports don't use the correct name format
2014-08-22 18:02:24 -07:00
Nick Hall
6ce73e128e
Add draw styles to style sheet editor
2014-08-22 19:39:52 +01:00
Nick Hall
0751d49adc
Add cell styles to style sheet editor
2014-08-19 23:00:37 +01:00
Nick Hall
da2023b3f8
7991: Enhance style sheet editor to include table styles
2014-08-18 22:50:03 +01:00
Malcom Lewis
86303f6116
Update FSF address to current location.
2014-08-08 19:39:45 -07:00
Paul Franklin
5e61827693
7573: slight tweak to (two zh) [9c8cf2]
2014-07-29 19:33:41 -07:00
Paul Franklin
d9923bdf77
slight tweaks to recent work
2014-07-23 09:48:01 -07:00
Paul Franklin
4a95862d81
add run_private_data_option to stdoptions.py
2014-07-22 12:21:34 -07:00
Paul Franklin
1ef95df160
migrate the existing uses to the new add_private_data_option method
2014-07-22 10:45:00 -07:00
Paul Franklin
59c92d1207
add add_private_data_option to stdoptions.py
2014-07-22 10:19:27 -07:00
Paul Franklin
0aac5469ca
start using stdoptions.py's run_name_format_option
2014-07-21 20:53:34 -07:00
Paul Franklin
aaecb02187
add run_name_format_option to stdoptions.py
2014-07-21 18:29:03 -07:00
Nick Hall
cc794110d1
7846: Prevent creation of a place cycle when merging
2014-07-14 22:53:01 +01:00
Nick Hall
8627429987
7846: Avoid infinite loop when place cycle encountered
2014-07-14 22:50:05 +01:00
Nick Hall
de790d12da
7904: Fix place type for places without a main location
2014-07-12 19:58:17 +01:00
Paul Franklin
1c75a997d6
6403: Remove markup in translatable messages -- slight tweaks
2014-07-07 12:00:54 -07:00
Paul Franklin
8c94dcfd27
6403: Remove markup in translatable messages -- partial
2014-07-06 13:14:01 -07:00
Paul Franklin
9c8cf267e6
7573: implement both "traditional" and "simplified" Chinese
...
(With thanks to YH Tan, who provided the translations for both
the date handlers, as well as this early-prototype zh_TW.po)
2014-06-26 11:24:36 -07:00
John Ralls
65dbb1bd46
7851: translations don't show in many labels
...
Ensure python text domain gets the right encoding.
2014-06-23 20:16:56 -07:00
Nick Hall
6950679504
7842: Fix custom place types in the place editor
...
Allow place type combobox to receive focus.
Store custom place types in the metadata table.
2014-06-21 17:22:57 +01:00
Nick Hall
9a664acc20
7834: export of a subset of the tree fails
2014-06-19 12:07:16 -07:00
Jérôme Rapinat
bc26a2c2fe
Try to avoid confusion between branches; limit usage of hard coded version number into translation strings
2014-06-16 17:28:29 +02:00
Jérôme Rapinat
21df604765
Add release version support
2014-06-16 15:15:38 +02:00
Marc Hulsman
f3566ebc34
Add unit test for tree cursors
2014-06-12 22:49:30 +01:00
Nick Hall
52928e3a7c
7471: Fix python3 sort key errors
...
Ensure input to strxfrm is correct type.
Apply patch by Marc Hulsman.
2014-06-12 22:00:51 +01:00
Paul Franklin
f5b404108d
improve plugin warning
2014-06-08 13:03:39 -07:00
Jérôme Rapinat
2e2fbe8fc6
7678: some fixes around gettext and messages handling
2014-06-07 12:51:30 +02:00
Ondrej Krc
1af22a530c
Git Merge Request #10 : Update Slovak date handler
2014-05-30 10:12:22 +02:00
Nick Hall
72b96c96f9
Fix tree cursor for read-only databases
2014-05-25 00:01:14 +01:00
Nick Hall
6af8fe607f
Match alternative names in HasPlace filter
2014-05-24 20:43:32 +01:00
Jérôme Rapinat
084e56d1aa
merge back some french modules from gramps41
2014-05-22 08:43:27 +02:00
Nick Hall
842379e6db
Revert [27453a] and [9d6049]
...
Fix broken proxies and make proxies read-only.
2014-05-21 21:59:36 +01:00
Paul Franklin
9d6049d1af
7693: Broken proxies
2014-05-19 11:33:09 -07:00
Nick Hall
b5ad672ace
7027: Update merge_test to use SrcAttribute
2014-05-17 21:54:36 +01:00
Nick Hall
dce7a6d7f7
Fix bug in latitude/longitude conversion
...
Fixed unit test for python3. int('+ 1') works in python2 but not python3.
Also corrected a unit test.
2014-05-15 19:06:30 +01:00
Nick Hall
98aaf8feab
Fix unit tests after XML format change
2014-05-15 01:17:42 +01:00
Nick Hall
afd154a19e
7650: New unit tests for merging places
2014-05-15 00:10:53 +01:00
Nick Hall
5468dd31d0
7692: Add alternative place names to Gramps XML
2014-05-14 19:28:00 +01:00
Nick Hall
643e742556
7960: Store custom event attribute types in the metadata
2014-05-13 20:52:27 +01:00
Nick Hall
737e8eb74b
7571: Fix custom event types
2014-05-13 18:34:50 +01:00
Jérôme Rapinat
09244d037d
7659: SyntaxError with python3 on 'gramps.gen.db.test.grampsdbtestbase'
2014-05-13 18:02:42 +02:00
Jérôme Rapinat
5dc84c83a9
7649: [Unit test] gramps type, encoding and to_struct(); specific to python2
2014-05-07 17:15:26 +02:00
Jérôme Rapinat
c45167c170
7663: readonly/readwrite and 'create_id' method into 'gen/db/test/db_test.py', no more 'create_id' in the DB code, see [2a6081] for more details
2014-05-04 17:46:05 +02:00
Paul Franklin
2a608151c2
7582: Cannot remove a primary object having a new created backreference
...
This removes the create_id method from gen/db/write.py, since
after a recent "from __future__ import unicode_literals" (there)
it started producing unicode. Instead the create_id method in
gen/utils/id.py is used, as its code is essentially identical,
in use in many other places -- and does not produce unicode.
2014-05-03 15:16:41 -07:00
John Ralls
4327f6952b
7646: [Unit test] typo on 'gramps.gen.utils.file.py'
...
Replace the call with ensuring that dirname is unicode; since
TMP_DIR is guaranteed to be, os.path.join() willl return a unicode so
further conversion is unnecessary.
2014-04-30 07:33:00 -07:00
Paul Franklin
e8bfbc9050
fix (Arabic) comma in some other translated-output reports
2014-04-27 16:19:28 -07:00
Paul Franklin
4927422d7e
enable name displayer to show a locale-specific (Arabic) comma
2014-04-27 16:14:15 -07:00
Jérôme Rapinat
057fbf66c1
7258: incomplete commit; https://gramps-project.org/bugs/view.php?id=7258#c35856
2014-04-24 11:41:44 +02:00
John Ralls
b3edd2fa5f
Make recentfiles.do_save exception safe.
2014-04-21 14:12:36 -07:00
John Ralls
5f3f280ea0
Fix None type exception when there's no localedir.
2014-04-21 14:08:57 -07:00
John Ralls
f0ffd6e9b9
Remove gramps.gen.utils.file.fix_encoding()
...
Yet another overly complicated way to spell conv_to_unicode().
Note that unicode() and str.decode() are alternate spellings of the same function in Py2, and unicode();
note as well that this was used on strings coming from the GUI or the database, not the shell, so that
using glocale.encoding was also incorrect.
2014-04-20 17:05:53 -07:00
John Ralls
55610b6f0a
Remove get_unicode_path_from_env_var(), get_unicode_path_from_file_chooser()
...
Two very cumbersome ways of saying conv_to_unicode().
2014-04-20 17:05:53 -07:00
John Ralls
ecfad157a8
7258: Replace os.getcwd() with gramps.gen.constfunc.get_curr_dir()
...
Py2 on Win32 returns a str from os.getcwd(), which doesn't work with unicode in the path.
New function get_curr_dir() uses the Windows GetCurrentDirectoryW to return a Unicode.
2014-04-20 17:05:52 -07:00
John Ralls
10921cee29
GrampsLocale: Don't try to set self.localedir to _first.localedir if the latter path doesn't exist.
2014-04-20 17:05:52 -07:00
John Ralls
c1dcd6f59e
7258: Remove all instances of sys.getfilesystemencoding()
...
This function reliably returns a useful value only on MacOS X. On Linux it's incorrectly determined by the
locale's encoding and on Windows it always returns 'mbcs' which is correct only on FAT file systems.
2014-04-20 17:05:51 -07:00
John Ralls
efa3741579
7258: Ensure that resource paths are set correctly when they include Unicode characters.
2014-04-20 17:05:51 -07:00
John Ralls
8f4aebe4c6
7258: A consequence of forcing paths to unicode is that we sometimes need to explicitly decode a path to utf8 to pass to Gtk
...
Only in Py2, of course, since the Py3 version of PyGObject knows what to do.
2014-04-20 08:13:00 -07:00
Nick Hall
20c9d949ac
Fix python2 bug when creating backup filename
2014-04-18 22:06:30 +01:00
John Ralls
73fed7385a
7258: Fix a path encoding issue when upgrading the database.
2014-04-15 17:05:13 -07:00
Nick Hall
f6be31eb39
Remove subversion substitution variables
2014-04-15 14:10:18 +01:00
Paul Franklin
f3e378a76a
7596: Translation of plurals does not allow the translator to omit the number
2014-04-14 19:17:26 -07:00
Paul Franklin
99cfe782da
make "update_po -p" happier about unnamed strings
2014-04-14 17:07:32 -07:00
Nick Hall
4a7ae64dd3
Fix unicode error when saving filters
2014-04-13 14:03:43 +01:00
Nick Hall
0901528ddf
GEPS 6: Add extra place types
2014-04-13 14:03:43 +01:00
Josip
aedfc3a673
7258: transcode os.path.join args from the fs enc to prevent a crash
...
fix plugin registration
fix textual, html report etc (except cairo based report)
fix web calendar report for python3
2014-04-13 10:11:22 +02:00
Paul Franklin
9c4aa37b8c
7276: translate some punctuation marks -- partial
2014-04-09 18:40:42 -07:00
Josip
6836dbd5bd
git revision in windows
2014-04-09 23:09:33 +02:00
Paul Franklin
d238ad9044
make gramps XML the initial default export type
2014-04-08 19:25:13 -07:00
Josip
7fdf0f9225
7258: transcode os.path.join args from the fs enc to prevent a crash
...
Fix 3rd party plugin loading for Py2/Py3 in Windows when sys.path
is in Unicode or/and is not encodable in 'mbcs' encodings
2014-04-08 22:39:11 +02:00
Nick Hall
2155ae381f
Remove GEPS 018 related code
2014-04-07 22:04:44 +01:00
John Ralls
43c37a603c
Streamline conv_to_unicode
...
Also handle "None" strings and change default encoding to 'utf8' so that
it works without args when converting from UI input.
2014-04-07 13:24:11 -07:00
John Ralls
5972a3a16f
7258: Avoid dumb encoding error when compiling gpr files
2014-04-07 12:44:39 -07:00
John Ralls
dc292037e4
7588: Can not start [in Chinese on OSX]
...
Force UTF-8 locale on Mac
2014-04-07 11:51:02 -07:00
Josip
930a2f9819
7258: transcode os.path.join args from the fs enc to prevent a crash
...
:35653 rename family tree with python2
:35653 self.reference_map.delete
2014-04-07 00:17:40 +02:00
John Ralls
f201deabbc
Fix up some failing tests
2014-04-06 12:56:41 -07:00
John Ralls
28505a5d8d
Delete a bunch of superflous re-encodings of path names
2014-04-06 12:56:41 -07:00
Josip
fa3645bf15
7582: [Python2] Cannot remove a person having an event reference
2014-04-06 19:07:41 +02:00
Josip
f7e144f853
Change use of GetEnvironmentVariableW ( #7582 )
2014-04-06 00:22:32 +02:00
Josip
d2066537c7
fix recentfiles.py to work for both py2/py3
2014-04-05 01:45:36 +02:00
Josip
26ab379584
7258: transcode os.path.join args from the fs enc to prevent a crash
2014-04-04 22:05:10 +02:00
John Ralls
9550dda584
Correctly encode the contents of the lock file.
2014-04-03 15:15:19 -07:00
John Ralls
7dfb2e016f
Test for ability to open a DB in an arbitrary Unicode path with a Unicode name.
...
And fix a couple of bugs that made the test fail.
2014-04-03 14:17:36 -07:00
Josip
91ef047766
Yet more fix of PyGObject-3.11 DeprecationWarning
2014-04-03 00:10:19 +02:00
Josip
fc40578687
Fix PyGObject-3.11 DeprecationWarning
...
GObject.idle_add() ==> GLib.idle_add()
2014-04-02 16:22:40 +02:00
Nick Hall
7eb68e0c2f
7559: Fix bug in abandon changes and quit
2014-03-29 19:56:58 +00:00
John Ralls
53c878aa08
Use gramps.gen.const.HOME_DIR instead of os.environ['HOME']
...
$HOME doesn't exist on Windows, so os.environ['HOME'] gives the wrong answer.
2014-03-27 11:34:49 -07:00
John Ralls
71650917bf
7258: Replace some os.environ['foo'] lookups missed earlier.
2014-03-27 11:32:37 -07:00
John Ralls
2a81c76e69
Prevent range error crash when loading a defective database.
2014-03-25 15:44:50 -07:00
John Ralls
97d3ab49c4
7258: Fix filesystem encoding in get_dbdir_summary and DbUndoBSDDB.close.
2014-03-25 15:44:23 -07:00
John Ralls
14e1edcd4e
7332-Filename-Decoding-Error-in-Graphical-Reports
...
Don't encode the filename for output. Python does that for you.
2014-03-23 15:22:46 -07:00
John Ralls
85a1c39092
7258: Transcode FS paths to avoid a crash
...
The problem is really that the paths get munged into strings in the
system codepage, losing or misinterpreting most Unicode. Python's os
module is smart enough to encode the unicode to the file system
encoding, but the bsddb module needs a little help.
Provide a new function, constfunc.get_env_var(name, default=None) to
cleanly import Unicode environment variables in Windows and use it in
place of all instances of foo = os.environ['BAR] or foo =
os.environ.get('BAR').
Os path functions are smart enough to convert unicode to the file system
encoding on their own, but Db functions aren't, so provide an _encode
function in gen.db.write.py and apply it where a path is being passed to
DBEnv.open().
Also convert paths from the UI to unicode from 'utf8' rather than
sysfilesystemencoding. The latter happens to be correct most of the time
on Linux and OSX but is wrong on Windows.
2014-03-23 15:09:51 -07:00
Vassilii Khachaturov
b4d2e60198
7530: gen.test.constfunc_test broken in python3
...
Use the `in' operator rather than has_key() method to check for
environment variables in os.environ. Works on both python2 and python3.
2014-03-18 15:48:04 +02:00
John Ralls
a030c20210
7519: GRAMPs unable to handle ... Path with accented characters
...
This replaces commit 8cbb3ef014
with
removing the incorrect encoding of paths with the system filesystem
encoding. Python is mostly smart enough to do that itself.
Thanks to Paul Franklin and Josip Pisoj for their help with sorting this
out.
2014-03-17 12:54:22 -07:00
John Ralls
946c5539af
7026: Eliminate localedir error message
2014-03-17 12:54:22 -07:00
Paul Franklin
471ec72966
7276: translate some punctuation marks -- partial
2014-03-17 08:03:23 -07:00
John Ralls
8cbb3ef014
7519: GRAMPs unable to handle ... Path with accented characters
...
Much worse, actually. Gramps wasn't able to handle any non-ascii
characters in any preference setting from Python2.
repr() in Py2 effectively runs "encode(val, ascii, backslashreplace)"
on its argument, and there's no way to reconstruct the string.
2014-03-08 17:55:50 -08:00
John Ralls
38aaa671cd
Remove some left-over diagnostic messages.
2014-03-08 13:40:47 -08:00
John Ralls
49cdfe3283
Bug 6538: Collation variants do not work properly
...
If ICU is available, inspect the environment for $COLLATION and on
a Mac also check the AppleCollationOrder default. Pass the results
to a special ICU Locale used for sorting.
2014-03-07 16:27:05 -08:00
John Ralls
80c58f46d3
Convert two common plugin errors from unhandled exceptions to warnings.
...
Missing translation for the current primary locale.
Import failure because of some missing dependency.
Note that these handlers can be overridded in the module itself; this is just a fallback.
2014-03-07 16:20:24 -08:00
John Ralls
58d150ebc8
Revert "Bug 6538: Collation variants do not work properly"
...
This reverts commit e0c896fe12
.
Picked up too much in one change.
2014-03-07 16:17:51 -08:00
John Ralls
e0c896fe12
Bug 6538: Collation variants do not work properly
...
Pass fully-qualified locale found in $LC_COLLATE to ICU.
2014-03-07 16:14:00 -08:00
John Ralls
4dd543c323
Move the icu missing warning to after setting up the log handler.
2014-03-06 11:23:49 -08:00
Nick Hall
d268a966bd
Implement alternative place names
2014-03-05 14:02:26 +00:00
John Ralls
f9172c3ad1
Bug 7377 - Ver 4.0.2 starts in East Asian Language
...
Because there is no en.po for Gramps, so the C gettext called from
GtkBuilder skips to the next translation in the list. Fix makes sure
that there is no next translation.
2014-03-04 10:00:37 -08:00
kulath
b5097ed5ac
6194: Database corrupted - TypeError: unhashable type: 'list'
...
Fixed upgrade to deal with sourceref in media references in Sources.
Also fixed Check and Repair to repair previously broken databases.
2014-03-04 17:39:23 +00:00
Paul Franklin
4ba1f79b55
7276: translate some punctuation marks -- partial
2014-02-26 10:24:04 -08:00
Nick Hall
c364bcd7ad
7482: Fix python3 problems with new place structure
...
Based on patches by Marc Hulsman.
2014-02-25 22:31:03 +00:00
John Ralls
816bf310e1
Bug 7377 Ver 4.0.2 starts in East Asian Language
...
Revert "GrampsLocale: Don't set to 'C' if LANG is en_US"
This reverts commit bdd336f38e
.
It turns out that Gtk's having an 'en' translation isn't the only reason
for doing this: GtkBuilder uses $LANGUAGE too, and will look for an english
translation of strings in our Glade files. Since there's no en.po or
en_US.po, it will go to the next language in the list and produce confusing
results.
2014-02-20 14:01:19 -08:00
John Ralls
84cabddcc9
Better fix for bug 7122.
2014-02-20 14:01:19 -08:00
John Ralls
eec3122bfb
Fix up grampslocale logging a bit.
...
Send log messages "up the chain", make maclocale a sub-log of grampslocale.
2014-02-20 14:01:18 -08:00
Paul Franklin
c2635cd94b
don't warn, WebKit is not in Mac or Windows bundles
2014-02-19 19:18:00 -08:00
Paul Franklin
13467d6af7
enable "paper" options in books.xml
2014-02-17 13:05:55 -08:00
Vassilii Khachaturov
92ca4095a9
7117: disallow new year unless Julian or like cal
...
Unit test.
2014-02-17 15:56:03 +02:00
Vassilii Khachaturov
7b3edabef8
7117: disallow new year unless Julian or like cal
...
raise an exception from Date.set for a meaningless newyear parameter
Add Date.CALENDARS to reduce cut-and-paste here and with the unit test
2014-02-17 15:56:03 +02:00
Paul Franklin
a2807dff79
translate some paper names, suggested in 0566
2014-02-16 11:19:13 -08:00
Vassilii Khachaturov
ad812c8537
debug.profile: support kwargs and ret values
2014-02-16 13:57:47 +02:00
John Ralls
e281f51ba6
Bug 7122 - Gramps does not start
...
Handle AppleCollationOrder returning an empty string
2014-02-14 17:21:12 -08:00
Marc Hulsman
7346496214
7470: Upgrade to db version 17 fails in Python 3 due to use of iteritems
2014-02-13 18:16:58 -08:00
Jérôme Rapinat
9dc976f28d
Re-enable warning during devel stage on trunk
2014-02-10 16:06:07 +01:00
Jérôme Rapinat
a343b96093
Re-enable warning during devel stage on trunk
2014-02-10 16:00:47 +01:00
Paul Franklin
ae69eb666b
encode every "style" file in utf-8
2014-02-09 13:35:55 -08:00
Nick Hall
6fd89cda4c
Add place type
2014-02-05 16:08:48 +00:00
Nick Hall
547e71db51
Fix unicode bug
2014-02-05 16:07:44 +00:00
Nick Hall
3a1c3901db
Add HasDayOfWeek rule
2014-02-03 22:29:57 +00:00
Nick Hall
356e36fe78
7419: HasEventBase should not include primary role
2014-02-02 16:13:53 +00:00
Vassilii Khachaturov
04d976ceee
7117: disallow new year unless Julian or like cal
2014-01-30 16:35:13 +02:00
Nick Hall
7506265d1c
6519: Add primary role option to event filter
2014-01-26 16:37:34 +00:00
Nick Hall
3d094d7be1
7183: Fix source note citation filter
2014-01-25 19:50:00 +00:00
Nick Hall
9ecc665625
5123: Fix bug in associations filter
2014-01-22 16:15:05 +00:00
Vassilii Khachaturov
c574f3a767
l10n: trying to add context for "Name:"
...
"Name" as in "Personal name" is different from "Name" as in
"identification of a repository" or in "place name", at least
in Russian. Splitting away "repo|Name:" and "place|Name:"
We need to dynamically set the labels in glade.
See gramps-devel thread "context support for labels in glade?"
2014-01-20 20:19:50 +02:00
Jérôme Rapinat
2301310eb3
Use sgettext for handling context (english locale)
2014-01-17 18:02:24 +01:00
Jérôme Rapinat
b072b88425
Update About dialog (2013 -> 2014)
2014-01-17 18:02:24 +01:00
Benny Malengier
e70849f4f0
7157: better support for objects having citations as subobjects
2014-01-15 09:33:30 +01:00
Doug Blank
01da495ede
Delete items in list by assigning Null
2014-01-09 10:43:05 -05:00
Doug Blank
946a213fbc
Allow calling lists to select and filter
2014-01-08 10:22:32 -05:00
Doug Blank
37ba4122ba
SQL-like allows selection and filter of elements in a list using attr.attr('part', part=value)
2014-01-07 21:46:55 -05:00
Doug Blank
0ff5aa88ad
7357: Adding link to a "Html code" note using the "Link" button has no effect
2014-01-07 10:48:56 -05:00
Vassilii Khachaturov
ca57d2d4f4
l10n: need to disambiguate "New" at least for RU
2014-01-07 17:12:48 +02:00
Josip
bfbf5d01f4
7179: Select an existing person causes crash in searchfilter
...
refix, aplay only to Windows
2014-01-06 21:08:40 +01:00
Josip
568b4ee4a4
7179: Select an existing person causes crash in searchfilter
2014-01-06 20:53:15 +01:00
Nick Hall
a2dfd9013e
7340: Performance improvement in ancestor filter
2013-12-31 17:36:58 +00:00
Vassilii Khachaturov
7c383cb70c
7172: more meaningful LOG warning plug/utils.py
...
Reapply [5c467c] from gramps34
2013-12-30 11:11:11 +02:00
Vassilii Khachaturov
aa3a3c8270
7327: friendlier diagnostics during parsing
...
In preparation for fixing the bug, discovered minor glitches
in the open/lock/close logic on error paths. Using the RAII syntax
for xml_file and removing redundant unlock-before-close.
The parse errors now have friendlier verbiage, give action suggestions,
and point to the actual file location for better usability and
maintainability.
2013-12-28 22:22:52 +02:00
Doug Blank
5b17d597fe
Experimental subselection in list using list['field1, field2']
2013-12-28 14:34:00 -05:00
Doug Blank
cad20f42f1
Allow an attribute lookup on a list to select from the list
2013-12-28 13:32:15 -05:00
Doug Blank
2a4ba037c6
Fixed RefBase.to_struct in gen.lib objects
2013-12-28 10:11:43 -05:00
Doug Blank
c07aebd7d0
Error in schema
2013-12-27 18:28:04 -05:00
Doug Blank
4e9559c6eb
Added link keyword to row method of SimpleTable
2013-12-27 10:43:51 -05:00
Doug Blank
8026a9aa1f
Handle update set anywhere in struct
2013-12-27 01:56:33 -05:00
Doug Blank
feaf10b8c9
Add batch to DictionaryDB; update Query updates in batch mode
2013-12-26 16:16:57 -05:00
Doug Blank
579f17a687
Revised Struct get and set now that Python handles lookup through eval; general cleanup
2013-12-26 11:32:00 -05:00
Doug Blank
7b9fa14ef7
Cleanup, all selects, and deletes working
2013-12-26 00:18:39 -05:00
Doug Blank
6528044b1c
Different in getitem depending on whether assignment, or lookup; fixed from_struct on BaseRef
2013-12-25 18:02:48 -05:00
Doug Blank
7224bda047
Removed getitem_from_path---now uses eval() [eg, __getitem__] for such functions
2013-12-25 16:48:40 -05:00
Doug Blank
7daf720ee7
Error in using transactions
2013-12-24 20:40:56 -05:00
Doug Blank
2fb9f2ffa0
Working in remove in dictionaryDB; fix for Dictionary Cursors
2013-12-24 11:24:02 -05:00
Doug Blank
90eda9d89c
Added missing get-all methods
2013-12-24 10:39:44 -05:00
Doug Blank
a050704299
Protection from fields that are None in Struct
2013-12-24 09:30:39 -05:00
Doug Blank
ce07c7e15f
Added missing Handle in to_struct in refbase
2013-12-24 09:28:37 -05:00
Doug Blank
a72c6eac96
Don't go through loop if not Python 3; fixed typo
2013-12-23 15:19:18 -05:00
Doug Blank
6e325a9190
Allow update_db to work with existing transaction; setitem now works; getitem will return Struct only when more struct
2013-12-23 13:58:23 -05:00
Doug Blank
27453a7587
Added remove_func to _tables; added remove_from_database(item)
2013-12-23 13:56:25 -05:00
Nick Hall
dd56299936
Enhance event type selector to use sub-menus
2013-12-22 19:58:25 +00:00
Jérôme Rapinat
d9db6168b3
6926: more Germanic names established by the Emperor Charlemagne in the 800s
2013-12-22 15:52:58 +01:00
Doug Blank
fe6806de57
Ability to use 'where ITEM in part.part.part' for the Query Gramplet
2013-12-20 01:28:54 -05:00
Doug Blank
e649e5514d
Changed {} format
2013-12-20 00:18:46 -05:00
Doug Blank
ab46727c56
Changes in Struct to allow SQL-like query interface
2013-12-19 22:52:04 -05:00
Doug Blank
0d5e006953
Added meta settings to make sure they are bound to correct methods (of the proxies) rather than actual db methods
2013-12-19 22:50:16 -05:00
Vassilii Khachaturov
be0239d255
7288/7290: port image_dpi legacy gtk code to gtk3
2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
996baaad14
7288/7290: image_dpi and cropping fixes for ODFdoc
...
Port my fixes based on the patch from Matthias Basler from gramps34
[2eca30] 7290: use simpler math in image_dpi
[2f5e22] 7290: align warning with the image_dpi fix logic
[36f84e] 7290: image_dpi default calc based on gtk.gdk
[161ce3] 7290: ImgManip.image_dpi shouldn't return None
[460e63] 7288/7290 refactor out crop_percentage_to_pixel
[a8a38f] 7288/7290 refactor out crop_percentage_to_subpixel
[0d61bb] 7288/7290: refactor fix from matthiasbasler
[088146] rm relict RCS kwd
[76df5d] 7288/7290: image cropping fixes in ODFDoc
Using legacy gtk interface in image.py at the moment, need to port
to the new style.
Tested with python2.
2013-12-15 15:09:12 +02:00
Vassilii Khachaturov
be8515909d
6921: Use "Bat Mitzvah" as the en_US event name
...
Port [0021e8] from gramps34:
p1/3: actual change in the code. Note that the abbreviation
also has to be changed accordingly.
2013-12-14 17:13:35 +02:00
Vassilii Khachaturov
3fdaa4ff52
7198, 7212: document DateError.date
...
See also [8e1659]
7198, 7212: attach invalid date to DateError
2013-11-23 21:43:42 +02:00
Vassilii Khachaturov
175213b902
remove DateError from date.py
...
The exact copy existing in errors.py should suffice.
2013-11-23 21:38:34 +02:00
Doug Blank
e0de21041c
Don't add notes etc on import into temp dictionary used for diff and sync
2013-11-16 14:13:12 -05:00
Vassilii Khachaturov
8e16599940
7198, 7212: attach invalid date to DateError
...
when Date.set throws during the date fields sanity
check validation, it now attaches an (undocumented) .date field
to the exception -- proof of concept for 7198 and potentially
for 7212 as well
2013-11-16 17:51:18 +02:00
Vassilii Khachaturov
89a822507a
7198,7212: fix Date.set(value=None)
2013-11-15 22:23:54 +02:00
Vassilii Khachaturov
a90139cb9a
7197, 7100: missing recalc_sort_value in ny code
...
Fix bug #7197
2013-11-15 15:04:03 +02:00
Vassilii Khachaturov
baae6ac615
7197: readjust sanity date wrt newyear/slash
...
Attempt to fix the failing
DateHandlerTest.test_invalid_month_with_ny
(see 7197:32625). Tests still fail, investigation shows
there's a problem in Date.set setting Julian+Mar25 date even if the
date validation check is disabled by inserting a return before
the validation block, i.e., before this line
if modifier != Date.MOD_TEXTONLY:
which seems to be the root cause of the remaining failing tests.
To investigate, add the return and try
LC_ALL=en_GB.utf8 LANG=en_GB.utf8 GRAMPS_RESOURCES=$PWD \
python -m unittest -v \
gramps.gen.lib.test.date_test.MatchDateTest.test_match
2013-11-14 22:51:01 +02:00
Vassilii Khachaturov
93ca90f3b8
7197: more failing tests
2013-11-14 22:51:01 +02:00
Vassilii Khachaturov
4147721112
7197: refactor code
...
extract Date._adjust_newyear out of Date.set
2013-11-14 22:51:00 +02:00
Vassilii Khachaturov
b3ab87bc5a
7197: refactor code
...
replace all copies of logging with a single point at the exception
rethrow point
2013-11-14 22:51:00 +02:00
Doug Blank
2e746a21da
Working on get_schema(type) to provide a self-documenting infrastructure
2013-11-14 09:23:52 -05:00
Nick Hall
19b39b5dc0
Improve date handler documentation
2013-11-13 18:41:52 +00:00
Vassilii Khachaturov
c4daa151a5
7197: date sanity check breaks on Julian+Mar25
...
Date.convert_calendar resets the new year setting to 0,
so the sanity check fails. Commit the initial fix that
unblocks the failing test.
2013-11-13 17:39:47 +02:00
Vassilii Khachaturov
78cae43a32
7197: better diagnostics from test for debugging
...
Use unittest -v/--verbose flag to trigger it.
2013-11-13 16:59:26 +02:00
Vassilii Khachaturov
626353a0b3
7197: failing test demonstrating the bug
2013-11-13 13:52:47 +02:00
Doug Blank
732743cec5
Missing methods on dictDB; added tests for setting struct
2013-11-12 20:09:04 -05:00
Nick Hall
3ef1c02155
Improve simple access documentation
2013-11-12 22:38:27 +00:00
Doug Blank
88f3cfa3f7
Working on setting structs
2013-11-12 17:18:06 -05:00
Nick Hall
8fd71fd9f0
Improve documentation for relationship calculator
2013-11-12 22:15:37 +00:00
Nick Hall
ceb3f44205
Improve gen.utils documentation
2013-11-12 21:44:01 +00:00
Doug Blank
2c1ba1496b
Working on select/update from Struct
2013-11-12 15:24:15 -05:00
Nick Hall
f80e6422a3
Improve gen.proxy documentation
2013-11-12 18:03:20 +00:00
Nick Hall
1bd893f9f0
Improve gen.plug documentation
2013-11-12 16:28:24 +00:00
Nick Hall
37f0d9c9df
Improve gen.display documentation
2013-11-12 00:12:32 +00:00
Nick Hall
6eab64c901
Improve gen documentation
2013-11-11 23:38:26 +00:00
Nick Hall
1ef6a987da
Improve gen.lib documentation
2013-11-11 23:10:35 +00:00
Nick Hall
c665b8d262
Improve gen.db documentation
...
Convert old markup to reStructuredText.
Use warning and todo directives where appropriate.
Add some new links to classes and methods.
Use consistent case for "Gramps".
2013-11-10 23:34:10 +00:00
Doug Blank
7f2394337d
get_dependencies returns a set
2013-11-10 15:59:09 -05:00
Doug Blank
49b7c09cea
Revised Handle class; added get_dependencies; revised Struct class to allow changes
2013-11-10 15:17:47 -05:00
Doug Blank
b0517d0ee4
Added db.get_transaction_class to connect db and txn; refactored _tables metadata
2013-11-10 15:07:14 -05:00
Doug Blank
94dbcc5ac7
Interface for getting/setting struct parts by dotted path
2013-11-10 09:11:49 -05:00
Doug Blank
c24e037a64
Fix Handle.from_struct to return just handle
2013-11-09 23:14:11 -05:00
Doug Blank
130e2890c6
Change Handle as string to be pure JSON-like representation
2013-11-09 21:58:16 -05:00
Doug Blank
4405e32cb9
Added metadata to struct to allow object creation
2013-11-09 21:28:40 -05:00
Doug Blank
8980d7be87
from_struct uses defaults from object if not given in JSON-like representation
2013-11-09 16:59:42 -05:00
Doug Blank
564aaf88a7
Added from_struct to all objects; can now instatiate an object with JSON-like structs; added 10k tests that all pass
2013-11-09 10:43:30 -05:00
Nick Hall
57daf4f269
Change version string to contain git hash instead of svn revision
2013-11-08 19:52:52 +00:00
Nick Hall
31a3f074f1
Set place type to "Unknown" when main location is missing
...
svn: r23448
2013-11-02 18:19:32 +00:00
Doug Blank
ec76905791
Show local variables on unhandled crash
...
svn: r23446
2013-11-02 16:38:35 +00:00
Nick Hall
d6ae8cffb4
GEPS 6: Implement place hierarchy
...
svn: r23444
2013-11-01 19:13:16 +00:00
Vassilii Khachaturov
4ca39d0fff
7162: unicode_literals break win+py2
...
svn: r23434
2013-10-28 16:35:09 +00:00
Vassilii Khachaturov
96c2db0538
7158: localize "today" in DateParser
...
Should we also support prefixes?
svn: r23408
2013-10-25 16:26:58 +00:00
Vassilii Khachaturov
e7f9431e80
7158: refactor parsing of "today"
...
prepare for localization - refactor the parsing of "today" in line with
other token parsing in DateParser, rather than using the hardwired text
Already possible to override per language, but I'll next add
a way to import a single translation of a "today" from the PO.
svn: r23407
2013-10-25 16:15:40 +00:00
Doug Blank
9ffe6d13e3
7158: Some filters need a date of today; request to add "today" as a valid date to parser; allow 'today (hebrew)'
...
svn: r23406
2013-10-25 12:59:54 +00:00
Vassilii Khachaturov
4e2e51ff31
7158: "today" parsing fails with other calendars
...
Committed a test that uncovers this problem, before we add
localization to the "today" string
svn: r23393
2013-10-25 08:39:19 +00:00
Vassilii Khachaturov
eb725cc5aa
7158: test coverage for Doug's "today" changes
...
w/o localized parsing yet
svn: r23392
2013-10-25 08:22:11 +00:00
Vassilii Khachaturov
6c49da9b4b
test refactor
...
svn: r23391
2013-10-25 08:22:01 +00:00
Vassilii Khachaturov
6f2a43877d
better diags on test failure
...
svn: r23390
2013-10-25 08:21:51 +00:00
Vassilii Khachaturov
63cecba1df
no unittest.assertFail
...
Remove redundant catch-all wrapper, the unit testing framework
reports an exception here anyway!
svn: r23389
2013-10-25 08:21:39 +00:00