Commit Graph

236 Commits

Author SHA1 Message Date
Tim G L Lyons
82bfe43483 0006061: GEDCOM import: link from FAM to child but missing link from child to FAM causes inconsistent displays. Fixed in GEDCOM import, importxml and Check and repair. (Also minor fixes for improved diagnostics when importxml just completely fails and for exportxml illegal characters in mime_type).
svn: r20438
2012-09-23 22:28:34 +00:00
Tim G L Lyons
df36baafc8 0005785: print statements in Check.py causing a crash in Windows (pythonw.exe) after outputting 4096 characters. Change to logging.warning and logging.info.
svn: r19993
2012-07-12 22:13:58 +00:00
Tim G L Lyons
2a9c9dd07f 0005781: Errors with Merge Citations. Amended so it checks whether the first citation processed for a particular page/volume/confidence/date (as applicable) has notes.
svn: r19762
2012-06-05 18:19:13 +00:00
John Ralls
7bf5c1147e Accept control-click as an alternative for right-click when the Gdk
backend is Quartz.


This is a standard behavior on Macs, since they often have single-button 
mice or trackpads.


svn: r19753
2012-06-04 00:55:10 +00:00
Jérôme Rapinat
5f000ec3f1 5705: Wrong detection of error (burial before death) when checking data
svn: r19657
2012-05-26 09:02:08 +00:00
Nick Hall
06a4af4fce 5752: Store tag names as unicode
svn: r19630
2012-05-23 13:21:22 +00:00
Michiel Nauta
0a2acf41bf 5676: Crashed when verifying data
svn: r19450
2012-05-06 09:46:29 +00:00
Michiel Nauta
75d54125db 5466: On import and Check and Repair need to check references to absent objects
svn: r19327
2012-04-14 12:19:00 +00:00
Michiel Nauta
7d904317b5 5632: Objects with references to missing tags not fixed by Check and Repair
svn: r19065
2012-03-14 20:04:57 +00:00
Michiel Nauta
e9847395da 5629: Citations with reference to missing note/media not fixed by Check and Repair
svn: r19057
2012-03-13 21:39:23 +00:00
Jérôme Rapinat
5e6e83d53e Enable translation on top object
svn: r19007
2012-03-05 17:18:53 +00:00
Jérôme Rapinat
abe45952c0 grammar improvement
svn: r18954
2012-02-23 07:17:17 +00:00
Jérôme Rapinat
003b43714b use 'ngettext'
svn: r18929
2012-02-19 14:20:21 +00:00
Jérôme Rapinat
dc033fe03a typo
svn: r18926
2012-02-19 14:16:58 +00:00
Jérôme Rapinat
f97a4f4511 2356: add comments about genitive form issues under some locales
svn: r18915
2012-02-17 16:51:40 +00:00
Josip Pisoj
53c9c30890 bug #5554: Automake problem
svn: r18851
2012-02-10 20:25:15 +00:00
Tim G L Lyons
fc78bb6052 Changed so that the Merge Citation dialogue box closes on its own when the OkDialog box which reports the number of merges is closed.
svn: r18813
2012-02-02 13:01:38 +00:00
Michiel Nauta
53af0a2189 5397: In "Check & Repair Database" the default path to missing media is always to \gramps\bin
svn: r18729
2012-01-09 18:13:34 +00:00
Tim G L Lyons
975f4dc118 GEPS 023: Updates to Check and Repair, Test Case Generator and repo and Utils
Check and Repair tool

 - new check source and citation reference function, with extensive changes from previous (temporary) check citation references function,
 - low level in-table duplicate handle check removed as this is superfluous because the main database tables do not use the DB_DUP flag,
 - Progress meter added for cross table duplicate checking and  fixed for all checks,
 - diagnostic prints added for all checks to indicate success, and for many to indicate details of failures detected. These prints could be simply changed to Log messages if necessary. Comments added to show how checks relate to Test Case Generator test data,
 - order of checks revised so empty objects are removed first,
 - fix_encoding of media paths and descriptions modified to remove invalid characters (see change to Utils),
 - check and remove empty citations added.

repo.py remove_citation_references added to fix removal of citations on addresses in Repository records.

Utils.py fix_encoding modified to add an option to ignore characters that can't be unicode encoded.

TestCaseGenerator

 - generate families extended to generate family events,
 - options dialogue updated to reflect available features and to make it clearer,
 - block transactions options removed as they were by-passed in the code.
 - progress meter updated to use current function, and to properly update for all options,
 - signal testing code (that wasn't functional anyway) removed,
 - tag generating code called when it needed to be,
 - data error generating code broken up into functions to reflect the functions in the Check and Repair tool that they are designed to test,
 - various test data functions added for testing cross table duplicates, media encoding errors, missing photos, control characters in notes, empty objects, source and citation references and a few missing broken family links tests,
 - some fixes for some test cases (check events, person events were marked as birth events)
 - fix random text so tags don't contain invalid characters and add a styled text option,
 - ensure that some citations are shared,
 - remove old redundant commit_transaction function,
 - media linked to pictures that exist in the Gramps code so that they don't appear as missing images.


svn: r18713
2012-01-06 22:56:08 +00:00
Paul Franklin
d03eb65fa3 avoid version incompatibility
svn: r18658
2011-12-29 01:20:00 +00:00
Michiel Nauta
13f3afe9aa 5349: Filter and "Quick Filter" are not applied when you press [Enter]
svn: r18585
2011-12-12 18:37:53 +00:00
Paul Franklin
c83653f017 for Python files and Makefile.am files in the "src" (only) sub-tree:
1) add SVN svn:keywords "Id" property if it didn't have it
2) add SVN svn:mime-type "text/plain" property if it didn't have it
3) add SVN "Id" line to the file if it had none


svn: r18554
2011-12-06 16:56:50 +00:00
Tim G L Lyons
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
Tim G L Lyons
6cb761b010 Merged trunk r18398 through r18497 into geps023.
Conflicts resolved in:
    NarrativeWeb.py


svn: r18498
2011-11-24 18:15:53 +00:00
Tim G L Lyons
f0bb1205f3 Tidy up some comments
svn: r18497
2011-11-24 14:54:29 +00:00
Tim G L Lyons
9f29350da4 Fix bug that wasn't taking account of the fact that event references in Person and Family have attributes which themselves can have Citations.
* In Person, add event_ref_list to get_citation_child_list (therefore it is no longer needed in get_handle_referents)
* Similarly in Family, add event_ref_list to get_citation_child_list
* Enhance upgrade to add upgrade of event_ref_list for person and family
* Add has_citation_reference, replace_citation_references and remove_citation_references to EventRef
* Change name of remove_citation_refs to remove_citation_references to be consistent with has_citation_reference (singular) and replace_citation_references

Fix editcitation because it was displaying the wrong privacy button for sources.
Also remove FIXME for editcitation for db signal connect, because comment explains why it is not needed.


svn: r18469
2011-11-20 17:42:04 +00:00
Paul Franklin
db106e70f6 5347: Verify.py should test for old age but no death
svn: r18462
2011-11-18 19:35:47 +00:00
Tim G L Lyons
8f69e88555 Diagnostic print for assertion error in Tool/Family Tree Processing/Merge Citations
svn: r18459
2011-11-17 20:53:10 +00:00
Tim G L Lyons
f8f510d5f1 Delete remove_source_references and replace_source_references as they are no longer needed.
Rename remove_citation to remove_citation_refs and make it apply to a citation_handle_list.
Updated tool/Check.py to change check_source_references into check_citation_references


svn: r18433
2011-11-11 17:12:43 +00:00
Tim G L Lyons
3adb1b7ffa Merged trunk r17888 through r18397 into geps023.
Conflicts resolved in:
    /data/grampsxml.dtd
    /data/grampsxml.rng
    /src/Filters/Rules/Repository/_MatchesNameSubstringOf.py
    /src/plugins/import/ImportXml.py
(Various property conflicts also resolved)

svn: r18405
2011-11-05 19:07:58 +00:00
Jérôme Rapinat
886e89cd30 5308 5320 5342 5301 better ATK support, GtkBuilder for gtk+ 2.16
svn: r18397
2011-11-01 13:42:38 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Tim G L Lyons
2c89d2e0b2 Fix merge citations for repositories
svn: r18343
2011-10-18 16:38:18 +00:00
Paul Franklin
331c135235 5128: Python files with no SVN "Id" property (& added MIME text/plain if none)
svn: r18338
2011-10-16 20:21:22 +00:00
John Ralls
315d41790d Add mergecitations.glade to Makefile.am so that it gets installed
svn: r18244
2011-10-02 23:47:52 +00:00
John Ralls
36f45b392a Add MergeCitations.py to Makefile.am so that it gets installed
svn: r18243
2011-10-02 23:15:34 +00:00
Tim G L Lyons
8c36ed6a8e Add MergeCitations tool.
Add note to upgrade information dialogue box to suggest running the tool.
Fixes to Person and Family for get citation child list for merging citations.


svn: r18228
2011-09-30 21:34:21 +00:00
Michiel Nauta
9dd5465216 5140: Import of Gramps XML file with cross table duplicate handles crashes
svn: r18036
2011-08-16 20:06:43 +00:00
Michiel Nauta
5bbe4fc56e 5059: Reordering Gramps IDs fails
svn: r17886
2011-07-01 11:44:26 +00:00
Michiel Nauta
cb3d1f8ce5 5054: ID format conversion creates duplicates
svn: r17884
2011-07-01 11:22:37 +00:00
Brian Matherly
849a3749f6 0004801: Error in Database Verification tool check for max no of yrs between children (Patch from Paul Franklin)
svn: r17471
2011-05-11 02:53:13 +00:00
Nick Hall
3aab8c01b5 4435: Generate random Tags
svn: r17134
2011-04-16 23:07:31 +00:00
Nick Hall
95367b4a60 4435: Convert Markers into Tags
svn: r17132
2011-04-16 19:03:41 +00:00
Doug Blank
a00dcd0c2b Move all trunk plugins to version 3.4
svn: r16874
2011-03-21 20:43:00 +00:00
Gary Burton
0db0e5d70a Import DbTxn from the correct place
svn: r16803
2011-03-10 21:20:44 +00:00
Vassilii Khachaturov
19b928b94a Patch from Egor Reentov <egor.gramps@google.com>:
* Adding l10n to a string in PatchNames.py.
* ru.po: Many strings added / updated. (applied w/minor copyedit)

POT merge, more translation.



svn: r16795
2011-03-10 06:36:16 +00:00
Michiel Nauta
8ffe719ac3 4728: Python evaluation window crashes in trunk
svn: r16793
2011-03-09 18:44:23 +00:00
Michiel Nauta
5badd6ca06 Store changed children during family deletion
svn: r16768
2011-03-06 18:59:10 +00:00
Gary Burton
9565f997f0 Set transaction description properly. Bug 4672
svn: r16734
2011-02-28 21:02:42 +00:00
Doug Blank
db8402e7f5 4694: Tools->Utilities->Verify the Data->crash
svn: r16728
2011-02-28 13:50:54 +00:00