Commit Graph

21724 Commits

Author SHA1 Message Date
Nick Hall
66fc6893ea Fix bug listing gramplets already in gramplet bar
svn: r23041
2013-09-05 22:47:02 +00:00
Vassilii Khachaturov
109fabf5d4 add __main__ for stand-alone test runs
svn: r23036
2013-09-05 08:25:30 +00:00
Vassilii Khachaturov
2637ab109a Bump version in xmlns
svn: r23035
2013-09-04 20:46:30 +00:00
Vassilii Khachaturov
81f412a23f Indentation fix
svn: r23034
2013-09-04 20:38:25 +00:00
Vassilii Khachaturov
acdf385509 5598: implement User() class for tools
refactoring in progress - convert calling the tools' classes
using positional syntax

svn: r23032
2013-09-04 14:44:19 +00:00
John Ralls
4cf8c95170 Bug 7040: 4.0.2 svn 23029M fails to start catastrophically
svn: r23030
2013-09-04 14:04:48 +00:00
Doug Blank
d911ce7760 7034 and 6965: missing method
svn: r23028
2013-09-04 10:39:40 +00:00
Doug Blank
7977800875 7034: probably_alive() failing when no birth-death dates specified; 6965: Probably Alive fails when birth date is a range
svn: r23023
2013-09-04 02:54:32 +00:00
John Ralls
d09bfef267 Change grampslocale logger to use __name__ instead of 'grampslocale'
Attempt to suppress 'No handler for logger grampslocale' messages by enrolling the logger in the module hierarchy.

svn: r23016
2013-09-03 23:18:24 +00:00
John Ralls
6203393960 Simplify display_url to just use htmlview or webbrowser
svn: r23015
2013-09-03 22:43:33 +00:00
John Ralls
97c981af3f Avoid bogus rel-calc translation error message in C locale
svn: r23014
2013-09-03 22:43:25 +00:00
Vassilii Khachaturov
1206e00076 minor cleanup
svn: r23013
2013-09-03 20:37:03 +00:00
John Ralls
8c331a5d92 Bug 7036: [Win32]Setting LANG crashes Gramps
Also fixes Bug 6919: No automatic language selection in Windows
Thanks to Helge Herz.

svn: r23011
2013-09-03 17:39:04 +00:00
John Ralls
6422964a40 Bug 7017: Consolidate run_file into open_file_with_default_application
svn: r23009
2013-09-03 16:33:25 +00:00
Vassilii Khachaturov
ceccf0c442 5598: implement User() class for tools
Let gui User take an optional uistate kwarg,
and use it in dbloader and viewmanager.

svn: r23008
2013-09-03 14:17:27 +00:00
Vassilii Khachaturov
b37e4064f1 rm obsolete pre-gramps40 file
svn: r23007
2013-09-03 14:17:15 +00:00
Mirko Leonhäuser
2d1581e0d6 updated german translation
svn: r22997
2013-09-01 13:19:31 +00:00
Doug Blank
8f745a1e07 Webapp: update empty.sql to latest db design
svn: r22995
2013-09-01 13:03:05 +00:00
Doug Blank
4fefbfb647 Webapp: search refinements
svn: r22993
2013-09-01 12:32:28 +00:00
Doug Blank
8e8a2b7c6a Webapp: use cuni for python3 compatibility
svn: r22989
2013-09-01 11:42:09 +00:00
Doug Blank
653cb3882b Use cuni rather than unicode
svn: r22988
2013-09-01 11:20:35 +00:00
Doug Blank
6f7cdb8fd2 7025: issue with python3 and unicode string
svn: r22986
2013-09-01 11:07:40 +00:00
Vassilii Khachaturov
7eb11077c8 clean up tmp test files in the end
svn: r22983
2013-09-01 07:37:58 +00:00
John Ralls
7b4b9d09f0 Fix misguided change to poll_external signature
svn: r22981
2013-09-01 04:32:48 +00:00
Doug Blank
1d3275f88e 7025: 4.0.2 svn 22976M fails to start catastrophically
svn: r22980
2013-09-01 02:35:11 +00:00
Doug Blank
8958407097 Webapp: put .distinct() last to remove duplicate matches in queries
svn: r22977
2013-09-01 02:11:15 +00:00
Doug Blank
4a8d98ec2e Webapp changes to properly show unicode data in html
svn: r22975
2013-08-31 13:41:38 +00:00
Doug Blank
0b0d0c5c05 Create .pyhistory if it doesn't exist
svn: r22974
2013-08-31 13:10:30 +00:00
Vassilii Khachaturov
64d3a217f1 6960: Bless Source with an IndirectCitationBase
svn: r22970
2013-08-30 22:33:58 +00:00
Vassilii Khachaturov
94638ad84e 6960: mergecitations has broken copy of MCQ
The MergeCitations batch tool had a cut-and-pasted code
replicating MergeCitationQuery logic. Naturally, it diverged :-)
Removed MergeCitations.Merge and use MergeCitationQuery instead.

svn: r22969
2013-08-30 22:03:14 +00:00
Nick Hall
b4d924f996 Fix regular expressions in sidebar filters
svn: r22968
2013-08-30 20:34:20 +00:00
Vassilii Khachaturov
4ad659b083 Don't swallow exceptions in child process
If this were in place before I started working on #6960,
it could have saved me almost an hour!!

svn: r22964
2013-08-30 19:25:22 +00:00
Vassilii Khachaturov
db4f8960a6 Refactor IndirectCitationBase out of 3 classes
Refactor common base out of Citation, EventRef, and Repository
class IndirectCitationBase(object):
    Citation management logic for objects that don't have citations
    for the primary objects, but only for the child (secondary) ones.

    The derived class must implement get_citation_child_list method
    to return the list of child secondary objects that may refer
    citations.

    Note: for most objects, this functionality is inherited from
    CitationBase, which checks both the object and the child objects.
Includes:
* has_citation_reference
* replace_citation_references
* remove_citation_references

svn: r22960
2013-08-30 18:33:04 +00:00
Nick Hall
2aaca6aac7 6874: Use shorter names in add gramplet list. Remove old attributes gramplet.
svn: r22959
2013-08-30 18:09:48 +00:00
Nick Hall
90c25b9f8b 6786: Invoke editor on double-click in backlinks gramplet
svn: r22956
2013-08-30 16:06:49 +00:00
Vassilii Khachaturov
2df6db8b40 6960: Error merging citations
Cut-n-pastery of Repository functionality into Citation
to fix the bug pinpointed by merge_ref_test.SourceSourceCheck.

Refactoring to come next...

svn: r22953
2013-08-30 15:49:22 +00:00
John Ralls
38756d53da Bug 7017 GUI stuck when external viewer launched
subprocess.checked_call seems to wait on the process that xdg-open
starts, but subprocess.wait doesn't.

svn: r22949
2013-08-29 23:25:09 +00:00
Vassilii Khachaturov
879218475e flags HAS_CLIMERGE and HAS_EXPORTRAW to skip tests
Thanks, Nick!

svn: r22948
2013-08-29 22:48:54 +00:00
Nick Hall
74d6dd8dd4 Exclude empty checksums from export
svn: r22947
2013-08-29 20:49:54 +00:00
Vassilii Khachaturov
d550a2373a Obsolete checks in __main__
svn: r22945
2013-08-29 19:12:30 +00:00
Doug Blank
eab69c44ac Fix dbdjango to be up to date with bsddb of gramps40: added checksum for Media; SourceAttribute and CitationAttribute gained a private flag; all primary objects got tags
svn: r22944
2013-08-29 19:11:30 +00:00
Tim G L Lyons
3d30663a5c 0006849: citationtreeview with search bar only searches in sources, not citation data
0006848: citationtreeview corrupts when search bar open and edit occurs
0006829: Searching into source/citation selector disallows to select all related citations, only matching rows

by fixing treebasemodel so it properly deals with secondary objects, and also citationtreemodel so it adds secondary odes even when the parent is not present.

svn: r22941
2013-08-29 18:06:43 +00:00
Vassilii Khachaturov
9487b3c1b7 6960: Error merging citations
Error merging citations containing objects with citations.
reapply from gramps40 the fix to MergeCitationQuery
merge_ref_test suite still fails :(

svn: r22938
2013-08-29 16:33:21 +00:00
Doug Blank
0bf91f7708 Make webapp work in trunk, copying changes from gramps40
svn: r22930
2013-08-29 12:23:58 +00:00
Vassilii Khachaturov
6336e35a29 7021: merge r22867 fix of #6863 to trunk
svn: r22929
2013-08-29 12:13:26 +00:00
Nick Hall
94d0a21d08 4735: Check for updates in a separate thread
svn: r22926
2013-08-28 23:34:51 +00:00
Vassilii Khachaturov
f9540a469f RU l10n update - process all fuzzies
svn: r22922
2013-08-28 18:42:53 +00:00
Vassilii Khachaturov
7dfa165710 Restored broken POT generation
removed 2 obsolete files from POTFILES.in
regenerated gramps.pot and ru.po

svn: r22921
2013-08-28 16:39:01 +00:00
Doug Blank
5a1bddb967 7020: Date filtering fails to work on Family Events in 3.4.6 or 4.0.2; typo, missing 'not'; changed date before and after max to be 9999
svn: r22919
2013-08-28 12:00:00 +00:00
Vassilii Khachaturov
62854bb089 7016: new cmdline switches -y/--yes and -q/--quiet
Add to -h output new text about -y and -q

impex.sh switched to use --yes and --quiet

Refactor ArgHandler to reuse User object

ArgHandler now uses user.prompt
No longer custom code duplicating user.prompt functionality

This dropped support for English yes/no and prefixes in the
"OK to overwrite?", as User.prompt allows pressing "Enter"
to accept by default, and everything else except
verbatim accept choice will be treated as reject.

cli.user.User.prompt now supports treating EOF as a reject

prompt message reformatted: added newline after title

Previously, code
	'-q' in ('--qml')
returned True, which was not what ArgParser meant.
Changed the rhs of in to [] from () to avoid this for every case
in ArgParser.parse in the future as well.

Tests run: the new UT added and impex.sh

svn: r22916
2013-08-28 09:24:26 +00:00