Commit Graph

819 Commits

Author SHA1 Message Date
Nick Hall
c559890644 GEPS008: Moved RecentFiles module
svn: r19787
2012-06-07 20:17:11 +00:00
Nick Hall
1d6a4e60c4 GEPS008: Moved Errors module
svn: r19785
2012-06-07 17:06:16 +00:00
Nick Hall
1ac34dfeb9 GEPS008: Moved DbState module
svn: r19784
2012-06-07 16:08:40 +00:00
Nick Hall
31bf96496b GEPS008: Correct Rule import in filters
svn: r19783
2012-06-07 14:58:10 +00:00
Nick Hall
33f45cb087 GEPS008: Moved QuestionDialog module
svn: r19771
2012-06-05 23:49:12 +00:00
Nick Hall
be6e718433 Remove code no longer required for quick reports
svn: r19736
2012-06-01 17:23:40 +00:00
Doug Blank
aaf600985c Every object should return itself on unserialization
svn: r19734
2012-06-01 15:58:45 +00:00
Nick Hall
65d707d649 GEPS008: Re-structure Simple access and Quick Reports
svn: r19732
2012-05-31 23:46:57 +00:00
Nick Hall
40ca28cd60 GEPS008: Re-structure Gramps locale files
svn: r19727
2012-05-31 15:50:40 +00:00
Doug Blank
5e93dddaff Added an interface for databases to implement additional features/values
svn: r19721
2012-05-31 13:57:05 +00:00
Doug Blank
d7dea255b9 Force style type to int if it should be
svn: r19689
2012-05-28 22:50:51 +00:00
Doug Blank
b8416f7d42 All objects should return self on serialize
svn: r19688
2012-05-28 22:49:47 +00:00
Doug Blank
bb2b773e6d All objects should return self on serialize
svn: r19687
2012-05-28 22:49:09 +00:00
Doug Blank
bbd443ba7d All objects should return themselves on unserialize()
svn: r19672
2012-05-27 14:01:09 +00:00
Paul Franklin
0027f983c0 syncronize user.py abstraction with CLI and GUI reality
svn: r19671
2012-05-27 13:39:40 +00:00
Nick Hall
02d0af7c0a GEPS008: Fix Gedcom Import/Export problem
svn: r19670
2012-05-27 11:33:12 +00:00
Nick Hall
c2b4f96ddc GEPS008: Re-structure merge files
svn: r19665
2012-05-26 21:24:01 +00:00
Nick Hall
355bbd6d7b GEPS008: Re-structure date handler files
svn: r19651
2012-05-25 23:19:10 +00:00
Nick Hall
0d89ea1884 GEPS008: Fix for lower case filenames update
svn: r19648
2012-05-25 22:37:41 +00:00
Nick Hall
b29c7969ed GEPS008: Convert filter filenames to lower case
svn: r19639
2012-05-24 20:11:28 +00:00
Nick Hall
a2825098ec GEPS008: Re-structure filter files
svn: r19638
2012-05-24 17:24:47 +00:00
Doug Blank
b028ce0730 map objects need a db field
svn: r19634
2012-05-24 13:08:57 +00:00
Nick Hall
50773ebd51 5752: Store tag names as unicode
svn: r19631
2012-05-23 13:21:36 +00:00
Paul Franklin
7af7459eb2 put style names in alphabetical order
svn: r19628
2012-05-22 22:10:12 +00:00
Paul Franklin
f471592d68 5718: crashes on startup
svn: r19624
2012-05-22 16:38:24 +00:00
Paul Franklin
f23562019e 5755: some report "custom paper" sizes are saved incorrectly
svn: r19623
2012-05-22 15:51:59 +00:00
Doug Blank
de196aea96 5746: Use the new User classes for Importers and Exporters
svn: r19567
2012-05-18 01:21:30 +00:00
Doug Blank
8cebcd57db 5746: Use the new User classes for Importers
svn: r19560
2012-05-17 20:57:23 +00:00
Michiel Nauta
96f9d72540 Add warning on db env opening failure
svn: r19551
2012-05-17 09:53:36 +00:00
Doug Blank
afa2ea05a9 Fix proxy to implement all functionality to use correctly as a real Gramps database
svn: r19498
2012-05-11 13:31:30 +00:00
Nick Hall
dd370f44b5 Change English spellings to American spellings
svn: r19487
2012-05-10 18:52:03 +00:00
Paul Franklin
4151874ad1 typos
svn: r19368
2012-04-20 16:13:11 +00:00
Jérôme Rapinat
0145b5ea22 Use named_arguments for translators (patch by MathieuMD)
svn: r19358
2012-04-19 13:44:56 +00:00
Jérôme Rapinat
06c0aa4d54 translation issues (patch by MathieuMD), see devel mailing list
svn: r19352
2012-04-18 17:27:47 +00:00
Michiel Nauta
a5cdd339ed 5466: On import and Check and Repair need to check references to absent objects
svn: r19328
2012-04-14 12:20:10 +00:00
Michiel Nauta
10b88a5cc0 is_equal called on handle
svn: r19262
2012-04-07 11:27:17 +00:00
Jérôme Rapinat
b97ff5fd63 non ASCII characters in a string, see http://www.gramps-project.org/wiki/index.php?title=Coding_for_translation#How_to_allow_translations
svn: r19134
2012-03-24 08:39:15 +00:00
Rob G. Healey
e383c8fd44 Added encoding for this file so that gramps will work. Non-ASCII character '\xe2' in file /home/Frog/Downloads/gramps-3.4.0/gramps/gen/plug/docgen/graphdoc.py on line 67, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details.
svn: r19129
2012-03-24 05:07:19 +00:00
Jérôme Rapinat
88d9b23ac8 5081: check and use unfiltered persons on private __is_living (by MD Nauta)
svn: r19124
2012-03-23 16:13:40 +00:00
Jérôme Rapinat
612774f11b 5648: improvements, enhancements, more accurate strings
svn: r19120
2012-03-23 15:26:12 +00:00
Jérôme Rapinat
b7f7ce860f 2356: add comments about genitive form issues under some locales
svn: r18914
2012-02-17 15:48:43 +00:00
Tim G L Lyons
9c57935c95 GEDCOM Import
0005456: Default log level after installation results in disk being filled on import (various problems manifested by geni.com data)
0005030: Remove warning of libgedcom.py from family tree builder (_UID, RIN, EMAIL and WWW from FTB)
0003553: Import media files from GEDCOM (web located media for geni.com)

* Add EMAIl and WWW for RESI events (for FamilyTreeMaker)
* Detect missing FORM or FILE for Multimedia objects and produce warning reports (FORM and FILE are mandatory for GEDCOM, but are difficult to locate without messages) (for geni.com imports among others)
* Handle multimedia images that are given by web addresses (for geni.com imports among others)
* Produce warning reports when DATE, TYPE and PLACe are ignored for the event details of attributes
* Handle change date/time on notes  (for geni.com imports among others)

svn: r18904
2012-02-17 00:25:02 +00:00
Nick Hall
fc3d17f1df 5326: Add table of contents and index support for ODF documents
svn: r18887
2012-02-14 23:14:57 +00:00
Jérôme Rapinat
3a6f1e69f5 use translated string for custom attribute type after merging
svn: r18885
2012-02-14 14:03:53 +00:00
Jérôme Rapinat
7856971064 use translated stringfor custom attribute type after merging
svn: r18882
2012-02-14 12:23:32 +00:00
Nick Hall
8a443da4d2 5326: Add Alphabetical Index and Table of Contents generation for pdf reports
svn: r18870
2012-02-12 21:55:07 +00:00
Josip Pisoj
53c9c30890 bug #5554: Automake problem
svn: r18851
2012-02-10 20:25:15 +00:00
Nick Hall
da75a38762 5326: Revert r18842
svn: r18848
2012-02-10 19:57:57 +00:00
Nick Hall
3767c1d1e4 5326: Add Alphabetical Index and Table of Contents generation for pdf reports
svn: r18842
2012-02-10 14:53:58 +00:00
Tim G L Lyons
5daa484bce Change to use monospaced font in InfoDialog in upgrade 16 report. (The report was designed for a monospaced font)
svn: r18812
2012-02-02 12:53:24 +00:00
Michiel Nauta
9dfa6c1c32 5543: Error on merging media objects
svn: r18794
2012-01-29 16:25:26 +00:00
Michiel Nauta
56f98a2afb Updated gen/lib/test/merge_test.py
svn: r18793
2012-01-29 16:19:08 +00:00
Rob G. Healey
dfd838e74d Removed referenced.py from the src/gen/proxy directory to allow autotools to compile Gramps.
svn: r18784
2012-01-28 11:19:55 +00:00
Gary Burton
b07ae69371 Removed referenced proxy in favour of referencedBySelection
svn: r18781
2012-01-27 21:03:57 +00:00
Tim G L Lyons
1ff2b969c4 0005529: Implement clickable links in reports, at least for odf. Implemented for odf output only, using mark.type LOCAL_HYPERLINK and LOCAL_TARGET.
svn: r18766
2012-01-24 18:13:23 +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
daad52ee3e better PEP08 formatting, for 18695
svn: r18707
2012-01-05 19:52:34 +00:00
Paul Franklin
ac7660c0fd clarify error typeout
svn: r18695
2012-01-03 18:27:36 +00:00
Doug Blank
37ed4e58ca 5476: Allow user to set a default relationship type
svn: r18687
2012-01-02 15:12:18 +00:00
Michiel Nauta
1f1fc901d9 1995: DB remains locked if it is incompatible
svn: r18680
2012-01-01 22:13:46 +00:00
Nick Hall
24976ab0a6 5472: Update gramplets when database changed so that they correctly show if they have data. Also remove superfluous updates.
svn: r18679
2012-01-01 17:58:33 +00:00
Paul Franklin
a0a19bce77 improve CLI "indefinite" progress typeout finish
svn: r18647
2011-12-21 05:39:22 +00:00
Doug Blank
42c397f830 Return self from serialize to work with the create method
svn: r18587
2011-12-12 23:20:18 +00:00
Paul Franklin
1ee2a4ec30 revert 18559 and 18560
svn: r18578
2011-12-11 19:09:19 +00:00
Doug Blank
4409f30bc2 5423: Incorrect age for 'death before XX'
svn: r18576
2011-12-11 15:58:16 +00:00
Doug Blank
3536e8e58b Added missing get_XXX_cursor methods to proxybase
svn: r18569
2011-12-11 03:57:38 +00:00
Paul Franklin
82eaf45b20 enhance error message
svn: r18560
2011-12-09 19:31:07 +00:00
Paul Franklin
b620bf6115 enhance error message
svn: r18559
2011-12-09 17:11:59 +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
f37ab70446 Merged trunk r18499 through r18539 into geps023.
Conflicts resolved in:
    gramps.pot


svn: r18540
2011-12-02 00:10:04 +00:00
Tim G L Lyons
26cb74474b Removal of redundant SourceRef and related modules. Minor consequent changes.
svn: r18516
2011-11-27 17:49:25 +00:00
Tim G L Lyons
a48553ed90 Update DetAncestralReport, DetDescendantReport, IndivComplete and endnotes for citations.
svn: r18513
2011-11-26 18:35:30 +00:00
Paul Franklin
54746c1590 typo
svn: r18512
2011-11-26 18:00:07 +00:00
Tim G L Lyons
99d42f6091 Updates to NarrativeWeb and _bibliography for citations.
svn: r18499
2011-11-25 17:29:30 +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
14954cdd91 Fix problem with cancelling a citation edit where it thought the citation had been changed even though it had not.
svn: r18489
2011-11-22 22:32:36 +00:00
Tim G L Lyons
61e6a0a1c0 Update src/gen/proxy/* for citations
svn: r18485
2011-11-22 14:59:18 +00:00
Paul Franklin
a76cea3fae typo
svn: r18470
2011-11-20 17:52:13 +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
Michiel Nauta
32b5905aea 5368: Loading familytree with downgraded Berkeley db should generate expressive error
svn: r18467
2011-11-20 09:33:31 +00:00
Michiel Nauta
a7ce1af962 5291: JPG is not imported
svn: r18457
2011-11-16 17:58:58 +00:00
Tim G L Lyons
4a69d45fe6 Upgraded Source and Citation reference Quick Views to work with citations (actually, for citationtreeview, this is a source_or_citation reference, to avoid having to change the way listview calls the pop up menu items).
Also minimal changes to SimpleAccess and SimpleTable to support these references views.

svn: r18447
2011-11-15 12:08:43 +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
b4f434357f Remove has_source_reference because it is only used in mergesource, and it is better to make the test directly, because only citations have source references and they only have one reference.
svn: r18417
2011-11-08 17:39:17 +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
Tim G L Lyons
4169661302 Update uses of get_source_referents to handle citations:
* implement new Utils get_source_and_citation_referents
* Update sourceview.py and citationtreeview.py to use it
* Fix editsource.py, where deletion of a source object was not properly dealing with all possible citations
* Update mediaobj.py which still had a remnant of a source_list
* fix _HasTextMatchingSubstringOf filter to deal with text in both sources and citations

svn: r18394
2011-11-01 11:10:18 +00:00
Paul Franklin
6a651d80e7 malformed SVN "Id" line
svn: r18392
2011-10-31 15:33:09 +00:00
Paul Franklin
bb0b9de18b malformed SVN "Id" line
svn: r18391
2011-10-31 15:27:48 +00:00
Brian Matherly
93ec059b3d Remove ErrorDialog and WarningDialog from reports. Replace with User.warn() and User.notify_error().
svn: r18388
2011-10-31 02:40:19 +00:00
Brian Matherly
0b8ea1202d Implement new "User()" class for reports to indicate progress and prompt the user. This allows the removal of from "gui.utils import ProgressMeter" from reports so that they don't depend on gui.
svn: r18378
2011-10-29 05:02:33 +00:00
Paul Franklin
22b0f8476c 5031: Some reports should not register the page orientation to non-default (Landscape)
svn: r18366
2011-10-23 20:38:22 +00:00
Jérôme Rapinat
f455cb269c 5293: wording improvements
svn: r18364
2011-10-23 07:51:22 +00:00
Paul Franklin
ba60ec4c07 missing or malformed SVN "Id" line
svn: r18361
2011-10-23 03:13:50 +00:00
Paul Franklin
4997134564 corrected SVN "Id" property
svn: r18357
2011-10-22 15:10:59 +00:00
Paul Franklin
1a4f9cdca7 added GPLv2 and SVN Id line
svn: r18345
2011-10-18 18:14:07 +00:00
Tim G L Lyons
2c89d2e0b2 Fix merge citations for repositories
svn: r18343
2011-10-18 16:38:18 +00:00
Tim G L Lyons
5e0c4d074a Updated Filters and Filters/Rules for citations
* renamed HasSourceBase to HasSourceCountBase to reflect function, and because HasSourceBase is changed to be more widely used
* consequent renaming of filters for various object types
* changed source filters to a new 'Citation/source filters' category
* added Citation/_HasSource to check whether Citation refers to a Source with particular properties
* added Person/_HasCitation, Event/_HasCitation and Family/_HasCitation to check whether object refers to a Citation with particular properties
* updated Citation/_MatchesSourceFilter
* updated Rules/_MatchesSourceConfidenceBase
* updated Rules/_MatchesSourceFilterBase
* updated Citation object and citationbase.py for source references
* updated Person/_HasSourceOf 

* updated comments in Filters/Rules/__init__.py to document how the various rules are used.


svn: r18339
2011-10-16 21:09:49 +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