Commit Graph

10572 Commits

Author SHA1 Message Date
Tim G L Lyons
249c5dc46b 0002172: Warnings on GEDCOM import. Improve compatibility with standard GEDCOM. Issue warning if both ADDR and ADR1 are supplied, as only one is stored. Store attributes more consistently: store person RIN and REFN:TYPE. Store family REFN:TYPE and RIN. Store source RIN. Fix parsing of HEAD, so that detection and storing of software product and version is not dependant on the sequence in which the tags are encountered. Fix processing of 'Submitter' so that if more than one, the correct one is stored as the researcher. Issue warning when various elements are ignored. Fix level of parsing of top level notes. Also process more of the HEAD header so that if the option for adding a default source on import is set, most of the header is stored as attributes etc. of the default source (the submitter(s) are stored as repositories).
svn: r18841
2012-02-10 00:13:17 +00:00
Rob G. Healey
dc00fd982a Some re-workings on the SourcePage Citations section: Look at the Drop Down menu options using Basic-Blue and Visually style sheets.
svn: r18839
2012-02-09 08:57:53 +00:00
Rob G. Healey
309214e022 Replaced Drop Down Citations with Drop Down Animated Citations.
svn: r18837
2012-02-08 05:04:53 +00:00
Rob G. Healey
00b55b709b Fixed and remove database objects that are not in the report database for class SourcePage's Citation Referents.
svn: r18836
2012-02-08 03:31:13 +00:00
Rob G. Healey
b8736f6166 Added Makefile.am to webstuff/js directory to allow this directory to become part of the Gramps autotools build.
svn: r18835
2012-02-07 18:36:10 +00:00
Rob G. Healey
6b8aa17495 Updated the jquery javascript library up to version 1.7.1.
svn: r18834
2012-02-07 02:09:04 +00:00
Rob G. Healey
cb76bbdae9 Modified all style sheets to match changes made in SourcePage Citation Referents section.
svn: r18833
2012-02-07 01:31:51 +00:00
Tim G L Lyons
108e048a5f 0001571: Option on import to preserve Non-standard data from GEDCOM files (currently discarded without notice). Change the generated NoteType to GEDCOM import.
svn: r18832
2012-02-06 22:46:37 +00:00
Gary Burton
ab6abda558 Remove redundant variable from by_event_id_key
svn: r18830
2012-02-06 20:43:32 +00:00
Gary Burton
be186376c0 Fix by_event_place_key to use correct locale method
svn: r18829
2012-02-06 20:38:42 +00:00
Tim G L Lyons
be08c38207 GEDCOM import remove debug outputs (also a few extra comments)
svn: r18827
2012-02-05 23:35:59 +00:00
Tim G L Lyons
79ca4f32d3 0005553: GEDCOM import does not import references to repositories. rid_map was not being used. Also removed redundant code in __find_or_create_repository()
svn: r18826
2012-02-05 17:51:09 +00:00
Tim G L Lyons
371f6ca414 GEDCOM import. Minor fix for reporting of top level errors.
svn: r18825
2012-02-05 15:55:17 +00:00
Tim G L Lyons
b6df7d2a49 GEDCOM import. Fix handling of notes. Notes could get duplicate Gramps IDs. If a note was going to be assigned the next Gramps ID, then there was no check whether the Gramps ID had already been allocated to a note that had been encountered as a linked note, but not yet committed. Also handle change date and time for notes. Also media objects attached to a source citation were parsed with the wrong level, so they swallowed the following tags (this had been a problem with the previous source references processing).
svn: r18824
2012-02-05 15:38:32 +00:00
Gary Burton
2ff608e798 Ensure dates are sorted by key. Bug #5493
svn: r18822
2012-02-05 12:58:05 +00:00
Rob G. Healey
fd706ae824 Complete re- write of SourcePage Citation Referents section. It now works correctly and the web page source layout is also correct, which afects the page layout.
svn: r18821
2012-02-05 07:00:17 +00:00
Tim G L Lyons
fc74ba6f6e GEPS 023: Citations: GEDCOM import was not working if Preferences->General->'Add default source on import' was set.
svn: r18818
2012-02-03 11:15:42 +00:00
Rob G. Healey
8105d88233 Fixed issue on SourcePage Citation Referents not displaying the person's name.
svn: r18817
2012-02-03 07:19:59 +00:00
Rob G. Healey
ed5a1aa258 Fixed hyperlinks for person and media links in the SourcePage Citation Referents section.
svn: r18816
2012-02-03 06:55:21 +00:00
Tim G L Lyons
142c6c69cf Added a report for GEDCOM import showing lines that were not imported, and build notes containing the unimported data. The notes are attached, where possible, to appropriate objects.
This resolves the following two issues:
0001371: source record ignores useful DATA block
0001571: Option on import to preserve Non-standard data from GEDCOM files (currently discarded without notice)

svn: r18815
2012-02-02 23:02:18 +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
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
Tim G L Lyons
2cda6048bb Add option for monospaced font in InfoDialog
svn: r18811
2012-02-02 12:50:56 +00:00
Tim G L Lyons
b79e930770 Added comments for the level 0 parsing to clarify signposts in the code.
svn: r18808
2012-02-01 22:14:47 +00:00
Jérôme Rapinat
594fe80405 fix a broken url by using sourceforge archives
svn: r18807
2012-02-01 19:14:14 +00:00
Rob G. Healey
8391e45a9b Fixed all errors that were causing crashes. Thank you for taking the time to point them out to me.
svn: r18805
2012-02-01 07:11:46 +00:00
Rob G. Healey
f9bd7e7ec6 More update on SourcePage Drop Down Citations Menu.
svn: r18804
2012-01-31 20:58:29 +00:00
Tim G L Lyons
3b42cdf51f 0005501: Gedcom with embedded and linked notes creates duplicate IDs. The translate parameter is removed from IdMapper, so that IDs are always translated. This still means that import attempts to preserve the IDs in the GEDCOM file (unless there are collisions).
svn: r18803
2012-01-31 18:25:17 +00:00
Rob G. Healey
26c09d359c Fixed and simplified the Drop Down Navigaton menu, which will also work for the Drop Down SourcePage Citations.
svn: r18800
2012-01-30 23:00:46 +00:00
Rob G. Healey
b26fe55a66 Fixedclasses FamilyListPage and FamilyPage.
svn: r18799
2012-01-30 21:21:52 +00:00
Jérôme Rapinat
431ae7b8c2 visual consistency (icons on Sources category)
svn: r18798
2012-01-30 10:49:41 +00:00
Rob G. Healey
a9b6b94ba8 Removed class CitationPage as it will not be created after all.
svn: r18797
2012-01-30 06:38:52 +00:00
Rob G. Healey
216c73d028 Beginning of work to allow Drop Down menu to work with class SourcePage's Citation Referents section.
svn: r18796
2012-01-30 06:35:05 +00:00
Rob G. Healey
27f2603aa3 Clean up work:
* Added docstrings where missing...
    * removed empty lines where needed...
    * removed whitespace...
    * changed several variable names

svn: r18795
2012-01-30 01:45:37 +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
Michiel Nauta
5ead9508be 5536: Abbreviation field in source sidebar filter
svn: r18786
2012-01-28 22:10:56 +00:00
Rob G. Healey
44b33146d6 Remove Web_Source_Citations.css from src/plugins/webstuff/css/Makefile.am to allow autotools to compile Gramps.
svn: r18785
2012-01-28 11:22:33 +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
Rob G. Healey
57525bd032 Edit the outline symbols for SourcePage Citation Referents section.
svn: r18783
2012-01-27 21:56:31 +00:00
Rob G. Healey
06a408f4e7 Remove unnecessary Style Sheet.
svn: r18782
2012-01-27 21:36:37 +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
26733443fb 0002918: Add Gedcom EVENT_TYPE_CITED_FROM and ROLE_IN_EVENT in relation with Source Citation Fields. These are added as data elements with keys EVEN and EVEN:ROLE respectively.
svn: r18780
2012-01-27 20:59:35 +00:00
Jérôme Rapinat
d2297a5a09 Add missing citation file reference for desktop using svg (installation)
svn: r18779
2012-01-27 17:54:35 +00:00
Rob G. Healey
c5176de03a Moved Home link to the Main line of Drop-Down navigation menu.
svn: r18774
2012-01-26 17:35:55 +00:00
Rob G. Healey
9e69e1ddbd Style Sheet that will create the brand new Citations Referents Drop Down menu for class SourcePage for NarrativeWeb.
svn: r18773
2012-01-26 16:50:45 +00:00
Rob G. Healey
f09cdee321 Moved Contact out to the main line Drop down menu. Clean up of the web page output.
svn: r18772
2012-01-26 09:09:36 +00:00
Rob G. Healey
d1fd5c1d94 Drop Down Main Navigation Menu is now working...
* you will need to choose either Basic-Blue or Visually Style Sheet for this to work.
* I could extend this to all Style sheets if it is wanted.

svn: r18771
2012-01-26 08:15:11 +00:00
Tim G L Lyons
8eaa83a5e8 0005533: RTFDoc produces invalid RTF when bold and normal are mixed in a paragraph. start_bold and end_bold changed to store data in the self.text buffer
svn: r18770
2012-01-25 23:28:42 +00:00
Rob G. Healey
520287dacc Added NarrativeWeb menu option for Drop Drop Menus.
svn: r18769
2012-01-25 05:14:54 +00:00
Rob G. Healey
22dd294bc4 Adding Cascading Style Sheet for the beginning of HTML5/ CSS3 Drop Down menus option in NarrativeWeb.
svn: r18768
2012-01-25 04:52:29 +00:00
Rob G. Healey
b5a262a861 Needed to remove gramps-citation.png from this file to get autotools to work.
svn: r18767
2012-01-25 04:12:34 +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
abddb6bcf6 0005528: ODF output fails validation. Added generation of settings.xml, and fixed illegal characters in style-name
svn: r18765
2012-01-24 16:00:11 +00:00
Paul Franklin
00fde7d03a 5434: Complete Individual report does not display photos with PDF or LaTeX file formats
svn: r18764
2012-01-24 06:14:33 +00:00
Paul Franklin
0f4284e842 5526: Complete Individual report sometimes has trailing blank page
svn: r18763
2012-01-23 17:09:03 +00:00
Paul Franklin
ae4f21a428 typo
svn: r18762
2012-01-22 17:18:30 +00:00
Tim G L Lyons
a689ac140d GEPS 023: Updates to source and citation icons to make them more tango-like, following suggestion in http://gramps.1791082.n4.nabble.com/Gigantic-Wow-Geps023-large-sources-tp4033527p4036773.html
svn: r18761
2012-01-22 14:57:41 +00:00
Paul Franklin
e5a490d5da 5317: Multi-line photo captions are not rendered correctly in output reports
patch from Adam Stein <adam@csh.rit.edu>


svn: r18760
2012-01-22 04:03:29 +00:00
Jérôme Rapinat
6bd9bbaf38 5513: notes on places are not exported
svn: r18755
2012-01-19 09:04:12 +00:00
Rob G. Healey
5dc85473b7 Added code to handle when the event has multiple participants such as a census record.
svn: r18753
2012-01-19 08:48:41 +00:00
Rob G. Healey
523406f38c Created line for Marriage of for Marriage event on new SourcePage.
svn: r18752
2012-01-19 03:10:26 +00:00
Rob G. Healey
1d7da62b10 Added section roles to web output. Modified menu navigation so that it will continue to work with all style sheets. Added ability to have Fade menu if there is only one year being created and only if Blue or Visually is being used.
svn: r18751
2012-01-17 10:22:26 +00:00
Rob G. Healey
f23e2b41d3 Fixed the menu navigation for WebCal since changing it for NarrativeWeb.
svn: r18750
2012-01-17 06:22:52 +00:00
Rob G. Healey
473e6906ac Work has been done to make this style sheet more compliant with the W3C CSS validation service.
svn: r18749
2012-01-16 07:50:10 +00:00
Rob G. Healey
2890d56be3 Fixed a typo in class MediaPage(). Thank you Tim Lyons for pointing it out to me.
svn: r18748
2012-01-15 23:56:28 +00:00
Michiel Nauta
1b303788e6 Fix named constant
svn: r18747
2012-01-15 21:03:51 +00:00
Michiel Nauta
aa83c85df3 Fix keyboard shortcut
svn: r18745
2012-01-15 21:01:07 +00:00
Gerald Britton
b2df351e1e Reverting inadvertent changes to WebCal
svn: r18744
2012-01-14 20:34:59 +00:00
Gerald Britton
6831989736 Change HTML5 support so that pages pass the w3c validator tests
svn: r18743
2012-01-14 20:27:24 +00:00
Nick Hall
8cbc7dd2f5 Tidy up code for secondary object nodes (see r18706)
svn: r18740
2012-01-13 22:21:22 +00:00
Rob G. Healey
c68e50450c Reverted Main Navigation Menu back to a two row display if there are more than ten (10) menu items.
svn: r18739
2012-01-12 17:06:58 +00:00
Rob G. Healey
8086ebf6f3 Added a Horizontal Fade-In/ Fade-Out Navigation Menus Style Sheet for use with WebKit Browsers.
svn: r18738
2012-01-12 16:36:54 +00:00
Rob G. Healey
67888772bb Fixed a type in webstuff.py and a little bit of separation of lines.
* Fixed the Vertical menu placement on the page.
* Removed margin-top element from Basic-Blue style sheet.

svn: r18737
2012-01-12 08:29:13 +00:00
Rob G. Healey
e010e38203 Minor clean up of comments...
svn: r18736
2012-01-12 07:50:36 +00:00
Rob G. Healey
debdb384f4 Fixed Events for SourcePage and sorted them by event.get_date_object().get_sort_value().
svn: r18735
2012-01-12 07:06:48 +00:00
Rob G. Healey
cbc018e53a Updated Vertical to handle the new navigation/ alphabet division names. Re- worked the Vertical menu.
svn: r18733
2012-01-10 09:13:56 +00:00
Rob G. Healey
6a98138179 Increased font size of Navigation menus as it was too tiny to see.
svn: r18732
2012-01-10 07:36:39 +00:00
Rob G. Healey
ee8c763b8c Fixed issue in the navigation bar of not showing it horizontally. All style sheets tested and working with menus.
svn: r18731
2012-01-10 07:10:29 +00:00
Paul Franklin
991363e8e7 warn user if nobody selected
svn: r18730
2012-01-09 18:20:21 +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
Michiel Nauta
2d8c56dc6b 3435: Deleting Locked Database from Dialog causes database change
svn: r18727
2012-01-09 18:05:25 +00:00
Paul Franklin
79a6c062c9 5489: some FamilyGroup.py rows have no right border
svn: r18726
2012-01-09 15:04:54 +00:00
Rob G. Healey
f3090242eb Removed coding for splitting the navigation menu: based on user screen resolution; instead it will break up the menu based of a screen resolution of 1024 as suggested by Nick Hall in the past.
svn: r18725
2012-01-09 03:38:17 +00:00
Rob G. Healey
19a5a05b4b Beginning of CitationPage has begun. Waiting for comments from Tim Lyons to continue work on it.
svn: r18724
2012-01-08 09:10:49 +00:00
Rob G. Healey
0fa6c81ae8 Add ability to split the navigation menu if too many items for one line based on screen width.
svn: r18722
2012-01-08 06:58:08 +00:00
Rob G. Healey
ceec3d5547 Have done alot of cleanup work on some parts of NarrativeWeb. Complete re-write of class SourcePage.
* Style sheets:  Noticed that on larger screen widths of more than 1024, that a hard- coded screen width, that the web page is only half the screen or less.  Changed screen width to 100% rather than 965px.  Might look into removing the hard- coded screen size.

* Need to look into changing how many list items are in the navigation menu based on screen width.

svn: r18721
2012-01-08 03:00:11 +00:00
Paul Franklin
9ec782fe92 typo
svn: r18720
2012-01-07 23:41:58 +00:00
Paul Franklin
f34f19d357 better PEP08, shorten some lines
svn: r18719
2012-01-07 22:55:04 +00:00
Jérôme Rapinat
0511d90949 now in 2012
svn: r18718
2012-01-07 07:48:25 +00:00
Tim G L Lyons
86ce952db5 0005351: Focus on event window should be set to "Event type" by default. Discussion also suggests focus for EditSourceRef. This patch applies that focus algorithm to EditCitation, since this, in effect, takes the place of EditSourceRef.
svn: r18715
2012-01-07 00:10:03 +00:00
Tim G L Lyons
9cfdeaa8ab Add ID code for citation object to the preferences dialogue (see posting from Jerome on Gramps Dev mailing list 13 Nov 2011)
svn: r18714
2012-01-06 23:36:51 +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
Rob G. Healey
9d31349d4b Removed surname list on Citation Referents in Source Pages as per request from Tim Lyons.
svn: r18712
2012-01-06 21:40:25 +00:00
Michiel Nauta
5b96f1de10 5478: Multiline text field in reports dialogs not rendered correctly
svn: r18710
2012-01-06 18:16:17 +00:00
Rob G. Healey
a011247f52 Fix errors on class SourcePage and write_data_map(). Thank you Tim Lyons for pointing them out to me.
svn: r18709
2012-01-06 05:46:26 +00:00
Paul Franklin
6b970b3820 cope if no image file exists
svn: r18708
2012-01-06 04:10:20 +00:00
Paul Franklin
daad52ee3e better PEP08 formatting, for 18695
svn: r18707
2012-01-05 19:52:34 +00:00
Nick Hall
809c3bb833 Improve treebasemodel to allow filtering of secondary object nodes. Fix sorting of secondary object nodes.
svn: r18706
2012-01-05 19:16:34 +00:00
Nick Hall
6ddb6dbcd1 Remove redundant variable
svn: r18705
2012-01-05 18:54:43 +00:00