Commit Graph

23988 Commits

Author SHA1 Message Date
Tom Samstag
62a95c936b add database plugins to package_core
Make sure the database addon and the bsddb_support code is installed.
Without this, Gramps crashes on startup.
2015-12-18 17:06:30 -08:00
Doug Blank
4d5c28ad3a CLI -r/--remove asks firsts, uses reg exp 2015-12-18 17:10:11 -05:00
Doug Blank
fc55aba6b3 Use new test framework; remove Test db 2015-12-18 09:09:27 -05:00
Doug Blank
01ef775491 Use CLI test framework; fix bug in fake exit
* uses new Gramps() test framework in cli_test.py
* test_util.Gramps allows default exit code
2015-12-18 08:46:35 -05:00
Doug Blank
d5aa7067ea Add framework for testing CLI commands
* can grab output, stderr for testing output
* can redirect input, via function
* doesn't test --show, but all other CLI flags
2015-12-18 07:32:44 -05:00
Doug Blank
72662bcf06 Adds -r, --remove FAMILY_TREE_NAME to command-line
* gives error if doesn't exist
* currently requires exact match
* doesn't ask for permission (yet)
2015-12-18 07:30:03 -05:00
Doug Blank
392e9eb399 Added clidbmanager.remove_database(), use in tests for cleanup
* clidbmanager.remove_database - removes database by name
* cli_test - clean up database created in tests
* cli_test - uses a better random name
2015-12-17 11:17:21 -05:00
Doug Blank
7eb8015aee Add tests to handle command-line arguments 2015-12-15 23:51:03 -05:00
Nick Hall
bde4b1bf10 Fix handle errors in gramplets 2015-12-15 14:07:48 +00:00
SNoiraud
621bf1e1e9 Webcal : 8943 and 8947 : use 'until' instead of 'till' 2015-12-15 08:52:37 +01:00
Doug Blank
928a437f48 Merge pull request #78 from romjerome/maintenance/gramps42
9057: fix counter for filtered entries
2015-12-14 15:31:15 -05:00
SNoiraud
8bf8e92e3c 8943 and 8947 : finish the implementation and make the report nicer. 2015-12-14 09:56:37 +01:00
Doug Blank
a0bf429b4c Merge pull request #77 from dsblank/master
8556: ValueError: underlying buffer has been detached
2015-12-13 15:10:43 -05:00
Nick Hall
0e8f335607 Check for empty handle when returning default person 2015-12-13 19:27:49 +00:00
Nick Hall
5fc7dd6874 Fix handle errors in reports
The find_spouse report utility function can return None.
2015-12-13 18:56:57 +00:00
Ivan Komaritsyn
997da5170d update Russian translation 2015-12-13 10:15:11 -08:00
Nick Hall
f7c54e9b88 Fix handle errors in person and family editors 2015-12-13 17:34:15 +00:00
Doug Blank
03a72b8319 Prevent crash from exporting because of no default person.
Because of changes in [1], if self.get_default_handle() doesn't return a handle, we would have a crash.

5c958bd7fb
2015-12-13 12:01:25 -05:00
Doug Blank
6faed565f4 8556: ValueError: underlying buffer has been detached (from Paul's patch) 2015-12-13 11:29:24 -05:00
Doug Blank
decb51eac7 Remove encoding on stdout and stderr 2015-12-13 11:19:32 -05:00
Doug Blank
7710544936 gramps -L prints as it goes
Gramps -l now lists details as it goes, rather than after collecting details from all databases.
2015-12-13 10:49:47 -05:00
Nick Hall
cff726a4bb More empty handle checks in proxies 2015-12-12 22:00:11 +00:00
SNoiraud
4e1b72ab60 8947 : Webcal: make it possible to easily move to the next day page having a birthday 2015-12-11 20:50:42 +01:00
Nick Hall
ded6869a2a Check for empty handle in private proxy 2015-12-11 18:29:54 +00:00
Paul Franklin
4a0ce62361 use ngettext for proper plural forms use 2015-12-09 10:08:03 -08:00
SNoiraud
1021b6d178 8943 : Webcal: add an sign that somebody is not alive and make the report nicer 2015-12-08 18:23:00 +01:00
Nick Hall
31bcba8d5d Fix bug introduced in commit 8dffe66
The fix function can be passed a str or int.
2015-12-08 11:08:51 +00:00
Ivan Komaritsyn
f4f5544060 update Russian translation 2015-12-07 16:54:30 -08:00
SNoiraud
0246d96e4c Narrativeweb : remove an unused import. 2015-12-07 15:43:32 +01:00
Sam Manzi
828cb1ac08 Merge pull request #75 from cicl06/master
Small fix in import script
2015-12-07 10:07:51 +11:00
SNoiraud
10ea4333c4 8946 : webcal : make the month name clickable in the year overview page 2015-12-06 18:46:02 +01:00
Nick Hall
332892266f Fix reference map unit test
A bad handle now rasies a HandleError rather than returning None.
2015-12-06 11:14:33 +00:00
SNoiraud
e8a79a8cea 8950 : sort problem : TypeError: unorderable types: EventRef() < EventRef() 2015-12-06 11:29:15 +01:00
Paul Franklin
252aacee41 disambiguate "none" (for French)
from po/fr.po:
The same "none" is used for name, surname and date.
However, in French we say "aucun" for name and surname,
but we say "aucune" for date...
2015-12-05 21:03:34 -08:00
Paul Franklin
8ed9d8958d center export dialog on parent window 2015-12-05 20:22:21 -08:00
Paul Franklin
1000c1b5cb center report dialogs on parent window 2015-12-05 20:20:34 -08:00
Paul Franklin
89b3eb0a34 7276: translate some currently-untranslated punctuation marks
flag the quotation marks around a call name to be translated
2015-12-05 19:55:18 -08:00
Paul Franklin
aaca511c75 7276: translate some currently-untranslated punctuation marks
slightly alter the comment near the translated punctuation
2015-12-05 19:50:43 -08:00
Nick Hall
5c958bd7fb Raise HandleError exception for bad handles 2015-12-05 21:17:56 +00:00
Nick Hall
5d7343f10a Remove handle2internal function 2015-12-05 18:14:16 +00:00
Nick Hall
e813e1c5c2 Remove conv_dbstr_to_unicode function 2015-12-05 17:50:51 +00:00
Nick Hall
8dffe6639b Remove remaining conv_to_unicode calls 2015-12-05 16:57:05 +00:00
Robert Jacob Magyar
2f21e623af Merge branch 'master' of https://github.com/cicl06/gramps 2015-12-05 10:49:47 -06:00
J. Robert Magyar II
536cc48d85 x button now closes import file menu 2015-12-05 10:47:12 -06:00
J. Robert Magyar II
0e6db6397c x button now closes import file menu 2015-12-05 10:34:30 -06:00
romjerome
7f3cdb6d71 9041: Father/mother's age attributes are not translated on DA and DD reports 2015-12-05 11:59:36 +01:00
Nick Hall
6fa47010cf Unicode conversion of command line arguments no longer needed
Arguments are a list of str in python3.
2015-12-05 10:53:56 +00:00
SNoiraud
2e19025f9b 8048 : Narrative web report: add author to citations 2015-12-05 11:38:13 +01:00
SNoiraud
2e1a53e5a3 8950 : events list and family list are differents between two reports. 2015-12-05 10:57:10 +01:00
Doug Blank
65e570cdd8 Merge pull request #73 from RossGammon/missed_javascript
7763: Sourceless Javascript Files in release tarball
2015-12-04 07:57:23 -05:00