Compare commits

..

3086 Commits

Author SHA1 Message Date
SNoiraud f5e53e53bc FR10850 V2: freeze/unfreeze button per gramplet
Fixes #10850

This is the second method to avoid reloading gramplet automaticaly.
2018-10-31 20:36:45 +01:00
prculley 263a082afe Merge in changes from Gramps50 2018-10-29 09:32:35 -05:00
SNoiraud f2bc982c3d NarrativeWeb fixes
Space between place, description and the event note when there are
many sources.
Change the css order between print and screen.
The chosen theme can erase prior values.
Add a width for the source column in all themes.

Fixes #10810
2018-10-21 18:43:11 +01:00
Richard Clay dd9ddab849 In personsidebarfilter, search on each part of name
Instead of requiring that the entire search string matches a single one of the Person's names, the function will require that each word in the search string matches any of the Person's name fields.

Fixes #7950
2018-10-20 21:30:20 +01:00
niememat 3046b0586c Fix translation in Finnish 2018-10-17 11:31:54 +03:00
Malte Renken cfa278886b RelGraphReport: Add an option to omit "irrelevant" family nodes 2018-10-12 20:58:04 +01:00
MJBMZ 1c430a6b91 Replace rounded corners checkbox by dropdown
It now allows rounded corners to be set more explicitly for
different genders (None/Male/Female/Both).
2018-10-12 20:25:51 +01:00
jose1711 b0eb712933 Do not use hyphen for living persons in hourglass graph 2018-10-12 19:36:42 +01:00
Jgon6 51a7ad9483 Include death anniversaries as an option in the birthdays report
Added the optional ability to list the anniversry of peoples deaths in
the birthday and anniversary report

Resolves #3540
2018-10-12 19:19:59 +01:00
Jgon6 d6e9d62fad Add an option to show years in the birthday report
Added an option to the birthday report that allows for the year of birth
(or in the case of a wedding it's year) to be printed in the report.

Resolves #5948
2018-10-12 19:19:59 +01:00
Jgon6 3bac4a1036 Added symbols to the birthdays report showing the type of event
Issue #3540
2018-10-12 19:19:59 +01:00
Jgon6 1995a7068c Birthday report dead indicator now user defineable
Fixed the birthday report so the dead icon is able to be set within the
options window
2018-10-12 19:19:59 +01:00
Jgon6 5dc06d023d Indicate if a person is dead in the birthdays report
Added a text option to have a string that will show after a persons name
in the birthday and anniversary report. This works for both birthdays
and anniversaries.

Issue #3540
2018-10-12 19:19:43 +01:00
SNoiraud d98a1857dc Make relationships optional in narrative web
Fixes #10454
2018-10-12 18:46:39 +01:00
Paul Franklin 7da8811327 Setting the year as an ordinal number in Croatian
With this commit, the "master" version of the Statistics Chart
report will show a year as an ordinal number in Croatian.

So our translators will have until 5.1.0 is released to translate
the two new strings, in all the supported gramps languages.

Issue #10822
2018-10-07 23:45:40 -07:00
Paul Franklin 375773d657 Setting the year as an ordinal number in Croatian
With this commit, two more reports now show a year as an
ordinal number in Croatian, and a year I missed before in
webcal.py is now fixed.

This commit also reverts the Croatian ordinal year fix in
the gramps50 statisticschart.py since upon reflection I
feel it would be better done in master, since then our
translators will have until 5.1.0 is released to do the
two new strings the fix requires.

Issue #10822
2018-10-07 23:43:36 -07:00
Paul Franklin 01060f0b0d name-note is not being cleared in Complete Individual report
I ran gramps with a fresh copy of the example.gramps tree,
then ran the Complete Individual report.  The options which
matter are "Entire Database" and "Include Notes" but I also
included the gramps-ID since that speeds up my work.

Then I noticed that hundreds of names at the end of the
output file all had the same note (N0001), whose text said
it referred to a specific person.

So I looked higher and the note inclusion started with I0044,
the default person.  It was real for him but not for the next
person after him, or all the people after her.

I introduced the problem when I fixed 10033, in d6a97cf90e.

Note that this bug is independent of the CIR fix in p.r. 676
and still happens even after that pull request is applied.
2018-10-07 23:36:32 -07:00
prculley 36779c1229 Fix View Column sizing so last column size setting is maintained
Fixes #10800
2018-10-07 18:14:01 +01:00
prculley 5b7f5164db Fix view so column widths are preserved when using filters
Fixes #10725
2018-10-07 18:13:51 +01:00
prculley 15db2dd603 Disable OSX specific menu items, added in 'Gramps' menu 2018-10-07 16:49:12 +01:00
prculley 97b15322d4 Add config option to use Toolbar Text 2018-10-07 16:49:12 +01:00
prculley 824bf7e40f Geps044 - Replace deprecated Gtk.UIManager, Gtk.Actions etc. 2018-10-07 16:49:12 +01:00
milotype 56fa261ef2 Better typography in graph reports
Replace hyphen with en-dash.
2018-10-07 16:16:19 +01:00
vantu5z 1e9a3841cd update Russian translation 2018-10-05 14:10:57 +03:00
Paul Franklin e6ddedf6c6 fix typo
in cbac98894b
2018-10-04 17:49:35 -07:00
Paul Franklin 325c3f22cc fix the place-format option in DDR and DAR
The place-format option was added to the Detailed Descendant
and Detailed Ancestor text reports in cbac98894b

But those two reports use the Narrator class to show many of
their places (and dates), and that class was not modified to
use the user's custom place format.

So if a user had created a custom place format and ran
either of those two reports, their places would be shown
inconsistently.  This commit fixes that.

(The non-detailed ancestor text report also uses Narrator to
show its places but that report has not had the place-format
option added to it, so this commit doesn't touch it.)
2018-10-04 09:23:38 -07:00
Paul Franklin 54be8d62f3 Setting the year as an ordinal number in Croatian
With this commit, three more reports now show a year as an
ordinal number in Croatian.

Issue #10822
2018-10-04 09:21:29 -07:00
prculley a40eca36d9 Fix bsddb for person sort with empty Surname list
Fixes #10078, #10577
2018-10-03 19:32:36 +01:00
Paul Franklin 4b17ca4724 Setting the year as an ordinal number in Croatian
When I started investigating 10822, I saw some Croatian dates
didn't seem to be working in 5.0.0, to my surprise.  I believe
I fixed that in the previous commit.

With this commit, the three reports now show a year as an
ordinal number in Croatian, so I consider 10822 fixed.

If there are any additional problems displaying Croatian,
please file additional bug reports ("one bug, one report").

Fixes #10822
2018-10-01 11:01:18 -07:00
Paul Franklin 69aaec11a5 Setting the year as an ordinal number in Croatian
When I started investigating 10822 I saw some Croatian dates
didn't seem to be working in 5.0.0, to my surprise.  There
seems to have been some kind of regression from 4.2.8.

But the Croatian translation for gramps hasn't been updated
in about three years -- except by non-Croatians.  So I don't
know why some "translated" strings which control how dates
are displayed were disabled (marked as "fuzzy") in this:
6c67053e1f

Also, I saw some code in the 4.2.8 Croatian date handler
which was not in the 5.0.0 Croatian date handler -- somehow.

So I believe this commit fixes the Croatian date handler.

Issue #10822
2018-10-01 10:59:51 -07:00
Serge Noiraud 896b77a165 Webcal: link problems in some cases (#661)
* Webcal: link problems in some cases

Year 2016 is highlighted by default instead of current year.

Fixes #10801

* Webcal: Missing links when muliyear unselected
2018-09-30 10:20:09 +02:00
Serge Noiraud 1b60193f77 Geoclose: exception when a family has no father (#662) 2018-09-29 19:20:50 +02:00
Robin van der Vliet 1efab19f1e Esperanto Translation Update eo.po (#660)
Made a lot of corrections and other stylistic improvements to the Esperanto file.
2018-09-27 11:21:15 +10:00
Paul Franklin e667431dd5 Report plugin krasch
Load data.gramps, start with the default person (I0037,
Edwin Michael Smith), run Family Descendant Tree, choose
"Start with the parent(s) of the selected first", hit OK:

.../descendtree.py", line 881, in start
    family2 = self.database.get_family_from_handle(family2_h)
...

Or start with I0057 (Anna Louise Smith), run Family Descendant
Tree, choose "Start with the parent(s) ...", hit OK:

.../descendtree.py", line 773, in start
    family2 = self.database.get_family_from_handle(family2_h)
...

Fixes #10811
2018-09-26 17:11:42 -07:00
Paul Franklin cc7e4fda85 [unhandled exception parsing "future dates" in some locales]
There is already a check in the MonitoredDate class for years
which are more than one year in the future, so such a date is
already going to be shown in red.

But some locales use the "datetime" library to parse typed-in
dates and that has a maximum year of datetime.MAXYEAR, 9999
currently, so dates greater than that produce a ValueError.

Besides adding checks for that, I have also made it so that
locales which don't need that library don't use it.

Fixes #10815
2018-09-26 14:04:52 -07:00
Paul Franklin 2490e2d07d Julian/Gregorian calendar issue when entering only year as date
when running gramps in Norwegian

Fixes #10687
2018-09-24 10:13:48 -07:00
Serge Noiraud e5c5a210b4 Events difficult to read (screen and mobile) (#658) 2018-09-23 12:27:55 +02:00
Paul Franklin 04a40c7a50 fix typo
in cf42e5a4b8 and cbac98894b

Fixes #10782
2018-09-17 21:33:44 -07:00
Leonhaeuser 44c8e3c0f0 update German translation 2018-09-08 17:03:48 +02:00
niememat 6f7242a773 New update for Finnish translation 2018-09-06 22:11:47 +03:00
niememat 358c3fc967 Update finnish translation 2018-09-06 21:58:36 +03:00
Paul Culley f1ca280441 Fix and restore Statistics Gramplet to 4.2.x status (#653)
Fixes #10754

A bit of history. bug 2060 was filed a long time ago (2008), and a patch was added to close it in 2016. I believe that the bug had already been patched by then, although I cannot be sure. The patch caused the Gramplet to update anytime the active-changed signal occurred on a person view. I suspect that this caused a fair amount of overhead on very large dbs as the entire person list was rescanned.

In any event, Doug Blank recently removed the original scan code, as well as some useful functionality. And left behind a bug where a value was always zero. The users email list had some complaints about the lost functionality, and I also saw some recent complaints that the gender statistics were incorrect. Turns out that the db's genderstats data was incorrect, probably due to crashes after db updates. The Genderstats don't get saved until db closes normally. In addition, running the Genderstats rebuild tool, did not immediately appear to correct the situation, Gramps had to be restarted to show the updated results.

I added the original statistics code back into the Gramplet, suitably updated for 5.0.x. So the Gramplet no longer depends on dbs genderstats, it scans for it now on its own.

I removed the update on active-changed function, so overhead is only present on actual db updates (which have their own signals). I tested that the add, edit, and delete person changes do properly cause the statistics to update now. So the active-changed signal is not necessary.
2018-09-06 08:59:41 +10:00
Paul Culley 482cecaa7e Fix Check and Repair to deal with bad references empty handle string (#657)
Fixes #10783

Check and Repair tool doesn't fix bad references when the reference handle is an empty string.
Found when rewriting the backlinks scan on same tool. I assumed that the prior checks had already corrected any bad forward references, and did not put in a test for them in my new code. The Travis test failed and when I debugged, I found that the tool had an exception on a handle that consisted of an empty string.

Its interesting to note that when I changed the code, a lot more citation and source references were fixed in the test.
2018-09-05 12:07:03 +10:00
Paul Culley b6c57ab3c3 Speed up Check and Repair, backlinks check stage. (#656)
Fixes #10618

* Speed up Check and Repair, backlinks check stage.

* Fix Check and repair; backlinks scan to deal with bad references
which should have been fixed in earlier checks!
2018-09-05 11:40:57 +10:00
Paul Culley f3b5f75e37 Fix strings containing deprecated illegal escape sequences (#648)
Python 3.6 and above has deprecated illegal string escape sequences. Escape sequences are preceded by a '\' and valid ones are "\n\t\r" etc. Illegal ones are not in the list https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals.

Previous to Python 3.6 these illegal sequences were ignored and the '\' was left in place. Pylint has been noting these for a while now.

This PR corrects these sequences in Gramps. I used

find . -name "*.py" | xargs -t -n 1 python3 -Wd -m py_compile 2>&1 | grep Depre

to locate the failing strings.
2018-09-04 12:03:17 +10:00
Ivan 7d9f4dcc80 [Whatsnext] check if db is open (#651)
Fixes #10732
2018-09-04 11:38:42 +10:00
Paul Culley 224748eb96 Fix usage of posixpath; should be os.path for os independence (#650)
Fixes #10740
2018-09-04 11:20:34 +10:00
Paul Culley 2aec83f057 Fix generate_checksum routine to avoid MemoryError crash (#649)
with very large files and 32-bit OS

Issue #10690
2018-09-04 10:41:27 +10:00
Paul Culley fd399323a6 Fix corrupted Bookmarks that can happen after Gramps crash (#655)
Fixes #10759
2018-09-04 10:16:21 +10:00
Paul Culley bb6b3edee2 Fix Merge Family when same parent is missing from both families (#654)
Fixes #10760
2018-09-04 10:02:39 +10:00
Paul Culley 3f7ea4418c Fix <ctrl>c in view to get selected item to clipboard (#652)
Fixes #10682
2018-09-04 09:43:49 +10:00
Paul Culley efcc115aa7 Fix Quickview Gramplet so updates work when changing active (#642)
Fixes #10713
2018-09-04 09:22:27 +10:00
Paul Culley 893c715a61 Fix place reference editor for bad cut/paste on set_latlongitude (#644)
Fixes #10719
2018-09-04 09:08:50 +10:00
Paul Culley 6bab78df21 Fix Find Database Loop Tool (bad import of _collections) (#643)
Fixes #10722
2018-09-04 08:53:22 +10:00
niememat 29019eed98 Fix translation in Finnish 2018-09-03 22:09:37 +03:00
Bernard Banko d8c006e0f7 Slovenian translation fixed to allow building mo 2018-08-25 22:27:31 +02:00
Bernard Banko b8438dddeb Slovenian translation updated 2018-08-25 22:14:42 +02:00
niememat 4ba28c637e Fix translation in Finnish 2018-08-18 12:29:06 +03:00
niememat ae84040bc7 Fix translation in Finnish 2018-08-11 18:25:28 +03:00
prculley 51e294f748 Fix up bad translation files after merge 2018-08-09 10:54:12 -05:00
Leonhaeuser cb65fd93ca Reviewed German translation Thanks to bmendl 2018-08-09 10:35:49 -05:00
niememat 5b9600d835 Fix translation in Finnish 2018-08-09 10:35:15 -05:00
John Ralls cf80d17040 File copy doesn't work if the glob can match directories. 2018-08-09 10:35:14 -05:00
John Ralls d4f906f22d Install the docs/gramps directory in the bundle.
Fixes bug #10705.
2018-08-09 10:35:14 -05:00
niememat d189e334d8 Fix and updated translation in Finnish 2018-08-09 10:35:14 -05:00
Ross Gammon a48a94d872 Update the Debian changelog after the 5.0.0 release 2018-08-09 10:35:13 -05:00
John Ralls 8e5dc220dc Release Gramps-5.0.0 on Mac. 2018-08-09 10:35:13 -05:00
Nick Hall dca2f610dc Bump to 5.0.1 2018-08-09 10:34:31 -05:00
Nick Hall 3d1833e307 Release Gramps 5.0.0 2018-08-09 10:33:57 -05:00
Nick Hall aa221cc3c7 Update Changelog and NEWS files 2018-08-09 10:33:19 -05:00
Nick Hall 51b7d1c420 Update translation template for new release 2018-08-09 10:30:58 -05:00
niememat 674d286f87 Fix translation in Finnish 2018-08-09 10:30:58 -05:00
John Ralls 0161c4b917 Correct binary test logic for primary mask.
state & get_primary_mask(another) tested (state & (primary | other)),
which will be true if state matches *either* primary *or* other, but
what is wanted in a not-negated test is state matching all bits of
(primary | other). match_primary_mask does that.

On the other hand there are also cases of "not state & (primary | other)".
no_match_primary_mask handles that, returning true if state matches none
 of the bits in (primary | other).

Fixes #10646.
2018-08-09 10:30:57 -05:00
prculley de31a42fc8 Fix BaseSelector to avoid long delay before display on large trees
Fixes #10634
2018-08-09 10:30:57 -05:00
SNoiraud 9c508de5fd Export options > Gui alignment issue
Fixes #10576
2018-08-09 10:30:57 -05:00
niememat 1b00d95ce4 New fix translation in Finnish 2018-08-09 10:30:57 -05:00
Espen Berg 78870decb8 Revised Norwegian bokmål 2018-08-09 10:30:56 -05:00
Espen Berg 1a5696eb2c Revised Norwegian bokmål 2018-08-09 10:30:24 -05:00
niememat 269d38da2c Fix translation in Finnish 2018-08-09 10:27:26 -05:00
Nick Hall 99f77b0a88 Fix dialog button order on non-Mac systems
Resolves #10585.
2018-08-09 10:27:25 -05:00
De Tran 264fdda4d0 Fix and update Vietnamese translation
Resolves #10681.
2018-08-09 10:27:24 -05:00
Sveinn í Felli 8092b88ad4 Update Icelandic translation 2018-08-09 10:12:17 -05:00
jose1711 3251e2ae88 Fix and update Slovak translation 2018-08-09 10:09:53 -05:00
jose1711 f718c5f8b4 Fix typo in translation 2018-08-09 10:09:53 -05:00
niememat a96a446b47 Fix translation in Finnish 2018-08-09 10:09:53 -05:00
niememat 5658411acf Fix translation in Finnish 2018-08-09 10:09:53 -05:00
niememat a4403d719e Fix translation in Finnish 2018-08-09 10:09:52 -05:00
Luigi Toscano 8597a10c40 Update Italian translation 2018-08-09 10:09:52 -05:00
Nick Hall d0c0045dc1 Update English (British) translation 2018-08-09 10:09:52 -05:00
De Tran 868abdc0d9 Update Vietnamese translation 2018-08-09 10:08:37 -05:00
Kaj Mikkelsen ebf88bf5c5 Update Danish translation 2018-08-09 10:08:35 -05:00
Lajos Nemeséri c3814a4e42 Update Hungarian translation 2018-08-09 10:07:53 -05:00
John Ralls 2a0b3afa4b Switch included moduleset to gitlab.gnome.org.
Fixes bug #10733.
2018-08-09 07:24:39 -07:00
John Ralls 52fe365919 Switch included moduleset to gitlab.gnome.org.
Fixes bug #10733.
2018-08-09 07:21:18 -07:00
Leonhaeuser 414aac4c7e Reviewed German translation Thanks to bmendl 2018-08-08 23:33:21 +02:00
niememat 037e26a5a3 Fix translation in Finnish 2018-08-08 14:43:17 +03:00
John Ralls 158d3a993b File copy doesn't work if the glob can match directories. 2018-08-05 13:18:01 -07:00
John Ralls 2ef35174d1 Install the docs/gramps directory in the bundle.
Fixes bug #10705.
2018-08-05 10:03:26 -07:00
niememat 3249938b88 Fix and updated translation in Finnish 2018-08-05 16:45:06 +03:00
Ross Gammon 9b18083e48 Update the Debian changelog after the 5.0.0 release 2018-07-25 21:56:42 +02:00
John Ralls 04bdeb8321 Release Gramps-5.0.0 on Mac. 2018-07-25 07:53:42 -07:00
Nick Hall 67061d58e2 Bump to 5.0.1 2018-07-24 15:11:18 +01:00
Nick Hall 0a66bad41a Release Gramps 5.0.0 2018-07-24 15:07:47 +01:00
Nick Hall e79535fe23 Update Changelog and NEWS files 2018-07-24 15:03:19 +01:00
Nick Hall 3c5c34d0c5 Update development status for new release 2018-07-24 14:20:41 +01:00
Nick Hall c9abe49d1e Update translation template for new release 2018-07-24 14:19:54 +01:00
niememat ca20641cb9 Fix translation in Finnish 2018-07-22 21:09:26 +03:00
John Ralls c558b8530b Correct binary test logic for primary mask.
state & get_primary_mask(another) tested (state & (primary | other)),
which will be true if state matches *either* primary *or* other, but
what is wanted in a not-negated test is state matching all bits of
(primary | other). match_primary_mask does that.

On the other hand there are also cases of "not state & (primary | other)".
no_match_primary_mask handles that, returning true if state matches none
 of the bits in (primary | other).

Fixes #10646.
2018-07-22 18:50:06 +01:00
prculley efb2a63492 Fix BaseSelector to avoid long delay before display on large trees
Fixes #10634
2018-07-22 18:46:07 +01:00
SNoiraud 1642757eb8 Export options > Gui alignment issue
Fixes #10576
2018-07-22 18:40:12 +01:00
niememat b0ee4684a1 New fix translation in Finnish 2018-07-22 13:53:17 +03:00
Espen Berg 4a561f44c7 Revised Norwegian bokmål 2018-07-22 11:19:51 +02:00
Espen Berg 4211dbf9f5 Merge branch 'maintenance/gramps50' of github.com:gramps-project/gramps into gramps50 2018-07-22 10:29:23 +02:00
Espen Berg 23c62de0d0 Revised Norwegian bokmål 2018-07-22 10:28:02 +02:00
niememat 4179cf4792 Fix translation in Finnish 2018-07-22 09:30:41 +03:00
Nick Hall 4c20cbd48a Fix dialog button order on non-Mac systems
Resolves #10585.
2018-07-21 23:28:05 +01:00
De Tran 5a98236239 Fix and update Vietnamese translation
Resolves #10681.
2018-07-21 23:16:29 +01:00
Sveinn í Felli 792caf73b7 Update Icelandic translation 2018-07-21 19:59:26 +01:00
jose1711 cfb9a4f664 Fix and update Slovak translation 2018-07-21 19:33:45 +01:00
jose1711 59021550e2 Fix typo in translation 2018-07-21 19:11:06 +01:00
niememat acf775ea90 Fix translation in Finnish 2018-07-20 23:01:59 +03:00
niememat f4199b494c Fix translation in Finnish 2018-07-20 14:33:01 +03:00
niememat 6fc7f4e0af Fix translation in Finnish 2018-07-18 17:34:24 +03:00
Luigi Toscano d508ce7fb9 Update Italian translation 2018-07-15 16:41:10 +02:00
Nick Hall a4aa8f90c3 Update English (British) translation 2018-07-13 18:36:28 +01:00
De Tran b33d7af284 Update Vietnamese translation 2018-07-13 14:53:02 +01:00
Kaj Mikkelsen e4e1f4ca05 Update Danish translation 2018-07-13 14:35:15 +01:00
Lajos Nemeséri 72bedf0af7 Update Hungarian translation 2018-07-13 14:29:26 +01:00
prculley bc39dda9e7 Use msgcat merged po files instead of git merge versions 2018-07-13 07:35:36 -05:00
prculley 257275f169 Merge from gramps50 2018-07-12 11:10:22 -05:00
Fedik 60ba912100 Update Ukrainian translation for Gramps 2018-07-07 17:54:52 +03:00
RossGammon 2a8240b26d Update Debian directory after Gramps 5.0.0-rc1 release. (#634) 2018-07-06 07:58:39 +10:00
Leonhaeuser c33fc7b240 Fix not matching translation csv import/export 2018-07-02 20:33:10 +02:00
Zdeněk Hataš 404647be05 Update Czech translation 2018-07-02 19:09:06 +02:00
Pier Luigi Cinquantini 0af818b0c1 Update Esperanto translation 2018-07-02 15:14:46 +01:00
niememat 8da84aaf23 Fix translation in Finnish 2018-07-01 12:14:58 +03:00
Paulo Henrique Paiva de Moraes d15a1376d3 Update Brazilian Portuguese translation 2018-06-30 17:04:42 +01:00
vantu5z 57bbe542b5 update Russian translation
substantially just merge with latest template
2018-06-30 18:44:23 +03:00
Nick Hall cbdb0d5431 Merge translation files with the latest template 2018-06-29 16:46:10 +01:00
Paul Culley ff129e2f64 Fix Custom filter update when created via sidebar (#630)
Fixes #10620

Adding a filter via the sidebar editor originally only updated the current view, other associated views did not see the new filter. First noticed in People views. This causes the 'filters-changed' to be emitted which updates all associated view.
2018-06-22 11:19:00 +10:00
Paul Culley 663745c7e8 Fix Gramplet configure (View/Configure) for large options (#629)
When a Gramplet uses a BooleanListOption with a lot of entries, along with other options, all the options take on the size of the large BooleanListOption, which doesn't work well at all.
2018-06-22 11:04:30 +10:00
Serge Noiraud 5df6ad564b Statistics Charts crashes with IndexError (#627)
Fixes #010626

In statistics charts, get_month is only localized and the calendar is unused.
If we have an Extra (Sansculottides) month in the french republican calendar
(index 13), we have this IndexError because the gregorian calendar is always
used and contains only 12 values.
2018-06-22 10:48:02 +10:00
John Ralls 1f3e516780 [Mac] Change accel for Undo History.
So that it doesn't conflict with a system binding for hiding the window.
Fixes #10619.
2018-06-10 20:09:41 -07:00
Paul Culley 25841f9540 Fix Family Lines/Family Colors picker for bad transient parent (#625)
Fixes #10623
2018-06-10 14:48:51 +10:00
Paul Culley 94bd8470d7 Fix import_as_dict to utilize user gramps_id prefixes (#626)
Issue #10622

Found when comparing dbs with large prefixes 'I%05d'; using database differences or import_merge addons.
2018-06-10 14:27:56 +10:00
Paul Culley 21408ab9d2 Fix error when opening bsddb db in read-only mode (#624)
Fixes #10615

BSDDB had errors when trying to open in read-only mode.
2018-06-10 14:11:33 +10:00
Paul Culley 31eecac590 Fix dbapi dbs for closeing read-only db crash (#623)
Fixes #10613

The sqlite (and other dbapi dbs) tried to save their metadata on a close operation, which doesn't work for read-only dbs.
2018-06-10 13:55:07 +10:00
Paul Culley 58c6da3fb5 Fix menus when operating with read-only db (#622)
Fixes #10614

An earlier attempt to deal with closed dbs messed up the read-only ActionGroup settings. This corrects that situation.
2018-06-10 13:40:36 +10:00
Sam Manzi 9c21b98601 Fix Name formats to show all parts (#608)
Fixes #10420

Allows reports to use the name format specified by the user.
2018-06-02 10:26:23 +10:00
Paul Culley 8735f8a014 Fix dialogs for crash when canceling via 'x' (#620)
* Fix import dialog for crash when canceling via 'x'

Fixes #10607

* Fix 'Make Backup' dialog for crash on 'x' close

Issue #10607

* Fix Family Lines/Family Colors/add dialog crash on close with 'x'

Issue #10607
2018-06-02 09:58:06 +10:00
niememat 9acf512663 Fix translation in Finnish 2018-05-28 14:43:08 +03:00
John Ralls 50e8161984 Release 5.0.0-rc1 on Mac. 2018-05-22 18:11:13 -07:00
John Ralls 69be94843c Remove obsolete omeat-python-modules dependencies. 2018-05-20 14:28:45 -07:00
prculley ac5ed9fde0 Bump to v5.0.0-rc2 2018-05-20 15:49:27 -05:00
prculley 2869e4d8a3 Release Gramps v5.0.0-rc1 2018-05-20 15:44:15 -05:00
Paul Culley f2392f910d Fix merge persons when removed person was the Home (default) person (#619)
Fixes #10597

If a person merge removes the default (Home) person, the previous code started having HandleError crashes.
This checks for and corrects this issue.
Did not see the issue with 4.2.x because there were no HandleErrors.
2018-05-20 13:31:41 +10:00
Espen Berg 9e61809b17 Received revised Norsk Nynorsk from Sigmund Lorentsen 2018-05-01 2018-05-17 21:30:15 +02:00
Espen Berg 9e2b935db1 revised Norwegian bokmål 2018-05-17 21:28:34 +02:00
niememat aa47410902 Update finnish translation 2018-05-15 11:39:16 +03:00
vantu5z c72af598b1 Update Russian translation 2018-05-15 09:40:06 +03:00
Nick Hall 9a386574d8 Revert "Clone event w/o references (2nd pass, part B)"
This reverts commit 208feceb03.

Changes requested in the PR not made.  Such a change requires
discussion on the list first.
2018-05-12 23:09:27 +01:00
Nick Hall 90bdb0a840 Revert "Embedded Clone Event w. references (2nd pass, part A)"
This reverts commit ae322dbdc8.

Changes requested in the PR not made.  Such a change requires
discussion on the list first.
2018-05-12 22:59:52 +01:00
Paul Culley 4daf7a9c29 Fix FanChartDesc for typo (copy/paste error). (#611)
Fixes #10565

- Bug occurs when selected person has more than 4 parents.
2018-05-09 13:21:37 +10:00
Paul Culley 0452848f57 Fix Tag editor for multiple tag removes (#601)
Fixes #10552
2018-05-02 14:29:40 +10:00
Serge Noiraud db92ab7d5a In Narweb, Relationship to Center person reversed (#606)
Fixes #10553
2018-05-01 10:46:29 +10:00
Paul Culley 4dc67910fd Fix Citation Tree view for crash after plugin reload (#602)
Fixes #10541
2018-05-01 10:31:29 +10:00
Paul Culley ebc0f25bc7 Fix 'References' Gramplet for issue when activated during an import (#584)
* Fix 'References' Gramplet for issue when activated during an import

Fixes #10507

* disable Application Menu during import
2018-05-01 09:36:23 +10:00
Paul Culley 67dcffee20 Fix Person/Family/Event view updates on various associated changes (#603)
* Fix Person/Family/Event view updates on various associated changes

Fixes #10532

* Fix Event view for changes in Main Participants

* Fix Person/Event/Place views for update to a Place or enclosing place
2018-05-01 09:09:49 +10:00
Alois Poettker ae322dbdc8 Embedded Clone Event w. references (2nd pass, part A) 2018-04-23 11:00:26 +02:00
Alois Poettker 208feceb03 Clone event w/o references (2nd pass, part B)
Feature request #9604

This functionality in the Event list doubles an event with all the tags, citations, media, attributes and notes, but without the references. Its like an event addition, but with default values.
2018-04-23 11:00:26 +02:00
Paul Culley b4946dee9c Fix Person views to update on changes in birth/death event/place (#597)
Fixes #10532
2018-04-18 07:58:51 +10:00
vantu5z 8f33163510 update Russian translation 2018-04-13 09:11:17 +03:00
niememat a3d43fdc32 Update finnish translation 2018-04-12 10:09:07 +03:00
Leonhaeuser befebe8b0c update German translation 2018-04-11 19:27:52 +02:00
Nick Hall 9ee777274c Allow unicode characters in json export 2018-04-10 18:36:46 +01:00
SNoiraud d3892c0e82 Filtering problems in the geography view 2018-04-10 18:31:32 +01:00
SNoiraud 17ffc5460c Crash when looking for a place within an area
Fixes #10531
2018-04-10 18:31:11 +01:00
Joachim Kuebart 09ca223f1b Bugfix: use same box margin for SVG and PDF
When drawing text boxes in SVG, the text is often placed too far to the right and touches the right frame. For an example, generate a »Descendent tree« in SVG format. In the PDF version, the text does not touch the frame of any boxes.

This PR fixes the problem by using the same text displacement (margin) inside the box as the PDF driver. The code is taken from gramps/plugins/lib/libcairodoc.py.
2018-04-10 17:31:43 +01:00
SNoiraud 1223cbda1f Webcal crashes after Narrative Web site exists
+ multiyear select option problem

Fixes #10524
2018-04-10 17:15:29 +01:00
Nick Hall 01ce73fc04 Catch exceptions when loading recent files 2018-04-10 17:11:07 +01:00
Nick Hall e53603a1fc Check that backend exists before loading database 2018-04-10 17:11:07 +01:00
Nick Hall 04d6ca3a49 Disable family tree manager features when a backend is unavailable
If the default backend is unavailable, then reset it to bsddb.
2018-04-10 17:11:07 +01:00
vantu5z 9e668a528d update Russian translation 2018-04-03 08:28:32 +03:00
niememat 96a903c57f Update finnish translation 2018-04-01 11:41:24 +03:00
Nick Hall 75921ceaf4 Enclose tree report image path and file name in braces
Fixes #10495.
2018-03-31 16:34:36 +01:00
Leonhaeuser 310bece2bc fix syntax error in German translation file 2018-03-30 21:21:40 +02:00
Leonhaeuser 565e570a71 update German translation 2018-03-30 21:13:25 +02:00
SNoiraud 29735eef7d Crash when selecting an old note, event, media, ...
Try to sort on another column.

Fixes #10519
2018-03-29 15:56:49 +01:00
Nick Hall cb0bd32aa3 Merge pull request #589 from sam-m888/fixhelplinks50. 2018-03-29 15:46:32 +01:00
Sam Manzi 469739633c [NewRepositoryEditor]Fix help link 2018-03-28 12:59:09 +11:00
Sam Manzi 495c7f310a [ReorderGrampsID]Fix broken help link 2018-03-28 12:52:23 +11:00
Paul Culley 353fc50770 Fix FTM for delete tree, followed by close; Title etc. shows old tree (#587)
Fixes #10513
2018-03-27 13:43:56 +11:00
Paul Culley ca9df38b11 Fix Relationship path between filter for silent fail (#586)
Fixes #10509
2018-03-27 13:18:56 +11:00
Herb Miller Jr fd55f0abff Add configuration flag --no-compress-manpages. 2018-03-26 19:50:32 +01:00
vantu5z e1ca8303e5 update Russian translation 2018-03-26 11:29:55 +03:00
niememat a2879f1717 Update finnish translation 2018-03-25 19:39:59 +03:00
John Ralls 89ad092ac1 Don't strip newlines from builder files.
Fixes #10514.
2018-03-25 08:59:51 -07:00
Leonhaeuser 6c8de19fc5 update German translation 2018-03-25 08:33:37 +02:00
vantu5z dcf3caf946 update Russian translation 2018-03-24 09:37:34 +03:00
Sam Manzi f1e28c1e28 List sort by number for citation confidence level (#583)
* Fix confidence level sort in list views

-based on the date-sort code.

Fixes #10506

* Fix confidence level tooltip

-Stop run on text.

Resolves #10506
2018-03-22 15:40:53 +11:00
Nick Hall 0d1aef889e Fix error in place displayer when offset is outside valid range
Resolves #10493.
2018-03-21 20:43:13 +00:00
vantu5z cec9f55769 update Russian translation 2018-03-15 09:28:08 -03:00
Paulo Henrique Moraes 32dd3a2e14 [pt_BR]Translation updates and corrections (#582)
- Portuguese (Brazil)
2018-03-15 11:26:59 +11:00
Sam Manzi 23f69f5bc2 Fix places in example.gramps (#578)
- Moved Greek places into top level Greece entry & added English names.

- Removed Puerto Rico as a country as part of USA
2018-03-14 10:53:38 +11:00
Sam Manzi ec6e9d7ef8 Use sgettext for Name Format dialog (#580)
Fixes #10484
2018-03-14 10:20:23 +11:00
Sam Manzi 6f52d7371e Enable copying the birth & death fields for relationship view (#579)
...I did something similar(as in #575) for the relationship view...

Resolves #7874
2018-03-11 10:51:51 +11:00
Sam Manzi e5a5f212bc Allow Copying of text fields for Details tabs (#575)
Allow selection of text fields from details tab in selected views with Details gramplets.

-  Person Details
-  Place Details
-  Repository Details

Resolves #7874
2018-03-11 10:32:19 +11:00
Serge Noiraud 2a297623f2 Geography: KML media objects not shown on map. (#577)
Geography doesn't conform to the relative paths
If a place has no coordinates, KML files are not displayed.

Fixes #10487
2018-03-10 13:25:25 +11:00
Paul Culley ae11eceef7 Fix Fan charts for scrolling/resizing of window; bad rendering (#572)
Fixes #10381
2018-03-10 12:53:34 +11:00
Paul Culley babe13f811 Fix up Clipboard for various issues (#569)
* Fix Clipboard for HandleErrors during db changes

Fixes #10475

* Clipboard pylint

* Fix Clipboard for Drop/Edit of Surname group in People Tree view
2018-03-10 11:39:18 +11:00
Paul Culley a668f0d04f Fix Relationship Graph for extraneous families when using filter (#576)
Fixes #10492
2018-03-09 09:26:00 +11:00
prculley 8c1a244b1e Fix export gpkg when media files have fractional timestamps.
Fixes #10424
2018-03-07 23:03:28 +00:00
Nick Hall 7aa4258046 Remove reference to postgresql in core code 2018-03-07 16:50:01 +00:00
Nick Hall 1c5ae89d86 Move dbapi-specific code out of DbGeneric 2018-03-07 16:11:45 +00:00
Nick Hall 75bf103429 Create _schema_exists method 2018-03-07 15:52:12 +00:00
Nick Hall cf42e5a4b8 Fix place format option in place report (#561)
* Fix place format option in place report

Resolves #10467.

* Use -1 instead of None for default place format

* adds New [Place format:] option on the [Report Options (2)] tab
2018-03-07 09:53:21 +11:00
Serge Noiraud 433677c905 [Narrative Web Report]Incorrect heading for stepmother or stepfather (#567)
Fixes #10478
2018-03-07 09:33:27 +11:00
Paul Culley 6cbd6ed8d3 Fix Book TOC and Index numbering and placement (#565)
Fixes #10452
2018-03-07 09:12:28 +11:00
Paul Culley 51df2c188d Fix Fan Chart(s) so they don't crash when opened as last view (#571)
Fixes #10440
2018-03-05 14:34:55 +11:00
Paul Culley 7180806afd Fix Organize Tag editor for exception on 'x' close (#570)
Fix Organize Tags editor for exception on 'x' close
2018-03-05 14:18:51 +11:00
niememat 8fc8668921 Fix and updated translation in Finnish 2018-03-03 21:04:55 +02:00
prculley 5dfcf2266f Change BaseSelector so that selection is kept during Find/Clear
Fixes #10421
2018-03-03 18:41:54 +00:00
Jgon6 0ae51c9522 Changed behavior of "Look up with Map Services"
Removed the section that looked up by city, and country from the Map
Services lookup for Google and Open Street Map.

Resolves #9486
2018-03-03 17:35:51 +00:00
Nick Hall 59bd9f040d Merge branch 'gramps50' 2018-03-03 17:29:32 +00:00
Paul Culley 1687616519 Fix multi-page Graph output to pdf with filenames containg spaces (#560)
Fixes #10470
2018-03-03 09:00:00 +11:00
Paul Culley 6bf33ab899 Fix Clipboard for right-click on empty clipboard (#566)
Issues #10473
2018-03-01 09:18:36 +11:00
Sam Manzi 41a2a46713 Fix ImportError & update API docs year 2018 (#564)
- Fixes ImportError: No module named 'gramps.plugins.db.dummydb'

-  Update Copyright to 2018
2018-02-28 16:53:37 +11:00
Zdeněk Hataš fd4344bc07 Update Czech translation 2018-02-26 15:08:44 +01:00
vantu5z ef395f49fe update Russian translation 2018-02-24 10:48:54 -03:00
Serge Noiraud f0719c9eff Privacy problem with the relation to the center person. (#555)
Bug #12345
2018-02-24 08:34:58 +01:00
Paul Culley 9c5951a9e9 Fix Report Options when used with empty db (#554)
Fixes #10457
2018-02-24 09:37:36 +11:00
arnaullv 05dd44cfe2 Updated Catalan translation 2018-02-23 18:08:11 +00:00
Paulo Henrique Moraes df00dd1f32 Brazilian portuguese update 2018-02-23 14:58:38 -03:00
Nick Hall 7b6f46d595 Merge pull request #552 from RossGammon/update_deb_dir. 2018-02-23 17:57:04 +00:00
Ross Gammon fbcbdfa991 Finalise debian/changelog for beta1 release.
Also fix old syntax & trailing whitespace issues
2018-02-23 17:54:22 +00:00
Ross Gammon 8335bbf20f Enable extra tests that were failing for alpha3 2018-02-23 17:54:22 +00:00
Ross Gammon 2084bb5d0e Patch person_rules_test.py
To remove hard coded build path from import. Fixes FTBFS due to test failure.
2018-02-23 17:54:22 +00:00
Ross Gammon dfe530fdd1 Delete debian/NEWS file, only really applies in Debian 2018-02-23 17:54:22 +00:00
Ross Gammon 910d7199a2 First beta release of gramps 5.0
* First beta release of gramps 5.0
* Sync debian directory with Debian experimental branch on salsa
* Point Vcs URLs at the Gramps Project on Github
* Correct spelling in debian/rules, node > nose
* Delete gbp.conf, not required as gbp not used to build package
2018-02-23 17:54:22 +00:00
Ross Gammon b208b7a240 Remove gbp.conf, will not be using gbp to build deb package
Avoids updating it for every branch used to build it
2018-02-23 17:54:22 +00:00
Ross Gammon ee470deaca Fix spelling in d/rules node > nose 2018-02-23 17:54:21 +00:00
Ross Gammon c149c5f2fa Update Vcs URLs to point at Gramps Github repo 2018-02-23 17:54:21 +00:00
Ross Gammon fd5433363e Resync debian dir from Debian 5.0 experimental branch 2018-02-23 17:54:21 +00:00
Ross Gammon 1ca875a2be Update debian/changelog with releases since 4.0.3 2018-02-23 17:54:21 +00:00
Ross Gammon 43646e592b Fix testsuite failure when build happens out of the source tree.
Build path was hardcoded in an import in:
gramps/gen/filters/rules/test/person_rules_test.py

Fixes #10450.
2018-02-20 18:02:00 +00:00
niememat ca49b56774 Update finnish translation 2018-02-20 18:22:28 +02:00
prculley c4bc2d6823 Some POTFILES fixes 2018-02-20 09:56:07 -06:00
Leonhaeuser 854ff911a3 update German translation 2018-02-19 19:34:54 +01:00
John Ralls 965f7f7554 Release Gramps 5.0.0-beta1 on MacOS. 2018-02-18 22:13:48 -08:00
prculley 6c279945e0 Bump to 5.0.0-beta2 2018-02-18 08:24:13 -06:00
prculley 6ca3821f81 Release Gramps 5.0.0-beta1 2018-02-18 08:18:09 -06:00
niememat caf47940c7 Update finnish translation 2018-02-18 09:11:12 +02:00
Sam Manzi 6a78d5196d Update README for Gramps50 (#550)
* Update wiki links to 5.0
* Mention undocumented prerequisites
2018-02-18 13:15:43 +11:00
prculley fc0fdec25c Update Translation template and POTFILES.in 2018-02-17 16:36:19 -06:00
vantu5z 2adcc7d5a3 update Russian translation 2018-02-17 08:30:01 -03:00
Nick Hall fcaea3e1bb Replace backslash in image path for Windows 2018-02-16 19:33:46 +00:00
Nick Hall fc99f12568 Escape special LaTeX characters 2018-02-16 19:33:46 +00:00
Serge Noiraud 1e5a6e1f87 crash in narrative web if no unused media (#549) 2018-02-16 19:20:02 +01:00
Serge Noiraud db263ff905 Apply places changes to the narrativeweb. (#547)
* Apply places changes to the narrativeweb.

Also change order between locations and locations alternate names.

Fixes #10427

* Put the alternate locations back.

* Suppress extra line in Alternate Names section.
2018-02-16 11:10:01 +01:00
Nick Hall e202f5cd19 Copy output file from temporary directory 2018-02-14 22:43:40 +00:00
Nick Hall 2fbb9878c2 Fix character encoding for new tree category reports
Fixes #10418.
2018-02-14 18:41:45 +00:00
Leonhaeuser ba4453213a update German translation 2018-02-13 17:53:33 +01:00
prculley 5f133ffaf2 Fix Place Tree view for proper display after filter cleared.
Fixes #10416
2018-02-13 14:07:35 +00:00
Nick Hall cbac98894b Implement place formats 2018-02-13 13:58:23 +00:00
Serge Noiraud 3f368b2e02 Some dates are not translated in webcal (#545)
* Some dates are not translated in webcal

Fixes #10425

* Webcal link problem in the year glance page

* Link problems depending on LANGUAGES.
2018-02-13 10:01:17 +01:00
Sam Manzi 1e73ab5be7 Increment year to 2018 for About box. 2018-02-13 13:21:28 +11:00
niememat f428069ac6 Fix and updated translation in Finnish 2018-02-11 13:04:08 +02:00
niememat adf3772b7a Fix holidays in Finnish 2018-02-11 12:58:49 +02:00
SNoiraud 46cd191e49 Translation problem in narrative web. 2018-02-10 08:37:46 +01:00
Leonhaeuser 9afe0cc181 update German translation 2018-02-09 20:24:12 +01:00
Nick Hall 19f8c3561c Merge branch 'gramps50' 2018-02-09 00:13:43 +00:00
prculley d3ed320636 fix Sidebar to resize better
Fixes #10334
Issue #10161
2018-02-08 23:35:32 +00:00
John Ralls 6f4a114fdc Update pyicu to v 2.0.3 2018-02-08 14:53:05 -08:00
John Ralls 5bec86c1f4 Consolidate Python2 and Python3 meta-modules.
GObject-Introspection now works with Python3 so the split isn't needed any more.
2018-02-08 14:53:05 -08:00
niememat 5b48691c3a Fix and updated translation in Finnish 2018-02-08 15:36:00 +02:00
Nick Hall be11466b35 Add tooltip to links in styled text editor
Fixes #10179.
2018-02-07 16:34:41 +00:00
John Ralls 0445004e7d Merge pull request #541 from jralls/accels. 2018-02-06 14:48:49 -08:00
John Ralls f688d376f5 [MacOS] Replace GDK_CONTROL_MASK with GDK_META_MASK in accelerators.
Fixes #10231 and works on all versions of Gtk3 by avoiding
GdkModifierIntent.
2018-02-06 14:46:55 -08:00
John Ralls 0a38a6352f Set the mnemonic modifier key to Alt-Ctrl for the Quartz Gdk backend.
This avoids interference with the use of the Alt/Option key for
extending the keyboard.

Fixes #6943.
2018-02-06 14:46:09 -08:00
prculley 2410435d8c Fix Family Lines Graph when 'unknown' places are present
Fixes #10402
2018-02-06 22:31:40 +00:00
prculley 6f1d6fa6b4 Fix Export View to CSV when Unicode characters are present
Fixes #10404
2018-02-06 22:23:27 +00:00
prculley b1db542cb9 Fix several intl date displayers for missing parameter.
Fixes #10196
2018-02-06 22:19:23 +00:00
John Ralls 3d7479969f Update gramps.accel for gramps50 2018-02-05 14:56:34 -08:00
Zdeněk Hataš 8f4dffa1df Czech translation fixes 2018-01-31 20:31:32 +01:00
prculley ffe9f31b0b Some filter optimizations to avoid repeated parts of tree scan 2018-01-28 23:36:23 +00:00
Leonhaeuser b1af1c5435 update German translation 2018-01-27 14:55:03 +01:00
niememat 94b6fcb93f New update for Finnish translation 2018-01-27 15:19:57 +02:00
vantu5z 4b25dde6e2 update Russian translation 2018-01-27 15:56:34 +09:00
prculley f83c077a7e Fix view buttons order keeps changing on different startups
Fixes #10391
2018-01-26 22:49:59 +00:00
prculley 323d775541 Fix DescendentTree report; more space beneath Title
Issue #10377
2018-01-26 22:47:29 +00:00
prculley 4448234281 Fix DescendentTree report for crashes
Fixes #10377
2018-01-26 22:47:29 +00:00
prculley d31ced9ca5 Fix Book XML handler for unusual characters in report name
Issue #10387
2018-01-26 22:44:02 +00:00
prculley 9706af03b4 Fix 'Generate Book' dialog for bad transient parent 2018-01-26 22:44:02 +00:00
prculley b3ca17a90f Fix Book XML handler to deal with unusual characters in Book name
Fixes #10387
2018-01-26 22:44:02 +00:00
Nick Hall 4b13c95467 Add support for new genealogy tree report category
Issue #10223.
2018-01-26 22:24:29 +00:00
niememat 7864af3626 Fix and updated translation in Finnish 2018-01-26 21:58:21 +02:00
vantu5z 028f9582f5 Add color schemes to config 2018-01-26 17:30:13 +00:00
prculley cd32559282 Surname Editor; fix so changes made update Person 'Preferred Name'
Fixes #10254
2018-01-24 11:40:04 -06:00
prculley 3980fca903 Surname Editor, fix fields for better fit in minimum width dialogs 2018-01-24 11:40:04 -06:00
prculley 462b0ea20b Surname Editor; fix loss of data if using mouse to change fields
Fixes #9868, #6828, #6257
2018-01-24 11:40:04 -06:00
prculley ba4b3eaef6 Add Garbage collection after tools/reports
Fixes #10287
2018-01-22 21:14:27 +00:00
Leonhaeuser bf826637ab update German translation 2018-01-22 20:11:12 +01:00
Sam Manzi 316ff4454a Fix duplicate Add menu keybinding after PR #530 2018-01-22 13:40:19 +11:00
Paul Culley 3266625669 Main Window menu 'Add' keyboard Acellerators (Gramps50) (#530)
* Fix Add menu Accelerators so they don't activate on Shift-'x'

Fixes #10379

* Change Gramps 'Add' menu so 'New' is not used
2018-01-22 13:21:46 +11:00
niememat 90378f19c5 Fixed and updated translation in Finnish 2018-01-20 14:17:17 +02:00
vantu5z 78fb08aa12 update Russian translation 2018-01-20 18:27:48 +09:00
Paul Culley d081b75993 Export Web Family Tree; error on file write is now a message, not exception. (#524)
* Fix Export Web Family Tree for errors on file write

Fixes #10364

* Pylint on Web Family Tree export
2018-01-20 16:58:13 +11:00
Paul Culley 10e0e64ff4 Fix Citation Editor to Tab out of Confidence ComboBox (#526)
Fixes #10351
2018-01-20 16:28:15 +11:00
Serge Noiraud 79ff9bc216 Geocoding: associate a lat/lon to a place name (#515)
* Geocoding: associate a lat/lon to a place name

Fixes #09642

* Some cleanup

* update README.md

* Remove url from message dialog
2018-01-18 09:11:51 +01:00
Serge Noiraud 3615e75d16 Narrative web: multiple problems. (#517)
* Narrative web: multiple problems.

1 - Added an option for the statistics page.
2 - We have problems with notes : pages are too large
3 - Difficult to see some page on a mobile phone when you have notes.
4 - Resizing of images on a mobile
5 - Maps are too bigs on a mobile
6 - Split the event line to have a narrower page
7 - The note is spanned on two columns (Place + Description)
7 - In media pages, the progress meter doesn't work well.
8 - Add a progress meter for the medialistpage

Issues #10344

* Narrative Web: several modifications + css files

* Stylesheet problems and reverse set_header

* Removing memory cleanup.
2018-01-18 09:03:11 +01:00
niememat 3c8cba0301 New update for Finnish translation 2018-01-18 09:58:43 +02:00
Nick Hall dde9ea8a90 Use None as the foreground colour for untagged rows in list views
The call to get_style_context is not required.  It also caused
problems in Windows due to excessive calls to the foreground_color
method.

Fixes #10365.
2018-01-13 17:20:23 +00:00
Nick Hall b7c39e51c7 Remove trailing whitespace 2018-01-09 19:51:46 +00:00
Nick Hall a216441029 Clear old custom name formats when database loaded 2018-01-09 19:09:16 +00:00
Nick Hall 89592545f3 Fix shading colour in relationship view for dark themes
Fixes #7749.
2018-01-09 18:26:26 +00:00
Nick Hall 70fff6253d Fix link colour for dark themes
Issue #7749.
2018-01-09 18:24:52 +00:00
Nick Hall 84e76de2b1 Fix default foreground colour in list views for dark themes
Issue #7749.
2018-01-09 18:21:23 +00:00
prculley fe289da983 Fix memory leak in ProgressMeter 2018-01-08 19:24:27 +00:00
prculley b54672d28d Leak (Uncollected Objects); allow user to cancel long screen update 2018-01-08 19:22:27 +00:00
prculley 371a8a8f89 fix Fan Chart for exception on right-click of person with no parent
Fixes #10349
2018-01-08 19:09:14 +00:00
mb06cs 6b42d71158 endoflinereport.py: sort generation during output 2018-01-06 13:32:43 +01:00
prculley 1777cd4b29 Fix Fan Chart Print centering and scaling on Windows
Fixes #8460
2018-01-04 23:16:01 +00:00
Paweł Tomkiel ac593d814d fixing polish places translations 2018-01-04 23:07:42 +00:00
Nick Hall 617e2212c8 new gramps.pot translation template 2018-01-04 22:59:31 +00:00
Nick Hall ad15ef7961 Merge branch 'gramps50' 2018-01-03 21:32:14 +00:00
Zdeněk Hataš 3971fecb29 Update Czech translation 2018-01-02 17:19:43 +01:00
Luigi Toscano 5d51155441 Italian translation updates and fixes 2017-12-31 17:34:52 +01:00
Luigi Toscano a63c9ad080 Update Italian po file from latest pot template 2017-12-31 15:08:03 +01:00
niememat f44479edfb New update for Finnish translation 2017-12-29 11:01:27 +02:00
vantu5z 738f2b7dca update Russian translation 2017-12-29 11:03:23 +03:00
vantu5z f4dc24cacd udpate pot file after 00715fc530 2017-12-29 11:03:08 +03:00
prculley eeb587e85e Fix Media Preview Gramplet for closed db
Fixes #10332
2017-12-28 22:12:22 +00:00
bertcarnell c93f2dd433 Added a requirement for pango and pangocairo versions
Eliminates a warning that was present when calling a report from
the command line.

Fixes #10333.
2017-12-28 21:47:26 +00:00
SNoiraud d4f37501a0 Narrative Web works poorly on Android browser
Fixes #010320
2017-12-28 21:33:13 +00:00
prculley 1b0ad55d13 Fix Styled Text Editor for exception on non-editable text click
Fixes #10309
Also prevent editing of links on non-editable text.
2017-12-28 19:49:21 +00:00
prculley aa2a451f23 Suport FTM 2017 Gedcom tags on import
Bug #10285
FTM adds subordinate PLAC and OBJE data to INDI.ADDR which is
non-standard.  So treat it as a Residence Event, instead of an
Address.
FTM puts _DATE and _TEXT tags subordinate to OBJE, also non-standard.
2017-12-28 19:29:14 +00:00
prculley 59e367acf9 Fix FTM: rename a locked db, don't open, but title bar changes
Fixes #10303
2017-12-28 19:22:40 +00:00
prculley d8057c2b0b Fix Person, Family Sidebar Filters to add custom Event types
Fixes #10112
Also fix Family Sidebar Filter RelType init with closed db
2017-12-28 18:47:55 +00:00
niememat d624d4a0bb Update finnish translation 2017-12-28 11:48:55 +02:00
Nick Hall ac86c415a7 Use UPDATE instead of DELETE and INSERT 2017-12-12 22:25:23 +00:00
prculley b26b34fba9 Fix ProxyCache to deal with memory leak 2017-12-12 21:59:11 +00:00
prculley 4ae4ac1d12 Fix duplicated method in ProxyCache
Fixes #10291
Also changed size request to better utilize actual memory
2017-12-12 21:57:00 +00:00
Nick Hall efabb77567 Remove write_version method from the database API
This is specific to the BSDDB backend.
2017-12-12 21:35:13 +00:00
Nick Hall 46eb72d002 Fixes for in-memory databases
In-memory databases always allow write access and don't need to
use lock files.
2017-12-12 18:54:15 +00:00
Nick Hall f75a8f9497 Enable Sqlite backend for all users 2017-12-11 22:18:39 +00:00
Nick Hall 00715fc530 Move PostgreSQL backend into third-party addons 2017-12-11 21:34:47 +00:00
Nick Hall e3300cd55d Implement locking for dbapi backends 2017-12-11 21:07:12 +00:00
Nick Hall 0f7e8e73b9 Use escape from html rather than cgi package 2017-12-11 18:44:18 +00:00
prculley 1509ba526d Fix QuestionDialog display for html like characters in title
Fixes #10298
2017-12-10 19:02:53 +00:00
prculley 76084e6f52 Fix Find Database Loop tool for faster operation and better display
Fixes #10299
2017-12-10 18:52:02 +00:00
prculley 871c1a6dea Fix FamilyRelationshpType _DATAMAP order to correspond with values
Fixes #10275
2017-12-08 19:08:31 +00:00
prculley 33ebd5d0b0 Fix HandleError on IsLessThanNthGenerationAncestorOf filters
Fixes #10286
2017-12-08 18:36:34 +00:00
prculley b9b06f1668 Add additional tests to Person Filters (MatchesFilters) 2017-12-08 18:36:34 +00:00
prculley 30f3918140 Fix Relationship Graph to shows families if siblings but no parents 2017-12-08 18:28:04 +00:00
prculley e98b065719 pylint 2017-12-08 18:09:47 +00:00
prculley e7bc887f60 Fix Deep Relationship filter to avoid recursion crash
Fixes #10279
This also changes filter to use shortest paths.
2017-12-08 18:09:47 +00:00
prculley 85014bd92c Fix to allow filter progress meters in flat views 2017-12-08 18:04:24 +00:00
prculley eee82ae27e Fix Gedcom import for illegal Gedcom Family Attributes
Issue #10262
TMG Gedcom exports an illegal NCHI with sub-data for FAM.  Gramps
could not handle this and attached the sub-data to the FAM creating
some corrupted Event records.
2017-12-08 18:02:01 +00:00
niememat adadd6c80b Update finnish translation 2017-12-03 17:38:56 +02:00
SNoiraud 408caa6c0f Narrated Web Site: warnings reported to console
Fixes : #10283
2017-11-25 10:22:02 +01:00
niememat 406faa5603 Update finnish translation 2017-11-25 10:44:45 +02:00
Serge Noiraud 4e0d562208 Various Feature Requests in Narrative Web (#468)
Issue #06772
2017-11-23 09:40:52 +01:00
Serge Noiraud 43ef686622 Narrative Web Feature requests : (#466)
Sort "Surname" web page by given name and birth date.
Surname list doesn't use default name format

Fixes #05315, #08067
2017-11-23 09:39:12 +01:00
Serge Noiraud d59fe6b2af Display Lat/Lon optionally on places list page (#467)
Fixes #05382
2017-11-23 09:37:47 +01:00
Serge Noiraud d677a1a785 Add extra page to narrativeweb. (#465)
Fixes #02630
2017-11-23 09:36:13 +01:00
Serge Noiraud 88639fcd7d Mainz css file produces left aligned FamilyMap pages (#489)
* Mainz css file produces left aligned FamilyMap pages

Solving Mainz problem creates new ones with Basic-Blue
and Nebraska styles sheet.

Some cleanup with unused css file (GeoView.css)

Fixes #10268

* Many problems with css files and the ancestor tree

* media file not created if we have unused media.
2017-11-22 10:27:40 +01:00
prculley f9da7ec19a Fix Session Log for exception on closed db reference click 2017-11-20 23:03:35 +00:00
Nick Hall 45e0b9d571 Fix bug in previous commit 2017-11-20 16:44:38 +00:00
prculley 2bc4139c65 Fix 'Welcome' Gramplet and StyledTextEditor for Link handling
Issue #10179
2017-11-20 15:52:27 +00:00
prculley c759ee31eb fix Quickreport start from Editor when object not yet committed
Fixes #10048
2017-11-20 15:08:51 +00:00
prculley 12577cdfac Fix Find Database Loop tool for wrong transient parent for progress
Fixes #10072
2017-11-20 15:02:16 +00:00
prculley 288b381453 Fix Test Case Generator to not create illegal 'None' handles
Fixes #10230
2017-11-20 14:57:52 +00:00
prculley 896b9d96e2 Fix Gedcom export for bad Hebrew Months
Fixes #10245
2017-11-20 14:53:09 +00:00
Nick Hall 6b6a297a0e Revert "correct 'import' in ac2e0a26ac"
This reverts commit 620b2afa09.
2017-11-19 17:38:23 +00:00
vantu5z 07ec5c757e update Russian translation 2017-11-19 10:39:02 +03:00
niememat 5e31bca7d6 Update finnish translation 2017-11-16 12:55:37 +02:00
SNoiraud a91bc09160 Can't link to a place if wrong lat/lon in the db.
Fixes #10266
2017-11-15 16:14:47 +01:00
Zdeněk Hataš 4b7a0bafa4 Update Czech translation 2017-11-15 12:29:01 +01:00
Leonhaeuser 3b9d38e14a update German translation 2017-11-13 18:30:51 +01:00
Sam Manzi df93ce3cb0 Update redirected wiki link from GRAMPS_XML > Gramps_XML 2017-11-12 10:12:46 +11:00
SNoiraud d5776d4ddb Missing arg when right clicking in geography view.
Fixes #10261
2017-11-11 17:41:21 +01:00
vantu5z 9f0376d9aa update Russian translation 2017-11-09 11:38:25 +03:00
prculley 45bda3bacb Change INSTALL to replace 'python' with 'python3 for script invokes 2017-11-05 07:30:00 -06:00
niememat ab20047e88 Update finnish translation 2017-11-04 10:21:20 +02:00
Paul Franklin 8544f873d4 new gramps.pot translation template 2017-11-03 23:19:15 -07:00
Paul Franklin 620b2afa09 correct 'import' in ac2e0a26ac 2017-11-03 23:16:45 -07:00
niememat 759d68a9e9 Update finnish translation 2017-10-29 16:33:46 +02:00
vantu5z 205b94ad05 update Russian translation 2017-10-28 10:18:31 +03:00
Nick Hall c495edc220 Use new database convenience function
Fixes bug introduced in commit 875242c8d6.
2017-10-26 18:58:22 +01:00
Leonhaeuser 949cd6aae6 Update German translation 2017-10-26 19:27:35 +02:00
prculley 0826ba8752 Check&Repair; add checks for 'backlinks' and repair if needed. 2017-10-26 14:07:42 +01:00
prculley 12d8b62925 Fix CSV importer for place event name using gramps_id
Fixes #10239
2017-10-26 13:55:48 +01:00
prculley 9b42486f2f Fix PlaceModel to avoid exception following merge
Fixes #10184
Bug #8377
2017-10-26 13:52:15 +01:00
prculley 7e4e66d0e3 Fix Geography view 'Find' when db is closed.
Fixes #10229
2017-10-26 13:48:54 +01:00
prculley 97db4cf64e Dbapi: Fix for broken 'backlinks' after a delete.
Fixes #10221
2017-10-26 13:44:38 +01:00
prculley 455d56db1b Fix interactive search for exception on click then down arrow
Fixes #10226
2017-10-26 13:40:03 +01:00
Nick Hall 4d614ae5e5 Revert "warn user if no Ghostscript on their machine"
This reverts commit ac2e0a26ac.
2017-10-24 12:37:36 +01:00
Paul Franklin ac2e0a26ac warn user if no Ghostscript on their machine
This is the thread which motivated me to write this:
http://gramps.1791082.n4.nabble.com/Re-Relationship-graph-is-limited-to-1x1-page-td4680666.html
but unfortunately the Nabble archive of gramps was dead at
the start of that thread, so it is missing.

Here is a related commit, addressing part of the problem:
https://github.com/gramps-project/gramps/pull/472/commits/90de264ccf89578888c9c653c774632cde545b49
2017-10-23 00:17:55 -07:00
Nick Hall 0f0a9c941b Revert modifier key changes in glade files
Partially reverts commit da47949b60.

The modifier "primary" is only available in Gtk 3.20 and is
removed by the glade editor.
2017-10-19 14:07:30 +01:00
vantu5z 89908b54b3 update Russian translation 2017-10-16 09:04:25 +03:00
Nick Hall 875242c8d6 New convenience function to return database methods
Examples:

db.method('get_%s_from_handle', 'Person')
db.method('get_%s_from_%s', 'Event', 'gramps_id')

Returns None if the method doesn't exist.

Formats 'iter_%s' and 'get_number_of_%s' use the plural forms and
are not yet implemented.

Replaces old get_table_metadata method.

Issue #9541.
2017-10-15 18:38:46 +01:00
Nick Hall 8ef49ed303 Merge pull request #472 from prculley/bug9783 2017-10-15 18:07:04 +01:00
prculley 90de264ccf Create where_is utility to locate a binary in the standard places
This is particularly useful on Mac OS X where Gramps is passed a PATH
that does not include elements added by the terminal shell.
2017-10-15 18:01:07 +01:00
prculley 700f15be75 Pylint on graphdoc 2017-10-15 17:53:43 +01:00
prculley 32caee3aa4 Fix relationship Graph so Unicode chars on Multiple pages works.
Fixes: #9783, #9359, #8080, #6782, #6108
Bugs: #6431, #4164, #1485, #2964, #2790
2017-10-15 17:53:43 +01:00
Nick Hall bb6d0267ac Merge pull request #474 from jralls/primary_intent 2017-10-15 17:29:17 +01:00
John Ralls 6e24c2e79a Use Gdk.Event.triggers_context_menu in osmgpsmaps.py. 2017-10-15 17:27:02 +01:00
John Ralls 00095667e8 Replace is_right_click implementation with Gdk.Event.triggers_context_menu(). 2017-10-15 17:27:02 +01:00
John Ralls da47949b60 Replace use of CONTROL_MASK with PRIMARY_INTENT.
For better UX on Macs.
2017-10-15 17:27:02 +01:00
Nick Hall 90495324e0 Write dbapi schema version to metadata table instead of a file 2017-10-14 15:46:21 +01:00
Nick Hall 50091d1f86 Remove hardcoded references to BSDDB database backend
The default backend in the preferences is now used for:

* Archive checkout
* Import from the command line - python Gramps.py file
* Import by drag and drop onto the family tree manager
2017-10-13 22:25:49 +01:00
Nick Hall 94a6495a06 Fix opening recent family trees 2017-10-13 15:27:05 +01:00
Nick Hall c048ebcfbb Add login dialog and username/password command line options 2017-10-12 21:11:37 +01:00
prculley 1f9f08c3c5 Fix exception when changing a family with Add person editor open
fixes #10187
2017-10-12 19:20:12 +01:00
prculley 05800c530a Pylint improvements 2017-10-12 16:46:08 +01:00
prculley fdccc733a2 Remove eval() and rename self.dbstate 2017-10-12 16:45:59 +01:00
prculley 3d1095d9ca Another way to protect GOV IDs in Gramps ID position 2017-10-12 16:45:52 +01:00
Leonhaeuser be776d6a31 updated German date handler: added some missing Latin month names and some old German month names 2017-10-05 21:34:23 +02:00
Leonhaeuser 0697797504 updated German date handler: added missing Latin month names and some old German month names 2017-10-05 21:29:19 +02:00
vantu5z 8e34b04d64 update Russian translation 2017-10-03 18:25:57 +09:00
Paul Franklin e21a1c15d5 remove vestage of (old) SVN source-control system 2017-10-02 11:13:40 -07:00
Zdeněk Hataš 1aec255b38 Update Czech translation 2017-10-02 13:56:28 +02:00
Nemeséri Lajos 4c268e1236 Update Hungarian translation 2017-10-01 18:55:12 -07:00
prculley cdec0299a5 update authors file 2017-10-01 10:47:52 -05:00
Nick Hall b3b46c70b2 Remove set_save_path method
The path is already set in the database load method.
2017-09-30 21:35:41 +01:00
Nick Hall aed7560a46 Add missing methods to database unit test 2017-09-30 19:07:03 +01:00
Nick Hall f7c9ef7dbf Add missing base database method
Issue #9741.
2017-09-30 19:05:35 +01:00
Nick Hall 96f430480b Remove get_schema_version method
Issue #9541.
2017-09-30 17:32:50 +01:00
vantu5z e38614291d update Russian translation 2017-09-30 17:43:10 +09:00
Leonhaeuser 4d1bc30d64 Update German translation 2017-09-30 00:57:46 +02:00
Nick Hall 159601d635 Remove has_gramps_id method from the public API
Issue #9541.
2017-09-29 23:38:53 +01:00
Nick Hall d7cba793cf Remove get_gramps_ids method from the public API
Issue #9541.
2017-09-29 23:10:45 +01:00
Nick Hall fc92bbcdba Make get_number_of, get_raw_data and has_handle methods protected
Issue #9541.
2017-09-29 22:31:24 +01:00
Nick Hall 755254cf7c Remove get_from_name_and_gramps_id method
Issue #9541.
2017-09-29 19:42:39 +01:00
Nick Hall 5cb9c3e30e Remove get_from_name_and_handle_method
Issue #9541.
2017-09-29 18:52:58 +01:00
prculley 43c768c2d4 Fix ManagedWindow/GrampsWindowManager for subsidiary window close
fixes #10194
2017-09-29 16:56:36 +01:00
prculley e5ce8bc829 Fix Gedcom import for "1 MARR Y" issue
Fixes #10188
2017-09-29 16:53:35 +01:00
prculley d5ca13254f Correct ReorderID tool for several bugs and deal with GetGov ID
Fixes #10177, #10175, #10176
2017-09-29 15:28:58 +01:00
niememat 81a116b6a2 Update finnish translation 2017-09-28 04:44:49 +03:00
Leonhaeuser cf85f6600d Update German translation 2017-09-27 19:50:30 +02:00
SNoiraud 84c0d69da2 Bad call to unlink function.
Bug #08835
2017-09-27 09:40:12 +02:00
prculley 4ae5c6477b Fix Gedcom export for erroneously removed WriterOptionBox import 2017-09-26 16:20:42 -05:00
SNoiraud 41b97edb03 Try to handle OSError when we use the --export argument in CLI mode.
Fixes #08835
2017-09-26 16:07:41 +02:00
Nick Hall c9eee3b471 Ignore empty connection settings 2017-09-25 23:00:10 +01:00
Nick Hall 95376f9eff Include new PostgreSQL error handling in CLI 2017-09-25 22:52:05 +01:00
Paul Franklin 2b42dd258e Special char in place's name breaks xdot view
Issue #10174
2017-09-24 11:57:35 -07:00
vantu5z e1676aca6d update Russian translation 2017-09-24 19:57:14 +09:00
Paul Franklin 47ebd361d8 new gramps.pot translation template 2017-09-23 15:02:59 -07:00
Paul Franklin 62aaa65958 Organize Bookmarks Dialog doesn't close with x
Fixes #10207
2017-09-23 13:58:12 -07:00
Nick Hall 457722811d Improve PostgreSQL error handling
Re-raise a DbConnectionError if the connection raises an error.
2017-09-23 21:24:54 +01:00
Nick Hall 0f9a6d57bf Add connection preferences for PostgreSQL databases 2017-09-23 19:52:23 +01:00
Nick Hall 1482fedb9c Merge branch 'gramps50' 2017-09-23 17:08:52 +01:00
Nick Hall cd602170fd Build surname list with unique names
Fixes #10186.
2017-09-23 00:38:52 +01:00
Sam Manzi 00f8df60ce Revert "Tidy up mocking code (#438)[First commit]"
This reverts commit 8ebb4d35fa.
2017-09-23 07:50:48 +10:00
Paul Franklin c632d0f6a9 tweak some DateParser comments 2017-09-22 11:54:11 -07:00
Paul Franklin 829a8bd01d DateParserEN failures under the DateTest tool
Issue #7084
2017-09-22 11:51:30 -07:00
prculley 61552f6903 Fix make_unknown to create valid Place
Fixes #10202
2017-09-21 17:23:45 +01:00
Zdeněk Hataš 9643c6d620 Update Czech translation 2017-09-20 10:41:24 +02:00
vantu5z 4be86ba2ad update Russian translation 2017-09-18 09:29:03 +03:00
Jonathan Biegert f31caf1ea4 enable Graphviz node port selection, optionable (p.r. 456)
This enables the headport and tailport attributes for all edges in
the Graphviz file. The default (off) value makes the arrows between
persons and/or family nodes attach their ends to the respective node
at any position. When this option is selected, the position facing
the node on the other side of the arrow is always chosen.
2017-09-17 17:20:23 -07:00
Pedro Albuquerque 42f5cd5d11 update Portuguese (Europe) translation 2017-09-17 10:09:03 -07:00
niememat 0000b03226 Update finnish translation 2017-09-17 11:47:44 +03:00
niememat 84370a75e8 Update finnish translation 2017-09-17 11:26:20 +03:00
Paul Franklin 9d89aaeac9 new gramps.pot translation template 2017-09-16 19:24:05 -07:00
Paul Franklin de02717139 consolidate two strings into one, for more context for translators 2017-09-16 18:41:23 -07:00
Paul Franklin 19bfb4160a fix typos 2017-09-16 18:35:38 -07:00
Nick Hall 8ebb4d35fa Tidy up mocking code (#438)[First commit] 2017-09-17 11:03:39 +10:00
Paul Culley af975e926f StyledText.join method fails if the joint_text has StyledText Tags (#457)
fixes #10192
2017-09-17 10:48:42 +10:00
Pedro Albuquerque fe45742c21 update Portuguese (Europe) translation 2017-09-15 22:59:34 -07:00
Paul Franklin 193f082f30 3.4 database conversion fails
Fixes #10189, #10064
2017-09-15 21:04:30 -07:00
Serge Noiraud c5f2717623 Gramps 'Views' are not named in the window header (#448)
Resolves #001675
2017-09-12 10:05:46 +10:00
Paul Culley 231b15eca1 fix invalid export (and import) of Gedcom EMAIL records (#455)
Gedcom spec 5.5 requires '@' in general text to be doubled '@@'
fixes #10167
2017-09-10 08:33:23 +10:00
Paul Franklin c6f45af3f1 put the entire 'bash' tree in the tar file made by 'setup.py sdist' 2017-09-07 10:28:12 -07:00
Paul Franklin 96cc078118 put the entire 'example' tree in the tar file made by 'setup.py sdist' 2017-09-04 11:23:44 -07:00
Paul Franklin 4c1a82f757 restore git revision number to gramps50 branch 2017-09-02 22:08:28 -07:00
Paul Franklin b159ec719d Release Gramps 5.0.0-alpha3 2017-09-02 21:22:21 -07:00
Paul Franklin e715e9093e Update NEWS file for 5.0.0-alpha3 release 2017-09-02 21:17:39 -07:00
Paul Franklin 68310d21d0 Update ChangeLog files for 5.0.0-alpha3 release 2017-09-02 21:13:05 -07:00
prculley 2eb1f31d92 fix Undo; crashes due to race in Gtk
Some Redraws occur during a model clear when the row changed signal
is emmitted.  Model is only partially cleared at that point.
Under some conditions, some more of the model gets
cleared before the redraw completes, and redraw fails.
fixes #9932
2017-09-01 22:41:32 +01:00
prculley 86e2d96228 Fix for deleted objects referenced in Note StyledText Links
Fixes #10178
2017-09-01 22:39:14 +01:00
prculley ac4ba4cb0b pylint on Gedcom importer and exporter 2017-09-01 22:03:27 +01:00
vantu5z 436509edf6 update Russian translation 2017-09-01 22:16:50 +03:00
Paul Franklin 526e6503df show correct list of buttons when FTM started 2017-09-01 10:26:51 -07:00
Serge Noiraud e5d5cfbd3a Allow Home person to be set in Relationship and Pedigree view (#446)
Resolves #0001970
2017-09-01 10:41:24 +10:00
Paul Franklin 490d206afc don't show 'Archive' button on Windows, it doesn't exist there 2017-08-31 09:22:21 -07:00
Bernard Banko 10956afe84 update sl.po to latest .pot 2017-08-29 13:29:42 +02:00
Bernard Banko 0a19407328 updated slovenian translation 2017-08-29 13:29:42 +02:00
Zdeněk Hataš 65cff91c65 Update Czech translation 2017-08-28 11:17:52 +02:00
vantu5z 4c98f7aa5f update Russian translation 2017-08-28 09:38:29 +03:00
niememat d756f09c82 Update fix finnish translation 2017-08-26 11:58:36 +03:00
niememat 8b50243270 Update finnish translation 2017-08-26 11:12:21 +03:00
Leonhaeuser c03247be74 Update German translation 2017-08-25 19:20:16 +02:00
SNoiraud 2ad5095843 Apply changes from 9881 not in refactoring
Bug #009881, #010172
2017-08-25 09:02:02 +02:00
SNoiraud 61a57b8fdf Strange index and surnames count in narrative web
Fixes #010172
2017-08-23 22:06:57 +02:00
SNoiraud f4dc2a1ff5 After the patch for loop, some missing references
Fixes #010168
2017-08-23 11:59:41 +02:00
Paul Franklin 50b4c62d5e new gramps.pot translation template 2017-08-21 17:22:44 -07:00
SNoiraud b03816a2c0 10169: timestamp set to zero makes gramps crash on windows. 2017-08-21 17:12:31 +02:00
Paul Franklin e215393abd 7276: translate some currently-untranslated punctuation marks 2017-08-21 00:32:20 -07:00
Paul Franklin 04bb34b5e3 proofread and tidy up both POTFILES.in and POTFILES.skip 2017-08-21 00:26:11 -07:00
vantu5z 16e68cd605 update Russian translation 2017-08-21 09:23:03 +03:00
SNoiraud f0dadd9576 Better solution for avoiding loop in narrativeweb. 2017-08-21 00:30:33 +02:00
SNoiraud 73f2f05b26 Avoid loop in narrativeweb with citation, source, and media. 2017-08-20 23:50:08 +02:00
Nick Hall 08aee19e5e Use the default database backend for database conversion 2017-08-20 19:55:37 +01:00
Nick Hall 1d5788bb2d Remove version from the database type column
The version is still available in the information dialog and
from the command line.
2017-08-20 19:29:14 +01:00
Paul Franklin bb8a214c68 cope with pathlogical "person" 2017-08-19 19:01:39 -07:00
prculley 87a54127ff Correct issue with exception on database change in Gramplets
Fixes #10147
2017-08-19 23:14:17 +01:00
Serge Noiraud 8a648e7e22 Reorganization of the narrative web report. (#445)
* Reorganization of the narrative web report.

Resolves  #010151, #07740

* Add empty role to person and family backref lists
2017-08-19 19:54:15 +02:00
prculley 1d51fa4f61 Fix for InMemory db close error 2017-08-15 22:50:14 +01:00
niememat 8760bb9f6f Update fix finnish translation 2017-08-14 16:44:11 +03:00
vantu5z ceb14a0820 update Russian translation 2017-08-14 13:23:58 +03:00
Paul Franklin 30e973162f Cannot edit dates in Swedish locale and "day month year" format
Fixes #10149
2017-08-12 14:33:35 -07:00
Paul Franklin 7719e995e0 Gramps does not check [for] installed DB backend on DB selector
Fixes #10148
2017-08-10 22:13:34 -07:00
Paul Culley 3311224e48 Typo in note get_schema (#444) 2017-08-10 13:55:08 -05:00
Paul Franklin d277b169f1 Crash when import complex .gramps 5.0 current branch backup file
Fixes #10152
2017-08-10 11:48:36 -07:00
Paul Franklin 4657f91116 add a few comments to the date parser (since I keep forgetting) 2017-08-10 00:08:26 -07:00
Sebastian Schubert bd5f6e4711 example.gramps: add some non-primary participants to events
The following additional participants were added:
Death of Garner, Anderson:
* Page, Elizabeth (Witness)
* Farmer, Miranda Keziah (Witness)
* Page, David (Informant)

Birth of Thornton, James Arthur:
* Jankowski, Margaret Jane "Maggie" (Witness)
* Garner, Raymond E. (Informant)

Marriage of Garner, Lewis Anderson and Martel, Luella Jacques:
* Garner, Robert W. (Witness)
* Martel, Henry (Witness)
* Page, Robert (Clergy)
* Blanco, L. J. (Clergy)
2017-08-08 12:41:54 +01:00
Paul Franklin b9b4d2e175 fix no-day numeric date display in y-m-d locales 2017-08-07 15:03:52 -07:00
Paul Franklin f18aac14fd translate three small-dialog "close" buttons 2017-08-06 18:32:47 -07:00
Kaj Mikkelsen da849a1408 New danish translation after review 2017-08-05 17:00:32 +02:00
Leonhaeuser e15deff4ed synced with gramps 50 2017-08-03 20:46:41 +02:00
Leonhaeuser 61d11594e4 update Germantranslation 2017-08-03 20:42:57 +02:00
romjerome 9d906c29a2 update french translation 2017-08-01 12:20:05 +02:00
romjerome ce4c24caa9 update french translation 2017-08-01 12:14:09 +02:00
romjerome 6577d43e4e merge forward (working release steps on gramps42) 2017-08-01 12:03:46 +02:00
romjerome 5662741b03 merge forward (working release steps on gramps42) 2017-08-01 11:59:34 +02:00
Paulo Henrique Paiva de Moraes bcec235e3b update Brazilian Portuguese translation 2017-07-31 19:20:23 -07:00
Paulo Henrique Paiva de Moraes 44195cb607 update Brazilian Portuguese translation 2017-07-31 12:58:53 -07:00
Bernard Banko 097865b0c1 Slovenian translation update 2017-07-31 19:30:59 +02:00
Zdeněk Hataš aa3a1cc199 czech translation update 2017-07-31 10:37:10 +02:00
Kaj Mikkelsen db357e6af5 update Danish translation 2017-07-30 10:46:03 -07:00
Paul Franklin d09002755b remove obsolete translations (with doubled-percent-signs) 2017-07-30 10:41:36 -07:00
vantu5z 3c50a832e7 update Russian translation 2017-07-30 19:47:42 +03:00
niememat 2789ad40a8 Update finnish translation 2017-07-30 13:32:13 +03:00
Paul Franklin eccbb93775 new gramps.pot translation template 2017-07-29 13:45:01 -07:00
Paul Franklin 79a3b4d57d tidy up POTFILES.* (add recently translatable modules, etc.) 2017-07-29 13:42:17 -07:00
prculley 2d592fa521 Prevent dbapi from nesting transactions for metadata
Fixes #10038.
2017-07-29 21:03:17 +01:00
Nick Hall c7249b5ca9 Tidy up database summary information 2017-07-29 19:28:26 +01:00
romjerome 185d89c917 typo 2017-07-29 14:53:07 +02:00
Nick Hall 63bb36ea44 Reorganise DBAPI plugins
Add SQLite and PostgreSQL plugins.
Remove DBAPI and InMemoryDb plugins.
2017-07-28 23:42:55 +01:00
Nick Hall 1513315d05 Remove unused imports 2017-07-28 19:35:11 +01:00
Nick Hall e24ba2f198 Remove settings.py file 2017-07-28 19:35:11 +01:00
Paul Franklin d0880a07a0 fix another typo in the new lt.po 2017-07-27 19:46:04 -07:00
Bernard Banko 2eb81c320b lt.po: Added quotes add the end of the last string 2017-07-28 00:06:56 +02:00
Tadas Masiulionis bb604521f2 update Lithuanian translation 2017-07-27 12:52:20 -07:00
Alois Poettker 1a065485e3 Extend Pro-Gen importer II
Adapted to Pro-Gen test fix, expanded functionality and fixed
minor bugs.
2017-07-27 19:05:52 +01:00
schoonc 009783a59a Add pycharm dir to .gitignore 2017-07-27 18:23:55 +01:00
Nick Hall 1b4f70c808 Fix permissions on leak gramplet 2017-07-27 18:18:53 +01:00
niememat dd4a727521 Update finnish translation 2017-07-27 09:48:08 +03:00
Paul Culley ebb7111f25 An improved Leak (Uncollected Objects) Gramplet (#345)
* Improved leak detector (debugging tool)

* Fix DummyDb so it garbage collector can reclaim it after close

* Fix leak gramplet so pop-ups use correct transient parent
2017-07-27 12:15:38 +10:00
niememat e08e1237d9 Finnish translation update 2017-07-26 19:28:42 +03:00
Nick Hall 86fd14613e Merge branch 'gramps50' 2017-07-25 21:45:37 +01:00
Matti Niemelä aef8668d9f update Finnish translation 2017-07-25 13:01:44 -07:00
Frederik De Richter b229bd331b update Netherlands translation 2017-07-24 23:28:13 -07:00
Zdeněk Hataš fb28f71095 czech translation update 2017-07-24 10:17:00 +02:00
vantu5z 6d4e4ba6cc [Russian translation] fix typo
PR #439
Thanks to schoonc
2017-07-24 11:05:57 +03:00
Paul Franklin 0fa3d4af76 Date Editor has 'Type' and 'Quality' labels swapped
Fixes #10135
2017-07-23 11:25:19 -07:00
Paul Franklin fda7c3becb new gramps.pot translation template 2017-07-22 15:13:42 -07:00
Nick Hall b83283e081 Allow multiple collations per connection
This fixes collation for translated reports and multi-user access
for PostgreSQL.
2017-07-22 19:46:26 +01:00
vantu5z 95d84573d4 update Russian translation 2017-07-21 11:01:48 +03:00
Alois Poettker 5276461239 Tidy up code 2017-07-18 18:25:29 +01:00
Alois Poettker 40f47bc22d Delete multiple events 2017-07-18 18:20:55 +01:00
Nick Hall 8150403ccb Revert "Simplify import plugin unit tests"
This works with python 3.6 but not with 3.4.

This reverts commit b43d94ab16.
2017-07-18 16:57:55 +01:00
Nick Hall b43d94ab16 Simplify import plugin unit tests 2017-07-18 16:15:01 +01:00
Nick Hall 849290a3b7 Fix Pro-Gen unit test 2017-07-18 00:06:30 +01:00
Paul Culley 7771fa063a Gramplets HandleErrors with Family Merge and issues on close/open (#424)
Unless a Gramplet has navtype=['Person'] in .gpr it will not get an
automatic connection to Person active-changed.
To prevent multiple connections after db close/open, all connections
are made through Gramplet class 'connect', rather than directly to db

fixes #10082, #10081, #10090, #10089
2017-07-17 16:53:23 -05:00
Leonhaeuser d01fbf05ec Update German translation 2017-07-17 21:14:12 +02:00
prculley f40526366a Add title properties to more of schema 2017-07-17 16:13:12 +01:00
prculley d6ca3cf527 Fix source attribute lists in schema 2017-07-17 16:13:12 +01:00
prculley d275b3f7a3 Add db undo/redo, callback, and callback manager tests for both dbs 2017-07-17 09:52:15 -05:00
prculley 48eb507f98 Guarantee order on db emits Partial fix #10068 2017-07-17 09:52:15 -05:00
prculley a1205009f4 Undo of delete person on dbapi fails; fixes #10070 2017-07-17 09:52:15 -05:00
Nick Hall 8f69201a70 Fix creating new PostgreSQL database
PostgreSQL will rollback the entire transaction on errors.
Change the code so that we know that columns created dynamically
do not already exist.
2017-07-15 00:41:23 +01:00
Leonhaeuser 0b617e9fd6 update German translation
Fix #0010131
2017-07-15 00:23:00 +02:00
Leonhaeuser a2b5c8e34c update German translation
Fix #0010131
2017-07-15 00:19:39 +02:00
Thomas Guyot-Sionnest fd2af705e7 Use all parameters in settings.ini for postgresql
Read all parameters defined in settings.ini as keyword arguments for
postgresql. This also fixes port being ignored.
2017-07-14 18:01:51 +01:00
Paul Franklin d611b8b99c ignore whether 32-bit or 64-bit when reporting Windows o.s.
Fixes #8832
2017-07-10 10:47:20 -07:00
Zdeněk Hataš ad93ef2bb2 czech translation update 2017-07-10 10:51:16 +02:00
Lajos Nemeséri 7f267d8c46 Update Hungarian translation 2017-07-08 13:36:00 +02:00
Lajos Nemeséri 6eb435142e Update Hungarian translation 2017-07-08 13:34:34 +02:00
prculley 213243ae3d Fix verify tool to close and save configs properly
Fixes #10121

Signed-off-by: Paul Franklin <pf.98052@gmail.com>
2017-07-07 12:10:26 -07:00
vantu5z 4feaa0b594 update Russian translation 2017-07-06 13:12:12 +03:00
Frederik De Richter bb1ae6a240 update Netherlands translation 2017-07-05 11:34:56 -07:00
Paul Franklin 7014bc0d2e fix (more fatal) errors in Esperanto translation
Travis doesn't check for string-parameter mismatches, but it would have
been fatal if anybody had tried to actually run gramps in Esperanto.
2017-07-03 20:35:47 -07:00
Paul Franklin 443809a1c7 add three (fatal) missing linefeeds to Esperanto translation 2017-07-03 20:04:45 -07:00
Pier Luigi Cinquantini e81cd22592 update Esperanto translation 2017-07-03 19:29:40 -07:00
Leonhaeuser d1c844e36c update German translation 2017-07-03 20:11:27 +02:00
John Ralls d10561f27c Open web links with /usr/bin/open on Mac and Python older than 3.5
Works around https://bugs.python.org/issue24452
Fixes #10105
2017-07-03 10:24:47 -07:00
Alois Poettker e14ea777d5 Extend Pro-Gen importer functionality 2017-07-02 23:16:10 +01:00
Paul Franklin 46d73a16a0 add verify.py rules: match same birth or death date as marriage date
Issue #2583
2017-07-02 13:37:17 -07:00
Paul Franklin 9174d0e573 "translate" some more strings, make real omissions more obvious 2017-07-02 10:41:19 -07:00
Paul Franklin b36ca736ea translate some punctuation marks
more colons for French

Issue #7276
2017-07-02 09:54:51 -07:00
niememat 6682ebba81 Update finnish translation 2017-07-02 19:38:34 +03:00
Fedik 4d2b918d39 Update Ukrainian translation 2017-07-02 17:23:56 +03:00
Fedik 1e28870d25 Update Ukrainian translation 2017-07-02 16:43:17 +03:00
Paul Franklin 0b263eb5d5 revert half of 0fa5454831 (LANG), make new gramps.pot template 2017-07-01 20:41:51 -07:00
Paul Franklin 4eabee4b92 slight tweaks to two wiki pointers 2017-07-01 20:22:27 -07:00
SNoiraud dc8ec0a964 Narrated Web: path to alternate image is wrong
Fixes #9881
2017-06-30 15:24:24 +02:00
romjerome d69fc070f7 merge and update french translation 2017-06-30 09:35:49 +02:00
romjerome a9dbfca810 update french translation 2017-06-30 09:26:18 +02:00
romjerome 4acfdcce52 update french translation 2017-06-30 09:20:12 +02:00
vantu5z 0fa5454831 [about dialog] - some strings to translate 2017-06-30 09:04:46 +03:00
Paul Franklin 8611494069 don't print a 'Distribution' line in Windows error reports 2017-06-29 11:25:43 -07:00
vantu5z 4bbd5d5ee5 update Russian translation
- merge with template (translate new strings)
- add latest translators to translator-credits
2017-06-29 10:18:37 +03:00
arnaullv b3c5e372d6 Updated catalan translation to latest template 2017-06-28 21:49:06 +01:00
Paul Franklin 3a663870ac fix fatal error in Finnish translation 2017-06-28 12:03:34 -07:00
Frederik De Richter 8fce3035d3 update Netherlands translation 2017-06-28 10:43:52 -07:00
Matti Niemelä a3070f8149 update Finnish translation 2017-06-28 10:37:19 -07:00
Sveinn í Felli 1e8beab9a3 update Icelandic translation 2017-06-28 10:29:22 -07:00
SNoiraud afdd7c74c3 Narrative web : crash using OSM when bad lat/lon
Fixes : 10111
2017-06-28 17:36:58 +02:00
Zdeněk Hataš b0ad63f1c7 czech translation update 2017-06-28 11:17:01 +02:00
Leonhaeuser 790cae7685 update German translation 2017-06-27 21:21:52 +02:00
John Ralls 19adb31b0e FamilyGroup Report crash
Python's sort routine gratuitously converts the bytearrays returned by
ICU::Collator::getByteArray to a string when storing it. This resulted
in a TypeError when attempting to compare a just-returned bytearray
with a stored string.

We work around this by converting the bytearray into its hexadecimal
representation and then decoding that into a string.

Fixes #10077.
2017-06-27 11:25:14 -07:00
Paul Franklin a63e0c2e23 new gramps.pot translation template 2017-06-27 10:33:50 -07:00
Paul Franklin cd88b2a0b6 typo (thanks, Sveinn Felli) 2017-06-27 10:07:20 -07:00
Paul Franklin 28c0638c38 don't print a 'Distribution' line in Windows' Help=>About 2017-06-27 09:06:11 -07:00
Paul Culley dc645c813b ReorderIds tool crashes with 'bytes' error on bsddb (#428)
fixes #10098
2017-06-26 22:17:40 +01:00
arnaullv f3b3eec211 Updated catalan translation to latest template 2017-06-26 22:06:29 +01:00
Paul Franklin e6ec825a97 merge translation with current template 2017-06-26 12:30:38 -07:00
Paul Franklin aac102f432 merge translation with current template 2017-06-26 12:30:37 -07:00
Paul Franklin 353543e47d merge translation with current template 2017-06-26 12:30:37 -07:00
Paul Franklin 68f1e920ed merge translation with current template 2017-06-26 12:30:37 -07:00
Paul Franklin 9e796ebb43 merge translation with current template 2017-06-26 12:30:36 -07:00
Paul Franklin a52f88fd53 merge translation with current template 2017-06-26 12:30:36 -07:00
Paul Franklin 0873c9006a merge translation with current template 2017-06-26 12:30:35 -07:00
Paul Franklin 1db2181dcf merge translation with current template 2017-06-26 12:30:35 -07:00
Paul Franklin d2ffe9cc38 merge translation with current template 2017-06-26 12:30:35 -07:00
Paul Franklin 7ce031bb15 merge translation with current template 2017-06-26 12:30:34 -07:00
Paul Franklin bc765ee2b0 merge translation with current template 2017-06-26 12:30:34 -07:00
Paul Franklin c77920471d merge translation with current template 2017-06-26 12:30:33 -07:00
Paul Franklin 702ebaf0a2 merge translation with current template 2017-06-26 12:30:33 -07:00
Paul Franklin 93349b8fa3 merge translation with current template 2017-06-26 12:30:33 -07:00
Paul Franklin 040fad0db4 merge translation with current template 2017-06-26 12:30:32 -07:00
Paul Franklin 1bdccd9270 merge translation with current template 2017-06-26 12:30:32 -07:00
Paul Franklin 919b79bef4 merge translation with current template 2017-06-26 12:30:31 -07:00
Paul Franklin 7b898b03a2 merge translation with current template 2017-06-26 12:30:31 -07:00
Paul Franklin ef65f7bfa2 merge translation with current template 2017-06-26 12:30:30 -07:00
Paul Franklin 047bfed661 merge translation with current template 2017-06-26 12:30:30 -07:00
Paul Franklin 1b32c38373 merge translation with current template 2017-06-26 12:30:30 -07:00
Paul Franklin a903e96e92 merge translation with current template 2017-06-26 12:30:29 -07:00
Paul Franklin e407e6b456 merge translation with current template 2017-06-26 12:30:29 -07:00
Paul Franklin 08e58c6652 merge translation with current template 2017-06-26 12:30:28 -07:00
Paul Franklin eda61cb80a merge translation with current template 2017-06-26 12:30:28 -07:00
Paul Franklin 143ae11221 merge translation with current template 2017-06-26 12:30:27 -07:00
Paul Franklin 4a1e4901c8 merge translation with current template 2017-06-26 12:30:27 -07:00
Paul Franklin 02e47dbae3 merge translation with current template 2017-06-26 12:30:26 -07:00
Paul Franklin 20d952d472 merge translation with current template 2017-06-26 12:30:26 -07:00
Paul Franklin 5487e03212 merge translation with current template 2017-06-26 12:30:26 -07:00
Paul Franklin 9c1ddbeab7 merge translation with current template 2017-06-26 12:30:25 -07:00
Paul Franklin 7247bb5ced merge translation with current template 2017-06-26 12:30:25 -07:00
Paul Franklin 0164c2087f merge translation with current template 2017-06-26 12:30:24 -07:00
Paul Franklin aa6e66ef9f merge translation with current template 2017-06-26 12:30:24 -07:00
Paul Franklin 57eb2bae2b merge translation with current template 2017-06-26 12:30:23 -07:00
Paul Franklin f658e5a1af merge translation with current template 2017-06-26 12:30:23 -07:00
Paul Franklin a918c66b87 merge translation with current template 2017-06-26 12:30:23 -07:00
Paul Franklin 4e75ce56ae add another address to the mailmap 2017-06-26 12:27:32 -07:00
Matti Niemelä b989b46f21 update Finnish translation 2017-06-26 11:16:49 -07:00
vantu5z fd12e81724 update Russian translation 2017-06-26 07:52:44 +03:00
John Ralls 59c97081be Add 24x24 gramps-fanchart2way.png.
Missed when the plugin was added. Not having it makes for an ugly charts
toolbar in HiDPI.
2017-06-24 20:38:47 -07:00
niememat a840566e02 Update fix finnish translation 2017-06-24 19:33:00 +03:00
Nick Hall 3e5a90b4b1 typo
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-5.0.0-alpha2\gramps\gui\configure.py", line 1248, in autobackup_changed
    self.uistate.set_autobackup_timer()
AttributeError: 'DisplayState' object has no attribute 'set_autobackup_timer'

https://gramps-project.org/bugs/view.php?id=10098#c52129

Issue #10098
2017-06-23 12:55:33 -07:00
prculley d8ba3f746c Unnecessarily long relative paths generated on Windows
The relative_path file utility function returns paths with '..\..'
on Windows unnecessarily.

fixes #10087
2017-06-23 19:31:47 +01:00
Nick Hall fd329764ed The get_name_group_mapping method should return a str
Fixes #10084, #10085, #10086.
2017-06-23 18:17:12 +01:00
Paul Franklin 7d9556c933 merge translation with current template 2017-06-22 20:28:08 -07:00
Paul Franklin 5bb2f8b7fb names not displayed in relationship graph
Issue #10093
2017-06-22 17:27:23 -07:00
Leonhaeuser d9136ecfa8 update German translation 2017-06-22 20:29:41 +02:00
Nick Hall f6a2199f68 Merge branch 'gramps50' 2017-06-22 17:47:33 +01:00
Zdeněk Hataš c0e1f5629d czech translation - small fixes 2017-06-22 12:29:42 +02:00
prculley f954b97f96 Citations Gramplet doesn't update in many cases
Fixes #10069.
2017-06-21 18:45:40 +01:00
Nick Hall adb4883291 Fix HasCitation rule in citation filter sidebar
Filter parameters should be of type str.

Fixes #10076.
2017-06-21 18:26:32 +01:00
Paul Franklin ccb5d5245a typo 2017-06-21 10:06:54 -07:00
Paul Franklin c7ce70d844 Outdated Bugtracker link in Unexpected Error reporting wizard
Fixes #10100
2017-06-21 09:38:31 -07:00
Paul Franklin d7b6d88274 Family Lines Report generates empty PDFs when name [has double-quotes]
Fixes #10096
2017-06-21 09:18:57 -07:00
Paul Franklin 184eaf21cd non-local character in DB name causes crash on Windows
Fixes #10095
2017-06-19 09:51:02 -07:00
Paul Franklin 13b5680692 make error report versions closer to Help=>About ones 2017-06-17 19:07:43 -07:00
John Ralls 2f8bc559e8 Add a gir element, needed for scriptless bundles. 2017-06-17 14:51:28 -07:00
SNoiraud 65b058ff75 Dead people are shown as alive
Fixes #6364.
2017-06-16 23:01:29 +01:00
prculley d486052378 Gedcom import with OBJE/FORM URL on event
Fixes #7593.
2017-06-16 22:31:56 +01:00
prculley f17892c411 Fix click/drag in media reference editor
Fix so click/drag creates/updates selection using left mouse
button.

Fixes #8429.
2017-06-16 22:05:15 +01:00
prculley 007c1cb1d6 Fix spin button updates in media reference editor
Fix so spin button updates visible selection when it has already
been clicked.

Bug #8429.
2017-06-16 22:05:06 +01:00
prculley bdbecfa46c Fix media preview for preview size changes
Bug #8429.
2017-06-16 21:58:05 +01:00
prculley 6ece4ce742 _errorview dialog mapped without transient parent
Fixes #8128.
2017-06-16 19:55:50 +01:00
prculley c1aeb6b203 Undo of delete doesn't update views
Fixes #10056.
2017-06-16 18:31:48 +01:00
prculley 3150fae2b8 Error on 'cancel' for db upgrade
Fixes #10065.
2017-06-16 18:07:29 +01:00
prculley 620845bc4f Top surnames Gramplet doesn't update when db is closed
Fixes #10073.
2017-06-16 17:54:45 +01:00
Josip bec8cea3e3 DBAPI: PostgreSQL crash (#421)
Fixes #0010071.
2017-06-16 16:53:36 +02:00
SNoiraud 1a4d43dbbf 10088: Geography: try to link a map position if we have an active place. 2017-06-16 14:54:04 +02:00
Doug Blank 676825cf52 Removes try/except and recursion in ancestor filters +/- N gens
This fix rewrites the Ancestor-of +/- N filters to remove the try/except
and removes the recursion. The recursion would only be a problem
on very deep trees, but the try/except was hiding a variety of
problems. Most directly, if a person did not have a main family
then it would exit out of the loop.

(I don't have a test database to break the code other than my
real data, so you'll have to do that part.)

I also made sure that the meaning of N is consistent in
both filters:

1 - root person
2 - root person's parents
3 - root person's grandparents
2017-06-16 00:55:31 +01:00
prculley 5f93da1343 HandleError on Relationship view for add child with no father
Fixes #10059.
2017-06-15 21:50:24 +01:00
prculley eedbe0db67 Fix HandleError in Citation gramplet
Fixes #10054.
2017-06-15 17:29:28 +01:00
Nick Hall dfc9dde32d Merge branch 'gramps50' 2017-06-15 16:44:15 +01:00
Zdeněk Hataš 5b0fbf209e removed legacy code from _date_cs.py
fixed inflections in cs.po
2017-06-15 12:57:03 +02:00
prculley 22fb1ab254 relationship calculator fails (missing uistate param)
Fixes 10052
2017-06-14 02:25:28 +02:00
bpisoj d6b26eff26 add build version to const.py 2017-06-10 21:33:23 +02:00
bpisoj ecf02a023a remove build version from const.py 2017-06-10 20:52:56 +02:00
John Ralls 25dafee197 Fix GtkosxApplication load failure.
Viewmanager somehow lost its import of gi.
2017-06-08 10:19:17 -07:00
prculley 8c1ccabe31 Update Readme to provide some package dependency names 2017-06-08 08:22:58 -05:00
Paul Franklin 33635db955 update MANIFEST.in with both ChangeLog files 2017-06-06 11:46:09 -07:00
Paul Franklin ee67f4496d update ChangeLog files 2017-06-06 11:43:27 -07:00
Paul Franklin a97c20f4b5 make official 5.0.0-alpha2 release 2017-06-06 08:41:35 -07:00
Paul Franklin 04b8be8710 update NEWS for 5.0.0-alpha2 release 2017-06-06 08:31:33 -07:00
Zdeněk Hataš d68bbf3383 czech translation update 2017-06-05 11:52:03 +02:00
Zdeněk Hataš 50f93f54ec czech translation update 2017-06-05 11:49:50 +02:00
John Ralls 6cbc465e60 Update gramps.modules for Python3.6. 2017-06-04 16:50:08 -07:00
John Ralls 657aca35ac Update versions for gramps v5.0.0-alpha2. 2017-06-04 16:50:08 -07:00
Nick Hall c727d56ed0 Add unit tests for empty dates 2017-06-04 23:15:36 +01:00
prculley b18676aaf4 Text-only dates are sometimes not exported in XML
Fixes #10062.
2017-06-04 23:14:55 +01:00
Josip bf634ee8e8 EOFError [Ran out of input] in Clipboard (#411)
[EOFError: Ran out of input] for Clipboard when you drag and
drop the bolded lines in selected tabs of Person Edit

Attempt to drag and drop any of the "bolded lines" in the Events or
Names tabs into the clipboard window. The unbolded lines drag and drop
ok.

Fixes #8788.
2017-06-04 19:08:27 +01:00
Matti Niemelä e01a8602b6 update Finnish translation 2017-06-04 10:22:21 -07:00
vantu5z ac8f5a059a update Russian translation 2017-06-04 11:11:28 +03:00
Paul Franklin e40f5d9faa correct the "Language" field in some translations 2017-06-03 15:17:46 -07:00
Nick Hall 9cb1d96725 Merge branch 'gramps50' 2017-06-03 22:20:03 +01:00
Josip 6a4bd7dceb Crash after dragging multiple items from clipboard to gallery
I copied 7 items from the Media List to the clipboard. I then opened a
Person, and dragged one Media Item to the Gallery. I then clicked and
dragged to highlight the remaining 6 items at once. On dragging them to
the gallery, it crashed.

2989475: ERROR: grampsapp.py: line 145: Unhandled exception
Traceback (most recent call last):
File "C:\Program
Files\GrampsAIO64-4.2.5\gramps\gui\editors\displaytabs\gallerytab.py",
line 475, in drag_data_received
(mytype, selfid, obj, row_from) = pickle.loads(sel_data.get_data())
ValueError: too many values to unpack (expected 4)

Fixes #9984.
2017-06-03 22:17:45 +01:00
Josip 118e6c89e9 Cannot drag & drop textual value via clipboard
Allows dnd of textual values from clipboard and shows icon of
target-type during dragging instead of row image, except for text target
shows actual text as drag icon.

Fixes #7532.
2017-06-03 22:13:52 +01:00
Josip bc17245331 Quick search with Czech characters -> Crash
Crash happen when checking for "event.string" in "treeview_keypress"
function in "gramps/gui/widgets/interactivesearchbox.py"
Note that

https://lazka.github.io/pgi-docs/Gdk-3.0/classes/EventKey.html#Gdk.EventKey
says it is deprecated and should never be used.

Gdk.keyval_to_unicode return the corresponding unicode character, or 0
if there is no corresponding character.

Fixes #9130.
2017-06-03 22:05:34 +01:00
Paul Franklin ea5b54598e new gramps.pot translation template for gramps50 2017-06-03 13:47:03 -07:00
Paul Franklin f276507fb8 remove accelarators/mnemonics from non-top-level menu items
https://github.com/gramps-project/gramps/commit/59cced2bc622201a577d8dfba373b3a7fcf3daf5#commitcomment-22310331
2017-06-03 13:43:45 -07:00
Nick Hall 40013dccc3 Merge branch 'gramps50' 2017-06-02 23:53:56 +01:00
Nick Hall 736f10875f Comment out beta warning rather than change config setting 2017-06-02 23:50:44 +01:00
Serge Noiraud 24af1b8420 8200: Person Relatives Tab should use the type from the relationship (#396)
* 8200: Person Relatives Tab should use the type from the relationship

* 8200: Flag variables as there are now two variables.
2017-06-02 20:07:31 +02:00
SNoiraud 7230e8618e 10049: Narrated Web Report options reorganization 2017-06-02 13:27:53 +02:00
Serge Noiraud 213d656df4 10049: tabs reorganization in narrative web. (#406) 2017-06-02 13:20:21 +02:00
John Ralls b4fed8101a 8366: February 29th invalid date in Julian dual-dated leap year 2017-05-31 12:06:53 -07:00
Nick Hall ed8807f73a Fix get_gramps_ids method to return a list of str 2017-05-31 17:03:20 +01:00
Nick Hall 512fa615bf Fix DummyDb errors after a cancelled database upgrade 2017-05-30 23:27:08 +01:00
Nick Hall 16cd995558 Database upgrade to convert default handle to str 2017-05-30 19:23:48 +01:00
vantu5z 5939e722e4 update Russian translation
(fixes for [add->new] menu translations)
2017-05-30 11:06:42 +03:00
Nick Hall 352d6fc558 Convert handle type to str in the database API (#405)
The mixed type of handles has been a constant source of bugs.
Converting them all to str in the database API should make
maintenance easier. The key to BSDDB tables must still be bytes
in the database layer.
2017-05-30 00:19:42 +01:00
prculley 83d24ed681 8366: February 29th invalid date in Julian dual-dated leap year 2017-05-29 10:57:47 -07:00
Leonhaeuser d14383cb3a Update German translation 2017-05-29 19:18:56 +02:00
vantu5z f1659d556e update Russian translation 2017-05-29 09:46:32 +03:00
Nick Hall 22e7243660 9229: Use the term "Delete" instead of "Remove"
The term "Delete" should be used when an object is deleted from
the database.  The term "Remove" should be used when an object is
removed from a list, but not actually deleted.
2017-05-28 17:54:46 +01:00
Leonhaeuser 2d1d0342c9 Update German translation 2017-05-25 21:59:41 +02:00
Nick Hall fd1418dc8a Disable development warning message 2017-05-24 00:18:31 +01:00
Nick Hall c09b4e96d2 Remove trailing whitespace 2017-05-23 19:52:19 +01:00
Nick Hall a80875e00c Update Travis for gramps51 2017-05-23 19:51:24 +01:00
Nick Hall bbdedb5097 Update a few missed version numbers 2017-05-23 19:49:23 +01:00
Nick Hall dd0671b111 Bump all version numbers to 5.1 2017-05-23 18:30:29 +01:00
Paul Franklin b38f68496f restore missing (since January) "import statistics" dialog 2017-05-22 12:42:23 -07:00
Paul Franklin f035196b6c Revert "restore missing (since January) "import statistics" dialog"
This reverts commit c3fb9c0c4e.
2017-05-22 11:21:57 -07:00
Paul Franklin c3fb9c0c4e restore missing (since January) "import statistics" dialog 2017-05-22 06:17:26 -07:00
Zdeněk Hataš ca7f65865e czech translation update 2017-05-22 11:41:30 +02:00
Paul Franklin 9485e061b1 merge translation with current template 2017-05-20 13:47:12 -07:00
Paul Franklin d6a97cf90e 10033: Note isn't included on CIR when it is attached to a name 2017-05-19 06:50:22 -07:00
vantu5z 4791550f6b update Russian translation 2017-05-16 14:22:36 -03:00
Sam Manzi 59cced2bc6 Feature:New global [Add]>[New] menu with Keybindings (#281)
Usability improvement, allows using the Menu [Add]>[New] or global keyboard shortcut(keybinding) to add [New] entries

Supports:

Adding [New] records for:

* Person

* Family

* Event (default=Custom/Unknown)(Leave blank for unknown / enter letters for custom)

* Place

* Source

* Citation

* Repository

* Media

* Note
2017-05-16 10:43:14 +10:00
Sam Manzi bef4b309b6 Bug8723: Missing [edit buttons] in relationship view (#391)
Shows edit-Buttons by default only if familytree is not readonly
2017-05-16 10:26:46 +10:00
Paul Culley 6a35246e08 bug 6664; fix Detailed Descendent Report, multi paths to descendent (#386)
where the descendent ends up in different generations at the same
time
2017-05-16 10:08:25 +10:00
Paul Culley fa46fe189b bug 6130; fix export filtering (#380) 2017-05-16 09:52:23 +10:00
Nick Hall 61526190e6 Remove trailing whitespace 2017-05-15 22:20:22 +01:00
Nick Hall a4550d2cd6 Remove trailing whitespace 2017-05-15 22:03:55 +01:00
Nick Hall 85161726a2 10039: Fix unit tests that use the test case generator
The keys() method of a dictionary returns its keys in an arbitrary
order. These must be sorted to provide deterministic results for
unit tests.
2017-05-15 21:52:49 +01:00
Nick Hall 80779a35fa Revert bugs #8785 and #9700
Expanding tree selectors by default caused performance issues.
The expanded person selector also made it more difficult to
select a specific person in some circumstances.

GEPS 041 has been created to discuss a better selector design.
2017-05-15 17:32:57 +01:00
vantu5z 05f04093af update Russian translation 2017-05-15 10:10:58 -03:00
Paul Franklin ccc3a4a8ef new gramps.pot translation template for master 2017-05-14 12:24:30 -07:00
Paul Franklin 657e76ccb4 add two recently-created files to POTFILES.in 2017-05-14 12:20:30 -07:00
Leonhaeuser d7379bd2f1 Update German translation 2017-05-14 18:18:38 +02:00
Alois Poettker e145a30291 Extend ReorderIDs-II DE translation. (#395) 2017-05-14 17:41:15 +02:00
Serge Noiraud 543661d62e FR10020: Add "within <n> km/miles/degree" filter (#382) 2017-05-13 22:01:55 +01:00
Alois Poettker 022da0cb82 Extend ReorderIDs-II functionality. (#383) 2017-05-13 16:34:15 +01:00
Serge Noiraud 5791788f0e Narrative web features: 5592 + 5408 + 10031 (#389)
* Feature: 5592 show more details + 5408 children dates

* NarrativeWeb: another translation problem.

* Narrativeweb: different locales.

* Feature 10031: maps not displaying all events
2017-05-13 08:07:32 +02:00
Paul Franklin 2a2a0d2766 new gramps.pot translation template for master 2017-05-11 11:10:17 -07:00
Nick Hall 804fa635e6 10039: Fix imports test for non-US locales 2017-05-11 19:34:28 +01:00
vantu5z cf479647ad update Russian translation 2017-05-11 14:41:15 -03:00
Nick Hall 14faa46363 Use with-block when writing to file 2017-05-11 17:25:14 +01:00
Nick Hall 1b18b652bb Remove TestLogger and associated unit test
This is not used anywhere. In current python versions, basicConfig
is called automatically when there is no root handler. It is easy
to add a FileHandler if required.
2017-05-11 17:18:17 +01:00
Nick Hall 0d704f03d8 Ignore log messages during unit test capture 2017-05-11 15:03:42 +01:00
Paul Franklin 07ce8c22d8 add gramps-ID option to DAR and DDR text reports 2017-05-10 20:18:52 -07:00
Nick Hall 8086d9f2ca Revert "Increase logging level during unit tests"
This reverts commit 709f3a33d5.
2017-05-11 01:05:42 +01:00
Nick Hall 709f3a33d5 Increase logging level during unit tests 2017-05-10 23:53:54 +01:00
Nick Hall 108d7b461c Merge pull request #385 from prculley/report_test 2017-05-10 22:53:30 +01:00
prculley 355110e703 Fix imports_test nosetest description and running 2x under unittest 2017-05-10 22:46:40 +01:00
prculley dd828cee5b pylint improvements on report_test 2017-05-10 22:46:40 +01:00
prculley 22c966bd8a Fix reports test to run under Unit-test and other environments
Originally run correctly only under nose; under unit-test failed
to find anything to do.  Also was selecting wrong test file.
2017-05-10 22:45:53 +01:00
Nick Hall 2e2e6c88a4 Suppress extraneous output in unit tests 2017-05-10 18:21:48 +01:00
Nick Hall 60ab0a01bf Rename unit test that has now been implemented 2017-05-09 19:50:53 +01:00
Nick Hall f9cacac1db Comment out some tests that have not yet been implemented
This will prevent nosetest running them.
2017-05-09 19:49:22 +01:00
Nick Hall 1e54cbbec3 Remove test suite functions
These cause nosetest to run duplicate tests.
2017-05-09 19:40:50 +01:00
vantu5z 828c187dc3 update Russian translation 2017-05-09 14:01:39 -03:00
Paul Franklin 8244c7b211 add gramps-ID option to Ancestor and Descendant text reports 2017-05-08 19:00:29 -07:00
Nick Hall c6970e640c Do not run tests in the test directory
The tests in the GrampsLogger directory should be moved into
gramps/gui/logger/test, but mainly duplicate the existing rotate
handler test.
2017-05-08 22:47:38 +01:00
Nick Hall 5ffb4bcfac Add missing __init__.py in test directories 2017-05-08 21:43:33 +01:00
Paul Franklin 8d0fcc5730 convert existing reports to use the new stdoptions gramps-ID option 2017-05-07 18:15:40 -07:00
Paul Franklin 5056b8addf add a new gramps-ID option to stdoptions 2017-05-07 18:10:58 -07:00
Paul Franklin c8001c7483 tweak some None tests 2017-05-07 18:03:40 -07:00
Sam Manzi 49493290c5 Fix bug 9975 Incorrect SoundEx result (#388) 2017-05-05 16:29:27 +10:00
Sam Manzi 38db06f931 Fix syntax error postgresql (#387) 2017-05-05 16:10:09 +10:00
Sam Manzi d284ace4ed Mention translation URLs in Contribute (#381) 2017-05-05 15:50:10 +10:00
Paul Culley 2974f82aad bug 9445; fix XML export of notes so lead/trail spaces are preserved (#379) 2017-05-05 15:29:15 +10:00
Serge Noiraud 98238c7112 10012 : Save defaults for different Narrative Web report websites (#375) 2017-05-05 11:51:09 +10:00
Serge Noiraud 8f99b4b488 add the date-format option to narrativeweb and webcal. (#374) 2017-05-05 11:30:53 +10:00
John Ralls 41bd626aa2 Update Mac moduleset dependencies. 2017-05-04 16:06:02 -07:00
John Ralls c5ddeeca5e Fix GI version check warning on GtkosxApplication. 2017-05-04 15:33:53 -07:00
Zdeněk Hataš 6b2f7aea64 czech translation update 2017-05-02 13:36:42 +02:00
SNoiraud 2c67db6a58 10029: Bad color assignment in geoplaces 2017-05-01 07:57:46 +02:00
Paul Franklin 6b45d7cedd new gramps.pot translation template for master 2017-04-30 14:29:52 -07:00
Paul Franklin 1ba072e6fc 10000: report tables are always written LTR even for RTL locales 2017-04-30 13:52:42 -07:00
Paul Franklin 2b6cc3cd18 Revert "10000: report tables are always written LTR even for RTL locales"
This reverts commit 55fa920628.
2017-04-30 12:31:42 -07:00
Paul Franklin 55fa920628 10000: report tables are always written LTR even for RTL locales 2017-04-30 11:44:13 -07:00
Paul Culley db8b95cf2d bug 9564; fix exception on Event filter editor (#377)
for 'Events occurring on a particular day of the week' filter
2017-04-30 12:27:48 +10:00
Mateusz Konieczny 9dec0bc364 add CONTRIBUTING file, enable packacking this file (#376)
CONTRIBUTING file is standard place for documentation how one may send patches
such documentation exists for this project so that file will be redirection to existing resources

At least some people potentially interested in contributing at this moment have a very small
but completely pointless task (locating documentation for developers) to overcome before doing something useful.

Ref: https://gramps-project.org/bugs/view.php?id=10019
2017-04-30 12:07:22 +10:00
Paul Franklin bf1875e830 8128: GtkDialog mapped without a transient parent 2017-04-25 20:41:28 -07:00
vantu5z 2fef1b30d0 update Russian translation 2017-04-24 14:04:54 +03:00
Matti Niemelä df6b946268 update finnish translation 2017-04-22 11:49:51 +02:00
romjerome 78a0ac5f50 Update french translation 2017-04-21 11:26:44 +02:00
Nemeséri Lajos 37b2f09134 Update Hungarian translation 2017-04-21 10:59:48 +02:00
Paulo Henrique Moraes 1766f9944c Updated translation (#373) 2017-04-18 20:43:20 +01:00
Paul Franklin 2965d77cde 10003: add more Records options (father with most children, etc.) 2017-04-18 06:17:27 -07:00
Paul Franklin e0a8bb4f5e add a subtitle to the book's T.O.C. for the Family Group report 2017-04-16 09:47:57 -07:00
Paul Culley fd4795e957 bug 8128; Fix 'print...' dialogs for missing transient parent (#372)
Requires adding uistate to the docgen basedoc and all files that
override the init
2017-04-15 11:22:54 +10:00
Paul Franklin cb932b9221 typo (trailing whitespace) 2017-04-14 17:02:50 -07:00
Paul Franklin 8379e0ce6e add the date-format option to some more reports 2017-04-14 13:54:24 -07:00
Paul Franklin 38239526f6 fix numeric date displayer (for Hebrew month "13" and B.C.E. years) 2017-04-10 09:15:22 -07:00
Zdeněk Hataš 8ee8e89011 czech translation update 2017-04-10 12:55:55 +02:00
Paul Franklin 1f8f8b9434 enable Tamil dates 2017-04-09 22:56:59 -07:00
Paul Franklin 95b2a8765b new gramps.pot translation template for master 2017-04-09 18:14:41 -07:00
Paul Franklin 977db6223f enable date-format option in Complete Individual report 2017-04-09 18:12:23 -07:00
Paul Franklin ef271dc381 enable date-format option in reports 2017-04-09 15:24:09 -07:00
Paul Franklin 3d3b13c8ad 9985: secondary locales do not use their own numeric date format 2017-04-09 15:21:08 -07:00
SNoiraud efd73e9427 8128: GtkDialog mapped without a transient parent in placeselection 2017-04-06 09:59:48 +02:00
Matti Niemelä ae72a999f0 update finnish translation 2017-04-05 15:03:12 +02:00
Zdeněk Hataš 5713d173b3 czech translation update 2017-04-04 09:25:21 +02:00
Paul Franklin fab2537dce typo 2017-04-02 09:41:19 -07:00
Sam Manzi 3fdc986542 Merge pull request #370 from prculley/bug8128
Bug 8128; for color chooser dialogs; fixed transient parent
2017-04-02 10:20:04 +10:00
Sam Manzi 141cd18651 Merge pull request #369 from prculley/bug9998
bug 9998 partial fix for Note editor Toolbar overflow icons missing
2017-04-02 10:04:22 +10:00
prculley 3b5fcae948 bug 9998 partial fix for Note editor Toolbar overflow icons missing
Bug Affects Windows only.
Adds text labels to icons which will only appear in the overflow
dropdown menu when dialog is too narrow.  Icons still don't show
due to Gtk bug on Windows, but at least user sees the text labels.
2017-03-31 12:23:23 -05:00
prculley 916232a6ef Bug 8128; for color chooser dialogs; fixed transient parent
for styledtexteditor and Family Lines Graph, Family Colors option
2017-03-31 11:53:10 -05:00
erikdrgm 8a3b606b7a updated nl translation 2017-03-29 22:25:38 +02:00
erikdrgm 6d050fbf7c Merge branch 'master' of github.com:gramps-project/gramps 2017-03-29 22:02:38 +02:00
Nick Hall 002f1e0899 Remove redundant command line options 2017-03-27 21:17:31 +01:00
vantu5z 85292a9ef1 update Russian translation 2017-03-25 22:25:12 -03:00
Sam Manzi d2ec35ec35 Merge pull request #367 from arnaullv/master
Update Catalan translation to latest template
2017-03-25 16:25:33 +11:00
arnaullv 0d121b32c5 Update Catalan translation to latest template
Update Catalan translation to latest template and unified translation criterias
2017-03-24 15:43:39 +01:00
Paul Franklin 0a58ce69f9 9995: Bug in the Name Editor / Group As 2017-03-22 17:23:03 -07:00
Paul Franklin c56177169d clarify use of the style editor for graphic style editing 2017-03-22 16:15:42 -07:00
Paul Franklin 9246484876 new gramps.pot translation template for master 2017-03-21 23:48:07 -07:00
Paul Franklin 08746bf024 consolidate some report style descriptions (fewer strings to translate) 2017-03-21 22:34:47 -07:00
Paul Franklin 0919763f15 enable preliminary Tamil translation 2017-03-20 12:13:51 -07:00
Logan M d7b409ccec initial, preliminary, partial Tamil translation (thanks, Logan!) 2017-03-20 12:07:40 -07:00
Paul Franklin 73ca25e68e disable FGR option if it's not relevant 2017-03-19 20:52:37 -07:00
Paul Franklin 64690ea554 add a "description" to a report style table and a style table cell 2017-03-19 18:29:01 -07:00
vantu5z be6780fa7d update Russian translation 2017-03-19 10:27:29 -03:00
erikdrgm 2dbfcb27dd Merge branch 'master' of github.com:gramps-project/gramps 2017-03-19 10:16:23 +01:00
Paul Franklin 57efc716ef neaten a report's style XML file, and add the new description 2017-03-18 22:33:40 -07:00
Paul Franklin 7d907c5d63 enable a report graphic style object to have a "description" 2017-03-18 22:30:23 -07:00
Paul Franklin ef3f1718b6 typo (trailing space) 2017-03-17 23:25:57 -07:00
Paul Franklin 3f652cfb45 new gramps.pot translation template for master 2017-03-17 11:38:11 -07:00
Paul Franklin 473dd3257a change string paramaters to named ones, for translation 2017-03-17 11:35:48 -07:00
Paul Franklin 747104b3ab add license to module 2017-03-16 19:46:24 -07:00
Paul Franklin 95762e864f tidy up some translatable string things 2017-03-16 19:44:57 -07:00
Paul Franklin 46c6737d67 make Polish "numerical" date display consistent with its locale format 2017-03-13 23:47:05 -07:00
Paul Franklin ce01a69314 add datestrings (made by running _datestrings.py) to translation 2017-03-13 22:42:22 -07:00
Nick Hall facff359e3 Rename plugin unit test files 2017-03-11 15:33:59 +00:00
Paul Franklin a9df15c9be fix Bulgarian numeric dates 2017-03-10 21:11:17 -08:00
Paul Franklin 83a4b553f4 slight tweak to Arabic date handler 2017-03-10 18:35:59 -08:00
Nick Hall c4f94bf9dc Rename edit reference unit test
Unit test files must be named *_test.py to be found by the
setup.py script.
2017-03-10 22:05:02 +00:00
Nick Hall e59aa0c907 Fix skipped cursor unit tests 2017-03-10 21:20:47 +00:00
Nick Hall 638f590eb3 Prevent warnings when importing xml from stdin 2017-03-09 23:40:51 +00:00
Paul Franklin c5f8d2b5db fix Icelandic numeric-format date display 2017-03-07 10:36:05 -08:00
Nick Hall 3d897f3146 Suppress output in rotate handler test 2017-03-07 18:02:47 +00:00
Paul Franklin 998c2f31b9 put "short" days into the Icelandic translation 2017-03-07 09:59:11 -08:00
Paul Franklin 337be8e6af enable "short" days in _datestrings (_grampslocale already had them) 2017-03-07 09:53:39 -08:00
Paul Franklin 968f378174 fix Norwegian numeric-format date display 2017-03-07 09:41:45 -08:00
erikdrgm 6110fc7612 Merge branch 'master' of github.com:gramps-project/gramps 2017-03-07 09:41:36 +01:00
Nick Hall c1c2c1557c Suppress output in importgeneweb test 2017-03-06 23:27:07 +00:00
Nick Hall 44b7983331 Another fix 2017-03-06 23:05:13 +00:00
Nick Hall 9cc770a70c Fix error in previous commit 2017-03-06 22:17:42 +00:00
Nick Hall 3b9d97d348 Suppress extraneous output in unit tests 2017-03-06 21:55:48 +00:00
vantu5z f57386ab63 update Russian translation 2017-03-06 11:39:39 +03:00
Paul Franklin adccc67a68 remove the last bogus Chinese strings from the Turkish translation 2017-03-06 00:21:21 -08:00
Paul Franklin cd084ca257 the message looks better with another linefeed 2017-03-06 00:18:33 -08:00
romjerome 03c26cb83c Limit creation of extra files 2017-03-04 14:55:11 +01:00
Paul Franklin c8a418f5bf fix some date-related words in Esperanto 2017-03-04 01:24:51 -08:00
Mìcheal A Colquhoun 539330309b Use assertRaises to check for the NameError
Also corrected spelling of a word.
2017-03-04 00:57:04 +00:00
Nick Hall 0cba44146a Avoid nested transactions 2017-03-04 00:16:27 +00:00
Nick Hall 93af3a0c63 9744: Tidy up add_* methods 2017-03-03 22:24:51 +00:00
Nick Hall 349bdf85b7 9744: Tidy up get_*_from_handle methods 2017-03-03 22:00:16 +00:00
Nick Hall 0813ba25db Use transactions when writing metadata 2017-03-03 19:54:19 +00:00
Paul Franklin 49c5ec5977 change to Microsoft's current official country name, for Windows users 2017-03-03 10:21:36 -08:00
Paul Franklin c4fc1066bb add datestrings (made by running _datestrings.py) to translation 2017-03-02 21:06:47 -08:00
Paul Franklin 39c3dc437a add datestrings (made by running _datestrings.py) to translation 2017-03-02 21:06:14 -08:00
Paul Franklin 143919db14 add datestrings (made by running _datestrings.py) to translation 2017-03-02 21:05:59 -08:00
Sam Manzi 49df7446b2 Merge pull request #361 from prculley/addon_reload
Fix Addon manager to recognize newly installed addons immediately
2017-03-03 15:37:17 +11:00
Matti Niemelä d08b394e7c update Finnish translation for "master" 2017-03-02 19:17:44 -08:00
prculley b865556ddd Fix Merge test for complex families 2017-03-02 14:37:51 -06:00
prculley 97bf1cb406 Bug 9973; fix remove unused objects tool to use place name not title
original 'title' field is often blank now...
2017-03-02 18:54:48 +00:00
arnaullv 7c5df1300e Update Catalan translation to latest template 2017-03-02 18:39:40 +00:00
John Ralls d5e8b810b9 Fix copy-paste error in last commit. 2017-03-02 07:11:01 -08:00
John Ralls 1571f8409a Bug 9965: Undo in undoableentry does the wrong undo in MacOS.
This fixes the immediate problem peculiar to MacOS, but the underlying
problem that the code doesn't use keybindings and has a control-specific
undo stack which makes undo ambiguous for the window remains.
2017-02-28 20:55:16 -08:00
prculley 3901e7dd4c Fix unodoableentry for international characters
Gtk has some parameters in bytes, some in characters; they cannot
be combined.
2017-02-28 23:11:04 +00:00
Nick Hall c352fa6378 Check that the USER_CSS directory exists 2017-02-28 23:07:38 +00:00
Bernard Banko 5ac0d29f00 Add ~ for About modifier 2017-02-28 21:26:43 +01:00
Paul Franklin 111d792c0c shorten option description for better CLI typeout 2017-02-28 12:00:42 -08:00
Paul Franklin 1e0e1c0b39 add filter progress bar to the Relationship Graph report 2017-02-28 11:53:51 -08:00
Paul Franklin eb3c13dbca add filter progress bar to the Records report 2017-02-28 11:52:19 -08:00
prculley 9116148587 Fix addon manager to reload updated plugins so they are recognized 2017-02-28 08:37:14 -06:00
prculley 5b51f3dcc9 Fix Addon manager to recognize newly installed addons immediately 2017-02-28 08:37:14 -06:00
Nick Hall 459d3f931c Skip four failing tests in merge_ref_test
These four tests pass when run individually from the command line,
but fail when run as part of a module.
2017-02-27 23:18:17 +00:00
Nick Hall 55ff3efd5f The wget package is pre-installed in travis 2017-02-27 22:52:36 +00:00
Nick Hall d59f4e86b2 Enable merge_ref_test in travis 2017-02-27 22:02:51 +00:00
Nick Hall 682cbe6e21 Fix family merge bug
References do not need to be updated in people that have been
removed in the merge.
2017-02-27 22:00:08 +00:00
Nick Hall 7d38122be8 Remove unused private table variable 2017-02-25 19:26:46 +00:00
prculley 28850728af Fix ToolComboEntry for Gtk method not supported on older Gtk 2017-02-25 08:41:01 -06:00
Sam Manzi f603f24bbd Merge pull request #357 from prculley/bug9954
bug 9954; fix Gedcom import for empty FAMC line
2017-02-25 16:06:26 +11:00
Sam Manzi e1ba3d0523 Merge pull request #343 from prculley/gladeleak
Bug 9913: Fix Glade file loading to avoid loading and leaving extra toplevels
2017-02-25 15:44:27 +11:00
Sam Manzi dee377762a Merge pull request #354 from prculley/gtkdep
Fix some Gtk deprecations
2017-02-25 15:24:03 +11:00
Sam Manzi ceeb4382f1 Merge pull request #358 from prculley/bug9920
bug 9920; fix for multiline Titles in Source view
2017-02-25 15:10:19 +11:00
Nick Hall f92ee329a9 Avoid using 'shell=True' when running a subprocess 2017-02-24 22:32:24 +00:00
Paul Franklin ce830fb8bf give CLI warning "title" its own line, as the error already does 2017-02-24 12:28:31 -08:00
Paul Franklin 1ce98afc86 don't type out a (possible) warning message if the option is not on 2017-02-24 11:10:03 -08:00
Paul Franklin fc4b9fe695 fix bug (the option itself is always True, we want the value) 2017-02-24 11:08:18 -08:00
Paul Franklin 8f09adefe9 improve the "__main__" routine which prints all the date formats 2017-02-23 20:20:06 -08:00
Nick Hall 74ffc76af0 Fix bug introduced in previous commit 2017-02-23 22:39:30 +00:00
Nick Hall 7b578356fd 9541: Make get_table_func method protected 2017-02-23 22:20:50 +00:00
Nick Hall 6bf8870295 Tidy up secondary column code 2017-02-23 22:20:50 +00:00
Nick Hall a8e6f7b9a3 Use current environment and executable in process
The GRAMPSHOME environment variable is not unset after the
gen/utils/test/file_test unit test.  This caused the Gramps
process to fail with an environment error.
2017-02-23 18:43:20 +00:00
Nick Hall d71f7d7097 Fix vCard unit tests 2017-02-23 13:58:40 +00:00
Zdeněk Hataš 06476cfc6d czech translation update 2017-02-23 11:30:50 +01:00
Paul Franklin 4541027dc3 enable deferred translation of date format strings 2017-02-22 21:29:13 -08:00
Nick Hall 1c4d27c2a9 Revert "enable deferred translation of date format strings"
This reverts commit 715cce27f4.
2017-02-23 00:38:28 +00:00
Nick Hall 0599539d09 Revert "improve the "main" routine which prints all the date formats"
This reverts commit 0c144c97a9.
2017-02-23 00:09:19 +00:00
Nick Hall b8ba05540e Revert import change in unit test
The relative import worked when the test was run from the
command line, but not in the Travis environment.
2017-02-22 17:50:02 +00:00
Nick Hall b3509ad3f4 Convert some gui imports from absolute to relative 2017-02-22 17:16:04 +00:00
Paul Franklin 0c144c97a9 improve the "main" routine which prints all the date formats 2017-02-22 08:17:53 -08:00
Paul Franklin 715cce27f4 enable deferred translation of date format strings 2017-02-22 08:15:41 -08:00
Nick Hall 8876252771 Remove redundant OS specific code
The text variable is already a str.
2017-02-22 14:57:52 +00:00
Paul Franklin 0f906b363b 7305: Inconvenient size of error dialog 2017-02-21 20:29:05 -08:00
Paul Franklin 8196b65aab add a TODO comment (since I don't understand) 2017-02-21 20:20:10 -08:00
Paul Franklin 4daf7e1214 add a TODO comment (since I don't understand) 2017-02-21 20:15:58 -08:00
Paul Franklin 63d37e84cc make LastNameDialog a better ManagedWindow 2017-02-21 20:05:38 -08:00
Paul Franklin fae1cb710b better names (than the ones I hurredly chose to make pylint happy) 2017-02-21 20:02:38 -08:00
Nick Hall 5d842e046e Remove handle class 2017-02-21 20:55:48 +00:00
prculley a948feb60e bug 9920; fix for multiline Titles in Source view
Source view is set up for single line rows, multi-line Titles
cause problems for Gtk (sometimes many unrelated rows get doubled
in height).
2017-02-21 11:41:40 -06:00
prculley 4226bc9d45 Fix Gedcom import for improper creation of error message note
The improper note could overwrite another note, due to overlapping
GIDs.
2017-02-21 09:13:16 -06:00
prculley 5fe0a4df46 bug 9954; fix Gedcom import for empty FAMC line 2017-02-20 16:13:10 -06:00
Nick Hall d0b50caea1 Change "GRAMPS" to "Gramps" in comments and docstrings 2017-02-20 19:05:48 +00:00
Nick Hall 3e5a956454 Convert some imports from absolute to relative 2017-02-20 18:19:41 +00:00
Nick Hall e46321a7c6 Move labels into schema 2017-02-20 16:27:27 +00:00
vantu5z 6a6d0c3a2e update Russian translation 2017-02-20 09:14:14 +03:00
erikdrgm 782f81fb5e Merge branch 'master' of github.com:gramps-project/gramps 2017-02-19 09:09:54 +01:00
erikdrgm 53eabbaa86 changed n translation 2017-02-19 09:08:25 +01:00
Paul Franklin 55d3a24d2e tweak some report options slightly (less height, re-tabify some) 2017-02-18 19:28:14 -08:00
Paul Franklin f7bda7d51b new gramps.pot translation template for master 2017-02-17 15:56:10 -08:00
Paul Franklin 3af9a8b803 7276: translate some currently-untranslated punctuation marks 2017-02-17 15:53:31 -08:00
Olaf 7f813e95e5 Change output order in Relationship Graph plugin
This patch adds a function sort_persons() to RelGraphReport, which will
change the processing order of persons for the output. Starting from persons
with no known parents in the database, the individual family trees are
traversed in a down-and-up fashion, so that closely related people should
appear close to each other in the output. Previously the output order was
purely given by the order of internal IDs.

Rearranging the output order will make the life of GraphViz just so much easier.
It will then manage to produce graphs with much fewer unnecessary intercrossing
arrows between generations and people and ultimately produce a much nicer
output graph.
2017-02-17 22:26:14 +00:00
Nick Hall 7f07ad2637 Merge pull request #356 from Nick-Hall/json-schema
Convert get_schema methods to use JSON Schema
2017-02-17 22:05:23 +00:00
Nick Hall 88842e875f Add JSON schema unit tests 2017-02-17 21:45:46 +00:00
Nick Hall 62403b5789 Remove schema field functionality 2017-02-17 21:45:46 +00:00
Nick Hall 6f0119288b Convert get_schema methods to use JSON Schema 2017-02-17 21:45:46 +00:00
Nick Hall 2692f86cd6 Add python3-jsonschema to travis 2017-02-17 21:21:51 +00:00
romjerome 64208cf9b9 Merge branch 'master' of https://github.com/gramps-project/gramps 2017-02-17 16:11:07 +01:00
romjerome e588ff504b 9950: Custom Note Types not shown in the filter siderbar 2017-02-17 16:11:00 +01:00
Paul Franklin 7855df6c08 make the translator's job a little easier 2017-02-13 21:29:47 -08:00
Paul Franklin 5ceb7b69d9 fix bug (typo?) where Quick Views had a title of "True" 2017-02-13 19:16:58 -08:00
Paul Franklin 0d7b79ea88 7276: translate some currently-untranslated punctuation marks 2017-02-13 19:14:46 -08:00
SNoiraud 20f7b862cf Narrativeweb : Add possibility to translate "%s:" strings 2017-02-13 10:12:58 +01:00
SNoiraud fe989d9ce3 9883: The family map for narrativeweb must work over https 2017-02-13 09:39:38 +01:00
vantu5z 532928ef69 update Russian translation 2017-02-13 09:19:37 +03:00
Bernard Banko 2e9c9a435a fix bug 9600 2017-02-12 12:01:32 +01:00
Sam Manzi 4b313694fc Merge pull request #350 from prculley/extractname
Fix 'Extract Information from names' tool
2017-02-12 15:53:31 +11:00
Sam Manzi ace8cb415f Merge pull request #349 from prculley/filters
Add Progress indicators to filters and reports
2017-02-12 15:39:35 +11:00
Sam Manzi 61c678417a Merge pull request #255 from SNoiraud/FR9373
9373: Ability to be able to enter comma separated latitude/longitude …
2017-02-12 15:30:55 +11:00
Sam Manzi 67b967ce3c Merge pull request #351 from prculley/bug9934
bug 9934; fix error when 'Manage Family Tree' is closed via ESC key
2017-02-12 15:13:13 +11:00
Sam Manzi 2278ceef55 Merge pull request #353 from beernarrd/sl-master
updated slovenian translation
2017-02-12 15:00:32 +11:00
Nick Hall 9ca01a3211 9945: Write PlaceID links in CSV export
When places are included in the export use PlaceID links,
otherwise generate a formatted place for the event.
2017-02-11 18:46:11 +00:00
prculley a50675f7ac Fix Gtk deprecations 2017-02-11 07:54:21 -06:00
erikdrgm 30cd5f885b Merge branch 'master' of github.com:gramps-project/gramps 2017-02-11 11:11:52 +01:00
erikdrgm 5749fadedc updated dutch translation 2017-02-11 11:10:55 +01:00
prculley 064ec90db0 Fix Glade file loading to avoid loading and leaving extra toplevels
Also deals with problems caused by fix; sometimes do need to load
some other toplevel objects.
In some cases, it was easier to remove unused toplevel objects from
glade files.
2017-02-09 16:06:23 -06:00
prculley 0c9953bb1a Fix import gedcom glade file to remove unused toplevel object 2017-02-09 16:06:19 -06:00
prculley 2da74564a3 fix owner editor to properly destroy glade object 2017-02-09 16:06:18 -06:00
Bernard Banko 14d8e36aba updated slovenian translation 2017-02-09 22:49:28 +01:00
Doug Reider f3e11efeaf Fix bookmarks keybinding on Mac to match the documentation. 2017-02-08 21:17:36 -07:00
prculley 0307c10244 Fix reports papermenu to properly destroy glade objects 2017-02-08 16:23:15 -06:00
prculley ef647b0680 Remove unused glade files 2017-02-08 16:23:14 -06:00
prculley f034a2b8c7 Fix dbman so RCS checkin window has correct transient parent 2017-02-08 14:58:16 -06:00
prculley 8f86906e8a Fix POTFILES.in for removed dummydb.gpr.py 2017-02-08 12:06:28 -06:00
prculley 71cc974639 pylint on patchnames 2017-02-07 18:20:42 -06:00
prculley e8c6ad2542 Fix 'Extract Info from names' tool; unclosed window, bad parent
Gtk deprecation warnings, and add window size/position config.
2017-02-07 18:20:40 -06:00
Nick Hall 4e7eaf016a Merge pull request #336 from prculley/fastplug
Improve Addon management performance
2017-02-07 21:20:32 +00:00
Paul Franklin 022ba94cd7 9004: Error printing graphical report ancestor tree 2017-02-07 09:29:23 -08:00
prculley 40176eeaaf bug 9934; fix error when 'Manage Family Tree' is closed via ESC
or the dialog close 'x' in top left
2017-02-07 11:23:23 -06:00
Jérôme Rapinat 42ed11e0ff 9004: Error printing graphical report ancestor tree 2017-02-07 08:58:25 -08:00
vantu5z c8b9a5ee5b update Russian translation 2017-02-07 08:55:44 +03:00
Paul Franklin 4284eb95a7 slightly enhance MW's setup_configs 2017-02-05 15:24:48 -08:00
Paul Franklin 081095d333 other uses of self.uistate are protected and this one should be too 2017-02-03 23:15:51 -08:00
prculley 076d75eba4 Add progress indication to long running reports 2017-02-03 18:05:08 -06:00
prculley 705ae9075d Fix TreeBaseModel so that filters have correct transient parent 2017-02-03 18:04:17 -06:00
prculley 79888ec6ea Add progress indication for filters with long 'prepare' times
And fix DeepRelationshipPathBetween for more accurate progress
And fix IsSiblingOfFilterMatch for HandleError
2017-02-03 18:00:18 -06:00
Sam Manzi ea133b3e9f Merge pull request #346 from prculley/soundex
A new Soundex filter for matching 'name' with people using Soundex
2017-02-04 10:50:33 +11:00
Sam Manzi b58ac2da8a Merge pull request #348 from prculley/undo
bug 9927; fix UndoableEntry for pygobject bug
2017-02-04 10:36:01 +11:00
Sam Manzi f28c90bc7a Merge pull request #344 from bertcarnell/bertcarnell/list_child_spouses
Add spouses to the child listing in DAR and DDR
2017-02-04 09:45:49 +11:00
Paul Franklin 28bf8479fd 9795: remember the last location of windows [Dashboard gramplets] 2017-02-02 19:30:02 -08:00
Paul Franklin 1ae88d9aed 9795: remember the last location of windows [style dialogs] 2017-02-02 19:22:55 -08:00
prculley ae960f79d4 bug 9927; fix UndoableEntry for pygobject bug
This is a workaround for
https://bugzilla.gnome.org/show_bug.cgi?id=644927
What is happening, is that our UndoableEntry class is connecting
to the 'insert-text' event, which uses one of the 'in-out'
parameters for the position of the cursor in the buffer. The very
fact of the connect to the event causes the issue, not something
Gramps is doing wrong.
2017-02-02 14:33:48 -06:00
Rob c07dcbe0ee Updated det_ancestor_rep.sh to eliminate the unused usenick option 2017-02-02 12:54:42 -05:00
prculley 5ca82248d3 Add tests for new Person HasSoundexName, and old HasNameOf rules 2017-02-02 10:16:59 -06:00
prculley ec6343e00c A new Soundex filter for matching 'name' with people using Soundex 2017-02-02 10:16:57 -06:00
Peter Landgren 94716cc20f Update Swedish translation 2017-02-02 10:46:09 +01:00
Nemeséri Lajos c3c9b72e88 update Hungarian translation 2017-02-02 10:40:34 +01:00
romjerome e287101688 8855: start to update API doc for DB stuff 2017-02-02 10:34:18 +01:00
romjerome 1a1515d6e3 9907: add a spacing value for children widgets
fit better for some Gtk themes
2017-02-02 10:28:29 +01:00
Zdeněk Hataš d0e9728567 czech translation update 2017-02-01 10:20:46 +01:00
bertcarnell 010fe736ec Added spouses to the child listing in the Detailed Ancestor Report and the Detailed Descendant Report for issues #9926, #8941, and #5698. Also added tests as command line scripts 2017-02-01 00:06:16 -05:00
Sam Manzi aee05dc200 Merge pull request #341 from prculley/exportopt
Fix CSV export options for new parameters
2017-02-01 11:41:58 +11:00
Sam Manzi d52a8f0a61 Editorial Indent as per review. 2017-02-01 11:33:11 +11:00
SNoiraud cad3871523 Geography : use progressmeter when filtering. 2017-01-31 10:21:08 +01:00
Sam Manzi df4e547a18 Merge pull request #340 from sam-m888/9914hourglassgraphOption
9914: Add [Arrowhead direction] option to Hourglass graph
2017-01-30 09:04:51 +11:00
Sam Manzi 880947c387 Merge pull request #339 from sam-m888/9914familylinesOption
9914: Add [Arrowhead direction] option to Familylines graph
2017-01-30 08:55:33 +11:00
Sam Manzi fd47f8d146 Merge pull request #342 from sam-m888/pycycleCheck
Remove hidden character from front of shebang line
2017-01-30 08:43:20 +11:00
Sam Manzi 1a113ae0fd Remove hidden character from front of shebang line
Found by [pycycle --verbose --source gramps]

Once corrected pycycle reports:

Project successfully transformed to AST, checking imports for cycles..

No worries, no cycles here!
2017-01-30 08:24:35 +11:00
prculley 267a762262 Fix CSV export options for new parameters 2017-01-28 10:49:49 -06:00
Nick Hall 544e3dbcc4 Use correct parent window for export filter progress 2017-01-27 18:17:50 +00:00
vantu5z 5fead50446 update Russian translation 2017-01-27 14:18:27 -03:00
Nick Hall c3c8a632de 6085: Remove import from the gui module 2017-01-27 16:20:49 +00:00
Nick Hall dfdb11bfc9 6085: Remove import from the cli module 2017-01-27 15:36:48 +00:00
Nick Hall 36d68f089f Fix missing filter parameter 2017-01-27 14:24:06 +00:00
Agnès Charrel-Berthillier a6276cd38f 9914: Add [Arrowhead direction] option to Hourglass graph 2017-01-27 13:54:35 +11:00
Agnès Charrel-Berthillier d46a00edea 9914: Add [Arrowhead direction] option to Familylines graph 2017-01-27 13:50:40 +11:00
Nick Hall 68fbebe7d1 Add filter progress to reports
Previously, these reports did not show progress of the main
filter loop.
2017-01-26 22:41:08 +00:00
Nick Hall 2f2b619762 Add filter progress to sort events tool 2017-01-26 22:36:54 +00:00
Nick Hall 1e54054953 Add filter progress to export assistant 2017-01-26 22:12:32 +00:00
Nick Hall 4912cc08e4 6085: Convert filters to use the User class
The filter apply method can now be passed a User instance
instead of a progress callback.

The prepare progress will no longer be displayed without the main
filter progress.
2017-01-26 19:00:03 +00:00
Sam Manzi 2cb8c2801a Merge pull request #326 from prculley/progen_prog
Progen import fixes and testing
2017-01-26 15:58:29 +11:00
Sam Manzi f10ce1c368 Merge pull request #333 from sam-m888/9911addcustomcolorstohourglassgraph
9911: Provide an option for custom colors in Hourglass graph
2017-01-26 15:39:23 +11:00
prculley a879144cc7 Add Progen import test files 2017-01-25 17:35:52 -06:00
prculley 86263712a9 Fix Progen import for several issues
- Files not closed
- Note text set to 'list' instead of 'str' types
- Address structure elements set to 'None' instead of ''
- Long text strings losing characters and getting corrupted
2017-01-25 17:35:50 -06:00
prculley d3279c1382 Fix Progen import to use 'Status Bar' progress indicator 2017-01-25 17:35:47 -06:00
prculley 42f2ac04e9 Fix test utility; more console output and make user directories
Console output sows even if an exception occurs
Make user directories if not present
2017-01-25 13:57:53 -06:00
prculley cde65a53a6 Improve Addon management performance 2017-01-25 13:57:52 -06:00
Matti Niemelä fdeb604d1f update finnish translation 2017-01-25 14:52:09 +01:00
romjerome 26038164ec 9904: revert ee150c1
TODO: need a solution for recursive iteration and private records
2017-01-25 14:41:54 +01:00
Sam Manzi 4c010a94e4 Merge pull request #329 from prculley/exportgedcom
Improve progress indications for Gedcom export
2017-01-25 16:07:11 +11:00
romjerome f094346742 update french translation 2017-01-24 17:05:34 +01:00
romjerome ed0be5f17d update translation template 2017-01-24 17:00:44 +01:00
romjerome 963acb56e0 9908: Custom Family Relations not shown in the filter siderbar 2017-01-24 16:58:54 +01:00
romjerome ee150c101a 9904: Errors printing graphical report ancestor tree 2017-01-24 16:55:59 +01:00
Paul Culley 8739412351 Merge branch 'master' into exportgedcom 2017-01-24 07:57:01 -06:00
SNoiraud f03dab0be3 9373 : split the third field in two lines. 2017-01-24 13:37:27 +00:00
SNoiraud 6b38e74ecb 9373: Values not saved and bug in monitoredwidgets 2017-01-24 13:37:27 +00:00
SNoiraud b6bb8ccdcc 9373: Added EditPlaceRef and suppressed a useless tooltip 2017-01-24 13:37:27 +00:00
SNoiraud 593d57dbc0 9373: justifying the three input fields. 2017-01-24 13:37:27 +00:00
SNoiraud eac59d932d 9373: Ability to be able to enter comma separated latitude/longitude pairs 2017-01-24 13:37:27 +00:00
Nick Hall db81851195 Merge pull request #335 from Nick-Hall/bug9897
9897: Create serialize module
2017-01-22 16:06:04 +00:00
Nick Hall 5068aa1b85 Fix unit test
The bug that caused this to pass previously has now been fixed.
2017-01-22 01:14:14 +00:00
Nick Hall fe1fa8b505 Remove remaining to_struct calls 2017-01-22 00:52:14 +00:00
Nick Hall 41bcfefd67 Remove to_struct and from_struct methods 2017-01-22 00:52:06 +00:00
Nick Hall 4c2464cb49 Create serialize module 2017-01-21 23:09:23 +00:00
Nick Hall c7bbc01b20 Create the schema within a transaction 2017-01-21 20:52:48 +00:00
vantu5z 3b06bf10dd update Russian translation 2017-01-21 09:12:22 -03:00
Sam Manzi 88e98fcd92 Merge pull request #331 from prculley/bug9886
bug 9886; fix citation tree view quick report right click
2017-01-20 17:33:04 +11:00
Agnès Charrel-Berthillier 6a51ac55db 9911: Provide an option for custom colors in Hourglass graph 2017-01-20 17:15:29 +11:00
prculley 3ac49dcb2c bug 9886; fix citation tree view quick report right click
Another HandleError issue;  Also, the Quick report that started was
actually the wrong one, due to a typo in the quickview.gpr.py.

I also rediscovered the bug 6352; and its relationship to quickreports.
2017-01-18 09:47:33 -06:00
Paul Franklin f59c7c16bd 9795: remember the last location of windows [media manager] 2017-01-18 06:14:22 -08:00
Paul Franklin 16f56fbbea 9795: remember the last location of windows [bookmarks] 2017-01-18 06:11:40 -08:00
prculley 1b01e9d74e Fix Check&Repair 'Cross table duplicates' Progress parent 2017-01-17 12:14:11 -06:00
prculley ffdef3276c bug 9898: fix Merge Place has wrong label 2017-01-17 11:27:42 -06:00
prculley efcdcd7434 Fix ManagedWindow _present method name (incorrectly named __present) 2017-01-17 10:59:15 -06:00
prculley e7e1976222 Add set_text method to updatecallback to allow progress text changes 2017-01-17 10:33:55 -06:00
prculley 8fa6fad67a Fix Gedcom export to have a more detailed progress indication 2017-01-17 10:31:23 -06:00
prculley a937d151af fix export assistant to show textual progress steps and first step 2017-01-17 08:51:29 -06:00
prculley a860a9d80b Fix export assistant, proper parent for popup progress and dialog 2017-01-17 08:49:21 -06:00
prculley 99b7fc8815 Fix updatecallback to show first progress step 2017-01-17 08:42:22 -06:00
prculley 04b7888817 change __rebuild_search to use status bar progress 2017-01-16 23:21:05 +00:00
prculley 2574202a46 add uistate to models 2017-01-16 23:21:05 +00:00
prculley e24faddabb bug 9876; fix for two progress bars occupy the same space
Moves the popup progress on tree views with filters to the main
window status bar.
2017-01-16 23:21:04 +00:00
prculley 52846b8e68 bug 9877; fix performace with people tree view and some filters
When using deep relationship filters on the person tree view with a
large tree, the tree redraw can take a long time (hours).  The
DeepRelationshipPathBetween 'prepare' method was getting called for
every person in the preceding filter. And that it also ran through
every person in the db within the prepare method.  Resulting in time
as a square function of number of people.

Change view code so that 'prepare' method is called once, and 'apply'
method is called once with list of handles to scan, rather than both
called once per handle.
2017-01-16 23:14:05 +00:00
Paul Franklin 0c03ec2fc1 tweak UndoHistory to remove redundant show_all() 2017-01-16 09:30:23 -08:00
Paul Franklin 1aeea6a6e8 tweak EditTagList (to be a better ManagedWindow, I know a little more) 2017-01-16 09:28:35 -08:00
Paul Franklin fb8d529e5b tweak TipOfDay to use ManagedWindow "show" instead 2017-01-16 09:24:10 -08:00
Paul Franklin ec9d6e8fa7 tweak DumpGenderStats tool (enable GUI to be closed, neaten CLI output) 2017-01-16 09:22:01 -08:00
prculley 659329c879 Fixes ManagedWindow for a modal window with another modal elsewhere
During Gramps startup, it is possible to start two modal dialogs;
the 'Family Trees' and the 'Update Addons' (when preferences is set
to check on startup).  Both are modal.
This upgrades the Window manager and ManagedWindow to support this
case.  If this occurs, then the most recent modal window is left
that way, a previous modal window is temporarily downgraded to
non-modal, and the newest window is set 'transient' for the previous
modal window, even if it was not the parent.
This means that there can be only one modal window, and it is always
on top and active.
2017-01-16 15:12:33 +00:00
prculley 56fa449de8 upgrade Update Addons to ManagedWindow
This change was initiated to correct status bar and popup dialogs
that were coming up in the wrong place under Windows.
Upgrade to Managedwindow allows for size/position config, correct
popup of subordinate dialogs, and better window management in
relation to other dialogs.
The Glade change allows the transient parent function to work.
Note that UpdateAddons remains a modal dialog.
2017-01-16 15:12:33 +00:00
vantu5z 4ad41e9269 update Russian translation 2017-01-16 10:07:55 -03:00
Sam Manzi af674df82e Merge pull request #327 from sam-m888/WordingOnGrampsViewAddonInstallation
Fix wording for addon restart
2017-01-15 11:27:52 +11:00
Sam Manzi 9aeeae8baf Fix wording for addon restart
to mention [Gramps Views] as the special reason why you need to restart
2017-01-15 11:01:46 +11:00
romjerome 5df1612339 9899: typo on string
use generic 'spouse' word
2017-01-14 17:20:26 +01:00
système b79d5c4cfc 9899: fix non-textual value on place name 2017-01-14 14:49:06 +01:00
système c712e5813a 9824 9899: revert changes done for avoiding span and range errors
handling seems incomplete, need a translator-reviewer
2017-01-14 13:47:07 +01:00
système 9ccfd50d93 9824: revert romjerome mistakes (part2) 2017-01-14 13:29:23 +01:00
système 0c4529c0ae 9824: revert romjerome mistakes 2017-01-14 13:25:09 +01:00
système db37a7dbd9 Revert "9899: try to get labels on Family according to status"
This reverts commit dedb5122cb.
2017-01-14 10:23:03 +01:00
système 4f96497e64 Revert "9899: tweak adjustement where one could switch locations for both parents"
This reverts commit 0633930667.
2017-01-14 10:22:37 +01:00
système 8841d13a7e Revert "9899: polish; gen.lib.person arlready called, make test on gender more clear"
This reverts commit fe763b7490.
2017-01-14 10:22:01 +01:00
système b31f6922dd Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-14 10:21:03 +01:00
romjerome fe763b7490 9899: polish; gen.lib.person arlready called, make test on gender more clear 2017-01-14 10:01:42 +01:00
romjerome 0633930667 9899: tweak adjustement where one could switch locations for both parents
this could be a specific case, so for more security, use hardcoded string
2017-01-14 09:55:59 +01:00
romjerome dedb5122cb 9899: try to get labels on Family according to status 2017-01-14 09:44:17 +01:00
prculley 8f494a683f Remove unused ManagedWindow modal_call method
This was used only once in AddMedia, which has been upgraded to use
the ManagedWindow "modal=" parameter on init instead.
2017-01-12 10:57:57 -06:00
prculley 8f79b0adbb Fix AddMedia to use updated ManagedWindow modal parameter
This was the only Gramps code to use the old ManagedWindow
modal_call method.
2017-01-12 10:54:52 -06:00
Paul Franklin 3ee28584cb tweak sqlite3 info typeout to conform, only output sometimes 2017-01-11 04:22:29 -08:00
Paul Franklin 5633570250 9795: remember the last location of windows [tag dialogs] 2017-01-11 04:13:35 -08:00
Luigi Toscano 3bcea79cc5 Italian translation updates and fixes 2017-01-11 02:11:35 +01:00
prculley 3b049b5da1 bug 9854; fix Merge Family; Error dialog hidden behind Merge Dialog
While performing a Merge Family that results in an error, the Error
dialog appears as normally initially.

However, if the user switches to another application and back, the
Error dialog can disappear (it is under the Merge dialog in the UI).
The mouse cannot clear this up (although the keyboard 'enter' or
'Esc' keys will be directed to the Error dialog and close everything.
2017-01-10 20:21:38 +00:00
prculley f46350d595 bug 8128; fix progress meters for transient parent 2017-01-10 15:22:46 +00:00
système 566d057456 Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-10 08:28:37 +01:00
prculley 813361179f bug 9875; fix up export dialog to show progress bar
Originally the progress bar and associated text was shown on the
summary page, but it was never seen since it was shown during the
Gtk assistant 'prepare' stage, before the page was shown.
2017-01-09 21:41:54 +00:00
prculley 1a6db46ffa bug9873; fix Check & Repair for dbapi 2017-01-09 21:35:21 +00:00
prculley ba7eff6e67 bug 8128; Fix common error/warn dialogs to deal with modal parent
Unmanaged dialogs are often called for errors, warnings, info etc.
On Windows, If called from a modal parent window, they can be a bit
confusing, since the parent window appears to still be active.  This
fix makes the parent window non-modal for the duration of the dialog,
and then returns it to its original state.
2017-01-09 20:59:38 +00:00
prculley cea4d15d7d bug 9855; fix db undo/redo operation to delay signal emission
Certain multiple commit transactions can leave the db in an inconsistent
state in between commits.  If signals are emitted at each commit, GUI
elements can see the inconsistent state and report errors.  This fix
delays the signal emission until all the commits are complete, presuming
that the db is consistent before and after the complete transaction.
2017-01-09 20:38:32 +00:00
système 0e33ea7a81 Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-09 20:52:25 +01:00
arnaullv 7e90144db3 Update Catalan translation 2017-01-09 19:28:04 +00:00
Nick Hall b8495e7436 Revert "fix warnings on import order (pylint)"
This reverts commit 86c4301cb9.
2017-01-09 19:02:49 +00:00
Nick Hall 7a7101e71c Rename method missed in previous commit
See 7f24aca813.
2017-01-09 18:41:34 +00:00
romjerome 86c4301cb9 fix warnings on import order (pylint) 2017-01-09 10:14:53 +01:00
système 8a8807c670 PR#284 9824: try to fix some remaining errors and warnings raised by pylint 2017-01-09 10:14:53 +01:00
erikdrgm c4c1059c50 updated dutch translation 2017-01-08 20:04:36 +01:00
Luigi Toscano 53542ea3d5 Refresh it.po using the current pot template 2017-01-08 16:25:49 +01:00
système 89699dc847 Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-07 13:24:53 +01:00
Łukasz Rymarczyk 5099b421e0 1885 3526: explanation for 'f' and 'm' letters on tests 2017-01-07 10:04:48 +01:00
romjerome f5365202cc 7276: typos 2017-01-07 09:45:24 +01:00
romjerome ec1360076e 7276; fix some punctuation marks for french 2017-01-07 09:41:42 +01:00
Matti Niemelä c43c0b72d2 update finnish translation 2017-01-07 09:25:25 +01:00
prculley b7155b47ed Fix the debug module (profiling code) for current python libraries 2017-01-05 21:31:10 +00:00
Zdeněk Hataš 40fbdae481 czech translation update 2017-01-05 12:57:32 +01:00
romjerome 30a657b69e update french translation 2017-01-05 09:36:09 +01:00
romjerome 43d1f8ce04 update translation strings template 2017-01-05 09:16:50 +01:00
romjerome 2a1234c45c 9243 9824: fix some warnings (pylint)
score from 8.91 to 9.56
2017-01-05 09:15:20 +01:00
système d30c8e21aa Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-04 15:38:33 +01:00
vantu5z b974750621 update Russian translation 2017-01-04 12:41:14 +03:00
système 7efcd2edf6 Merge branch 'master' of https://github.com/gramps-project/gramps 2017-01-04 08:44:26 +01:00
arnaullv 56280fa418 Update Catalan translations 2017-01-03 21:50:36 +00:00
système e267893470 7004: Only Event and Family Editors are checking if data_has_changed
tidy up and consistency between editors on save()
2017-01-03 21:37:45 +00:00
Nick Hall 49321133e0 9878: Update note text before closing
The object must be updated so that changes can be detected.
2017-01-03 21:25:31 +00:00
Paul Franklin e95fe692ba fix file chooser's deprecation warnings in import dialog 2017-01-03 12:46:31 -08:00
Paul Franklin 1991d194fa 9795: remember the last location of windows [import dialog, part 2] 2017-01-03 12:45:01 -08:00
Paul Franklin d2b200c121 9795: remember the last location of windows [import dialog, part 1] 2017-01-03 12:43:04 -08:00
système 3b16b6be79 9851 2017-01-03 20:16:38 +01:00
Paul Franklin 998c5f4bee 9795: remember the last location of windows [FTM] 2017-01-02 18:55:04 -08:00
Paul Franklin 4f11e97b8d Merge branch 'prculley-bug9872' 2017-01-02 18:34:38 -08:00
Sam Manzi 5acf75d696 Feature 9243: Increase relationship.py to show relationships
beyond 20th generation
2017-01-02 19:27:20 +00:00
Paul Franklin 5e10faf779 tweak git_revision (VERSION has no newline, so git_revision shouldn't) 2017-01-02 10:03:17 -08:00
système b774ed8f32 9841: Support tag on EventRef Editor 2017-01-02 15:57:54 +00:00
Zdeněk Hataš f6e854d98d czech translation update 2017-01-02 13:38:59 +01:00
Paul Franklin 5666441e75 Merge branch 'bug9872' of git://github.com/prculley/gramps into prculley-bug9872 2017-01-01 21:49:50 -08:00
Tom Samstag b6f9fbca9a remove gramps.gen.simple.by_date
The function was deprecated in 8b39b80 (2012-11-15) but the deprecated
comment was somehow removed in 3ef1c02 (2013-11-12). The function won't
work anymore due to cmp not existing in python 3.
2017-01-01 11:46:04 -08:00
Paul Franklin e343d55044 fix typo (and test if Travis build still breaks, after PR312) 2017-01-01 09:44:53 -08:00
prculley b06c101a8a Fix test_exports to ignore changes in Gedcom Copyright year 2017-01-01 17:24:41 +00:00
système 2588e61a96 Happy new year! 2017-01-01 10:40:29 +01:00
Paul Franklin 6d1631dbfe 9862: ancestor tree doesn't use replacements 2016-12-31 17:26:01 -08:00
prculley 7406c6ecf4 bug 9872: fix Windows issue; Book dialogs don't stay on top
They are pushed to background if background window tooltip appears.
Also, The book list display was not popping up above the dialog
(no transient parent).
2016-12-31 14:31:13 -06:00
prculley 3bca0e8184 Add call to ManagedWindow.close() to dbman
This is an update to "bug 8128; Fix 'Info' popup from Manage Family
Trees' dialog for parent"
2016-12-31 14:29:55 +00:00
Sam Manzi dde84ed8bc Merge pull request #306 from sam-m888/ChangeConfigKeysForAddons
Change config keys to mention addon
2016-12-30 13:38:26 +11:00
Sam Manzi 043ebaba65 Change config keys to mention addon
Renaming config keys to make their use clearer
2016-12-30 13:23:24 +11:00
Sam Manzi 08eb715da2 Merge pull request #304 from sam-m888/ChangeWordingAddonRestart
Restart addon message change wording
2016-12-30 08:44:32 +11:00
Sam Manzi af240c9b53 Restart addon message change wording
As not all addons are Views.
2016-12-30 08:21:30 +11:00
prculley f92903b1f7 bug 9854; Error dialog can become hidden behind merge dialog 2016-12-29 19:35:45 +00:00
prculley 34d6ddada0 Bug 7928; Make merging people with complex families more friendly
If families are complex, skip the family merge with a warning message
rather than abort the persons merge
2016-12-29 19:35:27 +00:00
prculley a09d5471cf bug 8128; Fix 'Info' popup from Manage Family Trees' dialog for parent 2016-12-29 19:06:48 +00:00
Sam Manzi 908201a80d Merge pull request #302 from prculley/bug8128_gw
bug 8128; Fix transient parent for popup 'Gramps Warnings'
2016-12-29 08:14:25 +11:00
prculley 01b7490c8c bug 8128; Fix transient parent for popup 'Gramps Warnings' 2016-12-28 09:06:37 -06:00
Paul Franklin 0496756abb Merge pull request #301 from prculley/bug8128_pm
bug 9856; fix popup ProgressMonitor to find a parent for set_transient_for
2016-12-27 11:48:35 -08:00
prculley 1590f8c000 bug 9856; fix popup ProgressMonitor to find a parent for set_transient_for 2016-12-27 10:36:20 -06:00
prculley 1a09304335 bug 9856; fix selected person not updated if changed in people list view 2016-12-26 08:18:32 -06:00
Paul Franklin f762fda80d put the correct FSF address into some (presumably cribbed) modules 2016-12-24 16:25:21 -08:00
Paul Franklin 0b2aab53ee restore the ImportInfo to the new Pro-Gen importer 2016-12-24 16:22:44 -08:00
Paul Franklin ebe56a3f05 save quick backup's folder if backup aborted, if needed 2016-12-24 14:15:52 -08:00
Paul Franklin 0a47474e0e 8868: Make XML backup dialog size persist [part 2] 2016-12-24 14:11:45 -08:00
Paul Franklin 45de935d5e 8868: Make XML backup dialog size persist [part 1] 2016-12-24 14:10:27 -08:00
prculley cf839a195b Fix dialogs for Gtk deprecations 2016-12-24 09:02:57 -06:00
prculley 4498ee32df Fix some Gtk deprecations in Plugin Manager 2016-12-24 09:02:57 -06:00
prculley f25fb1415b Fix the Gobject deprecation (convert to GLib) in interactivesearchbox 2016-12-24 09:02:57 -06:00
prculley dd151a3990 fix some Gtk deprecations in textbufdoc (used by QuickReports etc.) 2016-12-24 09:02:57 -06:00
Alois Poettker 7c471db1c9 6896: Improve Pro-Gen importer 2016-12-23 20:26:54 -08:00
Nick Hall 13b53e35d4 Add window track to merge dialogs 2016-12-23 22:20:41 +00:00
Paul Franklin e931b8a75c typos 2016-12-23 14:12:18 -08:00
Jérôme Rapinat 85e437d291 7276: translate some currently-untranslated punctuation marks 2016-12-23 12:59:06 -08:00
Paul Franklin f3053b19ca 9795: remember the last location of windows [Reorder] 2016-12-23 12:52:58 -08:00
Josip 3b4ceeb630 8128: GtkDialog mapped without a transient parent
Fix Reorder Relationships dialog
2016-12-23 14:18:39 +01:00
Sam Manzi 3ce8c4880a Merge pull request #298 from prculley/bug9470
bug 9470; Don't allow selecton of Active or Home person until actually commited
2016-12-23 10:27:45 +11:00
prculley defcda7981 bug 9235: Shrink size of Break Lock (and other QuestionDialogs) 2016-12-22 19:46:04 +00:00
prculley 2359633198 bug 8333; fix merge issue with Person Tree View 2016-12-22 18:34:17 +00:00
Paul Franklin 5ad32042c6 move two methods down slightly (to better check a forthcoming change) 2016-12-21 22:24:48 -08:00
Paul Franklin 376f2b0010 enable a simple test for translated datestrings 2016-12-21 15:37:12 -08:00
Paul Franklin 66260871dc give GUI User an optional parent, for when None would otherwise be used 2016-12-21 15:35:45 -08:00
romjerome f75618eb2d 9824: pylint error: map_type not set
was pull request #284
2016-12-21 12:21:43 +01:00
romjerome e5ca4186da 9824: pylint error: no enable_debug, move to LOG.debug
was pull request #284
2016-12-21 12:16:56 +01:00
romjerome 5ecb140094 9824: pylint error: raise Error as GrampsImportError
was pull request #284
2016-12-21 12:14:30 +01:00
romjerome 0309598193 9824: pylint error: missing explicit variable
was pull request #284
2016-12-21 12:11:17 +01:00
romjerome cb38e81a3d 9824: pylint error: missing variable names
was pull request #284
2016-12-21 12:08:15 +01:00
romjerome a1dff4457b 9824: pylint error: explicit os module import
was pull request #284
2016-12-21 12:02:43 +01:00
romjerome 061f5fbb1f 9824: pylint error: LOG variable was not set
was pull request #284
2016-12-21 11:58:22 +01:00
romjerome 1a3f08203c 9824: pylint error: text variable does not exist for debug
was pull request #284
2016-12-21 11:54:27 +01:00
romjerome 6c993242f2 9824: pylint error: fix theme variable for AttributeError
was pull request #284
2016-12-21 11:52:19 +01:00
romjerome a0b2cf1803 9824: pylint error: 'nrchild' variable not set on this section
was pull request #284
2016-12-21 11:50:03 +01:00
romjerome 34aefd9530 9824: pylint error: fix a missing error module
was pull request #284
2016-12-21 11:46:50 +01:00
romjerome 14142ff5e3 9824: pylint errors: explicit import for modules and variables on .gpr.py
was pull request #284
2016-12-21 11:39:23 +01:00
Matti Niemelä 1a74ba03b8 update finnish translation 2016-12-21 11:34:03 +01:00
Sam Manzi 91a279e362 9161 Debian package -ignore old changelog 2016-12-21 08:20:35 +11:00
prculley b71b4e9c7f bug 9844; fix QuickReports for Cairo crash when no objects found 2016-12-20 19:36:49 +00:00
prculley 55edefd4b8 bug 9842; fix lineage quickreport when started from person with no parent 2016-12-20 19:31:30 +00:00
prculley ce884b6578 bug 9478; fix quick search exception when nothing in searched list 2016-12-20 19:10:57 +00:00
prculley 90b8145693 bug 9831: Fix HandleError when using finddupes tool to merge 2016-12-20 17:47:53 +00:00
Paul Franklin dc320aab8c shoehorn in some missing (somehow) datestrings in el.po 2016-12-18 19:57:04 -08:00
Paul Franklin 6a6fe9b48d 7276: translate some currently-untranslated punctuation marks 2016-12-18 14:20:36 -08:00
prculley 1e8ab3ec69 bug 9286; fix styledtext editing of LINK with URL as Visible element 2016-12-18 17:56:55 +00:00
prculley a5ed1086d8 bug 9285; fix detection of URLs in Styled text editor 2016-12-18 17:42:04 +00:00
Paul Franklin fb6ed2ab53 narrow GrampsPreferences if possible (e.g. in Greek it is 1138) 2016-12-18 00:13:51 -08:00
Paul Franklin cb27d546e9 9612: Problem adding parents [with Latin names] 2016-12-17 18:30:55 -08:00
Paul Franklin 1742d44d35 center errorview dialog, and shorten it too 2016-12-17 18:27:57 -08:00
prculley 9bf5144e70 bug 9470; Don't allow selecton of Active or Home person until actually commited 2016-12-17 17:03:57 -06:00
prculley 9c92bb8551 bug 8510 fix for special characters in Family Tree names 2016-12-17 19:30:44 +00:00
Paul Franklin 341d48bd40 9795: remember the last location of windows [partial: some tools] 2016-12-17 10:34:06 -08:00
Zdeněk Hataš 2577367f01 czech translation update 2016-12-17 15:39:44 +01:00
Nick Hall 76cb80f17f Remove --databases command line option 2016-12-16 22:18:33 +00:00
Nick Hall 9a53fae5a0 Remove backup summary and auto-load
Automatic backups are now saved to a user-defined directory.
2016-12-16 22:00:11 +00:00
vantu5z 33169fd05f update Russian translation 2016-12-16 13:42:15 +03:00
Paul Franklin 1af4e89094 new gramps.pot translation template for master 2016-12-15 11:08:41 -08:00
romjerome ab2793476f fix a missing import 2016-12-15 16:00:07 +01:00
romjerome f372f5b813 Tag editor: Tweak improvement on buttons order 2016-12-15 15:52:12 +01:00
SNoiraud 09cad05e05 9340: The configparser is assuming the wrong encoding. 2016-12-15 09:32:02 +01:00
Paul Franklin 083a2a721e 9795: remember the last location of windows [partial: three more] 2016-12-14 22:05:04 -08:00
Leonhaeuser beb3962f52 update German translation and fix missing line feed 2016-12-14 22:08:36 +01:00
erikdrgm f17379cd16 updated Dutch translation 2016-12-14 14:51:38 +01:00
erikdrgm a27e49cf0e updated Dutch translation 2016-12-14 14:45:09 +01:00
SNoiraud 291c29ad04 9563: Sorting in family tab of narrated web report 2016-12-14 10:38:57 +01:00
Leonhaeuser e9acf39cf2 fix for 0009696 and German translation update 2016-12-14 00:46:56 +01:00
Nick Hall 93f59af9d8 Tidy up export assistant multiple inheritance 2016-12-13 23:26:13 +00:00
Sam Manzi f01d469849 9801 Silence remaining PyGIWarning 2016-12-14 07:48:45 +11:00
Paul Franklin 1b6d84353c 9795: remember the last location of windows [export assistant] 2016-12-13 11:40:00 -08:00
SNoiraud 03128a0728 9563: Sorting of relationships in family tab of narrated web report 2016-12-13 14:20:55 +01:00
SNoiraud 23213e590b NarrativeWeb: Reduce the Report options window. 2016-12-13 09:50:36 +01:00
Paul Franklin af7c09d8ae 9795: remember the last location of windows [partial: two more] 2016-12-12 20:02:36 -08:00
Paul Franklin 5929f2066e tweaks to saving config keys (save keys without default, pylint, etc.) 2016-12-12 19:59:45 -08:00
Zdeněk Hataš 48bab7bed1 czech translation update 2016-12-12 14:49:24 +01:00
erikdrgm a9ce126ed4 update Dutch translation121216 2016-12-12 09:55:04 +01:00
Paul Franklin 251c4acde2 9795: remember the last location of windows [partial: verify] 2016-12-11 22:58:54 -08:00
Paul Franklin 3406450451 9795: remember the last location of windows [partial: eight more] 2016-12-10 18:27:11 -08:00
Paul Franklin f3dc114476 new gramps.pot translation template for master 2016-12-10 10:21:46 -08:00
Paul Franklin cdf6e0e3a3 enable custom filters in reports to select the center person 2016-12-10 10:19:28 -08:00
Lajos Nemeséri 90a513effa update Hungarian translation 2016-12-10 11:00:15 +01:00
Paul Franklin 2087f807f3 make report dialog height less than 600, for smaller displays [RR] 2016-12-09 19:51:43 -08:00
Paul Franklin 9b5ef6d069 make report dialog height less than 600, for smaller displays [PR] 2016-12-09 19:50:13 -08:00
Paul Franklin f2229db819 make report dialog height less than 600, for smaller displays [KR] 2016-12-09 19:49:52 -08:00
Paul Franklin f072dd889e make report dialog height less than 600, for smaller displays [FGR] 2016-12-09 19:49:32 -08:00
Paul Franklin 36380651e4 make report dialog height less than 600, for smaller displays [DAR] 2016-12-09 19:49:03 -08:00
Paul Franklin b848f1cd2a make report dialog height less than 600, for smaller displays [DR] 2016-12-09 19:48:34 -08:00
Paul Franklin 9ccc149161 make report dialog height less than 600, for smaller displays [BAR] 2016-12-09 19:47:55 -08:00
Paul Franklin 2c9bad6108 make report dialog height less than 600, for smaller displays [SC] 2016-12-09 19:47:26 -08:00
Paul Franklin 55fa8f8d86 make report dialog height less than 600, for smaller displays [FC] 2016-12-09 19:46:53 -08:00
Paul Franklin 289d28c22b make report dialog height less than 600, for smaller displays [DT] 2016-12-09 19:43:50 -08:00
Sam Manzi 35b79acacc Feature#1682: Enable copying Soundex result 2016-12-10 14:32:37 +11:00
Nick Hall 5621ade2e4 9799: Use latest valid date rather than today
This is useful for historic places when an event date is not
available.
2016-12-09 19:25:14 +00:00
Nick Hall 772265c3ef 9813: Modify endonym handling in place displayer
If no language code is matched, the default name is now the first
in the list, rather than a name with no language code.
2016-12-09 19:07:04 +00:00
Nick Hall 176fcae6ad 9737: Fix house number concatenation 2016-12-09 18:57:06 +00:00
vantu5z cde4c4ebf5 update Russian translation 2016-12-09 15:02:38 +03:00
Nick Hall 7f24aca813 Simplify _create_secondary_columns method
Now only creates new columns.
Removed update_secondary_values_table method.
2016-12-08 23:09:00 +00:00
Nick Hall c8998cc81c Rename rebuild_secondary_fields to _create_secondary_columns 2016-12-08 23:09:00 +00:00
Paul Franklin ca105fb73a 9795: remember the last location of windows [partial: the editrefs] 2016-12-08 14:28:42 -08:00
Nick Hall 4e812c738b Remove a couple more unused methods 2016-12-08 22:05:05 +00:00
Nick Hall d8796d35fb Remove methods that create secondary indexes
All indexes are created in the _create_schema method.
2016-12-08 21:49:52 +00:00
Nick Hall 83e5bd6be3 Remove another unnecessary version file 2016-12-08 21:27:39 +00:00
Paul Franklin 50bb8ffbbc 9795: remember the last location of windows [partial: the selectors] 2016-12-08 12:44:08 -08:00
Nick Hall 290fd6ec43 Remove unused method 2016-12-08 19:03:39 +00:00
Nick Hall c358d5c3e1 Remove creation of unnecessary version files
The BSDDB version is not relevant for DBAPI databases.  The python
version will always be 3 and the pickle upgrade "YES".
2016-12-08 18:59:42 +00:00
Nick Hall f321d68db1 Remove MySQL backend 2016-12-08 17:32:09 +00:00
Nick Hall 4a30d9e4b7 Make update_backlinks method protected 2016-12-08 15:16:26 +00:00
Nick Hall 013617dafb Rename update_schema to _create_schema 2016-12-08 15:06:06 +00:00
Matti Niemelä 67c3d4a77a update finnish translation 2016-12-08 10:38:30 +01:00
Espen Berg bd7cc813aa Corrected some language typos in Norwegian version of relationship calculator 2016-12-07 21:53:17 +01:00
Paul Franklin 6264461a54 reduce default width of preferences dialog (after [5dd88052]) 2016-12-07 12:12:21 -08:00
Paul Franklin 52ccc26753 give statusbar "warnings" dialog a less-ambiguous name 2016-12-07 11:32:07 -08:00
Paul Franklin 16f229c644 9795: remember the last location of windows [partial: merge dialogs] 2016-12-07 11:30:38 -08:00
Nick Hall 4e2ab54fb9 Remove unused restore method 2016-12-07 19:29:53 +00:00
Nick Hall 6098ccd468 Remove low-level bsddb backup code 2016-12-07 19:29:24 +00:00
Nick Hall 5dd88052cf Reduce minimum width of preferences dialog 2016-12-07 19:13:59 +00:00
Nick Hall 593f5a8f2b Add new backup preferences
Allow user to specify a backup directory.
Add option to backup on exit.
Add option to autobackup at regular intervals.
2016-12-07 17:44:02 +00:00
Paul Franklin eceeddb1e4 make "quick backup" dialog slightly wider (workaround for 8868) 2016-12-06 19:36:23 -08:00
Paul Franklin a3925313ad 9795: remember the last location of windows [ViewConfigureDialog] 2016-12-06 18:59:23 -08:00
Paul Franklin 413da833ca 9795: remember the last location of windows [partial: main editors] 2016-12-06 15:22:09 -08:00
Paul Franklin bbb8b5161d 9795: remember the last location of windows [partial: filter dialogs] 2016-12-06 11:59:04 -08:00
Paul Franklin d407c2fb6b trap FilterError when creating and testing a new filter 2016-12-06 11:57:16 -08:00
Nick Hall 2c454268a1 Remove drop_tables and reload methods
These methods are not used and we would not normally want to
drop all tables in a database.
2016-12-06 18:07:42 +00:00
Nick Hall 467f779230 Fix import after removal of is_empty method 2016-12-06 18:06:59 +00:00
Nick Hall 61da801fa1 Remove is_empty database method
The existing get_total method can be used instead.
2016-12-06 17:48:34 +00:00
Nick Hall 3e69fa5cbe Fix get_total method and add unit tests 2016-12-06 17:32:12 +00:00
Nick Hall 35b7495438 9541: Make metadata methods protected 2016-12-06 17:10:07 +00:00
vantu5z 92618fcc6d update Russian translation 2016-12-06 15:04:27 +03:00
erikdrgm 238a1c5c12 Dutch translation61216 2016-12-06 10:11:48 +01:00
Paul Franklin ff6be8b3d6 9795: remember the last location of windows [partial] 2016-12-05 18:50:13 -08:00
SNoiraud 66a3dd6050 7309: GtkDialog mapped without a transient parent 2016-12-06 03:02:43 +01:00
Sam Manzi 6ab5a22292 Merge pull request #279 from prculley/bug9768
fix for bugs 9768 and 9778, nonetype error when merging events or families
2016-12-06 11:39:38 +11:00
Paul Culley e584704e7b Update Merge tests to actually run
So this was a lot of work...

Updated to use lxml, steep learning curve for someone who never examined XML before...

The merge test code needed some updates because it was last used with an older version of the Gramps XML.

Found another bug in the mergefamilyquery code when test started running; another nonetype issue.

Found another bug in the mergepersonquery code when test started running; another nonetype issue.

Couldn't get the subprocess stuff to work right, so changed code to just call Gramps with capture, similar to export_tests. This in turn required that importxml and exportxml be slightly changed to support StringIO redirection of stdin and stdout.

And test_util needed a change to allow stdout to accept an unencoded stream, so I added an option to use BytesIO for this test as well.

Added some code to save input, result, and expected data to files in Gramps temp directory for debugging whenever an error occurred. Easier to use my editor in diff mode than look at the outputs.
2016-12-06 11:17:54 +11:00
Paul Culley 983d787322 Change travis.yml to provide lxml dependencies 2016-12-06 11:00:45 +11:00
Nick Hall 9d77418b30 9541: Make backend methods protected 2016-12-05 19:41:12 +00:00
SNoiraud c835c6f87c 7309: Jump to Gramps ID functionality doesn't work for relview 2016-12-05 16:20:10 +01:00
SNoiraud 55661056e2 7309: Jump to Gramps ID functionality added to pedigree 2016-12-05 16:01:27 +01:00
SNoiraud 6188812b41 7309 : Remove trailing space. 2016-12-05 14:30:47 +01:00
SNoiraud 8c7b0f8585 7309: Jump to Gramps ID functionality added to *fanchart* 2016-12-05 14:22:56 +01:00
Zdeněk Hataš 3646f2a86c czech translation update 2016-12-05 13:23:01 +01:00
SNoiraud bc32d2fd76 7309: Jump to Gramps ID functionality doesn't work 2016-12-05 11:03:33 +01:00
romjerome 13c5d75bc1 update french translation 2016-12-05 09:51:55 +01:00
romjerome 1fda1e2a92 typo on french translation 2016-12-05 09:49:19 +01:00
romjerome bfb99f17ad 9276: update translation strings template 2016-12-05 09:48:21 +01:00
romjerome 8aeebcdfd2 9276: ability to search alternate place names when selecting place 2016-12-05 09:47:04 +01:00
vantu5z 2fc4bae826 update Russian translation 2016-12-05 08:08:49 +03:00
Paul Franklin 9a40306bd1 9795: remember the last location of windows [partial: EditTagList] 2016-12-04 17:11:31 -08:00
Paul Franklin 13064ef627 refine 6495240859 2016-12-04 16:25:53 -08:00
Paul Franklin 6495240859 set up a window's initial configuration easier (size, etc.; see 9795) 2016-12-04 13:27:25 -08:00
Josip e75a45748f fix missing imports
part of bug 9820
NameError: name 'DbException' is not defined
2016-12-04 18:30:36 +01:00
Espen Berg 8159e95389 Some Norwegian bokmål translation for master copy. Still some work remaining... 2016-12-04 10:30:59 +01:00
Sam Manzi 98ed617a5d Merge pull request #278 from prculley/bug9811
bug 9811; Fix for Relative media path incorrectly calculated for Windows
2016-12-04 16:52:01 +11:00
Paul Franklin 74aba1f6b4 5357: Clipboard window doesn't remember its previous position 2016-12-03 16:36:31 -08:00
Espen Berg cba583a486 Somewhat revised Norwegian language file. Still some work remaining 2016-12-04 00:41:05 +01:00
Paul Franklin 26e5f7aa9c 9789: Book Report only works with the default values (master "4ffc5e3") 2016-12-03 14:21:41 -08:00
Nick Hall 5f928d5379 Add missing base methods 2016-12-03 22:17:18 +00:00
Nick Hall db3d7a3d0d Fix import 2016-12-03 21:44:55 +00:00
Nick Hall 9a6c074888 Tidy up code 2016-12-03 18:00:12 +00:00
romjerome 9ae653986f Update french translation 2016-12-03 11:36:00 +01:00
romjerome 3842b0e760 update translation strings template 2016-12-03 11:20:07 +01:00
romjerome 73267600bd -update -m 2016-12-03 11:16:13 +01:00
romjerome eb8c17cfa5 9812: 'Check and Repair' tool ignores some objects with tag support 2016-12-03 10:59:33 +01:00
erikdrgm ff1f2fe33b Dutch translation 2016-12-02 20:42:30 +01:00
prculley 72bcfc5cd6 bugs 9768 and 9778, nonetype error when merging events or families 2016-12-01 11:24:24 -06:00
prculley e94696ecf0 bug 9811; Relative media path incorrectly calculated for Windows 2016-12-01 10:40:06 -06:00
Nick Hall 27c2b0c81d 9748: Use COLLATE clause rather than locale specific columns 2016-11-30 23:13:12 +00:00
Sam Manzi b556b29b25 Merge pull request #275 from prculley/expdialog
8250 and 9736: avoid all other operations during export and fixes for export popup windows hidden.
2016-12-01 09:56:09 +11:00
Sam Manzi 0a11cbf8b5 Renable user_test on travis after 2365a72d98 fix 2016-12-01 08:51:01 +11:00
Nick Hall a4a3c55c09 Update comments 2016-11-30 15:57:23 +00:00
Nick Hall 2365a72d98 Fix User class unit tests 2016-11-30 15:51:03 +00:00
vantu5z cf58de59c1 update Russian translation 2016-11-30 13:32:00 +03:00
Nick Hall 1039156019 9508: Fix place tree cursor 2016-11-29 23:26:50 +00:00
Nick Hall 11942d8975 Add database unit tests for sorted handles 2016-11-29 22:30:11 +00:00
Nick Hall 98950a89a3 Create new module for DbBookmarks 2016-11-29 19:34:57 +00:00
Nick Hall 3bf40f9921 Remove trailing semi-colon from SQL statements 2016-11-29 16:41:47 +00:00
Nick Hall 634691516c Arrange database methods into a more logical order 2016-11-29 16:21:21 +00:00
romjerome de177975a0 9815: Fix clear map action on Geography 2016-11-29 10:32:17 +01:00
Paul Franklin e3d732a31e 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-28 15:24:21 -08:00
Nick Hall 13acd73c9e Remove unused database method 2016-11-28 22:58:41 +00:00
Nick Hall 5826307b63 Remove trailing whitespace 2016-11-28 22:16:49 +00:00
Nick Hall ee4e652cac 9742: Remove table map classes
The Table, Map, MetaCursor and DbGenericTxn classes are no
longer used.
2016-11-28 21:45:27 +00:00
Nick Hall baff7cddb0 9810: Fix undo/redo reference updates
Also rewrite to avoid using table maps.
2016-11-28 21:18:11 +00:00
Paul Franklin e1dca2bfaa 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-26 15:23:01 -08:00
Bastien Jacquet fec5d532d1 Feature: Gep-030 FanChart2Way
...New FanChart consisting of both ascendants and descendants.

It can be checked-out there :
https://sourceforge.net/u/bubblegum00/gramps/ci/geps/gep-030-FanChart2Way/~/tree/

<snip>

I find it quite handy, so please let me know if you have any comments or suggestions.

NB: I heavily cleaned up the FanChart code on my way.

Regards,

Bastien Jacquet

https://sourceforge.net/p/gramps/mailman/message/32908110/
........................................................
Refactor fanchart for further modification

Fix radial text pos_start radian alignment

Simplify father's and mother's details getter

Rename draw_gradient to draw_gradient_legend

refactor prepare_background_box

Add option not to flip names

Add a display_format(self, person, num) function as proposed by Benny Malengier on 2012-12-13
It just returns name_display.name_formats[num][_F_FN](person.get_primary_name())

Add option to show the name on two lines

Allow for variable radius depending on generation

Switch to WORD_CHAR wrapping of name (ie word, and char if 0-length word)

Move rescaling tentative inside wrap_truncate_layout

Fix person_under_cursor bugs

Refactor root angle computation

Refactor code positionning the fan

Refactor personpos_at_angle

move implementation of person_under_cursor outside of FanChartBaseWidget class

Change draw_person to take angles in radians

Use same structure for innerring as for outerring

Uses cursor_to_polar and cursor_on_tranlation_dot

Slightly change person_under_cursor logic to return an "address" in the fan

Uses radian_in_bounds to compare angles modulo 2 PI

Fixup test on cursor over inner ring

Fix Center size for FanchartDesc

Fixup fanchart check up to last generation

Give same signature to draw_person

Refactor the common code of self.draw_person in a single function in Base class

Fix center box comment

Refactoring inside celladdress

Remove manual central box drawing since done with draw_person

Fixup draw_person color for duplicates

Use draw_person for central person too

Make __compute_angle and __rec_fill_data public for use in FanChart2Way

Add 2Way View

Rewrite create_map_rect_to_sector to allow bottom-outside-oriented text-arc

Allow to automatically right upside-up bottom arc-text

Correct icons for Fanchart2Way

Small code refactoring

Refactor code of fanchartdesc to use self.rootangle_rad

Rename change_slice to toggle_cell_state

Fanchart2Way code formating and changes

Small refactoring of fanchartdesc innerring fill data

Remove the name from the local temporary data structure

Remove the name from the local temporary data structure (in Fanchart2Way)

Change background gradient to follow the user-selected gradient colors

rename parentsroot to innerring

Some renaming for clearer code

Show last generation of partners in descendant fanchart

Show last partner in Fanchart2Way

Fanchart2Way : Add option to disable gradient on the background

Fixup flipupsidedownname parameter for gramplet usage of fancharts

Fixup twolinename parameter for gramplet usage of fancharts

Add FanChart2Way in available gramplets

Tentative fix for last view on Fanchart2Way

Show step-sibling in Fancharts context-menu

Fix overestimation of descendant halfdist

(SM) Trailing White spaces removed

(SM) Fix config box Table Grid

(SM) Move Icons gramps-fanchart2way to new location

(SM) Add Copyright for Bastien Jacquet

(SM) Fix BSDDB AttributeError NoneType object has no attr

(SM) Update patch to account for bug 9771; fix missing right-click menu items

(Nick Hall/eno93) Fix set_text method takes the length of the utf-8, not the length of the unicode as the second parameter ((Gramps.py:3697): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text())
2016-11-26 18:00:08 +00:00
romjerome 3d854ba944 9801: recommend 'gir1.2-goocanvas-2.0' on debian package 2016-11-26 13:00:21 +01:00
romjerome 79cb66b0f1 8555: Database repair tool always modify all source objects 2016-11-26 12:56:43 +01:00
Tom Hughes da018c1842 Re-enable selection in MultiTreeView on a drag-end event
In 201f4a5e51 we made grab_broken
re-enable selection because GTK 3.18 and later no longer send a
fake button release event.

The sending of grab broken is an implementation detail of DnD
on X based systems however, and at least some GTK backends do
not generate this, wayland being one example.

So we now use drag-end instead which is always sent to the source
when a DnD operation completes.
2016-11-25 16:45:43 +00:00
Sam Manzi d8077a8169 Merge pull request #274 from SNoiraud/9378
9378: Quick Backup: remember Media (include/exclude) setting
2016-11-25 17:31:09 +11:00
Nick Hall 74b87e04eb Restore import_from_filename function 2016-11-24 19:45:19 +00:00
Nick Hall cb738e88ad Remove unused function 2016-11-24 18:40:28 +00:00
Nick Hall 382987f366 Create module for database utilities 2016-11-24 17:57:18 +00:00
Matti Niemelä 5358e8dd93 Update finnish translation 2016-11-24 08:24:15 +01:00
romjerome 18b00846fe typo on french translation 2016-11-24 08:16:37 +01:00
Nick Hall 635db88800 9534: Exclude places outside valid date ranges 2016-11-22 18:25:20 +00:00
Paul Franklin 0f9c3012be enable book selector dialog to remember its size 2016-11-21 13:11:26 -08:00
Paul Franklin 5932addfb5 9789: Book Report only works with the default values (master "4ffc5e3") 2016-11-21 13:09:57 -08:00
Zdeněk Hataš 882c37afc1 czech translation update 2016-11-21 12:17:15 +01:00
Josip a3960c8515 Merge pull request #272 from prculley/bug9787
bug 9787; fix right-click menus crash caused by PR268
2016-11-20 22:52:48 +01:00
prculley 3fe7d20799 Fix trailing whitespace again 2016-11-17 10:28:40 -06:00
romjerome 4f30f09fab Update french translation 2016-11-17 10:11:47 +01:00
Lajos Nemeséri 43106eb47f Update Hungarian translation 2016-11-17 10:06:35 +01:00
romjerome 4653b35cb3 Update template 2016-11-17 10:04:18 +01:00
prculley 894ce3aca5 Fix trailing whitespace and remove old code comment 2016-11-16 10:26:02 -06:00
SNoiraud f157148414 8250 and 9736: avoid all other operations during export and fixes for export popup windows hidden. 2016-11-16 09:18:27 -06:00
SNoiraud 6675cce1f2 9378: Quick Backup: remember Media (include/exclude) setting 2016-11-16 12:32:01 +01:00
vantu5z 4a49287292 update russian translation 2016-11-16 11:55:32 +03:00
romjerome e0cb56ee93 Merge pull request #273 from prculley/galxlt
Fix translation confusion on 'View' noun/verb
2016-11-16 08:53:07 +01:00
romjerome 0743c19449 Merge pull request #271 from paulohpmoraes/master
Update and corrections to brazilian portuguese translation.
2016-11-16 08:52:32 +01:00
prculley 5ff0b3f977 Fix translation confusion on 'View' noun/verb 2016-11-15 09:38:39 -06:00
SNoiraud 8eedb37772 Geography: Add kmls for the geography places view. 2016-11-15 13:09:12 +01:00
prculley 15ca5e6d4c remove excess space in front of right-click menus in embedded lists 2016-11-14 09:12:11 -06:00
prculley bd142c0744 bug 9787; fix right-click menus crash caused by PR268 2016-11-14 08:46:38 -06:00
Paulo Henrique Moraes b99c9f41cc Update and corrections. 2016-11-14 08:54:04 -02:00
Josip 4ffc5e3af4 add plugins/db/dbapi/settings.ini to setup 2016-11-12 15:01:15 +01:00
Josip bb919efec7 Support for Windows Python3 pythonw.exe 2016-11-12 14:05:49 +01:00
Sam Manzi 905717f4f1 Merge pull request #269 from prculley/nameedit
fix name_displayer.add_name_format so it won't create duplicates
2016-11-12 12:57:27 +11:00
Sam Manzi f4bc6c3384 Merge pull request #268 from prculley/bug9771
bug 9771; fix missing right-click menu items on gallerytab
2016-11-12 12:18:17 +11:00
Sam Manzi 67dfc55a0b Merge pull request #266 from prculley/docstr
update db/base.py with better docstring, new methods etc.
2016-11-12 11:43:22 +11:00
prculley def6b3fd07 #---- lines back to normal 2016-11-11 18:19:08 -06:00
prculley d4cb0c3d7c pylint cleanup 2016-11-11 18:19:08 -06:00
prculley 5f794c0570 update db/base.py with better docstring, new methods etc. 2016-11-11 18:19:08 -06:00
Sam Manzi f38ce3f3f6 Merge pull request #264 from prculley/bug9765
bug 9765; fix citation tree view for HandleError exceptions
2016-11-12 10:13:26 +11:00
prculley 4120c5a1bc fix name_displayer.add_name_format so it won't create duplicates 2016-11-09 13:42:12 -06:00
prculley 00aa25258e bug 9771; Remove icons from various right-click and other menus 2016-11-08 09:43:36 -06:00
Sam Manzi 676ff5601c Merge pull request #263 from prculley/bug9767
Bug9767 Fix LDS editor for 'Family' related issues
2016-11-05 14:20:07 +11:00
Sam Manzi 7ceb8ab57a Merge pull request #262 from prculley/bug8887
Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support
2016-11-05 14:11:58 +11:00
Sam Manzi f69883a586 Merge pull request #259 from prculley/bug9522
bug 9522; fix fault when viewing family events with event gramplet
2016-11-05 14:03:41 +11:00
Sam Manzi b82ec171a2 enable a ManagedWindow to remember its position 2016-11-03 19:06:28 -07:00
Paul Franklin 105f9fb227 enable relationship calculator tool to remember its size 2016-11-03 05:31:50 -07:00
Paul Franklin 216f9a93bf enable 'Select a media object' dialog to remember its size 2016-11-03 05:29:52 -07:00
Zdeněk Hataš bb9614282c czech translation update
fixed end characters and typo
2016-11-03 13:10:06 +01:00
Paul Franklin 8cd4a75482 enable merge dialogs to remember their size 2016-11-02 10:15:03 -07:00
prculley 4e80f42425 Remove Icon setup, since this is covered in glade file via another commit 2016-11-02 11:29:13 -05:00
prculley e851211460 bug9787 Fix LDS editor for 'Family' related issues 2016-11-02 11:29:13 -05:00
Nick Hall 22c1bd4e1c Fix unit test 2016-11-02 15:56:32 +00:00
Nick Hall dd0eedc772 9767: Fix icon and tooltip in LDS editor
The icon on the family selection button was removed by mistake in
commit 75009f0.
2016-11-01 18:45:18 +00:00
Nick Hall 5f77d0eed7 Remove redundant imports 2016-11-01 18:24:16 +00:00
Nick Hall 473d3aab48 Remove unused method
Also removes an import from outside the gen module.
2016-11-01 17:57:33 +00:00
Nick Hall 8d7c1945f1 Remove old django code 2016-11-01 17:41:51 +00:00
Sam Manzi e4551a483c Merge pull request #256 from prculley/codecov
Improve test coverage in the Gedcom importer
2016-10-31 11:45:47 +11:00
prculley 00b2bff6d0 bug 9765; fix citation tree view for HandleError exceptions 2016-10-30 13:50:52 -05:00
prculley 9ed969eea1 Fix Mock localtime to return same val in Linux & Windows 2016-10-29 16:59:42 -05:00
prculley 0fb91b860f Improve test coverage in the Gedcom importer 2016-10-29 16:59:42 -05:00
prculley d21ead1c8d Bug 8887 Add PEDI and _FREL/_MREL Gedcom Tag Export support 2016-10-29 16:50:22 -05:00
Nick Hall 19201eed67 Improve efficiency of get_tag_from_name method 2016-10-29 22:18:07 +01:00
Nick Hall ab4e147021 Add more database unit tests 2016-10-29 22:12:28 +01:00
Nick Hall 5bbce108fd Tidy up some SQL 2016-10-28 23:31:18 +01:00
Nick Hall ad49598b51 9744: Tidy up _get_raw_*_from_id_data methods 2016-10-28 22:47:10 +01:00
Nick Hall 9fc316abdf 9744: Tidy up iterators
Remove order_by parameter.
Add unit tests.
2016-10-28 21:43:00 +01:00
Nick Hall 1905d417be Remove unused method 2016-10-28 17:57:41 +01:00
Nick Hall 89cba484c0 9744: Tidy up commit_* methods 2016-10-28 17:07:27 +01:00
Sam Manzi 9f4cb97512 Fixes for install after removal of old LICENSE 2016-10-28 08:08:40 +11:00
MJBMZ d333f2eee7 9082: Show more place types in family lines graph 2016-10-27 17:36:09 +01:00
MJBMZ aab0984dfb Fix indent 2016-10-27 17:26:55 +01:00
Nick Hall aaf4bee03d Remove old LICENSE file
This file contained the GFDL relating to the Gramps documentation,
which is no longer distributed with the source code. The GPL2
licence can be found in the COPYING file.
2016-10-27 17:02:52 +01:00
Sam Manzi 63b15de40a Merge pull request #252 from prculley/bug9755
bug 9755, fix duplicated Gramps IDs on Gedcom import
2016-10-27 19:30:21 +11:00
Sam Manzi e6088271bd Merge pull request #251 from prculley/dupid
Update Tool 'Check & Repair' and 'TestCaseGenerator' to detect and repair duplicate Gramps IDs
2016-10-27 19:20:58 +11:00
Nick Hall ddce9b0138 Add more database unit tests 2016-10-25 23:01:34 +01:00
Nick Hall 73d87e59e3 Remove build_surname_list and save_surname_list from public API 2016-10-25 22:18:48 +01:00
Nick Hall efa910e5b9 Remove unused database method 2016-10-25 22:09:19 +01:00
Nick Hall f036206961 9742: Rewrite cursors to avoid using table maps 2016-10-25 21:29:59 +01:00
prculley 2bbc8702a7 bug 9522; fix fault when viewing family events with event gramplet 2016-10-25 10:39:51 -05:00
vantu5z 2947e84501 update russian translation 2016-10-24 09:07:41 +03:00
Nick Hall 5fcb3ef815 Add some database unit tests 2016-10-23 19:40:14 +01:00
Paul Culley 5e0198542f Merge pull request #249 from prculley/bug9694
bug 9694, fix Gedcom import with no VERSion (very old Gedcom) crash
2016-10-23 10:14:57 -05:00
Paul Culley 00dd91340b Merge pull request #248 from prculley/bug8993
bug 8993; fix Gedcom import in some alternate languages; improper date parsing
2016-10-23 10:14:03 -05:00
Paul Culley 6923c53871 Merge pull request #247 from prculley/vcard
bug 9458, fix Import Vcard can create multiple surnames with all selected as 'Primary'
2016-10-23 10:12:53 -05:00
romjerome 691b70ccb3 Update french translation 2016-10-23 16:24:21 +02:00
Matti Niemelä 831b4f731b Update finnish translation, template generated via './genpot.sh' 2016-10-23 15:58:06 +02:00
romjerome 69456b34e5 9328: enable debug flag on 'xgettext' for python files 2016-10-23 15:52:23 +02:00
romjerome 1fd76160ef Fix format string (order, RTL, LTR)
9759: update template
2016-10-23 15:48:56 +02:00
SNoiraud d5c4a71ee2 8250 and 9736 : remove patchs. need to found another solution. 2016-10-21 23:05:10 +02:00
Nick Hall ce59a8a5c9 9744: Tidy up get_number_of_* methods 2016-10-19 22:18:25 +01:00
SNoiraud 900624193f 9757: [Geography] update map tiles on demand 2016-10-19 18:51:27 +02:00
prculley 8a385af882 bug 9755, fix duplicated Gramps IDs on Gedcom import 2016-10-19 10:09:30 -05:00
Nick Hall 534c5e20fd Remove redundant id maps 2016-10-18 23:06:59 +01:00
Nick Hall be3541756f Modify to avoid using id maps 2016-10-18 22:51:16 +01:00
vantu5z 49a547af5e update russian translation 2016-10-18 09:08:33 +03:00
Nick Hall 662c5c8866 Modify to avoid using table maps 2016-10-17 23:25:33 +01:00
Nick Hall 1494b5d28e Use KEY_TO_NAME_MAP to get table names 2016-10-17 21:54:31 +01:00
Nick Hall c1c616e0f3 9742: Avoid using table maps in commit methods 2016-10-17 21:51:15 +01:00
Nick Hall d1e3280821 Remove redundant table maps 2016-10-17 19:36:23 +01:00
Nick Hall a3718e23ab 9742: Rewrite remove_* methods
Avoid using table maps in _do_remove.
2016-10-17 19:13:22 +01:00
Nick Hall 6092065fe3 9744: Tidy up get_raw_*_data methods 2016-10-17 18:13:47 +01:00
Nick Hall 3149420f80 9744: Tidy up has_*_handle methods 2016-10-17 17:43:21 +01:00
SNoiraud 2f1f1f1b1e 9736: Export options 'Preview' buttons create hidden quickreport. 2016-10-16 22:32:09 +02:00
prculley 6f6284852d bug 8993; fix Gedcom import in some alternate languages; improper date parsing 2016-10-16 14:50:08 -05:00
prculley c373f6ed90 Update Tool 'Check & Repair' and 'TestCaseGenerator' to detect and repair duplicate Gramps IDs 2016-10-16 14:02:05 -05:00
Nick Hall 7b183fc79c 9742: Rewrite get_*_gramps_ids methods
Use get_gramps_ids rather than table maps.
2016-10-16 19:35:50 +01:00
Nick Hall 41f3475681 9742: Rewrite find_next_*_gramps_id methods
Use has_gramps_id rather than table maps.
2016-10-16 18:43:25 +01:00
Nick Hall c9ae621d61 Remove get_transaction_class method 2016-10-15 23:15:21 +01:00
Nick Hall 22c93d8c87 Remove redundant Environment class 2016-10-15 23:07:19 +01:00
Paul Culley fa9d6005a4 Merge pull request #246 from prculley/pylint
Pylint on Check and Repair, Test Case Generator tools
2016-10-15 10:44:15 -05:00
Nick Hall 5c28d739ea 9743: Tidy up has_*_gramps_id methods
Renamed from has_gramps_id_for_* methods.
2016-10-14 23:31:20 +01:00
Nick Hall 46257a4e5c 9742: Rewrite get_*_from_gramps_id methods
Use _get_raw_*_from_id_data methods rather than table maps.
2016-10-14 21:14:52 +01:00
Nick Hall 2babfd2e8b 9742: Tidy up has_*_handle methods
Rename has_handle_for_* methods to has_*_handle methods.
2016-10-14 18:36:07 +01:00
Nick Hall 8548f16ae2 9742: Tidy up get_raw_*_data methods
Remove protected methods.
Avoid the use of table maps.
2016-10-14 18:01:42 +01:00
Nick Hall a158c9cba8 9746: Remove duplicate columns in person table 2016-10-13 23:46:19 +01:00
Nick Hall 736b057706 9745: Remove name columns from the family table
The same information can be obtained using a join to the person
table.
2016-10-13 21:39:01 +01:00
Paul Franklin eea104b8a6 handle some report pathological cases (better) 2016-10-13 12:44:16 -07:00
Nick Hall b29682cafb Tidy up schema
These changes produce a neater schema output in sqlite3.
2016-10-13 20:34:58 +01:00
Nick Hall 4a70e9233e 9747: Remove index on primary key column
Primary key columns are already indexed.
2016-10-13 19:16:24 +01:00
Nick Hall a39eff5766 Remove unused Select API code 2016-10-12 22:24:43 +01:00
Nick Hall f2767c0d12 Remove Select API unit tests 2016-10-12 22:00:15 +01:00
Nick Hall 2993d59c2e 9749: Move experimental Select API code into a branch 2016-10-12 21:46:52 +01:00
Paul Franklin ce4d4ca31d 9739: Wrong parsing Numeric date format for cs_CZ locale 2016-10-12 13:16:49 -07:00
SNoiraud adca37f7fd Geography: add a message in geoplaces to change the markers color. 2016-10-12 19:42:31 +02:00
Nick Hall 3ebd8ee769 7116: remember size of sidebar within the main window 2016-10-11 10:29:41 -07:00
SNoiraud e93777ede3 8447: [geography] Assign different colours to marker 2016-10-11 13:53:13 +02:00
SNoiraud 433a7d73cb 9736: Export options 'Preview' buttons create hidden quickreport. 2016-10-11 13:40:25 +02:00
Paul Franklin 44b0837d4d tweak (correct exit status for pathological case of no DISPLAY) 2016-10-10 10:13:21 -07:00
Nick Hall 0966f63c34 Revert changes to database variable names
Using "db" as variable name for a database instance is perfectly
acceptable.  It is defined as a good variable name in the
.pylintrc file.
2016-10-09 19:19:44 +01:00
MJBMZ a8a3c0865d Add thumbnail size option to family lines graph 2016-10-09 18:27:14 +01:00
Paul Franklin d9456fd688 5546: Include "relationship to home person" on the "[C.I.] Report" 2016-10-08 18:34:01 -07:00
Josip 8b55dbdaaf 7601: Support for Retina Display / HiDPI
add 24x24 icons
2016-10-08 13:21:52 +02:00
Josip c12562561b 7601: Support for Retina Display / HiDPI
GTK_ICON_SIZE_LARGE_TOOLBAR Size appropriate for large toolbars (24px)
2016-10-08 13:12:51 +02:00
prculley fa2b52b9e3 bug 9694, fix Gedcom import with no VERSion (very old Gedcom) crash 2016-10-07 09:57:04 -05:00
prculley 03bed89fab bug 9458, fix Import Vcard can create multiple surnames with all selected as 'Primary' 2016-10-06 15:04:45 -05:00
vantu5z 42492ae193 update russian translation 2016-10-06 09:20:46 +03:00
prculley 589eb06474 Pylint on Check and Repair, Test Case Generator tools 2016-10-05 16:26:20 -05:00
Paul Franklin 5426d15927 increase pylint score from 2.53 to 9.54 2016-10-04 13:45:57 -07:00
Paul Franklin c4bd81a2d6 increase pylint score from 7.13 to 9.68 2016-10-02 19:08:21 -07:00
Paul Franklin 57f7f94164 move files for testing gramps out of example/gramps, per Nick 2016-10-02 11:39:45 -07:00
Zdeněk Hataš 1ba7fe2973 czech translation update 2016-10-01 15:17:27 +02:00
Sam Manzi 50fe08be90 Merge pull request #244 from prculley/vcard
Make VCARD import errors into user dialog instead of logger.warning
2016-10-01 13:52:18 +10:00
prculley 48e7cabc18 Change error message for better internationalization 2016-09-29 13:51:51 -05:00
prculley 2aa0d5aac8 Fix to translate strings for international use 2016-09-29 13:51:51 -05:00
prculley be6e71cd04 Make VCARD import errors into user dialog instead of logger.warning 2016-09-29 13:51:51 -05:00
romjerome 6f16f9b3b6 typo, Change FICHIER to File, rev 8e5e83 2016-09-28 15:38:42 +02:00
Lajos Nemeséri 6a0d998272 Update Hungarian translation 2016-09-28 15:33:42 +02:00
SNoiraud 5001fc090e 9725: dummydb : AttributeError: 'str' object has no attribute 'decode' 2016-09-28 11:14:51 +02:00
Sam Manzi 8e5e836bf8 Change FICHIER to File ( 7c534d3bd ) 2016-09-28 09:06:00 +10:00
Sam Manzi d6e33b36bd Merge pull request #241 from prculley/9717
Fix bug 9717, XML import with env language other than utf8, has bad progress meter
2016-09-28 09:01:32 +10:00
Sam Manzi 7c2cf98a73 Merge pull request #242 from prculley/quiet
quiet down the import tests
2016-09-28 08:47:10 +10:00
Sam Manzi 819929f073 Merge pull request #237 from prculley/check
Update Check & Repair tool & Test Case Generator tool to fix bad alternative Place names
2016-09-28 08:16:51 +10:00
Doug Blank 0c03bb906e 9540: DBAPI: HandleError is not raised by the DBAPI interface 2016-09-26 11:03:37 -04:00
Nick Hall 2c7712b621 9721: Fix alignment radio buttons in style editor 2016-09-25 17:36:31 +01:00
Sam Manzi e817d41837 Merge pull request #243 from sam-m888/sphinxupdates
Sphinxupdates
2016-09-25 10:59:38 +10:00
Sam Manzi 980746e9ff Remove PrivateSourceNote as per e64fa655 2016-09-25 10:47:11 +10:00
Sam Manzi 30ebde8536 Silence Sphinx warning we don't use html_static_path 2016-09-25 10:32:42 +10:00
Sam Manzi d760743749 Rename mediaobj to media 2016-09-25 09:46:31 +10:00
Sam Manzi bbc06d99a0 Rename DateDisplaySR_latin to DateDisplaySR_Latin 2016-09-25 09:36:10 +10:00
Sam Manzi 564bac6e63 FadeOut removed from ValidatableMaskedEntry 2016-09-25 09:30:06 +10:00
prculley 0e599bdd28 quiet down the import tests 2016-09-24 17:44:48 -05:00
Sam Manzi c18cbd1f09 Python 3.3 sys.platform change / spelling 2016-09-25 08:28:40 +10:00
Sam Manzi 8e9f49f4ae Update Docs copyright year 2016-09-25 07:50:52 +10:00
prculley ffa5b6db61 Fix bug 9717, XML import with env language other than utf8, has bad progress meter 2016-09-24 15:47:03 -05:00
prculley ce756cedf2 Add tests 2016-09-24 09:58:37 -05:00
prculley 4e0147de02 Check & Repair: add fix for bad alt place names 2016-09-24 09:58:37 -05:00
Doug Blank 68bd1e9038 DB-API: make autobackup configurable
Via command line:

  gramps --config=database:autobackup:1    ## True
  gramps --config=database:autobackup:0    ## True

Or by editing gramps.ini.
2016-09-24 06:55:41 -04:00
Doug Blank 0ce1a91dec DB-API: ignore errors on secondary field lookups 2016-09-23 19:35:11 -04:00
Doug Blank 3b0e04fb78 9538: gramps.gen.dbstate.DbState.make_database doesn't handle 'else' branch 2016-09-23 17:07:12 -04:00
Doug Blank 9e5f899bbd 9710: dbapi pylint issues, adjustment 2016-09-23 10:39:15 -04:00
Doug Blank ae06d046c5 9710: where documentation 2016-09-23 07:04:05 -04:00
Doug Blank a9f1377529 9710: dbapi pylint issues 2016-09-23 06:30:51 -04:00
SNoiraud 60406bc239 9704: Events coordinates : add menu to edit place or event. 2016-09-23 12:08:14 +02:00
SNoiraud 8258e6a399 9704: Events coordinates : add place ID. 2016-09-23 10:10:25 +02:00
Doug Blank 5eb348f815 Merge pull request #239 from dsblank/master
DB-API: Getting a handle that doesn't exist now raises error, like BSDDB
2016-09-22 16:42:09 -04:00
Doug Blank c6fa40d389 Protection from family_handle being None 2016-09-22 16:25:53 -04:00
Doug Blank 899765beb6 Revert "Take care of possibly missing family"
This reverts commit cb1a8e85b6.
2016-09-22 13:58:46 -04:00
Doug Blank cb1a8e85b6 Take care of possibly missing family 2016-09-22 12:22:03 -04:00
Doug Blank 140c02340c DB-API: Getting a handle that doesn't exist now raises error, like BSDDB 2016-09-22 11:58:05 -04:00
vantu5z f525701838 update russian translation 2016-09-22 14:38:35 +03:00
SNoiraud 04959f5786 Geography : add the possibility to add new unsupported map 2016-09-22 11:56:27 +02:00
SNoiraud 27aed693bc 9704: Events Gramplet should show events in Family Geography 2016-09-22 11:47:55 +02:00
Sam Manzi 6c75b4e681 Merge pull request #238 from sam-m888/vcardexportoptions
Add Export Options filter to Vcard Export
2016-09-20 10:23:55 +10:00
Paul Franklin b03579428b enable the main window to remember its position on the screen
The genealogy -- as it were -- of this patch started with
https://gramps-project.org/bugs/view.php?id=5357 which was a
feature request for the clipboard to remember its location
on the screen, its placement, its position.

The p.r. https://github.com/gramps-project/gramps/pull/58
was a prototype implementation, but it also had the main
window remembering its location.  Then p.r. 58 turned into
https://github.com/gramps-project/gramps/pull/60/ -- but
later both of those were closed, never committed.

Since I really wanted the main window to be able to remember
its position, I have extracted the relevant code.  I also
modified it along the way, e.g. renaming some variables.

So all the credit should go to Sam Manzi, the originator of
those two pull requests, and thus the code in this commit.

However, any problems are due to me, my changes -- not Sam.
2016-09-19 13:42:03 -07:00
SNoiraud 3e1a0187e3 9688: Remove Unused Objects tool reports linked notes as unused. 2016-09-19 19:39:32 +02:00
Sam Manzi 72aafd7471 Merge pull request #236 from prculley/bug9697
bug 9697, fix Test Case Generator to avoid GUI progress meter in CLI mode
2016-09-19 14:34:17 +10:00
Paul Franklin 2a5f58bd50 ask for a little help, if appropriate 2016-09-17 18:20:30 -07:00
Sam Manzi 42f66f9f47 Add Export Options filter to Vcard Export 2016-09-17 08:12:51 +10:00
SNoiraud e23e40a698 9700: Select Place search & Source/Citation hierarchy should NOT be expanded 2016-09-16 20:37:44 +02:00
romjerome 5290062b24 Update french translation 2016-09-16 16:24:30 +02:00
Matti Niemelä 53416b6797 Update finnish translation 2016-09-16 16:00:59 +02:00
Paul Franklin 2bbb555797 fix "gramps --databases" 2016-09-15 19:34:58 -07:00
Paul Franklin 64b5021843 4827: HTML-Export, make language selectable (WebCal tweaks) 2016-09-14 10:38:14 -07:00
prculley 2807e24cfa bug 9697, fix Test Case Generator to avoid GUI progress meter in CLI mode 2016-09-14 11:06:25 -05:00
Paul Franklin 7f3ee457fc 4827: HTML-Export, make language selectable (NarWeb filter name) 2016-09-13 19:05:05 -07:00
Sam Manzi dd496b9acf Merge pull request #232 from prculley/csvfix
9676 CSV import fails for certain types of cross references
2016-09-14 08:59:50 +10:00
Sam Manzi d6bfaf99ac Merge pull request #234 from prculley/CAUS
bug 1680 fix Gedcom export of illegal level 1 CAUS entries
2016-09-14 08:51:13 +10:00
Sam Manzi ee51c8d3e1 Merge pull request #233 from prculley/exportfax
Gedcom Export; fix support for PHON, FAX, EMAIL, WWW tags to v5.5.1 standard
2016-09-14 08:42:07 +10:00
Sam Manzi 2ddfde7b9e Merge pull request #231 from prculley/notetype
Gedcom import Notes get NoteType appropriate to object
2016-09-14 08:32:36 +10:00
Paul Culley 939a4ae669 Merge pull request #235 from prculley/9682CandR
bug 9682 fix Check & repair so it won't crash with bad 'get_from_handle'
2016-09-13 11:59:09 -05:00
Zdeněk Hataš 0a3158f919 czech translation update 2016-09-13 10:04:13 +02:00
Sam Manzi a0a3ea61e9 Merge pull request #227 from phejl/master
0009626: Google map API now requires a key
2016-09-13 09:06:58 +10:00
Sveinn í Felli 2ba812f1c4 Add 9693: Icelandic translation update(msgfmt error fixed) 2016-09-13 07:59:24 +10:00
Sveinn í Felli 6835978712 Add 9693: Icelandic translation update 2016-09-12 13:36:49 +10:00
Paul Franklin 645bef8f5d 8128: GtkDialog mapped without a transient parent (*.gpr.py) 2016-09-11 15:05:51 -07:00
vantu5z 84047260c6 update russian translation 2016-09-11 12:45:03 +06:00
Paul Franklin 9bb2552d77 tweak statistics gramplet
One line of this is a typo left over from 8350859
and the two "if"s are due to interacting with the
present DummyDb.
2016-09-10 19:32:12 -07:00
Paul Franklin 2ffe1d141f remove temporary debugging flags 2016-09-10 15:44:07 -07:00
Paul Franklin 579485c6a5 remove dead code from ViewManager 2016-09-10 15:31:18 -07:00
Paul Franklin 6969fd5568 new gramps.pot translation template for master 2016-09-10 11:06:03 -07:00
SNoiraud 839a424491 4827: HTML-Export, make language selectable ... (Webcal) 2016-09-10 17:21:02 +02:00
SNoiraud ed91fa03fb 0004827: HTML-Export, some missing translations + pylint 2016-09-10 15:34:42 +02:00
SNoiraud b46da55552 Webcal : some cleaning and best pylint score 2016-09-09 19:47:49 +02:00
SNoiraud 9c3600b598 4827: HTML-Export, make language selectable (WebCal) 2016-09-09 15:12:20 +02:00
prculley 70870ac6e8 bug 9682 fix Check & repair so it won't crash with bad 'get_from_handle' 2016-09-08 10:37:21 -05:00
SNoiraud bd221d6fcf 4827: HTML-Export, make language selectable independently (Narrativeweb) 2016-09-08 12:17:11 +02:00
Paul Culley 83aa796c1e Merge pull request #230 from sam-m888/9642AdjustGedcomStageOneNotes
9642 Adjust GedcomStageOne notes Parsing
2016-09-07 08:26:14 -05:00
prculley 1252496db4 bug 1680 fix Gedcom export of illegal level 1 CAUS entries 2016-09-06 15:23:33 -05:00
prculley 6ccb2cfcd3 Fix trailing whitespace 2016-09-06 11:00:20 -05:00
prculley daf0de5692 Gedcom Export; fix support for PHON, FAX, EMAIL, WWW tags to v5.5.1 standard 2016-09-06 10:22:18 -05:00
prculley a9a259ebd0 Put back Titlecase versions of strings to be translated 2016-09-06 10:10:47 -05:00
prculley 8d989cc6f6 update test files 2016-09-05 16:53:39 -05:00
prculley 0327f751c3 bug 9676 CSV import, fix failure for certain types of cross references 2016-09-05 14:59:00 -05:00
Paul Franklin 2226781a98 clarify new Graphviz backend option 2016-09-04 12:52:08 -07:00
prculley 417afd70ab Gedcom import Notes get NoteType appropriate to object 2016-09-04 09:23:09 -05:00
Paul Culley c0dfb4831c Merge pull request #223 from prculley/excepts
Bug 9665 Gedcom import exception processing fixes
2016-09-04 09:17:40 -05:00
Paul Culley 1a7b51c4bf Merge pull request #229 from prculley/losecode
Gedcom import, remove old, dead, code, no longer used
2016-09-04 09:14:12 -05:00
SNoiraud 73563e4f31 3712: orthogonal routing for Relationship Graph 2016-09-04 09:58:02 +02:00
Paul Franklin c8c475cdda emable deferred translation of Span ages 2016-09-03 09:20:30 -07:00
prculley d7f1ebaf3f trivial pylint fix 2016-09-03 09:29:06 -05:00
vantu5z 97d888e4d3 update russian translation 2016-09-03 09:06:38 +03:00
Sam Manzi a9c771c514 9642 Adjust GedcomStageOne notes Parsing 2016-09-03 11:34:27 +10:00
prculley 8387529110 Gedcom import, remove old, dead, code, no longer used 2016-09-02 16:45:18 -05:00
Paul Culley ec919bb375 Merge pull request #228 from prculley/master
This fix makes Place GID vs place name consistent across runs for Gedcom import
2016-09-02 11:48:28 -05:00
prculley 0597613139 typo 2016-09-02 10:35:21 -05:00
prculley 1c686274be This fix makes Place GID vs place name consistent across runs for Gedcom import 2016-09-02 09:45:00 -05:00
SNoiraud 9447284d2b 2422: Change the page name to statistics 2016-09-02 16:32:12 +02:00
Petr Hejl 639ca24ffb Merge remote-tracking branch 'upstream/master' 2016-09-02 12:16:17 +02:00
SNoiraud 2cda8b1b24 1264: Add a link in Person page to First name list and in First name list a link to family list 2016-09-02 11:57:47 +02:00
Paul Franklin 4917628f9e sort custom filter names with German-umlaut chars correctly 2016-09-01 19:05:54 -07:00
romjerome c2cbc7580a Update translations template 2016-09-01 18:01:21 +02:00
SNoiraud ca227013bf Narrativeweb : Created for in footer not consistant with filter option. 2016-09-01 16:52:27 +02:00
SNoiraud 59e7675a3e 2422: Add a Statistics Page to the Narrative Web Site report 2016-09-01 12:26:58 +02:00
Sam Manzi 4a6a39d07e Remove trailing whitespaces 2016-09-01 14:52:45 +10:00
Paulo Henrique Moraes 2fb5fbf568 Corrections in translation. 2016-08-31 19:31:51 -03:00
Paul Franklin ca9e13ed7f Chinese families for example.gramps (thanks, Sati Bodhi (Yin Hoe TAN))
They are from the Chinese novel "Dream of the Red Mansion"
2016-08-31 09:07:24 -07:00
Paul Franklin 5a8245956c Merge pull request #224 from prculley/movetst
Copy data.gramps to test directory and point db_test at it
2016-08-31 15:25:32 +00:00
SNoiraud f268af9b85 2422: Add a Statistics Page to the Narrative Web Site report 2016-08-31 13:44:50 +02:00
Zdeněk Hataš 9037e6f448 czech translation update 2016-08-31 12:34:06 +02:00
SNoiraud f1e3c9500e 0738: Color pedigree view name boxes. 2016-08-30 21:55:05 +02:00
prculley 50e4fc1222 Bug 9665 Gedcom import exception processing fixes 2016-08-30 11:59:18 -05:00
prculley e3b482dd57 Make copy of example.gramps to tests dir and point test modules to it 2016-08-30 11:46:55 -05:00
romjerome d739c5193f Merge pull request #225 from paulohpmoraes/master
Translation of new and fuzzy strings.
2016-08-30 11:59:14 +02:00
Petr Hejl b881bf7e71 0009626: Google map API now requires a key 2016-08-30 10:55:51 +02:00
Paul Franklin f389df59c4 improve pylint score (to over 9.00) 2016-08-29 20:21:56 -07:00
Paul Franklin a7e47bba3a 9663: Sort User Filters on sidebar by name [also implements 8756] 2016-08-29 20:19:49 -07:00
Sam Manzi f5186a81f0 Remove trailing whitepaces 2016-08-30 09:26:20 +10:00
Paulo Henrique Moraes ec214ae744 Translation of new and fuzzy strings.
Revision and changes in translated string.
2016-08-29 16:08:39 -03:00
prculley 70404e1931 Copy data.gramps to test directory and point db_test at it 2016-08-29 11:47:27 -05:00
Matti Niemelä 82441292d1 Update Finnish translation 2016-08-29 17:15:39 +02:00
SNoiraud fa0444a90c 9664: NarrativeWeb : openlayers v2 is obsolete. 2016-08-29 12:40:54 +02:00
SNoiraud a563e47c1a Geography: clear views when no-database signal emitted 2016-08-27 10:51:37 +02:00
Doug Blank 4b5e1e9702 Removed skip-check-xref and skip-import-additions from generic API 2016-08-25 07:00:04 -04:00
Sam Manzi 4a4cd11790 Merge pull request #220 from prculley/fax
Fixes for the PHON, FAX, EMAIL and WWW Gedcom tags to support Gedcom v5.5.1.
2016-08-25 13:08:03 +10:00
prculley 6df77e3bba Add test files 2016-08-23 16:00:06 -05:00
Paul Culley fa701fbbee Merge pull request #206 from prculley/bug9549
bug 9549 Chinese characters are not rendered properly in pdf reports
2016-08-23 13:50:39 -05:00
prculley 2059823748 Fixes for the PHON, FAX, EMAIL and WWW Gedcom tags to support Gedcom v5.5.1. 2016-08-23 13:49:48 -05:00
vantu5z 2437d5b441 fix russian translation 2016-08-23 16:16:22 +03:00
vantu5z edcce20d60 Update russian translation 2016-08-23 08:45:27 +03:00
kulath 6204bbb8b1 Update files in windows directory so it compiles under python3 (print
statements and except and raise).
2016-08-22 15:48:17 +01:00
romjerome 5e459e4541 Update french translation 2016-08-22 15:54:05 +02:00
romjerome acbac8302f Update translations template 2016-08-22 15:35:38 +02:00
Lajos Nemeséri 95ac339f61 Update Hungarian translation 2016-08-22 15:34:21 +02:00
prculley 7efee37123 use relative import 2016-08-21 15:00:19 -05:00
prculley a1b20d4b9d Fix long line (pylint) 2016-08-21 15:00:19 -05:00
prculley 30a6f4267b Add GUI and CLI config option to allow easy setting 2016-08-21 15:00:19 -05:00
SNoiraud bb75e6eea8 9341: _deeprelationshippath filter rule, addition of filter rules and classname 2016-08-21 16:14:12 +02:00
Paul Culley 683edca122 Merge pull request #213 from prculley/CustEvent
Support for FTM and others Custom Gedcom Event Tags on import
2016-08-20 09:54:06 -05:00
prculley 618112b51c Support for FTM and others Custom Gedcom Event Tags on import 2016-08-20 08:37:42 -05:00
kulath 67620bb895 Whitespace 2016-08-19 21:46:15 +01:00
kulath 083b4a3b53 Comment out useless ErrorReportAssistant test, and fix whitespace 2016-08-19 21:27:53 +01:00
kulath fbb884b6ea Fix top level test files so they at least compile and don't interfere
with nosetests. Add these files to nosetests.
2016-08-19 21:10:07 +01:00
Sam Manzi 022eefd7e8 Merge pull request #218 from phejl/0008060_fix
0008060: [Narrative Web:] The czech letter 'ch' uppercase version is …
2016-08-19 10:13:00 +10:00
Sam Manzi 0711859244 Merge pull request #217 from phejl/master
0009634: Wrongly translated strings in CS
2016-08-19 09:59:42 +10:00
Petr Hejl 71ad26a243 0009634: Wrongly translated strings in CS 2016-08-18 16:46:33 +02:00
Petr Hejl a9bcdedfee 0008060: [Narrative Web:] The czech letter 'ch' uppercase version is 'CH' 2016-08-17 23:23:32 +02:00
SNoiraud 1ad3a3149f Narrativeweb : narrative-maps.css link incorrect when use into a CMS. 2016-08-17 12:14:28 +02:00
Matti Niemelä c00149aa89 Update finnish translation 2016-08-17 11:56:12 +02:00
vantu5z 9f1f97f3af Update russian translation 2016-08-17 12:17:56 +03:00
John Ralls 22284a85ff Update graphviz to 2.38. 2016-08-16 12:14:21 -07:00
John Ralls 13c95d00d7 Change to a binary launcher in Mac app bundles. 2016-08-16 12:14:13 -07:00
John Ralls 3e323e496f Update copyright date in Info.plist. 2016-08-16 12:13:15 -07:00
prculley 677516d84a fix typo in Warning dialog, that duplicated the DEST= value 2016-08-16 09:56:32 -05:00
kulath 297f9b57c7 Remove a diagnostic.
constfunc_test.py had been edited on the travis test branch to produce
some diagnostics, and travis.yml was edited to omit the diagnostics.
2016-08-16 00:52:53 +01:00
kulath 6245d219a9 Update travis.yml so coverage works and also to load pyicu; this entails
moving to the 'trusty' distribution which has Python 3.3 (coverage needs
3.3 or more) and also a Python 3 version of pyicu. This doesn't use the
virtualenv at all, so the various pip installs are removed. There are
still some minor omissions, noted in FIXMEs; in particular, the code
should be tested under Python 3.2 (which is the minimum Gramps
requirement).
2016-08-15 23:43:54 +01:00
SNoiraud 4e150e5aba Narrativeweb : ancestortree.css link incorrect when use into a CMS. 2016-08-15 21:56:00 +02:00
SNoiraud 1cbb0f990f Narrativeweb : some dates are incorrect in tar archive. 2016-08-15 21:15:55 +02:00
SNoiraud 87e5279642 8250: Gramps crashes when closed while exporting 2016-08-15 10:22:13 +02:00
Doug Blank ed4c9fa148 9632: Gramps 5.0.0 crashes when I select a report 'Open with default viewer' 2016-08-14 08:12:21 -04:00
Paul Franklin 7b3d7f263a make it clear that consistency is needed 2016-08-12 18:49:13 -07:00
Doug Blank 2f142e8966 9522: events gramplet in family view error: 'FamilyEvents' object has no attribute 'cached_start_date' 2016-08-12 21:45:48 -04:00
Paul Franklin 50f49781b0 tweak AsciiDoc backend 2016-08-12 14:04:14 -07:00
Paul Franklin 4f8559f365 Merge pull request #210 from kulath/bug9515
Bug9515
2016-08-11 23:39:58 +00:00
SNoiraud d89e79b218 9624: When I try to edit a place on the map, the process stops with an error. 2016-08-11 15:34:05 +02:00
Zdeněk Hataš 4f037efecb czech translation update 2016-08-11 14:18:12 +02:00
SNoiraud e5f02d5f5d 9624: Geography <- bug 8128 GtkDialog mapped without a transient parent 2016-08-11 12:48:43 +02:00
Doug Blank 2ecf517aba Remove trailing whitespace 2016-08-10 17:56:48 -04:00
SNoiraud e7e865f596 8128: GtkDialog mapped without a transient parent 2016-08-10 20:00:37 +02:00
SNoiraud 5140e97dbd 8128: GtkDialog mapped without a transient parent (*.gpr.py) 2016-08-10 16:24:55 +02:00
Paul Franklin f9e9f1be67 8128: GtkDialog mapped without a transient parent 2016-08-09 18:51:45 -07:00
Paul Franklin 3edab6e2e6 8128: GtkDialog mapped without a transient parent 2016-08-09 13:48:57 -07:00
lcc a8b0037fab 5496: Option for text [DDR] to report by branch 2016-08-08 15:32:31 -07:00
SNoiraud 1a6752f9d9 9596: Some events are not shown in familymaps page. 2016-08-08 11:36:57 +02:00
Paul Franklin 2e3a4fd55f increase pylint score 2016-08-06 16:13:30 -07:00
Paul Franklin 94f0c9ee90 8128: GtkDialog mapped without a transient parent 2016-08-06 16:11:27 -07:00
romjerome db23dce2d2 9608: remove old debug bloc (rev 586bd2fc)
special cases generating AttributeError
2016-08-06 11:53:37 +02:00
Paul Franklin 1caffd5cc4 remove dead code
Don commented out these lines in db0d291b74 on 26 January
2007, so I think it's safe to assume they won't be missed
2016-08-04 18:41:08 -07:00
Paul Franklin da8f99bab7 8128: GtkDialog mapped without a transient parent 2016-08-04 08:54:34 -07:00
Paul Culley 76a6e8a502 Merge pull request #204 from prculley/Medi2
Gedcom import media improvements part 2
2016-08-04 11:03:44 -05:00
Paul Franklin f9dbfd9dbd 8128: GtkDialog mapped without a transient parent 2016-08-03 18:16:48 -07:00
SNoiraud 675ae1a8d4 8128: GtkDialog mapped without a transient parent 2016-08-03 22:42:45 +02:00
Paul Franklin 2a7907c6c1 Merge pull request #215 from prculley/dialog
Bug 8128 for libgedcom; Ensure no popup under CLI for warning
2016-08-03 20:24:05 +00:00
prculley ce93e0505f Ensure no popup under CLI for warning 2016-08-03 11:56:08 -05:00
SNoiraud e7e46cb067 Geography: Avoid crash is OsmGps not initialized 2016-08-03 14:32:16 +02:00
SNoiraud 30050d403d 8128: GtkDialog mapped without a transient parent (Geography) 2016-08-03 14:23:32 +02:00
vantu5z 75a5cd588d Update russian translation 2016-08-03 13:08:27 +03:00
Paul Franklin ab32d53575 Merge pull request #214 from prculley/dialog
Bug 8128 for importgedcom and libgedcom; dialog parent=
2016-08-03 02:44:19 +00:00
prculley f43452e844 Bug 8128 for importgedcom and libgedcom; dialog parent= 2016-08-02 18:42:13 -05:00
Paul Franklin eeaaac060e better handle an unlikely error in the Complete Individual report 2016-08-01 16:30:46 -07:00
kulath c217eaae4d Replace %s with ? as requested by Doug Blank. 2016-08-01 23:29:46 +01:00
Paul Franklin d9ec7d5e2a 8128: GtkDialog mapped without a transient parent 2016-08-01 12:16:58 -07:00
kulath fcf1c1d13b Improve pylint to 10.0 2016-08-01 17:37:26 +01:00
kulath 3461316067 0009515: DBAPI:
gramps.plugins.database.dbapi_support.sqlite.Sqlite.try_execute ignores
errors Check if the table 'person' exists to determine whether the
database is new.
2016-08-01 16:34:46 +01:00
Paul Franklin b40c92465a 8128: GtkDialog mapped without a transient parent
In the process of searching for uses of ErrorDialog which
did not have a "parent" argument, I stumbled on this module
-- and noticed something different in it.

Benny changed the original "ErrorDialog" calls to a
"ERROR = ErrorDialog" variant in
https://github.com/gramps-project/gramps/commit/9a2fd506425756531d2bb725d87ad4feefa99986
on 30 January 2011, "to allow a QML interface" (which by the
way has subsequently been removed from the mainline gramps
code).

In the same commit, in cli/clidbman.py, he added an
_errordialog function and an "ERROR = _errordialog" line,
evidently so all DB errors, no matter whether in GUI or CLI
code, could be changed to things like:

ERROR(_("Could not rename family tree"), str(msg))

But then in 16 February 2011 MDNauta, in
https://github.com/gramps-project/gramps/commit/7c1b26d969900d5cf70f4408b9078aeed1d70fcd
changed the generic ERROR to either DbManager.ERROR or else
CLIDbManager.ERROR, depending on whether it was in GUI code
or CLI code.

Which of course defeated the purpose of the change to the
generic call, so I have changed it back to the original
ErrorDialog call, directly.

The decision was made even easier by noticing lots of
more-recent error-handling code which used the ErrorDialog
form as opposed to Benny's variant.
2016-07-31 18:32:33 -07:00
Paul Franklin ea82fc981d 8128: GtkDialog mapped without a transient parent 2016-07-30 17:01:34 -07:00
Paul Franklin bedf94056b new gramps.pot template for master 2016-07-29 23:33:22 -07:00
Paul Franklin b17f9c343a slightly generalize the running-master warning message 2016-07-29 23:31:06 -07:00
prculley 069cf4c880 Gedcom import media improvements part 2 2016-07-27 10:33:56 -05:00
kulath 4f1eed7170 2092: Problems when no database is open. Partial fix. Inactivate
inappropriate main menu items when there is no database, ensure uniform
main window title and implement a close button on the Family Trees menu.
2016-07-26 19:23:01 +01:00
Nick Hall 85b0b654bf 9427: Add new argument to IsEnclosedByRule 2016-07-26 18:37:56 +01:00
SNoiraud 480819dde8 9598: Geography : Add a message to clarify things in geoplaces 2016-07-26 10:01:34 +02:00
SNoiraud 92f7631fe3 Narrativeweb : place title must agree the references.place-auto configuration 2016-07-26 09:37:41 +02:00
Paul Franklin a512c9d5eb improve pylint score on some CLI files
cli/arghandler.py went from 8.30 to 9.52
cli/argparser.py went from 8.43 to 9.74
cli/grampscli.py went from 7.99 to 9.29
cli/plug/__init__.py went from 7.63 to 9.69
2016-07-25 12:56:56 -07:00
vantu5z 6efe71d303 Update russian translation 2016-07-25 12:56:27 +03:00
Paul Franklin 164dbca04a clarify possible development use of "meta" 2016-07-23 15:03:06 -07:00
Paul Franklin f1b5e5eb07 move comment lines higher, to keep out of gramps.pot
The problem is that "nearby" comments are put into the
gramps.pot template, to aid the translator, but these
comments are referring to an untranslated string, which
then confuses the translator, who wonders if the string
flagged for translation should be translated after all.

The solution is to move the comment futher away, so it
is no longer "nearby" the translated string.

http://gramps.1791082.n4.nabble.com/Fw-Translation-question-td4676138.html
2016-07-23 14:56:44 -07:00
Paul Franklin c6d4eee407 increase pylint score by 2.11 2016-07-22 19:27:57 -07:00
Paul Franklin b6d8223192 8128: GtkDialog mapped without a transient parent 2016-07-22 19:26:24 -07:00
Kaj Mikkelsen 66ca203a32 update Danish translation in master 2016-07-22 11:08:14 -07:00
Doug Blank 64ece7f978 Removed unused dbapi.rebuild_gender_stats()
Thanks to Paul F. for finding this.
2016-07-22 07:18:01 -04:00
Doug Blank 22afe47966 DB-API: remove duplicate indexing calls 2016-07-21 07:46:55 -04:00
Paul Franklin d94fd873be new gramps.pot translation template for master 2016-07-20 22:34:16 -07:00
Paul Franklin 7fe4b6a079 his name is spelled "d'Aboville" and not "D'Aboville" 2016-07-20 22:33:10 -07:00
Doug Blank c817554dbf 9588: DB-API import loses researcher and bookmarks 2016-07-21 00:07:51 -04:00
Doug Blank 894e74d127 9554: example.gramps map has different value, and should return correct type 2016-07-19 21:11:18 -04:00
Paul Franklin 919f127aed add some docstrings to the DDR, to make pylint slightly happier 2016-07-19 15:16:01 -07:00
Craig J. Anderson 72daa89abc Enhance the Descendant Report and Detailed Descendant Report
This fulfills both feature request 5902 and feature request 8297.

It adds the D'Aboville numbering system and the Henry
numbering system to the Descendant Report, as requested.

It also adds the Modified Henry numbering system to both reports.
2016-07-19 15:12:33 -07:00
Doug Blank ac211252bb 9554: import-to-export of example.gramps map has different value 2016-07-17 08:23:35 -04:00
Matti Niemelä fb404c2a04 update Finnish holidays 2016-07-16 20:26:55 -07:00
Paul Franklin e3dc568092 Revert "update Finnish holidays"
This reverts commit 47e7025d06.
2016-07-16 20:15:11 -07:00
Matti Niemelä 47e7025d06 update Finnish holidays 2016-07-16 20:06:42 -07:00
Jérôme Rapinat b3d9cfaac5 9578: Some strings in tools and report dialogs will not translate 2016-07-16 16:58:11 -07:00
Doug Blank e257403b7d Merge pull request #202 from prculley/bug9552
Bug9552 Export to '.wft' file crashes if Unicode characters are present on Windows
2016-07-16 17:42:53 -04:00
prculley a879d0e485 bug 9552 Export to '.wft' file crashes if Unicode characters are present on Windows 2016-07-16 16:22:43 -05:00
Doug Blank ceac20aafc Merge pull request #201 from prculley/bug9501
Bug9501
2016-07-16 17:21:02 -04:00
prculley f7f708225f Bug 9552 Web Family tree export should be utf-8 2016-07-16 16:14:43 -05:00
prculley ccaad576a2 enable export test 2016-07-16 16:02:01 -05:00
prculley 41e8996761 Oops, forgot that I had an export test present 2016-07-16 15:49:17 -05:00
prculley d524bdd512 bug 9501 CSV import/export messes up places 2016-07-16 15:49:17 -05:00
Doug Blank f419dc9a8b Removed some executable settings on sources files (prevented tests from running) 2016-07-16 16:44:08 -04:00
Doug Blank 6f5e2a4e70 Merge pull request #198 from prculley/FTM_LINK
bug 9581 Gedcom import of FTM .ged file containing _LINK tags not supported
2016-07-16 16:02:37 -04:00
Nick Hall 3c219d545e Restrict DBAPI selection to power users 2016-07-16 19:41:53 +01:00
John Ralls c2d601496e Change pycairo-python3 to pycairo.
pycairo for python2 is now py2cairo.
2016-07-16 10:44:02 -07:00
John Ralls bf19ad47df Remove pango modules from bundle, pango no longer uses them. 2016-07-16 10:42:24 -07:00
prculley a3c6ce1c30 rebase 2016-07-16 12:02:20 -05:00
prculley aa92fa55a9 bug 9581 Gedcom import of FTM .ged file containing _LINK tags not supported 2016-07-16 11:51:00 -05:00
Doug Blank 61f6015aba Merge pull request #191 from prculley/bug9479
Bug 9479 Gedcom import loses spaces in text fields from FTM
2016-07-16 12:03:37 -04:00
prculley e6923620ea Typo 2016-07-16 10:48:26 -05:00
Doug Blank 523abbf722 Merge pull request #196 from prculley/FTM_photo
Bug (Feature) 9580 Gedcom import of FTM file containing _PHOTO tags
2016-07-16 11:23:03 -04:00
Doug Blank ea2c36b100 Merge pull request #194 from prculley/bug9579m
bug 9579 Gedcom import of FTM file with OCCU record crashes import
2016-07-16 11:22:08 -04:00
Doug Blank 227821b234 Merge pull request #193 from prculley/Ged1
Bug 9575, Gedcom import improvements in media area to support v5.5.1 and FTM
2016-07-16 11:20:36 -04:00
Doug Blank 6792eb88d7 Merge pull request #185 from prculley/bug9561
Bug 9561, fix for intermittent plugin recognition via CLI
2016-07-16 11:16:51 -04:00
Doug Blank 52a7918dba Merge pull request #180 from prculley/export
Export test module
2016-07-16 11:13:09 -04:00
Paul Franklin 6975e30861 increase pylint score from 7.17 to 9.02 2016-07-15 11:53:24 -07:00
SNoiraud 86b52ed60b 2016: Website reports should accept any StyleSheet 2016-07-15 16:18:30 +02:00
prculley 43d284b166 Bug 9580 Gedcom import of FTM file containing _PHOTO tags 2016-07-15 08:06:51 -05:00
SNoiraud 925e413683 9362: Attempting to select an "Available item" for the Book Report gives an error 2016-07-15 12:16:29 +02:00
vantu5z a63b85e281 update russian translation 2016-07-15 08:40:06 +03:00
Nick Hall 620d43a544 Convert gui.views to use abstract base classes 2016-07-14 21:46:16 +01:00
Nick Hall 534eafef83 Fix incorrectly renamed method 2016-07-14 21:44:28 +01:00
Nick Hall 00dba4727b Convert gen.User into an abstract base class 2016-07-14 18:55:34 +01:00
prculley 06fcf29136 Fix for either valid or invalid FTM Gedcom 2016-07-14 10:02:50 -05:00
prculley ffda171914 bug 9579 Gedcom import of FTM file with OCCU record crashes import 2016-07-13 10:45:34 -05:00
Doug Blank 05bd51b425 Remove DB-API XML config; replace with settings.py/.ini 2016-07-12 13:21:09 -04:00
SNoiraud b43808c9d5 Narrativeweb : 9560 added a trailing space. 2016-07-12 16:15:29 +02:00
vantu5z 1d89fa9288 revert debug tools translation
it was not a good idea to translate them  (commit 1bb2dfc1cd)
2016-07-12 14:04:47 +03:00
SNoiraud 006cd7a186 9560: Family Page maps are non-functional in Narrative Web report. 2016-07-12 11:14:43 +02:00
Paul Franklin f73821eabf Enhance Book Report
The main change is that now output-related options will also
be saved to (and restored from) the books.xml file.  If the
user has three books for instance, each will keep the last
filename it was written to, and present that filename to the
user in the final dialog, for acceptance or modification.
Similarly for things like paper size and orientation.

Also, the error reporting mechanism was enhanced, so that
now if a report inside a book has a ReportError the user
will be told gracefully (instead of gramps crashing).  The
(translated) name of the report will also be shown.

A few more dialogs were given a "parent" also.
2016-07-11 12:16:58 -07:00
prculley 98004c4e87 Bug 9575, Gedcom import improvements in media areato support v5.5.1 and FTM 2016-07-11 11:36:45 -05:00
vantu5z 4dfa354322 Update russian translation 2016-07-11 14:57:51 +03:00
vantu5z 1bb2dfc1cd Make translatable debuger tools 2016-07-11 14:55:26 +03:00
romjerome 16a862fe56 merge and still partial french translation 2016-07-09 10:01:31 +02:00
romjerome 27b047a2a6 9328: workaround for GNU gettext check 2016-07-09 09:56:17 +02:00
Lajos Nemeséri 09c1c1db0a Update Hungarian translation 2016-07-09 09:50:59 +02:00
prculley 617569a234 Bug 9479 Gedcom import loses spaces in text fields from FTM 2016-07-08 11:47:18 -05:00
Paul Franklin 4e3706072e enhance Book class (to allow non-identical Book copies to be made)
Historically, a new Book made from an old Book argument would
contain the exact same BookItem objects as the original Book.
That behavior is retained (even though I can't see that it is
ever used), but now copies are possible where the BookItems
are of the same number and type as the original, but not the
exact same BookItem objects.  (No "paper" options are copied.)

In the process of doing that, the "save" method was slightly
tweaked, so its recently-changed (for pylint reasons) strings
have their XML terminator on the same (Python) line as the
XML-start of the keyword, for more clarity.  In the process of
checking that a pathological case was noticed where the metric
paper option could be Boolean in some cases (instead of the
expected zero/one), so that was coped with also.
2016-07-08 09:21:39 -07:00
prculley c92497dba0 Rebase and de-compress exp_sample.gramps 2016-07-07 13:50:26 -05:00
prculley 3bcfdcff60 fix vcf filter and tweak test_imports for better pythonic 2016-07-07 13:50:26 -05:00
prculley a8fe152a43 New ged file to deal with no media in test 2016-07-07 13:50:26 -05:00
prculley 3302fd388f update for fixed up vcard 2016-07-07 13:50:26 -05:00
prculley a82d5b8609 Export test module and some tests 2016-07-07 13:50:26 -05:00
Paul Franklin ed1fa65569 Merge pull request #190 from prculley/bug9569
Fix Bug 9569 Vcard export order is not consistent
2016-07-07 18:32:25 +00:00
Paul Franklin 046ab46985 new gramps.pot template for master 2016-07-07 11:22:40 -07:00
Paul Franklin d837e40307 remove trailing whitespace 2016-07-07 11:17:14 -07:00
prculley a016457f5a Fix Bug 9569 Vcard export order is not consistent 2016-07-07 12:06:44 -05:00
Brian Matherly 337f6d9c7a 5580: some Book Report subjects are missing or misleading 2016-07-07 09:39:14 -07:00
prculley 81dd1bb6a2 Bug 9561, fix for intermittent plugin recognition via CLI 2016-07-06 08:22:46 -05:00
Paul Franklin de382fdb0c fix typos ("log.warn" => "LOG.warning" => "log.warning") 2016-07-05 23:06:01 -07:00
SNoiraud ec8d141525 9566: String not translated in geoplaces 2016-07-06 00:10:59 +02:00
Paul Franklin b1b960db0a Merge pull request #189 from prculley/whitespace
fix trailing whitespace
2016-07-05 21:47:36 +00:00
Paul Franklin e3ff22c96f Merge pull request #188 from prculley/filterrules
Missed the place filter rule when updating for changed example.gramps
2016-07-05 21:46:04 +00:00
prculley 39720eca3a fix trailing whitespace 2016-07-05 16:35:47 -05:00
prculley afc7cbc645 Missed the place filter rule when updating for changed example.gramps 2016-07-05 16:18:22 -05:00
Paul Franklin ab52cc5156 Merge pull request #187 from prculley/filterrules
Fix filter tests for changed sample.gramps
2016-07-05 21:06:19 +00:00
prculley 2fa56879c3 Fix filter tests for changed sample.gramps 2016-07-05 15:48:07 -05:00
Paul Franklin fe27e1e1d8 Merge pull request #186 from prculley/imp_rename
Rename test files so that unrelated tests don't conflict with import tests
2016-07-05 20:17:01 +00:00
prculley 9a5d3466cb Rename test files so that unrelated tests don't conflict with import tests 2016-07-05 14:10:50 -05:00
kulath ed830b2809 Fix build for database directory structure changes 2016-07-05 13:30:58 +01:00
kulath 6e8df15dcb 2092: Problems when no database is open. Partial fix. Make checks on the
database consistently check that the database exists and is open. Add a
few missing checks. Remove redundant load and direct close of dummy
database on closure.
2016-07-05 11:19:02 +01:00
vantu5z 2a0805c66a update russian translation
merged with new template
2016-07-04 13:41:31 +03:00
vantu5z fbd4b0342a update POTFILES.in after structure update
Since update directory structure for database plugins 0719e04858
2016-07-04 13:40:41 +03:00
Nick Hall 0719e04858 Update directory structure for database plugins 2016-07-03 18:37:30 +01:00
Nick Hall 746cf0ee1e Move DBAPI default settings into an XML file 2016-07-03 17:42:08 +01:00
Nick Hall 4eb27dfcfa Create new database section in configuration file 2016-07-03 16:15:38 +01:00
SNoiraud bb8e587572 9557: Translated text will not be printed (bad copy/paste 2) 2016-07-03 13:55:07 +02:00
Paul Franklin a60ae79ca0 add a Greek family to example.gramps (thanks, Zissis Papadopoulos) 2016-07-02 20:59:17 -07:00
Paul Franklin 1c66a85246 move the right paren in, so the string gets translated 2016-07-02 20:53:07 -07:00
Paul Franklin 62d8487f14 change some "place_displayer" strings to the shorter "_pd" 2016-07-02 20:50:31 -07:00
Paul Franklin 8bfa3d13a3 9556: Descendant Report does not recognise auto. place title generation 2016-07-02 20:43:33 -07:00
SNoiraud 78edbafb56 9557: Translated text will not be printed (bad copy/paste) 2016-07-02 22:53:06 +02:00
SNoiraud be5722ee0b 9557: Translated text will not be printed (better solution) 2016-07-02 22:30:54 +02:00
SNoiraud 3d9159d9d3 Geography : 9557 : Translated text will not be printed in the program 2016-07-02 11:11:44 +02:00
prculley 495e7801d7 9499: Fix CSV import of utf-8 encoded files exported by Gramps 2016-06-29 22:23:03 +01:00
prculley d77f0562e8 A few Deprecation warnings handled 2016-06-29 22:12:44 +01:00
prculley 55c99fe718 Gdk.Cursor.new() deprecation fixes 2016-06-29 22:06:39 +01:00
Paul Franklin 1abc0ad1fa Merge pull request #182 from prculley/logwarn
fix LOG.warn() deprecation warning
2016-06-29 18:54:37 +00:00
kulath 2886583689 2092: Problems when no database is open. Partial fix. Fix tags menu when
there is no database and stop accessing database for tags filter
dropdown when there is no database.
2016-06-29 16:22:13 +01:00
prculley 342bdac02c fix LOG.warn() deprecation warning 2016-06-29 09:44:18 -05:00
SNoiraud 721cfa1a1c Geography : add parent to WarningDialog 2016-06-29 08:36:32 +02:00
Nick Hall 230d7b0dac Remove trailing whitespace 2016-06-28 23:05:23 +01:00
Paul Franklin be76d63ef6 some tweaks to the book report
Formerly, the books.xml file was read in multiple times,
even if it hadn't changed at all.  And since books.xml can
contain multiple books, each of which potentially contains
multiple reports, each with multiple options, all of which
get parsed every time the books.xml file gets read in, the
process potentially can take a while.

Similarly the books.xml file was written out every time a
book was added or deleted, even if the book report continued
to be run, with potentially more changes being made.

So it's changed so that the books.xml file is only read in
once, and written out once, and only then if it needs it.
2016-06-28 11:38:53 -07:00
kulath 8e4c7234a4 2092: Problems when no database is open. Partial fix. Fix bookmarks
display when there is no database and stop accessing the database for
bookmarks when there is no database.
2016-06-28 18:39:49 +01:00
kulath c817b0dedc Pylint improvements: bookmarks.py 2016-06-28 15:36:15 +01:00
vantu5z a7ea1d98b4 Update russian translation 2016-06-28 13:30:42 +03:00
Zdeněk Hataš e199ee2bf5 czech translation update 2016-06-28 12:01:18 +02:00
SNoiraud 32a8151751 8452: Geography : Attempting to print crashes(core dumps python) 2016-06-28 10:52:02 +02:00
prculley 66bf311168 9124: GEDCOM doesn't accept CR as a line terminator
Original code used readline() when file was in binary mode; this works
only if file contains '\n', true only for CRLF and LF line endings.
Switched to file text mode with correct encoding and universal newline
support.
2016-06-27 21:11:31 +01:00
vantu5z 697b85811d Update russian translation 2016-06-27 09:59:25 +03:00
Doug Blank 871955a559 9514: DBAPI: duplicated signature for gramps.gen.db.generic.DbGeneric.get_media_from_gramps_id 2016-06-26 07:55:05 -04:00
Nick Hall b74fa4eef7 Improve pylint score of dummy database 2016-06-26 00:07:53 +01:00
Nick Hall 095e0e529f 9547: Rename non-API database upgrade methods 2016-06-25 22:09:05 +01:00
Nick Hall 535ce58f17 9547: Rename more non-API database methods 2016-06-25 21:55:55 +01:00
Nick Hall 72ca67e7c9 9547: Rename another non-API database method 2016-06-25 21:40:04 +01:00
Nick Hall ebc91f17f2 9547: Rename some non-API database methods 2016-06-25 21:34:21 +01:00
Nick Hall 7053678526 9547: Remove unused database methods 2016-06-25 19:43:21 +01:00
Nick Hall c7c674b8c9 9547: Remove deprecated database methods 2016-06-25 19:16:22 +01:00
Nick Hall e7b7ba4843 9547: Remove methods that are not required 2016-06-25 19:11:42 +01:00
kulath f7203b5cd2 Implement stand-alone default DummyDb database including diagnostics
when used incorrectly
2016-06-25 17:04:07 +01:00
prculley 403f53cc57 Bug 9545 and 9546 Vcard export on Windows problems 2016-06-25 10:11:30 -05:00
romjerome 6c67053e1f Merge translation files with last template 2016-06-24 17:04:42 +02:00
romjerome 2a39ef3fec Merge some more recent translations from 4.2 branch 2016-06-24 16:54:41 +02:00
Matti Niemelä cc7ca0ccd6 Update finnish holidays 2016-06-24 16:50:27 +02:00
Nick Hall b0d492830a Revert ABC changes to DbReadBase and DbWriteBase
Proxies do not implement all abstract methods in DbReadBase.
2016-06-24 14:48:45 +01:00
Nick Hall e4c2f5fe77 Convert document generators to use abstract base classes 2016-06-23 22:01:20 +01:00
Nick Hall f0210825de Convert gen.db to use abstract base classes 2016-06-23 20:00:24 +01:00
Nick Hall fe9af29bf5 Convert gen.lib to use abstract base classes 2016-06-23 19:07:37 +01:00
vantu5z bb009aa276 Update Russian translation 2016-06-23 10:58:08 +03:00
Paul Franklin bf8d6c6c03 improve another pylint score (_book.py) 2016-06-23 00:53:17 -07:00
Paul Franklin d297e190e6 another pylint improvement (libsubstkeyword) 2016-06-23 00:48:07 -07:00
Matti Niemelä 37ad9321e9 Update finnish translation 2016-06-22 14:56:18 +02:00
Paul Franklin 0972b69f89 retire the legacy "ReportUtils" class name 2016-06-21 20:21:48 -07:00
Paul Franklin 091caed234 9537: Wrong Numeric date format for cs_CZ locale 2016-06-21 14:16:12 -07:00
romjerome c54cee0406 Minor update for the french translation
still partial
2016-06-21 10:55:56 +02:00
SNoiraud fad158f409 9495: Narrativeweb: inconsistent & incomplete display of place hierarchy labels 2016-06-21 08:03:44 +02:00
Paul Franklin 58e169e9eb new gramps.pot template for master 2016-06-20 13:36:37 -07:00
Paul Franklin 597c48b66b more pylint changes: some reformats, some new ones, some 9535 bug fixes 2016-06-20 13:31:35 -07:00
Paul Franklin 8e7d5f5f14 make verify tool less likely to crash while creating its file 2016-06-20 09:45:41 -07:00
Paul Franklin 4b84a04de7 improve pylint score for the book dialog 2016-06-20 08:51:05 -07:00
Nick Hall 0cf5a81e7a 9527: Increase width of date column in location gramplets 2016-06-19 15:20:37 +01:00
Nick Hall 2b21959ca6 9527: Fix date sort column in location gramplets 2016-06-19 15:20:17 +01:00
SNoiraud 023350fa4d 9495: Narratedweb : inconsistent & incomplete display of place hierarchy labels 2016-06-18 19:54:30 +02:00
SNoiraud bc0a3b5b04 9494: Narratedweb : surname listing errors for people with multiple partners 2016-06-18 19:42:34 +02:00
Paul Franklin 33679aa1c9 improve pylint score for narrative web report (to over 9.00) 2016-06-18 09:29:21 -07:00
SNoiraud 2d7089ec60 9527: Configuration of 'Enclosing' and 'Enclosed by' Date gramplets to show Place IDs 2016-06-18 12:07:08 +02:00
Nick Hall e32fc6e761 Correct place type for parishes in example database 2016-06-17 23:28:13 +01:00
Paul Franklin 77efbb1012 typo (missing comma in plugins/test/test_reports.py) 2016-06-17 10:32:13 -07:00
Nick Hall 6c77ef5e33 8945: Move extract city tool to third-party addons 2016-06-17 15:15:00 +01:00
Leonhaeuser ec289350a4 update German translation 2016-06-16 21:27:39 +02:00
Paul Franklin 20fac5cc53 a slight pylint improvement (to _guioptions.py) 2016-06-16 10:43:33 -07:00
Nick Hall 7fb8b0f155 Remove another redundant io import 2016-06-16 14:20:07 +01:00
Nick Hall b1b4f78764 Add unit tests for repository rules 2016-06-15 22:34:42 +01:00
Nick Hall f172ca8672 Use with block for file output 2016-06-15 21:57:04 +01:00
Nick Hall 2d2ee2939c Remove redundant io imports 2016-06-15 21:45:31 +01:00
Paul Franklin d13d2e70f7 Merge pull request #175 from prculley/bug7565
bug 7565 and 9521; missing newline in table and illegal RTF
2016-06-14 19:26:14 +00:00
Paul Franklin ea79dc2aa2 Merge pull request #174 from prculley/bug9240
bug9240 RTF files show incorrect Unicode characters
2016-06-14 19:25:20 +00:00
Paul Franklin e3e858458d fix wrong test as a result of 9517, 6890fc4324 2016-06-14 12:00:48 -07:00
kulath 9cd9caac5e Fix Testcasegenerator to generate correct LDS ordinances for people and
families (avoids an error when the GEDCOM is reimported).
2016-06-13 18:52:44 +01:00
kulath 445562ea01 Fix DBLOGNAME (".Db") diagnostics: "Magic" transactions was wrong way
round.
2016-06-13 17:59:47 +01:00
prculley 47e59eb792 bug 7565 and 9521; missing newline in table and illegal RTF 2016-06-13 11:39:25 -05:00
prculley 8618f1468d bug9240 RTF files show incorrect Unicode characters 2016-06-13 11:02:31 -05:00
kulath cd5fa5c1ff Fix DBLOGNAME (".Db") diagnostics for database class instance 2016-06-13 16:08:52 +01:00
Matti Niemelä 9ac5e3808d Update Finnish translation 2016-06-12 16:30:52 +02:00
Nemeséri Lajos ae5a2d908c Update Hungarian translation 2016-06-12 16:28:11 +02:00
romjerome 0114a96141 Update french translation
still partial
2016-06-12 16:23:56 +02:00
Paul Franklin 6890fc4324 9517: [In "Verify" people w/ death event w/o date are not thought dead] 2016-06-11 20:28:47 -07:00
Paul Franklin c5133aed04 new gramps.pot template for master 2016-06-11 13:46:32 -07:00
Paul Franklin 4c57c9090d move LaTeX no-PIL-software warning into method which needs it 2016-06-11 13:44:44 -07:00
kulath ebc88d5f92 Change indentation on a debug message 2016-06-11 18:28:21 +01:00
Paul Franklin 6ee612109c Remove buggy _xmlplus imports
It hasn't been maintained upstream for years and isn't in
most operating systems anymore (any?).

https://gramps-project.org/bugs/view.php?id=6947#c31672

provides a link to this:

http://fedoraproject.org/wiki/Features/RemovePyXML#Detailed_Description

I don't think it belongs in gramps.
2016-06-10 14:21:58 -07:00
Paul Franklin cf8a6390ca increase pylint score of two more reports, to above 9.00 2016-06-10 14:15:34 -07:00
Sam Manzi c52b806702 9505 Fix Spelling error 2016-06-08 18:59:39 +10:00
kulath 5af65e317c Add some DBLOGNAME (".Db") diagnostics (especially for transactions) and
make sure they are the same for BSDDB and for DBAPI.
2016-06-07 18:41:40 +01:00
Jérôme Rapinat e9d6a2ffea 9453: While starting gramps, it fails to pop up "tips of the day" 2016-06-07 02:02:25 -07:00
Paul Franklin a0c01fae5c new gramps.pot template for master, with new strings 2016-06-06 13:40:12 -07:00
Paul Franklin 9c71217751 tweak string for translation, to make gettext happy 2016-06-06 13:36:52 -07:00
Paul Franklin 4b6b37f0f6 enable deferred translation of dates in tag report 2016-06-05 21:16:10 -07:00
Paul Franklin 042bb5e2c0 more report pylint improvements 2016-06-05 21:11:27 -07:00
Paul Franklin 21d02ad22c implement fetching sorted Person and Family handles in the proxy DBs 2016-06-04 21:36:08 -07:00
Paul Franklin 84130d221f increase pylint score of proxybase.py from 6.41 to 8.22 2016-06-04 21:19:36 -07:00
Doug Blank 1e102a36e4 DB-API: get_ITEM_handles() should return strings 2016-06-04 23:05:41 -04:00
Doug Blank 41b6abaa88 Added missing copyright and GPL 2016-06-04 22:34:42 -04:00
Nick Hall d2fbee8852 Add unit tests for media and note rules 2016-06-04 22:13:04 +01:00
Nick Hall a3fd7c06be Further pylint improvements to document generators 2016-06-04 18:29:40 +01:00
John Ralls 36f5a6addc Add 'meta' package dependency to 'strongly recommended' secion of README. 2016-06-04 07:47:55 -07:00
Doug Blank 7b60b140c0 Version 5.0.0-alpha1 2016-06-04 07:24:40 -04:00
Nick Hall 306f3abd01 More pylint improvements 2016-06-03 23:46:23 +01:00
Paul Franklin f049dca048 improve pylint score of FamilyLines report from 7.83 to 9.73 2016-06-03 12:28:02 -07:00
Paul Franklin 2d396891b8 improve pylint score of Detailed Descendant report from 7.80 to 9.70 2016-06-03 12:26:15 -07:00
Paul Franklin 99fbd648a0 improve pylint score of Descendant report from 7.91 to 9.71 2016-06-03 12:23:25 -07:00
Doug Blank 283ac0f8bb Moved LRU to gramps.gen.utils 2016-06-02 16:41:00 -04:00
Doug Blank 4913762d70 Remove import test from reports 2016-06-02 15:56:50 -04:00
Doug Blank c338aee30a test imports: added a function for nosetests 2016-06-02 15:39:07 -04:00
Doug Blank 9935654a22 Merge pull request #167 from prculley/bug9123
bug 9123 GEDCOM import with media files that have no path fails
2016-06-02 15:36:17 -04:00
Doug Blank 063533ab1e Merge pull request #166 from prculley/bug8729m
bug 8729 place names empty if Gedcom ADDR record contains no street
2016-06-02 15:35:00 -04:00
Doug Blank f165e04436 Merge pull request #159 from prculley/test_imports
Test imports
2016-06-02 14:39:45 -04:00
prculley 84e12210cc more pylint and uncompressed .gramps 2016-06-02 11:36:53 -05:00
Nick Hall 32ff947a87 More pylint improvements 2016-06-01 23:53:28 +01:00
Paul Franklin 5f1b719810 pylint improvements 2016-06-01 16:00:20 -07:00
Nick Hall 0801ef1b30 9472: Use first matching name when generating place titles 2016-05-30 23:05:17 +01:00
prculley 5182055c1f Merge remote-tracking branch 'upstream/master' into test_imports 2016-05-30 08:50:02 -05:00
prculley 4d60d19fd9 improving the pylint score 2016-05-30 08:49:05 -05:00
Paul Franklin 14dc963f3d add new C.I.R. strings to master's gramps.pot 2016-05-29 12:06:32 -07:00
prculley 9daf562e54 bug 9123 GEDCOM import with media files that have no path fails 2016-05-28 17:45:19 -05:00
Paul Franklin c39e6f3f5d increase Complete Individual Report pylint score to 9.76 2016-05-28 15:42:29 -07:00
Paul Franklin af2f29322e enable C.I.R. to include or exclude Person and Family Notes 2016-05-28 15:40:02 -07:00
Paul Franklin e84f09b55e 9464: [C.I.R.] add option to include or exclude census data 2016-05-28 15:37:09 -07:00
Paul Franklin 4dcd03f13c Switch to suppress and select more items in [C.I.] report 2016-05-28 15:27:52 -07:00
SNoiraud 2211fe947f 9474: [Geography] Geoclose and mother handle 2016-05-28 21:53:40 +02:00
prculley 6cb621c6a3 bug 8729 place names empty if Gedcom ADDR record contains no street 2016-05-28 11:57:21 -05:00
Nick Hall 3e04d97b8b Revert deprecated GObject ParamFlags update
The update required GLib 2.42 but users may still be using 2.38
or later.
2016-05-28 15:46:53 +01:00
Nick Hall dae9db51be Break some long lines 2016-05-28 00:35:00 +01:00
Nick Hall 3255904acc More pylint improvements 2016-05-28 00:28:50 +01:00
Nick Hall 3c7e357bd1 Remove redundant dialog title 2016-05-28 00:01:31 +01:00
Nick Hall ab50490617 pylint improvements 2016-05-27 23:53:08 +01:00
Nick Hall 75ffd7c41b Fix another file left open 2016-05-27 23:31:59 +01:00
Nick Hall 0b22891858 Resize grips have been removed 2016-05-27 22:58:15 +01:00
Nick Hall c4cab2e007 Ensure files are not left open 2016-05-27 22:50:05 +01:00
Nick Hall b66a7a93c2 Update deprecated GObject SignalFlags 2016-05-27 22:16:50 +01:00
Nick Hall 91b40c88bf Update deprecated priority constants 2016-05-27 22:15:27 +01:00
Nick Hall 363e8a0081 Update deprecated GObject ParamFlags 2016-05-27 22:10:33 +01:00
Nick Hall 9aa371617d Tidy up place configuration options 2016-05-27 19:33:19 +01:00
Paul Franklin e3f002179f 9449: LivingProxyDB leaves data in families when "[Living]" chosen 2016-05-27 09:32:23 -07:00
Paul Franklin 51d21522ce make report cope better with privacy proxy 2016-05-27 09:21:51 -07:00
Paul Franklin 43550a9a52 the three proxy invocations should be nearby, for ease of understanding 2016-05-27 09:20:20 -07:00
Paul Franklin c469240c65 9450: LivingProxyDB leaves data in when back references followed 2016-05-27 09:13:11 -07:00
Doug Blank ef0b2b8aea 9450: LivingProxyDB leaves data in when back references followed 2016-05-27 09:10:50 -07:00
Doug Blank 93803fb519 Merge pull request #164 from prculley/bug9475
Bug9475 GEDCOM import creates inconsistent source gramps IDs
2016-05-26 22:00:49 -04:00
Nick Hall a75dca13c9 Some minor pylint improvements 2016-05-26 20:53:22 +01:00
prculley edd9dda7ce changed 'print' to 'logging.info' 2016-05-26 14:04:15 -05:00
prculley 08c99f2929 Merge remote-tracking branch 'upstream/master' into test_imports 2016-05-26 14:02:18 -05:00
prculley 0cfc375a27 Merge remote-tracking branch 'upstream/master' into bug9475 2016-05-26 13:55:09 -05:00
prculley 3f32c012f2 but 9475 GEDCOM import creates inconsistent source gramps IDs 2016-05-26 13:54:20 -05:00
Nick Hall e2a5fe8e12 Use CSS to fade background colour in ValidatableMaskedEntry 2016-05-26 18:20:34 +01:00
Doug Blank 5ef38e2a57 Merge pull request #163 from gramps-project/use-cacheproxydb
Use CacheProxyDb on reports with LivingProxyDb
2016-05-26 12:32:17 -04:00
prculley 8cda91a377 moved test directory, tweaked tests, and fixes 2016-05-26 11:22:06 -05:00
Doug Blank 2596aba875 Use CacheProxyDb on reports with LivingProxyDb 2016-05-26 08:40:03 -04:00
Doug Blank 1611340dca CacheProxyDb: use getattr() 2016-05-26 08:36:27 -04:00
Doug Blank 6454b87672 Merge pull request #160 from gramps-project/cacheproxydb
CacheProxyDb: adds LRU cache for handle lookups
2016-05-26 06:58:36 -04:00
Doug Blank 898bfb4eae narrativeweb: proxies and filters may hide objects 2016-05-25 16:18:48 -04:00
Doug Blank 0820e70499 Additional fixes for narrativeweb 2016-05-25 15:43:01 -04:00
Paul Franklin ffd58ccd9f increase pylint score of fanchart report from 4.47 to 9.40 2016-05-25 12:29:44 -07:00
Doug Blank 3af7ff4e9b Spelling error 2016-05-25 14:41:07 -04:00
Doug Blank 758d63c0fa Remove trailing whitespace 2016-05-25 12:56:33 -04:00
Doug Blank 7649f03c70 CacheProxyDb: adds LRU cache for handle lookups 2016-05-25 12:39:48 -04:00
Nick Hall 7ea7850331 Tidy up whitespace 2016-05-25 17:27:23 +01:00
Doug Blank 5e89b0a417 NarrativeWebReport: media_ref handles need not be binary 2016-05-25 11:08:32 -04:00
prculley 7646d41774 Merge remote-tracking branch 'upstream/master' into test_imports 2016-05-24 14:44:08 -05:00
Ben Woods 7851d3bdfb Fix setup.py to remove the double '/' when building man pages
This was resulting in 'share/man//...' showing in the file list
generated for system packages.
2016-05-24 17:59:00 +01:00
Doug Blank 9a516b1058 Merge pull request #100 from SNoiraud/bug3068
3068: Wrong reference number for "same person as" in detdescendantreport
2016-05-24 12:20:40 -04:00
Doug Blank f92c35d797 Merge pull request #157 from prculley/bug7949
Bug 7949, crash on GEDCOM import with empty _AKA lines
2016-05-24 12:16:05 -04:00
Nick Hall 4413c7c88b Add extra unit test for IsEnclosedBy rule 2016-05-24 16:15:46 +01:00
Doug Blank e30f4e329b Merge pull request #156 from prculley/bug9459
bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL en…
2016-05-24 10:53:00 -04:00
prculley 7d2a7b71d0 bug 9459 GEDCOM import in CLI mode with .ged file containing ANSEL encoding tries to pop up gui 2016-05-24 08:56:19 -05:00
prculley 7a33b08185 Prototype of test imports module and associated tests 2016-05-23 15:36:52 -05:00
Nick Hall 23a0a492d4 9427: Add inclusive option to IsEnclosedBy rule 2016-05-23 15:36:52 -05:00
SNoiraud 50708d4097 9075: Saving/closing new person window with Alt-o does not find gender 2016-05-23 15:36:52 -05:00
Nick Hall ca1863984b Fix to allow deferred translation of place type 2016-05-23 15:36:52 -05:00
Nick Hall 9ab27bf83b 9466: Include all place types in place report 2016-05-23 15:36:52 -05:00
Nick Hall 3ea4b0d109 9314: Allow place selection both individually and by filter
Add the places selected individually to the list generated by
the filter.
2016-05-23 15:36:52 -05:00
Nick Hall 75d4f05185 8785: Expand tree in selectors automatically 2016-05-23 15:36:52 -05:00
Doug Blank 7f6803f9f6 8466: [Performance] Handling many Events on a person 2016-05-23 15:36:52 -05:00
Nick Hall 6c2eac9e05 9427: Add inclusive option to IsEnclosedBy rule 2016-05-23 15:20:37 +01:00
SNoiraud f5233fbe7c 9075: Saving/closing new person window with Alt-o does not find gender 2016-05-23 11:06:54 +02:00
Nick Hall 05ea21690d Fix to allow deferred translation of place type 2016-05-22 22:50:34 +01:00
Nick Hall 443043a8e2 9466: Include all place types in place report 2016-05-22 19:07:35 +01:00
Nick Hall 151677fb7e 9314: Allow place selection both individually and by filter
Add the places selected individually to the list generated by
the filter.
2016-05-22 18:27:58 +01:00
Nick Hall 10629b16b8 8785: Expand tree in selectors automatically 2016-05-22 18:01:46 +01:00
Doug Blank 7c45e78e95 8466: [Performance] Handling many Events on a person 2016-05-22 12:42:32 -04:00
Doug Blank 7ffb2403a2 2834: 'Complete Individual Report' is titled 'Summary of [name]' 2016-05-22 09:18:48 -04:00
Doug Blank 55d2141476 9465: DB-API: duplicate note ID 2016-05-22 07:25:23 -04:00
Nick Hall a70f7eb58f 9381: Fix Encloses gramplet to display correct place references 2016-05-21 18:55:06 +01:00
Paul Womack aed80fc725 Add 'Search for citations' to 'Remove unused objects' tool 2016-05-20 09:28:33 +10:00
Elliott Sales de Andrade ea4a4cd464 CI: Make trailing whitespace into a Travis error. 2016-05-18 20:38:35 -04:00
Elliott Sales de Andrade 28b722b92d Clean up trailing whitespace. 2016-05-18 20:31:49 -04:00
Nick Hall 15fcf1ed85 Remove Django specific references from docstrings 2016-05-18 15:47:57 +01:00
Nick Hall fe6c5895b2 Improve pylint score of some new files
The programming guidelines require that new files have a pylint
score of 9.0 or greater.
2016-05-17 22:36:40 +01:00
Nick Hall 7b22c6af1b Remove trailing whitespace 2016-05-16 21:17:11 +01:00
romjerome 82f60dcb2b Update template for appdata stuff 2016-05-16 12:09:30 +02:00
josip fc52d200a0 8429: Media Preview: wrong frame
fix signals
2016-05-16 11:51:07 +02:00
Paul Franklin 8921b1ad21 9408: UnboundLocalError on ODF doc backend 2016-05-16 11:49:09 +02:00
Sam Manzi b438b9789e Merge pull request #137 from sam-m888/MoreContextMgr4with
Convert a few more opens to use the with CM
2016-05-15 12:05:01 +10:00
Sam Manzi 28bbb019a1 Merge pull request #148 from prculley/bug9416m
Bug 9416 GEDCOM import PLAC:FORM in local mode doesn't work
2016-05-14 07:46:27 +10:00
Doug Blank dff65e6e91 9438: AttributeError: 'NoneType' object has no attribute 'db' 2016-05-13 13:03:01 -04:00
Doug Blank fcddb03ef1 DB-API: don't emit if in batch mode 2016-05-13 12:43:06 -04:00
Doug Blank 3b3c2e5d34 DB-API: move emit signals to transaction commit 2016-05-13 12:35:11 -04:00
prculley b2e0f437f4 bug 9416 merge conflict 2016-05-13 09:45:24 -05:00
Doug Blank 3831a02ede DB-API: updated obj.change date/time when editing 2016-05-13 09:09:37 -04:00
Doug Blank 471a6b42d0 Mysql: rename field 'long' 2016-05-12 23:43:43 -04:00
Sam Manzi 1e81d9d11f Convert a few more opens to use the with CM 2016-05-13 09:58:20 +10:00
Sam Manzi 05dcde4c8e Merge pull request #151 from prculley/bug9430m
Bug 9430 GEDCOM import PLAC or ADDR attached Notes etc. are lost
2016-05-13 09:08:47 +10:00
Sam Manzi 84e89b35ee Merge pull request #150 from prculley/bug9425m
Bug 9425 GEDCOM import some Place Names & Titles are blank
2016-05-13 09:07:01 +10:00
Sam Manzi dab835a646 Merge pull request #146 from prculley/bug9173
Bug 9173, fix broken GEDCOM import PLAC:FORM handling
2016-05-13 08:59:41 +10:00
Sam Manzi 7ade71945e Merge pull request #145 from prculley/bug9415
Bug 9415 Place Alt Names gets duplicated entries
2016-05-13 08:57:37 +10:00
Doug Blank aa9246dde4 DB-API: ensure that undo/redo operations are in a low-level db transaction 2016-05-12 16:33:52 -04:00
prculley 86f826a79b Bug 9430 GEDCOM import PLAC or ADDR attached Notes etc. are lost 2016-05-12 11:25:23 -05:00
prculley 878d9f08ca Bug 9425 GEDCOM import some Place Names & Titles are blank 2016-05-12 11:16:11 -05:00
prculley e3ddcad88e Bug 9416 GEDCOM import PLAC:FORM in local mode doesn't work 2016-05-12 10:27:01 -05:00
prculley dd7724eca2 Bug 9173, fix broken GEDCOM import PLAC:FORM handling 2016-05-12 09:55:59 -05:00
prculley df18fdebea Bug 9415 Place Alt Names gets duplicated entries 2016-05-12 09:36:28 -05:00
Doug Blank 636903bbc7 Merge pull request #141 from prculley/bug9414
Bug 9414 fix empty Place Alternate Names on import
2016-05-11 16:39:49 -04:00
Doug Blank 2763d925f0 Merge pull request #142 from prculley/bug9448
Bug 9448: Merge unit test for PlaceCheck not working correctly
2016-05-11 16:39:18 -04:00
prculley c7914367b7 Bug 9448: Merge unit test for PlaceCheck not working correctly 2016-05-11 10:18:27 -05:00
prculley e2b781a221 Bug 9414 fix empty Place Alternate Names on import 2016-05-11 09:50:07 -05:00
Doug Blank 9424539930 Person: add aliases for field names 2016-05-10 12:26:46 -04:00
Nick Hall e76a27ddd3 Remove trailing whitespace 2016-05-10 16:52:57 +01:00
Nick Hall f688a96e9a Tidy up class definitions
All python3 classes are new-style classes.  It is no longer
necessary to inherit from object.
2016-05-10 16:06:49 +01:00
Doug Blank 5a72efc387 Merge pull request #140 from tecknicaltom/fix-EditMedia
make EditPrimary, empty_object abstract
2016-05-10 06:56:31 -04:00
Zdeněk Hataš ad98b811b3 czech translation update 2016-05-10 10:26:38 +02:00
Tom Samstag ab79b26bec make EditPrimary, empty_object abstract
This makes EditPrimary an abstract class using abc.ABCMeta and marks
EditPrimary.empty_object as an abstract method. This moves the error
raised by forgetting to implement empty_object from when something
unsupported is done with its return (like .serialize()) to invocation
time, and provides a more obvious error.
2016-05-09 23:23:39 -07:00
Paul Franklin b308d97bed cope when import of GExiv2 gets a ValueError 2016-05-09 18:31:07 -07:00
Doug Blank 1a05aadca7 Date: add property year 2016-05-09 07:58:45 -04:00
Doug Blank 79362d7086 Merge pull request #136 from RossGammon/app2
Followup to PR 134
2016-05-08 13:50:15 -04:00
Ross Gammon d094925c42 Whoops - missed the trailing tag 2016-05-08 19:19:38 +02:00
Ross Gammon 84a5c369f6 Followup to Pull Request 134:
https://github.com/gramps-project/gramps/pull/134

Put the <p> tags back to <_p> so the description paragraphs
are translated again.
2016-05-08 18:58:13 +02:00
Doug Blank 3facab1e18 Merge pull request #134 from RossGammon/appstream
9443: Gramps not appearing in Gnome Software
2016-05-08 09:27:59 -04:00
Doug Blank 34c8cfdec4 Merge pull request #133 from RossGammon/gi_require_version
PyGIWarning: importing without specifiying a version first
2016-05-08 09:23:00 -04:00
Ross Gammon c4106617ba 9443: Gramps not appearing in Gnome Software
I updated the appdata.xml file to the latest version of the specification
(https://www.freedesktop.org/software/appstream/docs/index.html), adding
some new tags in the process.

I also installed the appdata.xml file to the latest location in the
specification.

The XML has bene validated by the appstreamcli validation tool, and the
patch applied in Debian (Gramps 4.2.3).

If it looks OK, it should probably be cherry-picked to the gramps42
maintenance branch.
2016-05-08 15:13:46 +02:00
Ross Gammon 25627dac07 PyGIWarning: importing without specifiying a version first
Follow-on from https://gramps-project.org/bugs/view.php?id=8981
This patch was applied in Debian (gramps 42 branch) due to warnings picked
up in the build log and from testing by running gramps from the command
line. I have rebased it on master, as it will probably be a while before the
warnings become errors.
2016-05-08 13:05:04 +02:00
SNoiraud e8636a1dcc Webcal : pylint (applied remarks on the last patch) 2016-05-08 11:45:51 +02:00
Doug Blank 0455cb90ce 9442: Windows SQLite database has indexes that Linux SQLite can't read 2016-05-07 14:40:36 -04:00
Doug Blank af487de69a 9441: DB-API with sqlite doesn't unlock the table when txn.batch = True 2016-05-07 13:46:29 -04:00
Doug Blank ac0fbecc4b Remove accidentally added code, 2 2016-05-07 13:09:47 -04:00
Doug Blank f266ad2a99 Remove accidentally added code 2016-05-07 13:06:50 -04:00
Doug Blank 3ce8c12ae6 Place schema: wrong type for alt_names 2016-05-07 12:28:20 -04:00
Doug Blank e2ae70a2dd Add sqlite info to error report assistant 2016-05-07 09:50:43 -04:00
Doug Blank 3e827c230e QuerySet: fix removing tag logic 2016-05-07 08:17:19 -04:00
Doug Blank f00a355110 sqlite: add version number 2016-05-07 06:43:33 -04:00
Ondrej Krc-Jediny d9154a75e1 7907 LDS ordinance statuses enhancement 2016-05-07 15:18:54 +10:00
SNoiraud 6e539f5000 4892: Webcal link : add an index file 2016-05-06 23:58:02 +02:00
SNoiraud c0203ec342 4892: Add a Webcal link to Narrative pages 2016-05-06 22:53:07 +02:00
SNoiraud f694f76b17 Webcal : pylint + cleanup. 2016-05-06 22:39:27 +02:00
Doug Blank a2f40fbf67 Bash completetions: a little cleaning up 2016-05-06 16:02:09 -04:00
Doug Blank 6d95cd5dd3 Where: work with methods, ala Rules 2016-05-06 10:04:24 -04:00
Doug Blank 61c2ed3240 QuerySet tag(): remove batch; allow tag removal; test 2016-05-06 08:14:54 -04:00
Leonhaeuser 1fa604645c update German translation 2016-05-05 21:48:50 +02:00
prculley e8caa9997b Bug 8809 Multiple GEDCOM imports creates duplicate event IDs 2016-05-05 14:08:03 -04:00
Doug Blank f3b57fda0a 9435: Attempting to export and empty BSDDB Family tree fails 2016-05-05 07:02:26 -04:00
Doug Blank 471aadc513 Family Tree Manager: reselect the default row 2016-05-04 20:34:33 -04:00
Doug Blank a0d5485088 ViewManager: no longer need to delay showing window; causes transient window issues 2016-05-04 20:06:54 -04:00
Doug Blank f83716b6bd Drag and drop on Family Tree Manager fixes 2016-05-04 17:28:25 -04:00
Paul Franklin 5b26bd6c03 change pylint score of TimeLine report from 4.74 to 9.54 2016-05-04 11:40:43 -07:00
Doug Blank 47cee7bb1e DbPythonError: adjust message regarding Python 2016-05-04 16:31:37 -04:00
Doug Blank bfe900f7cf 9429: Text metadata (i.e. *.txt files) implemented for DBAPI backends.
This saves and tests python and schema versions so that this code
won't load future versions of either.
2016-05-04 12:23:26 -04:00
SNoiraud 1272506afd 9417: The place page in webreport is complete mess 2016-05-04 17:44:24 +02:00
Doug Blank bd00f36ff1 9433: empty media path must be interpreted as /home/dblank in DB-API 2016-05-04 10:30:17 -04:00
SNoiraud 9a097d05da 7390: Gallery tab of Source view does not display .ods files 2016-05-04 12:07:21 +02:00
SNoiraud 56d98f2734 2882: Narrativeweb: Add option to Include all / unreferenced Media objects 2016-05-04 11:50:38 +02:00
Doug Blank c3874bdaed 4442: Add a Button to close the current database; refresh gramplets when no db 2016-05-03 20:31:20 -04:00
Doug Blank efe5323e1a 4442: Add a Button to close the current database; retitle main window 2016-05-03 20:15:18 -04:00
Doug Blank ba6921c91d CLI: command completions in bash, bash-like shells 2016-05-03 13:05:44 -04:00
Doug Blank 8a6d766b06 CLI: -l, -L, -t should match names with re patterns in them 2016-05-03 13:04:24 -04:00
Doug Blank 8350859c0c Stats Gramplet: remove sequential scan through person 2016-05-03 10:43:53 -04:00
Doug Blank 59bad09650 Two errors on transient parents 2016-05-03 10:41:55 -04:00
Doug Blank 032af37136 Family Tree Manager: add close button; fix convert GUI issue 2016-05-03 10:01:06 -04:00
Doug Blank 331e6d4668 Database: add reload method; re-expand fields before reindexing 2016-05-03 08:07:42 -04:00
SNoiraud 9ab7b6cfc1 5449: Pedigree view crashes if you happen to choose a child as ancestor 2016-05-03 13:25:23 +02:00
SNoiraud 099e88eef3 NarrativeWeb : use the common way to manage name format (cleanup). 2016-05-03 12:26:39 +02:00
SNoiraud 503eca8315 0373: Narrativeweb: relationship to central person on individual pages 2016-05-03 12:13:40 +02:00
romjerome bb6ce5dc64 typo
rebuild man file via 'rst2man' cmd
2016-05-03 11:38:27 +02:00
Paul Franklin d0e60f9201 increase pylint score from 6.17 to 9.20 2016-05-02 11:13:34 -07:00
Doug Blank 7e570b6724 Fixes for field-based schema and labels
* moved methods to TableObject from PrimaryObj (to include Tag)
* added missing scheme, labels to citation, place, repo, and source
* minor bug fixes
2016-05-02 14:32:50 -04:00
SNoiraud 0bbf52b4aa 8967: web reports: viewport line settings don't allow scaling 2016-05-02 15:25:50 +02:00
SNoiraud 8b5cad3c5a NarrativeWeb : use the common way to manage living people. 2016-05-02 11:36:18 +02:00
Doug Blank d4e8e21e50 Postgresql: fetchone when nothing to fetch, throws exception 2016-05-01 17:03:52 -04:00
Doug Blank c8f3c25d84 Fixed get_person_handles(sort_index=True)
Before did not include first_name in sorting (thanks Paul!)

Also added rebuilding all order_by fields when rebuilding
secondaries.
2016-05-01 16:47:58 -04:00
SNoiraud 780a4be62c Geography : pylint up to 9.2 for all modules. 2016-05-01 18:55:14 +02:00
Douglas Blank 9d5322103e Allow --database to work without installed bsddb3/sqlite3 2016-05-01 07:38:31 -04:00
romjerome 3c9cbb25b0 Add the new '--remove' entry on some templates (*.rst) for man files 2016-05-01 13:30:49 +02:00
romjerome 01fe16ccb9 French translation update 2016-05-01 13:19:15 +02:00
romjerome 949d620277 merge french translation from gramps42 branch 2016-05-01 12:36:27 +02:00
romjerome c7d957f26b Update translation strings template
$ intltool-update -m
2016-05-01 11:52:51 +02:00
Doug Blank fdadfbd836 testcasegenerator: allow to run from cli 2016-04-30 23:49:47 -04:00
Doug Blank a257311f5f Tests: added tools check and verify 2016-04-30 22:49:51 -04:00
Leonhaeuser f1644e48a6 update German translation 2016-05-01 03:50:51 +02:00
Doug Blank 0a0a450b45 DB-API: get_family_handles(sort_handles=True) now fixed 2016-04-30 16:48:11 -04:00
Paul Franklin 1c06a07156 increase DAR report pylint score from 7.29 to 9.77 2016-04-30 09:43:34 -07:00
Doug Blank 19e0bdeb3d 1954: Book report, Complete Individual Report part - missing sorting 2016-04-30 13:15:07 -04:00
Doug Blank db6cd7e318 Field name lookup: improve error message 2016-04-30 10:47:50 -04:00
Doug Blank 8f77d6db9f 1144: Auto backup at exit, but not when opening another database 2016-04-30 10:25:09 -04:00
Doug Blank 9690c20cbc InMemoryDB: provide None for dbname 2016-04-30 10:05:17 -04:00
Doug Blank cec4bd7a15 Merge pull request #124 from sam-m888/MissedWithOpen
Missed 'open' statements
2016-04-30 02:56:10 -04:00
Sam Manzi 820e981012 Check for non-existent files - remove try/except 2016-04-30 12:02:30 +10:00
Doug Blank e54b557f82 Family Tree Manager: set transient on Info window 2016-04-29 20:42:17 -04:00
Sam Manzi 1c0823bc23 Move Return out of block 2016-04-30 10:02:31 +10:00
Doug Blank 28e99008e0 9332: gramps_connect: Edit/Save Person 2016-04-29 17:20:19 -04:00
Doug Blank 3f329cbf24 Family Tree Manager: rearrange dialogs to handle cancel 2016-04-29 15:38:30 -04:00
Doug Blank 7368bc7127 Family Tree Manager: rearrange dialogs to handle cancel 2016-04-29 15:35:49 -04:00
Doug Blank 33f8aa4d3d 2092: Problems when no database is open 2016-04-28 21:06:43 -04:00
Doug Blank 235383e349 Tests: removed dot and addons 2016-04-28 18:50:32 -04:00
Doug Blank baa199cf63 Tests: refine reports 2016-04-28 18:32:05 -04:00
Doug Blank f460927a3b Tests: 9 more reports 2016-04-28 17:40:10 -04:00
Paul Franklin ed324676f0 add "living people" option to the Fan Chart report 2016-04-28 12:19:33 -07:00
Doug Blank 2f31096abd 9387: Crash on adding media 2016-04-28 14:07:27 -04:00
Paul Franklin af995ad48b tweak "living people" option (change option report output) 2016-04-28 09:22:08 -07:00
SNoiraud 94030eab5f NarrativeWeb : some cleanup + pylint score up to 9.5 2016-04-28 19:42:46 +02:00
Doug Blank d268ddcab2 Tests: add export tests 2016-04-28 13:39:22 -04:00
Doug Blank a9dfc6633e Test: export gedcom 2016-04-28 12:34:34 -04:00
Doug Blank aa69ffb174 Tests: added a generic cli test framework; testing gedcom imports 2016-04-28 11:38:44 -04:00
Doug Blank e9065f3b21 POTFILES typo 2016-04-28 11:34:03 -04:00
Paul Franklin 674571f3e3 tweak "living people" option (change choice strings) 2016-04-28 06:29:12 -07:00
Doug Blank b1617fa51e Travis: move temp dir to /tmp 2016-04-28 10:39:28 -04:00
Doug Blank 4bea2c098a Travis: os.remove crashes old nose 2016-04-28 10:27:22 -04:00
Doug Blank 45445609dc Travis: wrestling with old nose 2016-04-28 10:11:08 -04:00
Doug Blank e571a35e26 CI Tests: additional report testing 2016-04-28 09:08:50 -04:00
Paul Franklin 2ac7c5baa7 add deferred translation to "living people" option 2016-04-27 22:27:25 -07:00
Doug Blank 723d8ea1f6 Add Convert Button to Tree Manager: makes a dbapi from a bsddb 2016-04-28 00:09:03 -04:00
Sam Manzi b21eb6f693 Fix error Undefined variable name 'referenced' in __all__ 2016-04-28 11:45:43 +10:00
Sam Manzi eb4b4d083f Fixes for Missed 'open' statements 2016-04-28 10:34:22 +10:00
Eno 59793536ed Fixes for Missed 'open' statements 2016-04-28 08:23:21 +10:00
Sam Manzi af9baca35e Change Exportgedcoms open 2016-04-27 19:28:26 +10:00
Paul Franklin d40ce7f050 enable deferred translation for EnumeratedListOption items 2016-04-26 18:37:54 -07:00
Eno 35b160ca0b Fixes for Missed 'open' statements 2016-04-27 08:11:58 +10:00
Paul Franklin 1e3730b47b add the "living people" option to the Records report 2016-04-26 08:54:33 -07:00
Paul Franklin cfd322c5df another librecords tweak: check that a Person exists 2016-04-26 07:49:24 -07:00
Doug Blank 95c39a9e1d Export XML: don't crash when exporting filtered/proxied data 2016-04-26 11:44:36 -04:00
Doug Blank 761cf8f428 EditNote: don't crash if referenced item does not exist 2016-04-26 08:22:28 -04:00
Doug Blank 542dad0fc5 Merge pull request #121 from gramps-project/xml-compress
Add compression option on XML export
2016-04-26 08:05:30 -04:00
Doug Blank d4d0f5bdc2 Config: new database-backup-use-compression option 2016-04-26 07:52:47 -04:00
Doug Blank a577e5561e 9383: the Family Tree Manager dialog should show the database type 2016-04-26 07:11:44 -04:00
Paul Franklin d85bd534d3 make librecords play nice with proxy DBs 2016-04-25 21:31:08 -07:00
Dale Athanasias a9685a64ff Missed 'open' statements
From: Dale Athanasias <dalegrind@hotmail.com>
Mon, 25 Apr 2016 13:41:18 +1000
Subject: Missed 'open' statements

Hi Sam,
Here's a few files with missed 'open' statements:
gramps/gen/filters/_filterlist.py
gramps/plugins/export/exportftree.py
gramps/plugins/database/bsddb_support/write.py

And some older files which you probably left alone for a reason?
windows/nonAIO/builder/build_GrampsWin32.py
windows/nonAIO/check_gtk_install.py
windows/nonAIO/builder/make_launcher.py
windows/nonAIO/builder/check_gtk_install.py
windows/nonAIO/nsis/gcheck.py

Regards
-
Dale

Re: Prefer with to open files
https://github.com/gramps-project/gramps/pull/113
2016-04-26 14:29:40 +10:00
Doug Blank 344f953c0b 9411: Creating New DB-API family tree creates an extra __init__.py in the new database directory. 2016-04-25 21:43:32 -04:00
Doug Blank b526a41af1 Merge pull request #113 from sam-m888/useWithOpen
Prefer with to open files
2016-04-25 21:35:23 -04:00
Paul Franklin 5cd618152d 9410: the Records report crashes on family records 2016-04-25 16:45:41 -07:00
Paul Franklin 9d133576e4 add "living people" option to Tag report 2016-04-25 16:40:10 -07:00
Doug Blank 8d59facb60 Db Manager: Select Row of current Tree 2016-04-25 20:41:46 -04:00
Paul Franklin 6ec5de8a78 add "living people" option to the Place Report 2016-04-24 13:57:05 -07:00
Paul Franklin b269fc19d2 add "living people" option to the Kinship Report 2016-04-24 13:53:24 -07:00
Paul Franklin 585a2e046c add "living people" option to the EndOfLine Report 2016-04-24 13:49:39 -07:00
Paul Franklin b1fc20f5b9 add "living people" option to the Detailed Ancestor Report 2016-04-24 13:47:04 -07:00
SNoiraud 13b4f939a7 9405: Narrated Web report - Individual sort order not correct on the Surnames tab 2016-04-24 22:33:22 +02:00
Paul Franklin 74c32fcc23 Merge pull request #122 from daleathan/patch-1
Fix spelling devided > divided
2016-04-24 15:38:17 +00:00
Dale Athanasias 489c8c9afe Fix spelling devided > divided 2016-04-24 23:22:43 +10:00
Paul Franklin 3f7da0aee0 add "living people" option to Ancestor Report 2016-04-23 23:30:52 -07:00
Paul Franklin edf4274686 tidy up the title in the Timeline Report 2016-04-23 23:25:53 -07:00
Paul Franklin 3a590e7dec fix typo in Descendant Report 2016-04-23 23:21:44 -07:00
Paul Franklin 0b6cae988a tweak Birthday Report to use proxy DB always 2016-04-23 23:19:55 -07:00
Paul Franklin 52d414587f add "living people" option to Statistics Chart report 2016-04-23 23:11:26 -07:00
Doug Blank f0e89ef9d3 CLI: require exact re.match for -t 2016-04-23 20:35:37 -04:00
Sam Manzi 050e68e3e4 Spelling 2016-04-24 09:54:17 +10:00
Doug Blank 7e58e2254d CLI: make re match exactly for -l, -L 2016-04-23 18:34:10 -04:00
Doug Blank 5cfb8b1e17 Postgresql and Mysql limit/offset 2016-04-23 17:00:11 -04:00
Doug Blank 3ccc3a3512 DB-API: some SQL implementations need subqueries to be named 2016-04-23 16:07:27 -04:00
Doug Blank a925aa5cc8 DB-API: Show last backup time/date, and total backup counts 2016-04-23 15:54:42 -04:00
Doug Blank e4afbc98cd Postgresql and Mysql LIMIT fixes 2016-04-23 12:50:37 -04:00
Doug Blank cfd686ff59 Bring MySQL and Postgresql up to date 2016-04-23 11:46:22 -04:00
Sam Manzi 230c9d6bd0 8981 Specify required GtkSpell and GExiv2 version 2016-04-23 10:17:52 +10:00
Paul Franklin c27f663137 9383: the Family Tree Manager dialog should show the database type 2016-04-22 08:31:51 -07:00
Doug Blank 048151f447 9383: the Family Tree Manager dialog should show the database type 2016-04-22 07:52:34 -04:00
Paul Franklin 0a3b05f156 8171: Tool 'Rename Event Types' does not include custom types 2016-04-21 22:03:29 -07:00
Paul Franklin f270163c78 typo 2016-04-21 08:54:40 -07:00
SNoiraud 8725df9b03 9377: Narrated web report link to thumbnails is broken on certain pages 2016-04-21 08:52:32 +02:00
Paul Franklin fd8c8f5948 add "living people" option to Database Summary report 2016-04-20 19:11:35 -07:00
Paul Franklin e2b7935ace tweak changetypes tool 2016-04-20 19:08:04 -07:00
SNoiraud d01896788c 9389: Narrated Web report - Individual page sort order has changed 2016-04-20 16:46:43 +02:00
Doug Blank b9dec6b109 Merge pull request #120 from sam-m888/2066LinkeditorAddDropdownlist
2066 Add dropdown list to Link Editor
2016-04-20 07:45:24 -04:00
Doug Blank db7545ab89 Merge pull request #119 from sam-m888/renameMainInterfaceConfigKeys
Rename Main Interface Config keys[for PR-60]
2016-04-20 07:44:20 -04:00
Doug Blank af726ec808 Add compression option on XML export 2016-04-20 07:26:36 -04:00
Doug Blank d3328826ec get_family_handles with sort_handles 2016-04-20 07:18:30 -04:00
SNoiraud 605aab85fd Narrative web : beginning of cleanup. 2016-04-20 12:17:28 +02:00
Paul Franklin f26b793f49 add "living people" option to Ancestor Tree report 2016-04-20 00:28:02 -07:00
Sam Manzi 6a75555157 2066 Add dropdown list to Link Editor 2016-04-20 08:42:11 +10:00
Nick Hall 3c2503fc79 Enable REGEXP operator 2016-04-19 22:07:54 +01:00
Doug Blank 551edbb07a Tests: don't make home person the private person 2016-04-19 07:16:58 -04:00
Sam Manzi 919b91ba38 Rename Main Interface Config keys[for PR-60] 2016-04-19 10:15:05 +10:00
Sam Manzi 1d805510a7 Add back line as per QuLogic 2016-04-19 09:15:56 +10:00
Sam Manzi 3f86dd3e25 Editorial changes & Fixes from QuLogic 2016-04-19 09:15:05 +10:00
Sam Manzi 5dc5615bfd Prefer with context manager to open files 2016-04-19 09:08:21 +10:00
Doug Blank f093c8bd79 Remove Django-style WHERE; consider Python expressions 2016-04-17 16:54:55 -04:00
Doug Blank 3f7b441a54 Shortened names of backends 2016-04-17 15:41:09 -04:00
Doug Blank 4537895941 Add default_label to other implementations of prompt() 2016-04-17 14:27:50 -04:00
Doug Blank cef7bc9af5 Moved guiQML to its own project 2016-04-17 13:01:47 -04:00
Doug Blank 48e808965d Tests: remove more tests to avoid issues in Travis/nose proxy 2016-04-17 11:32:47 -04:00
Doug Blank d83a7eb16f Tests: remove svg/pdf looking for Travis segfault 2016-04-17 11:19:52 -04:00
Doug Blank dd73831343 Tests: call most of the reports 2016-04-17 11:11:54 -04:00
Josip 3a9949076b Fix Error Report Dialog appearance 2016-04-17 15:33:55 +02:00
Josip 121e81a733 Fix_Capitalization_of_Family_Names:
change keyword argument to non-key argument
2016-04-17 15:28:13 +02:00
Josip 02c239c402 8128: GtkDialog mapped without a transient parent
partial fix for:
"Change Event Types" and "Fix Capitalization of Family Names" plugins
2016-04-17 15:07:33 +02:00
Doug Blank 6a47c04228 Database Differences Report: typo 2016-04-17 08:37:47 -04:00
Doug Blank 42a14b6aae CLI prompt: don't default to yes for truly dangerous 2016-04-17 08:26:46 -04:00
Doug Blank bae1417021 Remove DictionaryDB 2016-04-17 07:46:20 -04:00
Doug Blank 2a93a1b023 Tree Manager: adjust column order, add tooltip text
* move database type column
* adjust sizes of columns to fit 800px
* add tooltip text on New to show backend type to create
2016-04-17 07:18:54 -04:00
Doug Blank cc650da616 InMemoryDB: load last, set has_changed = False 2016-04-17 00:31:05 -04:00
Paul Franklin 084830c743 Merge pull request #117 from sam-m888/moveHolidaysToData
7921 Move holidays.xml.in to data [refactor]
2016-04-17 04:01:50 +00:00
Doug Blank a605bf451f Replace dictionarydb with inmemorydb, a sqlite :memory: db 2016-04-16 23:47:29 -04:00
Doug Blank cd5905dfdb data.gramps: add mediapath 2016-04-16 23:04:39 -04:00
Doug Blank 12655fc22e 9386: Slow exit of Gramps GUI 2016-04-16 21:00:31 -04:00
Doug Blank f09c32181a DB-API: fix version 2016-04-16 18:25:46 -04:00
John Ralls 8fd4f7ff8e Bug 8563: Gramps reports that it can't find dictionaries.
Turns out it was really that enchant couldn't find its backend because
an environment variable wasn't set.
2016-04-16 15:08:24 -07:00
Doug Blank 1e228b2193 clidbman: restore accidently deleted code 2016-04-16 17:38:01 -04:00
Sam Manzi 001a95fcf8 Fix typo as per ~47490 2016-04-17 06:09:43 +10:00
Paul Franklin 7accf755d5 typo 2016-04-16 11:40:06 -07:00
Doug Blank eafe35e4af DbManager: add database type column 2016-04-16 14:38:38 -04:00
Paul Franklin 9c045c63c9 add the "living people" option to the three Graphviz reports 2016-04-16 10:54:26 -07:00
Paul Franklin 269f9e7626 8128: GtkDialog mapped without a transient parent -- partial 2016-04-16 10:48:48 -07:00
Leonhaeuser 5628198bb2 update German translation 2016-04-16 11:11:42 +02:00
Doug Blank 880588e635 Fixes for DictionaryDB and InMemoryDB 2016-04-16 04:13:27 -04:00
Doug Blank f0e27af884 DB-API: get_family_handles(sort_handles) add given to sort order 2016-04-16 03:53:16 -04:00
Doug Blank ac1ccfa2b4 9385: gramps -L changes Last Accessed time/date 2016-04-16 03:40:52 -04:00
Doug Blank 516bba4180 CLI: add regular expression patterns to -t, -l, and -L 2016-04-16 03:03:57 -04:00
Doug Blank 67a6e0cf79 gramps -r PATTERN: make no be the default 2016-04-16 02:53:36 -04:00
Sam Manzi 8694c7fcc7 7921 Move holidays.xml.in to data [refactor] 2016-04-16 16:38:43 +10:00
Doug Blank 887490ea5b DB-API: missing BEGIN TRANSACTION for batch mode 2016-04-16 02:32:02 -04:00
Sam Manzi 98ee53aa17 Remove duplicate import/rename method 2016-04-16 09:08:14 +10:00
Sam Manzi 4342b319e3 Merge pull request #102 from SNoiraud/bug5449
5449: Pedigree view crashes if you happen to choose a child as ancestor
2016-04-16 07:19:01 +10:00
Paul Franklin 284d907960 center the book report Available Books dialog 2016-04-15 10:30:34 -07:00
Doug Blank 91ab6e80ca DB-API in-memory replacement for DictionaryDB 2016-04-15 09:46:45 -04:00
Doug Blank 684788f2fd DictionaryDB: use backup on load from file, if available 2016-04-15 09:45:41 -04:00
Doug Blank ce33e7509c DB-API: separate dbapi init from sql init 2016-04-15 08:54:18 -04:00
SNoiraud 9a995b9e30 5449: Pedigree view crashes : changed the name and solved the notrelated glade problem. 2016-04-15 13:50:30 +02:00
Paul Franklin 29a5d9dbe7 add deferred translation to "living people" report option 2016-04-15 00:29:37 -07:00
Doug Blank 67b7805de3 Updated docstring for -t, -l, and -L 2016-04-14 21:03:38 -04:00
Doug Blank d71f9494b8 Move GRAMPS_RESOURCE default into grampsapp.main() 2016-04-14 20:58:27 -04:00
Doug Blank dd55b367ce Add optional list of trees to command-line args: -t -l -L 2016-04-14 20:42:40 -04:00
Doug Blank dbd00b2a32 Merge pull request #114 from sam-m888/pylint-invalid-all-object-E0604
Pylint (E0604) __all__, must contain only strings
2016-04-12 22:24:10 -04:00
Sam Manzi 8c1ebd8020 __all__, must contain only strings 2016-04-13 12:01:32 +10:00
Doug Blank dc486bc79f Merge pull request #112 from sam-m888/fixNonecomparisons
Don't use equality to check None
2016-04-12 20:04:06 -04:00
Sam Manzi 71ddd02459 Don't use equality to check None (2/2) 2016-04-13 09:54:23 +10:00
Sam Manzi 31b10acf97 Don't use equality to check None 2016-04-13 09:51:30 +10:00
Doug Blank 5842a0e10b Merge pull request #110 from sam-m888/FixImportDuplicates
Fix some duplicate imports etc...
2016-04-12 19:15:42 -04:00
Sam Manzi 289d3b9267 Fix some duplicate imports etc... 2016-04-13 08:42:19 +10:00
Ross Gammon b7ac194949 7763: Remove unused jhtmlarea Files 2016-04-13 07:48:20 +10:00
Ross Gammon decefda7e5 7763: Remove remaining Sourceless Javascript Files 2016-04-13 07:42:18 +10:00
Paul Franklin 7f41373f07 8649: Familygroup report: Add filter option 2016-04-11 19:22:37 -07:00
Douglas S. Blank 6b86b154fb add sorted family handles to DB-API 2016-04-11 19:13:49 -07:00
Doug Blank 7dc9379909 Merge pull request #109 from sam-m888/8153SupportCustomEventonGEDCOMexport
8153 GEDCOM 5.5.1 Support Custom Event on export
2016-04-11 20:28:54 -04:00
SNoiraud a472ec4e08 5449: Pedigree view crashes : add examples for testing loops. 2016-04-11 10:06:20 +02:00
Doug Blank 0cd4ee879a DictionaryDB: add missing items to make it completely implement API 2016-04-10 19:22:06 -04:00
SNoiraud 02d0e858c0 0005449: Pedigree view crashes ... : add help to glade file. 2016-04-10 22:22:28 +02:00
Paul Franklin 35c86d929d remove file added by accident, per Mirko 2016-04-10 12:25:23 -07:00
SNoiraud 9fe4820f4c 0005449: Pedigree view crashes ... : add help button + suppress CLI tool mode 2016-04-10 20:08:25 +02:00
SNoiraud 4525b87071 5449: Pedigree view crashes ... : remove last empty line. 2016-04-10 09:57:39 +02:00
SNoiraud 3fe0aaa88a 5449: Pedigree view crashes ... : trailing space and replace list() by set() 2016-04-10 09:55:50 +02:00
Enno Borgsteede 9fe3f6ad05 8153 GEDCOM 5.5.1 Support Custom Event on export 2016-04-10 14:13:39 +10:00
Paul Franklin 0c179a2a47 cope with None family in relview 2016-04-09 16:47:26 -07:00
Doug Blank 61eb2a04a0 Add missing properties to DictionaryDb 2016-04-09 17:34:58 -04:00
Paul Franklin 3bd585f7f8 8128: GtkDialog mapped without a transient parent -- partial 2016-04-09 09:40:37 -07:00
Paul Franklin f0e9078ee4 clarify default setting in report .gpr.py files 2016-04-09 09:31:59 -07:00
Paul Franklin ffbc57755e remove my personal email address from .mailcap file 2016-04-09 09:29:17 -07:00
Leonhaeuser ceaedd55cd Update German translation 2016-04-09 13:15:48 +02:00
Leonhaeuser 983ec7ed74 update German translation 2016-04-09 13:00:55 +02:00
SNoiraud 398f7f9ea7 9362: Attempting to select an "Available item" for the Book Report gives an error 2016-04-09 11:26:36 +02:00
Sam Manzi f73c41f9c0 9635 dbapi_support needs a package init file 2016-04-09 15:07:34 +10:00
Sam Manzi 8dd80a61a1 9635 Add dbapi_support folders to setup.py for installs 2016-04-09 12:36:35 +10:00
Doug Blank 0bab478da3 RelationshipCalc callback: not all signals pass handle_list 2016-04-08 07:38:39 -04:00
Doug Blank 324cea5dd3 9358: get_table_metadata(nav_type) anomaly 2016-04-08 07:30:02 -04:00
Doug Blank dd0f0c6f3e 9358: get_table_metadata(nav_type) anomaly; revert 2016-04-08 07:15:30 -04:00
Doug Blank d9ff7fede2 9358: get_table_metadata(nav_type) anomaly 2016-04-08 06:58:07 -04:00
Nick Hall 3d1643a84e Add some place rule unit tests 2016-04-07 20:48:19 +01:00
Nick Hall ea60555a9b Add some event rule unit tests 2016-04-07 19:21:11 +01:00
Paul Franklin 35626334e6 improve Statistics Chart pylint score from 6.75 to 8.94 2016-04-07 00:29:52 -07:00
Doug Blank e9d2aa9711 Rename duplicate test 2016-04-06 19:58:12 -04:00
Nick Hall f3c9a86545 Add more family rule unit tests 2016-04-06 23:20:45 +01:00
Nick Hall da3db4bc28 Remove deprecated locale flag
re.L is deprecated and re.U is now default.
2016-04-06 23:18:14 +01:00
Nick Hall 0dd79314b1 Check for missing father or mother in family rules 2016-04-06 23:17:10 +01:00
Nick Hall 9bd507d626 Add new family ancestor and descendant rules 2016-04-06 20:51:49 +01:00
SNoiraud f5f024af53 9352: TypeError: 'str' does not support the buffer interface (better solution) 2016-04-06 19:52:18 +02:00
Paul Franklin b620d6a039 tweak Place details gramplet for alternative names: show language 2016-04-05 12:13:40 -07:00
=Matt Keenan 7f4bc4785f 7035: Request for new "Replace All Names" in Export Options dialog 2016-04-05 11:45:36 -07:00
Paul Franklin 96e56d1e56 enhance place report: add place names if two or more 2016-04-04 21:17:41 -07:00
SNoiraud 7fa42f64fa 7793: Fanchart: Please increase limit on generations 2016-04-04 19:17:50 +02:00
SNoiraud 0eb6c18f9a 7074: Add Two related Features to Event and Media pages in the Narrated Web Site report 2016-04-03 09:44:22 +02:00
Paul Franklin d5b5ebbb63 have the Family Group report default be to show marriages 2016-04-01 19:16:36 -07:00
Paul Franklin 86570a0a50 8131: Family Group Report -- tweaks request (added family notes) 2016-04-01 12:05:59 -07:00
Paul Franklin 8be0a72ea9 better pylint score for Family Group report (7.99=>9.31) 2016-04-01 12:01:40 -07:00
Paul Franklin 80ec97baaa allow for more types in "living" proxy 2016-03-31 16:11:19 -07:00
Paul Franklin 2f608f67e6 fix "TypeError: 'tuple' object does not support item assignment" 2016-03-31 12:34:18 -07:00
Paul Franklin 3c9f9901e6 add "living people" option to TimeLine report 2016-03-31 12:10:15 -07:00
Paul Franklin 4136d22509 add "living people" option to Descendant Tree report 2016-03-31 12:08:42 -07:00
Paul Franklin 2c8feb372c 5176: add "living people" option to Family Group report 2016-03-31 09:08:38 -07:00
Paul Franklin 7177dc34db 5176: add "living people" option to Complete Individual report 2016-03-31 09:06:18 -07:00
SNoiraud 0de5324c07 9352: TypeError: 'str' does not support the buffer interface 2016-03-30 12:12:28 +02:00
Doug Blank afd32966f2 Merge pull request #108 from tecknicaltom/fix-dictionarydb-tags
fix the name map of tags in DictionaryDb
2016-03-29 13:23:05 -04:00
Tom Samstag ea78dff2f2 make tag name map fix more readable
I think this version of the fix is more readable
2016-03-29 09:03:24 -07:00
Tom Samstag 607d4889d6 fix the name map of tags in DictionaryDb
DictionaryDb had a bug where the same tag could end up in the name
mapping multiple times. This was most easily seen when loading a gramps
xml into a DictionaryDb, where an extra entry with the tag name of ''
would be created and would ultimately be referencing the last-created
Tag (also referenced by its proper tag name). This change makes sure
that when editing a tag, any existing references in the name mapping are
deleted before adding.
2016-03-29 08:32:18 -07:00
Josip 28b1db78e0 9335: Gramps has experienced an unexpected error 2016-03-28 14:52:58 -07:00
SNoiraud ba55d47143 9345: Error when trying to create narrative report (residence event) 2016-03-28 14:49:21 +02:00
SNoiraud f290814ea3 9347: Places index + Media index are incorrectly sorted 2016-03-28 14:47:40 +02:00
romjerome 105dfb9ad5 9315: [Regression]: Filter set by default on selector is ignored
'Show all' button status and first load
2016-03-28 09:24:10 +02:00
Sam Manzi 361634ecaa Merge pull request #107 from tecknicaltom/test_filters1
Initial batch of tests of filter rules
2016-03-28 16:19:11 +11:00
Tom Samstag ebbbe6b436 Initial batch of tests of filter rules
After finding a bug in a filter that caused it to return incomplete
results in master (not yet patched), I decided to develop tests for the
filter rules. This first batch is all listed person filter rules that
either take no parameters or take a single ID parameter. I originally
wanted to use the smaller data.gramps instead of example.gramps, but
there were more unrepresented edge cases that wouldn't allow for testing
all filters (e.g. disconnected individuals).

All test values are based on what Gramps currently returns, with some
efforts made to try to verify the results. If the example.gramps file
changes, these tests will likely have to be updated. I tried to
cross-version validate them with v4.1, but the implementation of
DictionaryDb is too incomplete and many tests fail for unrelated
reasons.
2016-03-27 14:11:49 -07:00
Doug Blank 162d26d4dc 9331: Empty handle, bsddb backend and place 2016-03-25 09:22:58 -04:00
Paul Franklin e787fac396 9321: Cannot exclude living people from descendant reports 2016-03-24 13:13:56 -07:00
Paul Franklin 8ed5a281d5 9321: Cannot exclude living people from descendant reports 2016-03-24 13:11:57 -07:00
Paul Franklin da0b478421 center the Book dialog (in the whole screen) 2016-03-24 12:16:15 -07:00
Paul Franklin 17b2fe1cba 5176: Reports ignore "Private" flag and "Living People" 2016-03-24 09:37:47 -07:00
Paul Franklin c23093d6f8 add a few more parents to a few more dialogs 2016-03-22 21:04:22 -07:00
Doug Blank 2b6a96afbd Merge pull request #106 from tecknicaltom/filtering_filters
add a filter to the tree of rule filters
2016-03-22 16:39:31 -04:00
Paul Franklin 7b33bb1718 remove unneeded Icelandic directives 2016-03-22 11:58:19 -07:00
Paul Franklin d2acfdf48e 9320: D.A.R. has ? for locations when [private data is excluded] 2016-03-21 16:52:50 -07:00
Paul Franklin 5032a1e189 add Windows Python header files for 32-bit and 64-bit machines 2016-03-20 23:04:23 -07:00
SNoiraud 0c67821171 8602: Age in the event family view column is wrong. better solution. 2016-03-20 13:38:39 +01:00
SNoiraud d414f33d01 9278: Crash when dragging multiple media items to clipboard 2016-03-19 23:46:00 +01:00
SNoiraud 32be137dd8 9316: Unable to build narrated web site 2016-03-19 23:13:14 +01:00
romjerome 6fabb04bbe 9151: [Regression] vCal Export File format invalid
Do not encode text anymore (patch by Serge)

Fix an invalid RRULE for annual recurence

TODO: maybe try to update to VCalendar 2.0 (iCal)?
2016-03-16 11:19:15 +01:00
Nemeséri Lajos 5eeda60b60 Update Hungarian translation 2016-03-16 11:10:53 +01:00
Paul Franklin cbc8cc38a9 9294: Error occurs for Complete Individual Report -- complete database 2016-03-14 17:24:07 -07:00
Tom Samstag b96645084a add a filter to the tree of rule filters
I can never remember which category filters are in when making a new
rule. This change adds a filter entry above the treeview. As you type,
filters that do not contain the search text (case insensitively) are
made not visible. Categories are always visible, but will no longer
expand if all of their child nodes are hidden.
2016-03-14 00:05:13 -07:00
Paul Franklin d7480aa0ff add standard Windows Python header file, for now 2016-03-08 07:57:12 -08:00
Doug Blank 096615a465 Merge pull request #105 from DaAwesomeP/master
Use new Travis container and Apt addon
2016-03-08 05:49:22 -06:00
֍ DaAwesomeP ֎ 8d3ab52904 Use new Travis container and Apt addon 2016-03-07 23:01:13 -06:00
Paul Franklin c007cdd82c clarify these old files are not for the current Windows AIO package 2016-03-07 14:53:43 -08:00
romjerome 6c1ba0f23f 9006 9111 9274: fix scrolling in persons view after typing some letter
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'int'

Thank you schnitker for report, investigations and patch
2016-03-07 15:06:53 +01:00
romjerome 79c193f74b 9242: multiple lines on firstname can corrupt ODT file
fix gramps XML file via import/export but do not know the cause
2016-03-07 15:05:19 +01:00
SNoiraud 1cfd71001c 9293: Narrative Web report further stops in error. 2016-03-06 13:04:51 +01:00
SNoiraud 7f5d4fb10f Geography : 9207: geography view Location could not convert string to float. 2016-03-06 11:51:29 +01:00
Doug Blank 651aac6afa Merge pull request #104 from tecknicaltom/fix_export_preview
fix some crashes in export preview
2016-03-04 06:27:12 -06:00
Doug Blank c4fac4aad8 9288: Error still when creating a Narrative Website Report 2016-03-03 16:50:29 -06:00
Sam Manzi b1cf276104 Add pypi classifier for Natural Language :: Icelandic 2016-03-03 19:26:39 +11:00
Tom Samstag 4b32841dd4 fix some crashes in export preview
These issues were all found while trying to use the "Calculate Previews"
feature of the export wizard.

gen/proxy/referencedbyselection.py: ProxyDbBase need not define the
writable functions (add_*, commit_*, del_*) in its __tables. ProxyDbBase
doesn't have methods for add_person, etc, so this was causing an
AttributeError

gen/proxy/referencedbyselection.py: Add some handle checks to prevent
lookups on None handles

gen/proxy/proxybase.py: remove redundant test
2016-03-03 00:11:17 -08:00
Sam Manzi 4960f859ed 8294 Recognise Ghostscript on 64bit ms-windows 2016-03-03 15:28:38 +11:00
Doug Blank 8d08b62c8d 9284: Narrative Report with BSDDB, additional fixes and test 2016-03-02 09:13:35 -06:00
Doug Blank 7dca404669 9284: Narrative Report with BSDDB 2016-03-02 08:36:02 -06:00
Matti Niemelä f218ab0cd7 Update Finnish translation 2016-03-02 13:47:01 +01:00
Doug Blank 8c35de5642 Travis: python3-coverage does not exist 2016-03-01 07:33:48 -05:00
Doug Blank 70de5e8899 Travis: attempt to use coverage 2016-03-01 07:26:11 -05:00
Paul Franklin cc13810673 make setup.py typeout more accurate 2016-02-29 17:25:16 -08:00
Doug Blank d03d99ccce Travis: working, but without coverage 2016-02-28 18:32:21 -05:00
Doug Blank 40af708cab Travis: try to find right nosetests 2016-02-28 18:25:19 -05:00
Doug Blank 689eaf2603 Travis: cleanup, include pyicu 2016-02-28 18:20:37 -05:00
Doug Blank 14c65f8de6 Travis: use pip, which should be new pip 2016-02-28 18:06:17 -05:00
Doug Blank 7448e2f1e0 Travis: use python, which is 3.4 2016-02-28 18:02:06 -05:00
Doug Blank 6a9129c7b9 Travis: try Python 3.4 2016-02-28 17:55:37 -05:00
Doug Blank 400825207a Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 17:51:45 -05:00
Doug Blank 89cb62f3e2 Add pillow, coverage, pip3, and codecov via alternative methods 2016-02-28 16:48:36 -05:00
Doug Blank f55c93508a Test framework for testing reports 2016-02-28 15:56:39 -05:00
Doug Blank ad3dcb8d13 Hide db._select(); Refactor db._tables; QuerySet; tests and bug fixes
db.select() has become db._select()

This commit refactors database._tables so that they can work properly
after a proxy or filter has been removed.

It adds abstract API called QuerySet which allows a variety of
selections and ordering of data.

Logging was added to sqlite to better see db access.

Additional fixes:

* clearing GenericDB._directory
* test_util_test off-by-one error
2016-02-28 15:40:16 -05:00
SNoiraud 0650bd8643 5449: Convert list to set 2016-02-25 11:01:11 +01:00
Doug Blank 0415ac8eab Merge pull request #94 from olaf-ka/newrelgraphoutput
New output options for Relationship Graph
2016-02-23 09:22:17 -05:00
Doug Blank 819223b2be Merge pull request #97 from sam-m888/9255AddCitationsSelectorToLinkEditor
9255 Add Citations Selector To Link Editor
2016-02-23 08:25:25 -05:00
SNoiraud e64737bb51 0743: Searching in people view when surnames are collapsed 2016-02-23 11:05:32 +01:00
SNoiraud 84f4ce3513 TreeBaseModel : str has no encode method. 2016-02-22 15:42:04 +01:00
SNoiraud 9bc91af2de 5449: Pedigree view crashes if you happen to choose a child as ancestor 2016-02-22 15:27:33 +01:00
Zdeněk Hataš 863a325e1d czech translation update 2016-02-22 09:02:09 +01:00
Sveinn í Felli 11562eba1d Update Icelandic translation 2016-02-21 14:31:45 +01:00
Sveinn í Felli cfd2c3f5a8 Add dates and relationships handlers for Icelandic 2016-02-21 14:29:07 +01:00
SNoiraud 78b5fba358 3068: Wrong reference number for "same person as" in detailed descendant report 2016-02-19 19:40:27 +01:00
SNoiraud e14cb98d66 8602: Age in the event family view column is wrong 2016-02-19 18:47:46 +01:00
Paul Franklin b22de39a25 correct indentation in books.xml 2016-02-19 03:10:55 -08:00
Paul Franklin 69eeca4c47 remove dead code 2016-02-19 02:57:33 -08:00
romjerome ca202ee3ed Merge Icelandic translation with last template 2016-02-17 16:33:38 +01:00
romjerome d658142432 update translation strings template 2016-02-17 16:32:05 +01:00
romjerome 1618e58176 $ intltool-update -m 2016-02-17 16:30:03 +01:00
Sveinn í Felli c214904bd4 Update Icelandic translation 2016-02-17 16:24:21 +01:00
Sam Manzi e7fafa3a86 9255 Add Citations Selector To Link Editor 2016-02-17 16:37:19 +11:00
Doug Blank ae260c189f Added codecov patch 2016-02-13 15:54:09 -05:00
Doug Blank 8a02c85bde Turn on coverage/codecov in Travis 2016-02-13 08:09:03 -05:00
Nick Hall 7237d9baa3 Fix error when changing database in new locations gramplets 2016-02-11 19:46:08 +00:00
SNoiraud b5e904be60 9094: Double-clicking on a source causes exception : better solution. 2016-02-10 17:49:24 +01:00
John Ralls cb58270bf6 Fix comment about getting the right encoding for stdout. 2016-02-09 11:19:45 -08:00
John Ralls bd27233cfc Bug 9178: Error loading Participants add-on in French locale
Restores setting the stdout encoding to sys.getdefaultencoding() in a
way that works with Python3 (thanks to Jack O'Connor on stackoverflow)
and in a place that sets it for the loggers, too.
2016-02-09 11:15:02 -08:00
John Ralls c11fbe8bfc Bug 9159: Date format does not match system.
Make US English a special-case locale with en_GB the default if the locale
is en_XX where XX != US.

Note that untranslated languages will still end up using the 'C' locale.
2016-02-08 13:13:16 -08:00
Nick Hall 524413f7c3 Enhance the Locations gramplet
Create a new "Encloses" gramplet to the display places that the
active place encloses. Rename existing gramplet to "Enclosed By".
2016-02-08 19:36:47 +00:00
Doug Blank 202e1f5594 Protection from null objects 2016-02-07 11:58:59 -05:00
Doug Blank 429b91d357 IsAncestorOf bug hidden by looking up null handle 2016-02-06 21:43:03 -05:00
SNoiraud e54ed1254a 7852: Rename family tree does not update the title of the parent window. 2016-02-02 10:34:52 +01:00
Doug Blank 72e897b44b Database.select(where=('','LIKE','')) in Python matches across lines 2016-01-31 21:47:37 -05:00
Doug Blank 18ac940566 Add labels to SytledText and Note 2016-01-31 09:17:35 -05:00
Doug Blank c4e7d0ec25 StyledText: don't crash if styles are corrupt 2016-01-31 09:17:01 -05:00
Doug Blank 403c87b887 DB-API and DbDictionary both use same binary handles as BSDDB 2016-01-31 09:15:52 -05:00
Doug Blank 2fb9a018c7 Remove unused code 2016-01-31 09:14:27 -05:00
SNoiraud 5e369b9f66 2060: Individuals with incomplete names, not updated when name completed 2016-01-31 12:15:18 +01:00
SNoiraud 3c20e4eeef 6873 : Children gramplet in Family view does not get updated when a birth/death events are added to a child 2016-01-31 11:31:41 +01:00
SNoiraud dfd1a596ab 5417 : Non-image media objects don't appear in the main window gallery. 2016-01-31 11:16:10 +01:00
Doug Blank abd69fbebd Added schema to Tag 2016-01-30 14:44:39 -05:00
Doug Blank 3b1ff1e30f Added schema to Note and StyledText 2016-01-30 14:25:51 -05:00
SNoiraud ae8572187e 9136: Pressing tab stops at element in gui places 2016-01-30 15:34:51 +01:00
Doug Blank 3b6a621635 Database selects/iters can order by any field 2016-01-29 09:53:51 -05:00
Doug Blank c28c49ba67 A version of touch() for Python3.2; use now as time 2016-01-28 16:57:06 -05:00
Doug Blank de07b9d4f1 A version of touch() for Python3.2 2016-01-28 16:53:06 -05:00
SNoiraud f144b4c425 9094: Double-clicking on a source in the citation gramplet causes exception 2016-01-28 19:54:52 +01:00
Doug Blank 80d710da48 Attempt to make Python 3.2 work with fd; typo 2016-01-28 07:59:50 -05:00
Doug Blank d1af8a615f Attempt to make Python 3.2 work with fd 2016-01-28 07:54:47 -05:00
Doug Blank 4b565fe7bc Attempt to make Python 3.2 work with fd 2016-01-28 07:50:49 -05:00
Doug Blank 7b0b23c6f1 Added database testing; fixed bugs in select
* WIP: Tests BSDDB and DBAPI databases
* testing select and get_field
* fixed a bug in primaryobj
2016-01-28 06:44:41 -05:00
Doug Blank eec418c192 DB-API: allow handles as secondary fields
* mother_handle is now secondary field
* fixed issues in join in primaryobj._follow_chain
* added logging to dbapi loading
* optimize rebuild, only what is needed
2016-01-27 07:18:12 -05:00
SNoiraud 78be94481d 9200: "Find text in record" filter crash 2016-01-27 13:13:58 +01:00
SNoiraud 9dc962be1f 9153 : vCard Export does not work 2016-01-27 10:57:05 +01:00
Doug Blank 2cf95cd866 DB-API: moved from github:gramps-project/addons-source 2016-01-26 18:07:12 -05:00
Doug Blank 64a3b6570d PrimaryObject.get_field(): ignore error on invalid list length 2016-01-26 14:14:12 -05:00
Doug Blank 84ed939e82 Object.get_field: two bugs, one in attr on list, and multiple results 2016-01-26 13:55:09 -05:00
Doug Blank 5e84b3b1d6 BSDDB: renamed filter to where; un hash result names 2016-01-25 21:58:01 -05:00
Doug Blank 4463d8850c BSDDB: adding missing iter methods; fixed a bug in iter by_order 2016-01-25 08:29:00 -05:00
SNoiraud a99b56e123 7619 : Notes used in the "To Do" gramplet are found by the Remove Unused Objects tool 2016-01-25 11:10:13 +01:00
Doug Blank 21869e4939 Missed object to media in libgedcom 2016-01-24 18:29:48 -05:00
Doug Blank c19f4b47a9 Rename database methods: _object to _media 2016-01-24 18:15:50 -05:00
Doug Blank b472d6a8b1 Family: define extra secondary fields, and indexes 2016-01-24 09:55:11 -05:00
Doug Blank 1de7bb5ebc iter_OBJECTS can take an order_by field list 2016-01-24 08:56:37 -05:00
Sebastian Schubert f7e8f04121 Finish translation: ending ";" in keywords of desktop entry
(cherry picked from commit 56ff535968)
2016-01-24 14:51:08 +01:00
Fedik 5a6b74ef75 Ukrainian translation: update translation, a bit 2016-01-24 15:49:54 +02:00
Fedik 36a10bb5ec Ukrainian translation: update from template 2016-01-24 15:41:38 +02:00
Doug Blank 157604b40e Rename *_media_object methods to *_media 2016-01-23 21:53:14 -05:00
Olaf 98a50dfd68 add option to output more than one occupation in relationship graph 2016-01-24 00:10:42 +00:00
Doug Blank 2eeda93617 Renamed get_object_from to get_media_from 2016-01-23 19:00:13 -05:00
Doug Blank 885bab26ef Merge pull request #93 from dsblank/master
7335: Cleanup code, filenames, and documentation
2016-01-23 18:50:11 -05:00
Doug Blank 32b8005e0e Fixed unnecessary comparisons 2016-01-23 18:45:54 -05:00
Doug Blank 74ab1ba874 Merge remote-tracking branch 'upstream/master' 2016-01-23 18:42:09 -05:00
Olaf 15e691ded9 Add another way of showing dates and places in relationship graph
This will display date and place of birth/death/marriage events next to each
other, one line for each event.
2016-01-23 23:14:34 +00:00
Doug Blank b131121072 Remove python3-icu in testing 2016-01-23 18:00:58 -05:00
Doug Blank feebedad65 Exclude user_test because of older version of mock; use python3-icu 2016-01-23 17:57:23 -05:00
Doug Blank 78f3b29b4c Exclude TestUser tests because of older version of mock 2016-01-23 17:50:27 -05:00
Doug Blank 44866a90f7 Use easy_install3 to install mock 2016-01-23 17:39:41 -05:00
Doug Blank 5efb313177 Get pip3 from python3-setuptools 2016-01-23 17:33:46 -05:00
Olaf 9d83cbbc52 clean up output of families from relationship graph 2016-01-23 22:24:19 +00:00
Doug Blank db6e70d24b Use built in python3 only, old version of mock 2016-01-23 17:20:23 -05:00
Doug Blank e3e32bcddf Use python rather than python3 2016-01-23 17:05:01 -05:00
Doug Blank 02818ac867 Use python3 and forget pip 2016-01-23 16:32:30 -05:00
Doug Blank 885af4271c Use python3.4 directly 2016-01-23 16:28:29 -05:00
Doug Blank 106cff20aa Get pip a different way 2016-01-23 16:24:09 -05:00
Doug Blank adecfe26cf Try using python3.4 specifically 2016-01-23 16:16:37 -05:00
Doug Blank 05eef13110 Try using python3-pip package 2016-01-23 16:06:42 -05:00
Doug Blank b9e5db3563 Try using downloaded pip3.4 2016-01-23 16:02:40 -05:00
Doug Blank 4394535139 Try using built in pip3.4 2016-01-23 15:56:08 -05:00
Doug Blank bc0562d9b3 Try using built in pip 2016-01-23 15:50:14 -05:00
Doug Blank ec5c8cccef Try using built in pip3 2016-01-23 15:44:25 -05:00
Doug Blank cb74c40afa Try using Python 3.4 2016-01-23 15:37:29 -05:00
Doug Blank ee05e0b451 7335: Cleanup code, filenames, and documentation
First part of cleanup, changes:

MediaObject -> Media
mediaobj -> media
mediaobject -> media
2016-01-23 14:22:41 -05:00
Marek Szuba 186c2bcfef Only consider the values of LC_ALL, LANG, and LANGUAGE, in that order, when choosing the default locale.
Default arguments of locale.getdefaultlocale() consider the value
of LC_CTYPE in addition to the three aforementioned all-category
variables, which under certain conditions (LC_CTYPE set, LC_ALL and
the rest of LC_FOO unset) would result in the locale set in LC_CTYPE
(which should only affect interpretation of byte sequences as
characters) spilling over to other locale categories handled by the
GrampsLocale object. The most visible effect of that spill was that
with LC_ALL, LANG, LANGUAGE and LC_MESSAGES unset but LC_CTYPE set,
Gramps would start using the wrong UI language.
2016-01-22 13:42:50 -08:00
John Ralls 65442c2da8 Bug 9191: Unable to select Unicode UTF-8 encoding on command line
Make the option descriptions line up when the value is shorter than 10
characters. Also make the value and description headings line up with the
list and put "Available values are:" first.
2016-01-22 13:39:37 -08:00
Ivan Komaritsyn a947bd3598 update Russian translation 2016-01-18 11:04:47 -08:00
John Ralls dbdec516b9 Fix err undefined exception. 2016-01-18 09:16:44 -08:00
Doug Blank b7444dd9b0 DB-API: Cut database access by 50% when iter by handles 2016-01-18 09:21:18 -05:00
Doug Blank 82d02c5c1b Fix error in NOT in select 2016-01-17 13:21:16 -05:00
Doug Blank dfc0808167 Add tests for Object.get_field
* tests for get_field, with and without join
* fix bug in Handle
* fix issues in get_field
2016-01-17 12:07:31 -05:00
Paul Franklin 1ced0ac405 typo 2016-01-16 15:43:35 -08:00
romjerome d509c44d69 9121 9146 9162: Cannot import gedcom generated by RootsMagic
custom place details ignoring PlaceName()
2016-01-16 15:18:35 +01:00
Doug Blank 8525397067 9166: People sorted by surname view now crashes
Fixed issue by surrounding gramplet load code in try/except.
2016-01-14 07:13:47 -05:00
SNoiraud ee0e343e1e 8950 : Narrative web : html elements emitted in different order 2016-01-14 10:04:29 +01:00
Doug Blank f9930c1bcf Revised db.select to be completely general 2016-01-13 08:20:50 -05:00
Doug Blank dc698782b9 db.select does a recursive compare when multi-values 2016-01-12 10:09:51 -05:00
Doug Blank 0c90679515 Added missing get_schema() to some objects 2016-01-11 21:46:10 -05:00
Doug Blank 2195c2e885 db.select(): added [NOT filter] 2016-01-11 17:43:53 -05:00
Doug Blank f45c75988c db.select: updated doc strings for filter format 2016-01-11 17:36:37 -05:00
Doug Blank 9d6d791e21 Made select use proper recursive expressions; some optimizations 2016-01-11 17:19:14 -05:00
Doug Blank 8902d8f5de Add Family field aliases 2016-01-11 07:28:28 -05:00
Doug Blank a3c0ff5c18 Add missing EventRef.get_schema() 2016-01-10 18:37:13 -05:00
Nick Hall e16e772057 Add .pylintrc file
Set maximum line length to 80 characters (previous default).
Allow "db" as a good variable name.
2016-01-10 16:41:44 +00:00
Doug Blank 22fa6ed63a Refinements in db.select; allow joins 2016-01-10 10:55:45 -05:00
Nick Hall 177e30ee62 Improve pylint score of gen modules to above 9 2016-01-10 15:40:52 +00:00
Nick Hall b8a38cd5e5 Improve pylint score to above 9 for most gen.lib objects 2016-01-09 15:34:59 +00:00
SNoiraud e013122afc 9163 : Narrative web : "errno: 1, operation is not permitted" when creating archive. 2016-01-09 10:23:50 +01:00
Josip 73b3ccbd0e 9122: Complete Report about person (whole database) - PDF - crash 2016-01-08 20:55:20 -08:00
Nick Hall 76d8c70b91 Remove redundant ignore list from attribute types 2016-01-09 00:50:49 +00:00
Nick Hall c3eab4e6e3 Further pylint improvements 2016-01-09 00:27:42 +00:00
Doug Blank 831330b6d0 Moved Django templates out of gramps 2016-01-08 18:54:25 -05:00
Doug Blank f26c9f7055 Added missing get_labels, get_schema 2016-01-08 18:44:38 -05:00
Nick Hall e64fa65552 Remove redundant objects
These were needed for database upgrades but are no longer
referenced anywhere.
2016-01-08 22:58:25 +00:00
Nick Hall 80f05956b4 Gramps type pylint improvements 2016-01-08 21:57:04 +00:00
Doug Blank 1654757c22 db.select() can now use filter; returns total count, and selection 2016-01-08 14:07:43 -05:00
Doug Blank cc00442e0b Added missing del_func to BSDDB._tables 2016-01-08 04:34:30 -05:00
Nick Hall e85af204dd More pylint improvements 2016-01-07 19:52:05 +00:00
Nick Hall 72d0d46535 Date object pylint improvements 2016-01-07 19:52:05 +00:00
Doug Blank eaf1649ef3 Remove remaining mentions of webapp 2016-01-07 13:05:53 -05:00
SNoiraud 22b5c7a14c Geography : change one place selection function by a method. 2016-01-07 09:53:57 +01:00
Doug Blank ecc8939840 Removed Django references 2016-01-06 15:43:13 -05:00
Doug Blank 7aa7f26bbb Removed webapp to django-webapp project 2016-01-06 15:24:27 -05:00
Doug Blank b39fd5b634 Added missing schema 2016-01-06 10:07:25 -05:00
Doug Blank 640e834c22 Refactor of labels/fields/schema 2016-01-06 10:06:47 -05:00
Doug Blank 5a8264f70e db.select/get_rows now returns a dictionary 2016-01-06 10:06:05 -05:00
Doug Blank ed0001ba0e 9155: proper fix 2016-01-06 15:39:46 +01:00
romjerome d6f3149a38 Fix previous commit [faaabc]
Do not create an additional database access
2016-01-06 15:25:39 +01:00
romjerome faaabcef3a 9155: Unhandled AttributeError when db.get_tag_from_handle returns None 2016-01-06 14:51:43 +01:00
Doug Blank 3cb64cdca8 Need to rebuild reference map if making changes in batch mode 2016-01-05 13:44:43 -05:00
Doug Blank 195fdc3cf8 Removed should_exit from tests 2016-01-05 13:17:11 -05:00
Doug Blank 5130269f31 Use db_is_open properly 2016-01-05 13:08:53 -05:00
Nick Hall c9b5830a37 Fix bug introduced in pylint tidy up 2016-01-05 18:03:33 +00:00
Doug Blank 27e79a3e76 CLI: if database is opened at end, then close it 2016-01-05 13:01:48 -05:00
Doug Blank d44673c260 Don't exit from arghandler, just return 2016-01-05 13:00:30 -05:00
Nick Hall 8717839809 Add validation to gender field 2016-01-01 19:22:53 +00:00
Paul Franklin 895f8a1cfc 9073: "Unknown" spouse uses hardcoded string [deferred translation] 2016-01-01 10:47:54 -08:00
Tom Samstag 4ff2cf30e2 fix handling of a None handle 2016-01-01 09:46:20 -08:00
Nick Hall 307f236771 Primary object pylint improvements 2015-12-31 23:06:16 +00:00
Nick Hall e82148677d Replace tabs with spaces 2015-12-31 21:17:49 +00:00
Nick Hall e67832d384 Merge pull request #86 from tecknicaltom/various_python_issues
Various python issues
2015-12-31 21:15:46 +00:00
Nick Hall 843795738d 8556: ValueError: underlying buffer has been detached
The expat parser requires a binary mode file object.
2015-12-31 18:30:02 +00:00
Doug Blank cc6b54c5d9 Object.get_label() now a class method. Fixed error in Name schema 2015-12-31 08:47:48 -05:00
romjerome b77aeb39e7 Year 2016 2015-12-31 11:19:10 +01:00
romjerome 937cd509d0 9114: mars month instead of Marzec (Polish) 2015-12-31 11:17:20 +01:00
Tom Samstag 92c2ddc33e remove unnecessary pass statements 2015-12-31 00:24:07 -08:00
Tom Samstag e9eedee5c6 change tabs to spaces 2015-12-31 00:08:42 -08:00
Tom Samstag 602ad1bc53 not x is None -> x is not None 2015-12-31 00:03:22 -08:00
Tom Samstag de8d8370e3 fixing else clauses on loops 2015-12-30 22:46:57 -08:00
Tom Samstag 4053d84a5f fix a raising of NotImplemented
It may not have caused any issues, but changing this from raising
NotImplemented to a NotImplementedError. Explanation about why this is
important at:
http://mouadino.appspot.com/notimpelementederror-vs-notimplemented-in-python/
2015-12-30 22:09:13 -08:00
Paul Franklin 76315be47d 8128: GtkDialog mapped without a transient parent 2015-12-30 21:43:31 -08:00
Doug Blank 85e4a29af4 Allow struct API to work on missing data 2015-12-30 15:11:27 -05:00
Doug Blank 0bfee44e9b Selection method added to database 2015-12-30 14:03:46 -05:00
Doug Blank 41f9e3cccc PrimaryObject.get_field can call methods 2015-12-30 11:06:11 -05:00
Doug Blank 895531c2e3 Having a method used by instance or class is a bad idea 2015-12-30 11:03:40 -05:00
Ivan Komaritsyn d1e11f4172 update Russian translation (with "master" gramps.pot) 2015-12-29 23:42:31 -08:00
Paul Franklin e473f9dc89 8128: GtkDialog mapped without a transient parent
The set of fixes was actually triggered by comments in
https://gramps-project.org/bugs/view.php?id=9122#c45895
https://gramps-project.org/bugs/view.php?id=9122#c45921

The project is ongoing, since it's needed for our Windows users.
2015-12-29 22:49:05 -08:00
Nick Hall a65e69cb53 Only check for changed data when cancel button clicked 2015-12-30 00:41:00 +00:00
Nick Hall be7e9ace36 Update docstrings for database get methods 2015-12-29 23:47:42 +00:00
Nick Hall 39c8d33169 Merge pull request #84 from tecknicaltom/more_None_handle_fixes
fixes for None handle errors: single-parent family
2015-12-29 23:32:34 +00:00
Nick Hall 5729db8f7f Avoid check for changed data when save button clicked 2015-12-29 20:00:40 +00:00
Nick Hall 40ca8a2da4 Store original object during editor initialisation 2015-12-29 19:54:18 +00:00
Tom Samstag 4ac6d346f4 fixes for None handle errors: single-parent family
Fixes for Person lookups with None handles, related to the use of a
single-parent family
2015-12-29 10:42:00 -08:00
Nick Hall 715277d9ac Fix handle errors in family lines graph 2015-12-29 18:23:14 +00:00
Doug Blank f4af5277e6 Struct.from_struct is also a classmethod 2015-12-29 13:09:49 -05:00
Paul Franklin 74f9fb1b8e 9137: Report Plugin [LaTeX backend] crashes 2015-12-28 12:02:15 -08:00
Zdeněk Hataš f0e2aa6cc9 czech translation update, fixed Places terminology 2015-12-28 20:29:57 +01:00
SNoiraud 60f4c76fa2 Geography : trying to solve possible gramps.gen.errors.HandleError: Handle is None 2015-12-27 23:10:13 +01:00
SNoiraud 2aca380484 Geography : add transient for progress bar in events view + change message. 2015-12-27 19:45:28 +01:00
SNoiraud 4a47edc39c Geography : add transient parent + change message 2015-12-27 19:08:57 +01:00
Nick Hall 33b9e80028 Fix place hierarchy creation during import 2015-12-27 17:19:41 +00:00
Doug Blank e0c6468c77 Moved translation funtion to get_label/get_labels 2015-12-27 09:37:01 -05:00
Doug Blank 57e349a280 Merge pull request #82 from tecknicaltom/relview_None_handle
Fix for a None handle lookup in relview
2015-12-27 07:53:50 -05:00
Doug Blank 84e484bb64 Struct moved to gen.lib 2015-12-27 07:46:05 -05:00
Tom Samstag c5daf38878 Fix for a None handle lookup in relview
If focusing on the relationship view with an empty tree loaded, an
uncaught exception was raised by attempting to call
get_person_from_handle with a None handle:

Traceback (most recent call last):
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/gui/viewmanager.py", line 1011, in view_changed
    self.__change_page(page_num)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/gui/viewmanager.py", line 1024, in __change_page
    self.active_page.set_active()
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/gui/views/navigationview.py", line 154, in set_active
    PageView.set_active(self)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/gui/views/pageview.py", line 304, in set_active
    self.build_tree()
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/view/relview.py", line 205, in build_tree
    self.redraw()
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/view/relview.py", line 465, in redraw
    self.change_person(None)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/view/relview.py", line 470, in change_person
    return self._change_person(obj)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/view/relview.py", line 500, in _change_person
    person = self.dbstate.db.get_person_from_handle(obj)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/database/bsddb_support/read.py", line 723, in get_person_from_handle
    return self.get_from_handle(handle, Person, self.person_map)
  File "dev/gramps/installed/lib64/python3.4/site-packages/gramps/plugins/database/bsddb_support/write.py", line 2113, in get_from_handle
    raise HandleError('Handle is None')
gramps.gen.errors.HandleError: Handle is None
2015-12-26 23:56:53 -08:00
Doug Blank 84fc198a6d Move struct-based API to gen.lib.struct 2015-12-26 21:00:37 -05:00
SNoiraud 664359e681 Geography : Use progress meter while selecting places or events. 2015-12-26 18:35:46 +01:00
SNoiraud 99c1cb5642 Geography : HandleError('Handle is None') 2015-12-26 17:30:38 +01:00
SNoiraud 822fa7c06c 9127 : Geography : performance issue due to bad initialization. 2015-12-26 17:18:05 +01:00
SNoiraud 04c39a72e0 9126 : Better place levels handling in geography view. 2015-12-26 17:09:02 +01:00
Doug Blank b793b9d068 Add labels to gen.lib object fields 2015-12-24 23:16:57 -05:00
SNoiraud 0ff9363d72 9127 : Geography : performance issue when selecting the events or places views. 2015-12-23 11:10:27 +01:00
Doug Blank ab67c786b0 Remove setuptools flag 2015-12-21 17:12:30 -05:00
Doug Blank cc97dcddbd Fixed classifiers in setup.py 2015-12-21 14:56:41 -05:00
Doug Blank bc7178ae2e Webapp: point to new github for import example 2015-12-20 09:37:39 -05:00
Ivan Komaritsyn d9ff065f4f update Russian translation 2015-12-18 21:35:51 -08:00
Doug Blank fd386c5bc6 Merge pull request #80 from tecknicaltom/add_db_to_package_core
add database plugins to package_core
2015-12-18 22:53:50 -05:00
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.

https://github.com/gramps-project/gramps/commit/5c958bd7fbaea082df6f2ce427042ad0a642815e
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
SNoiraud 714937ff5f 8950 : narrativeweb : change mtime at the bad place and made twice. 2015-12-04 11:40:55 +01:00
SNoiraud d4c923bef3 9016 : narrativeweb : refactor the previous patch using _pd.display_event() 2015-12-03 23:54:50 +01:00
Ross Gammon d8454fc826 7763: Sourceless Javascript Files in release tarball
This one removes the last hardcoded path to the local copy of jquery
and uses the online CDN provided by Google instead.
2015-12-03 21:57:37 +01:00
SNoiraud 79395f14c6 9650 : permission denied : change mtime to origin instead of destination. 2015-12-03 00:51:35 +01:00
SNoiraud 61b367ed84 9016 : narrativeweb: Place title based on current date not that of the event 2015-12-02 23:28:44 +01:00
Paul Franklin c5bbe7b04e 9041: remove temorary _DATAMAP entries (from [8fac92d])
not needed after [4c22713]
2015-12-02 08:52:19 -08:00
Nick Hall 8c66825e84 Remove redundant str conversion in tree models 2015-12-02 12:28:24 +00:00
Paul Franklin 4c22713a1a 9041: Father/mother's age attributes are not translated on reports 2015-11-30 21:49:34 -08:00
Paul Franklin 20601749e2 improve Russian date handler, and R. d.h. unittests 2015-11-29 20:13:35 -08:00
Ivan Komaritsyn 3e1e89147b improve Russian translation 2015-11-29 20:13:26 -08:00
romjerome 6a0182456b 9058: ReferencedBySelectionProxy can forget some referenced tags
Tag records list forgot tags linked with some primary objects

was on Gramps XML file format, not related to backup or tags on Person
2015-11-29 11:30:56 +01:00
romjerome 373a39ade3 Fix some punctuations 2015-11-29 11:08:56 +01:00
romjerome 8fac92d170 9041: Add missing 'Father/mother age' translation strings
temp workaround for mapping them via translation dict
2015-11-29 11:05:18 +01:00
Nick Hall b34b257d33 Unicode conversion not required for other Gtk methods 2015-11-29 00:01:05 +00:00
Nick Hall 415540e4a6 Unicode conversion not required for FileChooserDialog methods 2015-11-28 23:48:43 +00:00
Nick Hall 452fbfac80 Remove redundant unicode conversion of __file__ variable 2015-11-28 22:34:38 +00:00
Nick Hall d770c8a236 Remove unused constfunc imports 2015-11-28 22:00:51 +00:00
Nick Hall 2fad4320d6 9027: Put tag selection list in alphabetical order 2015-11-28 19:15:09 +00:00
Nick Hall 4eeebeb00a Remove redundant code 2015-11-28 18:49:22 +00:00
Nick Hall 0e59cc5f59 9079: Fix delete error in undoable entry widget 2015-11-28 18:34:16 +00:00
SNoiraud 4db9a7ff63 5905 : thumbnails html file missing in the narrative web. 2015-11-28 12:26:00 +01:00
Alan Strohm 3a39dfc81f Bug 9077: Don't check SSL certs on Mac when fetching addons. 2015-11-27 13:05:27 -08:00
SNoiraud 5180a376d6 8950 : Narrated: html elements emitted in different order with python 3 and date warning on windows 2015-11-27 21:37:34 +01:00
SNoiraud d8e7b6f801 7426 : unused *_init.jpg are created in the narrated website. 2015-11-27 21:19:33 +01:00
SNoiraud e278b66a62 7322: Some media files are not exported to the NAVWEB report. 2015-11-27 17:34:01 +01:00
SNoiraud c1c36b8ce0 8950 : forgot to remove an unused function. 2015-11-25 20:45:25 +01:00
SNoiraud 86bb86af16 8950 : Narrated Web Site Report: html elements emitted in different order 2015-11-25 19:34:09 +01:00
SNoiraud aa18f9c63a 9073 : 'Unknown' spouse uses an harcoded string name on Simple Descendants textual report 2015-11-25 17:47:18 +01:00
SNoiraud 092b26356c 9065 : Interactivesearch gives "TypeError: unorderable types: str() < NoneType()" 2015-11-25 14:52:45 +01:00
John Ralls 388aef3a92 Catch urlopen TypeError when context arg isn't supported.
Python changed the behavior and args for urllib.urlopen; the context
arg is needed to avoid cert checking in 3.4.3 and later, but isn't
supported before, where the default is to not check certs.
2015-11-14 12:19:28 -08:00
Matti Niemelä 7b6832eea7 9040: 'Narrative' word not translatable 2015-11-09 14:16:42 +01:00
Josip ba89c29c0b 8988: Name of user defined filter is not shown 2015-11-08 00:43:48 +01:00
Josip 4951f81d0d 9008: Faulty headline in start up screen 2015-11-08 00:40:35 +01:00
SNoiraud e1780c8819 9028 : Find is broken when used in the Family selector. 2015-11-02 17:04:18 +01:00
SNoiraud b3140d9bd9 0009014: "Show all" checkbox of "Select Family - Gramps" window not unchecked when the filter is cleared 2015-11-01 12:56:43 +01:00
Nick Hall 95062b7f46 Fix default selection in selectors 2015-10-27 21:38:30 +00:00
romjerome dd9984daee 9003: Locality data in address was not imported 2015-10-27 09:43:26 +01:00
John Ralls 1acd60d7f2 Fix undefined variable error. 2015-10-26 14:04:01 -07:00
John Ralls 93e3c62b99 Bug 8897 - Can not download new or updated add-ons
Apple provides a hacked OpenSSL that checks Keychain for certs after failing
to find them elsewhere (and normally there is no elsewhere). The versions
provided for OS X versions < 10.8 are obsolete, preventing building
osm-gps-maps's dependencies, so we provide our own but it can't be similarly
hacked to use Keychain because that is a private API to which Apple doesn't
provide headers.

This is at root a Python problem, see https://bugs.python.org/issue17128

To work around it, disable certificate verification for this one URL for
macs only. This does create the small security risk of a MITM attack injecting
malicious add-ons, but since the URL is user-editable a phishing attack is
more likely and there's nothing that SSL can do about that.
2015-10-25 15:06:27 -07:00
John Ralls d4c7950cc5 Bug 8929 - Installation from DMG (binary) file and port file fail.
Cause was a stray bytes qualifier in the split character.
2015-10-25 15:06:15 -07:00
Ivan Komaritsyn 29624713c4 Update Russian translation (P.R. 70) 2015-10-23 18:38:56 -07:00
Paul Franklin cd2db0b267 enable po/check_po to work on older machines 2015-10-23 18:13:15 -07:00
Nick Hall 19ab02a4f9 Merge pull request #69 from tomhughes/clipboard
Re-enable selection in the clipboard on a grab_broken event
2015-10-20 22:29:42 +01:00
Tom Hughes 201f4a5e51 Re-enable selection in MultiTreeView on a grab_broken event
As of GTK 3.18.0 a fake button release event is no longer sent when
a DnD completes:

  https://bugzilla.gnome.org/show_bug.cgi?id=749737

As a result we keep selection disabled which then means that the next
drag from the clipboard fails to select the dragged object and we wind
up trying to drop the old selection instead.
2015-10-20 22:10:42 +01:00
Paul Franklin 9e07b3e092 fix another deprecation warning (thanks to Tom Hughes) 2015-10-18 16:54:11 -07:00
Nick Hall e35b889f88 Merge pull request #68 from tomhughes/focus
Fix creation of focus change events
2015-10-18 23:50:34 +01:00
Nick Hall f7c6f61bf2 Merge pull request #67 from tomhughes/objclass
Handle citation objects in glocale.trans_objclass
2015-10-18 23:50:07 +01:00
Tom Hughes 14d314bf1a Fix creation of focus change events
This fixes a number of run time warnings of the form:

interactivesearchbox.py:195: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated.
All arguments passed will be ignored.

Which appear to represent a genuine issue as the previous way
of creating events indeed doesn't set the type.
2015-10-18 19:27:38 +01:00
Tom Hughes 289b2df9a1 Handle citation objects in glocale.trans_objclass
Without this right clicking on a citation in the clipboard
gives options like "Make See Details active" which don't make
an awful lot of sense.
2015-10-18 19:25:50 +01:00
Nick Hall faee673b42 Check that gramplet is in notebook before setting tab label 2015-10-15 18:09:57 +01:00
SNoiraud 590621ea7f Geography : 8984 : Edit place from Geography creates duplicate in the "enclosed by" tab. 2015-10-12 17:15:27 +02:00
SNoiraud 81eda27f5d Geography : 0008982: Gobject Instrospection displays a warning and ask to set a version to load. 2015-10-12 14:59:09 +02:00
Nick Hall 78fef48559 Revert gramplet id changes
This partially reverts commit 80a9597.
2015-10-11 18:06:39 +01:00
Paul Franklin a2f2659ab1 8888: Gramps Help button User Manual wiki-links 2015-10-09 13:38:34 -07:00
Nick Hall c93e16c4af 8168: Sort custom place types in editors 2015-10-09 19:08:09 +01:00
Nick Hall 88743af243 Fix error converting color into string 2015-10-09 17:47:49 +01:00
romjerome f5598a2c0f [Geography] Ignore places without hierarchy
Cannot get value if there is no levels

See country = state = county set on self.get_location()
2015-10-08 17:18:00 +02:00
Doug Blank 448ddfd721 Holidays: added cmp() for Python3 2015-10-05 20:20:11 -04:00
Nick Hall a86890002f Remove redundant io imports 2015-10-05 19:20:08 +01:00
Nick Hall 41c17c3190 Tidy up xml parser file handling 2015-10-05 18:30:56 +01:00
Paul Franklin c97a254188 Fix countries selector on Reports
use strings comparison, avoid encoded Element names
2015-10-05 16:40:10 +02:00
Paul Franklin 90dd4afd06 handle case of no intltool when doing "python3 setup.py build"
I installed my development environment on a different machine
but for some reason didn't install intltool.  But it took me
a while to notice since I normally routinely divert the output
to a file.  So it was crashing but I didn't know.

But when I examined setup.py I saw that was tested for, at least
it was supposed to be tested for.  But on my particular machine
when the test was piped into more commands the whole piped command
was returning a zero status, even though there was no intltool
at all.  So I have added an explicit test for intltool and that
does indeed fail on my machine, without one.
2015-10-04 19:14:50 -07:00
=Vlada Perić db7255febc 8971: the easter method in libholiday.py isn't Python3-friendly 2015-10-04 16:25:13 -07:00
Paul Franklin f416756809 Suggestion:Use 'People and Events.'' instead of of an 'etc' 2015-10-02 13:26:32 +10:00
Sveinn Felli eee2ba4d69 [Tips] Typo's in gramps.pot 'prefered>preferred' 2015-10-01 08:05:10 +10:00
Doug Blank 463ea1fe7e if s_tagvalue is None: 2015-09-30 06:39:00 -04:00
SNoiraud 2df26a9076 bug 8799 : verification tool : Exception raised when used with the "Estimate missing or inexact dates" 2015-09-29 09:23:50 +02:00
Sam Manzi 651e03c697 8888 'baseselector's add help urls only 2015-09-29 16:29:02 +10:00
Sam Manzi 6aadb54c9f Revert "Usability:Update initial [interface] startup defaults for (height/width)"
This reverts commit c89ae3241b.
2015-09-28 10:24:43 +10:00
Detlef Wolz 6554f43114 3670: hourglass graph report - link missing in ancestor graph 2015-09-27 13:12:01 -07:00
Sam Manzi c89ae3241b Usability:Update initial [interface] startup defaults for (height/width)
- Fully show each Category sidebar filter without having to resize initially. eg:Citation Category sidebar filter is the largest!
2015-09-26 15:03:48 +10:00
Paul Franklin 23c2345258 8936: Descendants-detailed report crashes 2015-09-24 16:44:20 -07:00
Nick Hall 3cf0e7885f Remove trailing whitespace from new date handler 2015-09-24 15:38:36 +01:00
romjerome adb32a3457 8188: Problem with existing selection in media reference editor
like selection box disappears when scrollbar appears

Now, do not expand bottom section (Media Object fields) by default

Wonder if we should not do that on all Reference Editors?
2015-09-24 10:26:14 +02:00
romjerome 2e0bef5800 More accurate french translation
thanks to Ζήσης Λ. Παπαδόπουλος
2015-09-24 10:17:32 +02:00
Sam Manzi 9b5fb6504c 8888 'baseselector & reorder relationships' glade add help button only(1/3) 2015-09-24 10:13:41 +10:00
Sam Manzi a6f4c7993d 8888 'Family Tree(manager)' add help url & button 2015-09-23 14:36:35 +10:00
Josip a73c2e4738 8937: Unable to produce graph reports [in Greek locale] 2015-09-21 18:58:53 -07:00
Sam Manzi ee58b80110 8888 'Generate Testcases' add help url 2015-09-22 07:53:09 +10:00
Paul Franklin f9ecd4b622 allow for get_dbname() returning None 2015-09-21 10:54:20 -07:00
Sam Manzi cfa76465b5 8888 'References Gramplet' rename links from 'backlink>references' for consistency on wiki 2015-09-21 13:29:21 +10:00
Sam Manzi 097bb20005 8888 'Select a media object' add help url 2015-09-20 17:09:36 +10:00
Sam Manzi a0ae11f268 8888 'Undo History' add help button & url 2015-09-19 07:19:26 +10:00
Sam Manzi 4d87d2633c 8888 'Filter dialogs' add/update help urls 2015-09-18 09:20:43 +10:00
Sam Manzi 702d033bff 8888 'Tagging dialogs' update help urls after wiki section update 2015-09-18 08:38:10 +10:00
Sam Manzi 60ccf59ae5 8888#c44511 Fix AttributeError: 'EditMediaRef' object has no attribute 'glade' 2015-09-17 07:26:13 +10:00
Sam Manzi 516155c6ee 8888 'Place Name Editor' Add New wiki section & help link 2015-09-16 09:46:30 +10:00
Lajos Nemeséri 96efa177ba 5505: Need a date handler for Hungarian locale 2015-09-15 14:05:53 -07:00
Fabrice 5a5e7a21c4 6613: Add Occupation/Profession to Relationship Graph 2015-09-15 11:57:05 -07:00
romjerome 4288649573 8914: FanChartDescendants View should at least have 2 generations 2015-09-15 12:22:58 +02:00
Sam Manzi 041b58b942 8888 'Person Reference Editor' add Help link & wiki section stub 2015-09-15 10:10:18 +10:00
Paul Franklin 0d098f1901 8930: allow hyphenated gramps-id in Graphviz reports 2015-09-14 16:43:13 -07:00
Sam Manzi bbc1cbe2ff 8888 'Link Editor' add help url 2015-09-14 10:13:41 +10:00
Sam Manzi f666baabda Ignore Glade '.glade~' temp files 2015-09-13 10:51:28 +10:00
Sam Manzi c848744e28 8888 'Editors' continue updating broken wiki help links 2015-09-13 09:04:52 +10:00
Paul Franklin 30b8dcfb91 8889: Complete Individual Report fails to run 2015-09-12 15:46:17 -07:00
Sam Manzi 2d4ec91a5c 8888 more 'Editors' update broken wiki help links 2015-09-12 17:48:50 +10:00
Sam Manzi a34b5a81d2 8888 'Edit dialogs' update broken wiki help links 2015-09-12 09:10:35 +10:00
Sam Manzi a4d42cc47e 8888:'Error Report' dialog fix help url 2015-09-11 09:22:01 +10:00
Lajos Nemeséri 4d9ebb4f44 Update Hungarian translation 2015-09-10 16:14:45 +02:00
Sam Manzi ef199c8916 Spelling: occured > occurred 2015-09-10 14:41:12 +10:00
SNoiraud f63381fed3 NarrativeWeb and cms : best approach for use of css files and relative links. 2015-09-09 10:26:29 +02:00
Sam Manzi 65c272b347 8888 'Gramplets' update broken wiki help links 2015-09-09 08:05:23 +10:00
SNoiraud 54cd19ea0d Geography : bug 8902 : ValueError: Place.set_name(name) requires a PlaceName() 2015-09-08 21:13:02 +02:00
Sam Manzi 8b5d1709a2 8888 'Media Reference Editor' link help button in glade 2015-09-08 10:56:27 +10:00
Doug Blank 976f411e6f Merge pull request #62 from gramps-project/revert-61-revert-59-javascript
Revert "Revert "7763: Sourceless Javascript Files in release tarball""
2015-09-07 18:18:43 -04:00
Doug Blank a3a96eb0ec Revert "Revert "7763: Sourceless Javascript Files in release tarball"" 2015-09-07 18:12:25 -04:00
Nick Hall 2d92101438 Replace GRAMPS with Gramps in comments 2015-09-07 21:58:52 +01:00
Nick Hall d877d02187 Tidy up Gtk constructors 2015-09-07 21:43:13 +01:00
SNoiraud dee5d46be5 Narrative web and cms : links not present. 2015-09-07 10:19:19 +02:00
Sam Manzi 8fd1fab200 Update docstrings - spelling 2015-09-07 14:52:49 +10:00
Sam Manzi fda3aff955 Update .gitignore and remove Thumbs.db file 2015-09-06 14:24:12 +10:00
Sam Manzi 1fbfa95b3f 8888 Fix some links for Tools 2015-09-06 09:24:51 +10:00
Sam Manzi 21da8c7023 8888 Fix link for Tag Selection(Selector) 2015-09-06 09:03:36 +10:00
Nick Hall de3221ca69 8833: Set TextOption widget to expand vertically 2015-09-05 17:27:37 +01:00
Nick Hall ec9371d3b1 Revert workaround for bug #8833
This reverts commit 20a57037f7.
2015-09-05 17:26:44 +01:00
romjerome 11e31e85ac minor improvements, to avoid confusions or large string 2015-09-05 10:46:58 +02:00
romjerome 20a57037f7 8833: Workaround for displaying more lines on Text box via label's height 2015-09-05 10:43:58 +02:00
romjerome 51f8fd39c2 6684: Unused Object Dialog box too small 2015-09-05 10:40:05 +02:00
Sam Manzi f4745ff717 Update a few broken help URLs 2015-09-04 16:13:25 +10:00
Sam Manzi 38c01a138b 6824#c44102 Fix outdate tip. Soundex utility > Soundex Gramplet 2015-09-04 10:16:35 +10:00
Peter Landgren e6389a7956 Updated Swedish translation. 2015-09-03 16:13:53 +02:00
Sam Manzi a92ebe3e2c 8481 Update some Tips of the day 2015-09-03 15:39:08 +10:00
Sebastian Schubert 2630bebae0 8061: FeatureRequest: Add citation in citationtreeview: automatically select source 2015-09-03 15:01:25 +10:00
SNoiraud 3c1671d09f NarrativeWeb : feature request 5530 (include in CMS or MVS) 2015-09-02 23:07:11 +02:00
SNoiraud 2d92327fbc Geography : 8866 : placeselection : changeAttributeError: 'str' object has no attribute 'value' 2015-09-02 09:48:49 +02:00
Sam Manzi d2ca05978f bump version and fix spelling 2015-09-01 08:57:26 +10:00
romjerome 82db7fea55 Let display translation string on family label 2015-08-31 18:21:09 +02:00
Sam Manzi 0666614be7 Improved Pylint score on grampsapp.py 7.44/10 (previous run: 5.56/10, +1.88) 2015-08-31 11:47:17 +10:00
Sam Manzi 3cb078cbd5 Update URL to Gramps 4.2 page 2015-08-30 14:03:00 +10:00
Paul Franklin 4482d18e17 clarify book report dialog names 2015-08-29 13:08:49 -07:00
Sam Manzi 1f56b4f6f2 GRAMPS > Gramps 2015-08-29 11:23:07 +10:00
romjerome 2830bf2b48 [Debian] Fix name and version for suggested packages 2015-08-28 09:09:40 +02:00
Sam Manzi cd23d4897b Readme - fix list 2015-08-27 11:25:01 +10:00
Sam Manzi e6467ad077 Readme - be a bit more descriptive 2015-08-27 11:23:12 +10:00
Doug Blank bb3d5fdfcc 8863: Error when extracting place names 2015-08-25 06:40:22 -04:00
Sam Manzi e1cd505aad Mention it for for addons instead of just Graph View 2015-08-25 09:42:54 +10:00
Enno Borgsteede 8e341f96b7 7595 Custom filters for note text repaired 2015-08-24 08:48:15 +10:00
Nick Hall cdee00aca2 Remove trailing whitespace 2015-08-23 18:42:07 +01:00
Sam Manzi 59b0a9ff43 Readme reorder and add travis-ci build badge for developers 2015-08-23 14:38:21 +10:00
Doug Blank 719fdfe2ae Revert "Use DbTxn from database backend"
This reverts commit 92ca9d7571.
2015-08-22 21:44:52 -04:00
Doug Blank 0601324851 Revert "DbTxn: use no_magic explicitly"
This reverts commit ecc078b891.
2015-08-22 21:44:37 -04:00
Doug Blank 1f42fe835f Revert "DbTxn: pass db to generic DbTxn"
This reverts commit 8e89ceb395.
2015-08-22 21:44:17 -04:00
Doug Blank fa053d2754 Revert "DbTxn: pass db to generic DbTxn"
This reverts commit 6f5c7f7da7.
2015-08-22 21:44:02 -04:00
Doug Blank 6f5c7f7da7 DbTxn: pass db to generic DbTxn 2015-08-22 20:21:58 -04:00
Doug Blank 8e89ceb395 DbTxn: pass db to generic DbTxn 2015-08-22 20:17:24 -04:00
Doug Blank ecc078b891 DbTxn: use no_magic explicitly 2015-08-22 20:06:14 -04:00
Doug Blank 92ca9d7571 Use DbTxn from database backend 2015-08-22 18:17:22 -04:00
Sam Manzi a9401d21d7 Convert to README to .md format 2015-08-22 19:25:15 +10:00
Sam Manzi 43fae0c326 Embrace Github and use .md for README 2015-08-22 19:04:04 +10:00
Sam Manzi bad9d747e1 Update links to 4.2 user manual etc.. 2015-08-22 18:56:51 +10:00
Sam Manzi 57a846f40a Create a .mailmap file to map from the wrong email ids and / or names to the right ones 2015-08-22 11:53:57 +10:00
Sam Manzi d62c45712d Update outdated links for http://sphinx-doc.org/ 2015-08-22 10:28:08 +10:00
Doug Blank 322d90f43b Travis: create a temp Django database so we can test 2015-08-21 18:27:59 -04:00
Doug Blank 7ad5262678 Travis: changes for webapp to pass tests 2015-08-21 17:46:03 -04:00
Doug Blank e7a0c6c05b Webapp: updates for new interface 2015-08-21 17:34:20 -04:00
Doug Blank 4f4fe6c0de Webapp: changes for web portion to use new Django interface 2015-08-21 17:24:14 -04:00
Doug Blank a93872a0f3 Fix for exponential cost on treeviews; whitespace cleanup 2015-08-21 09:45:59 -04:00
Doug Blank e5d6be61f8 Return None if Object.create(None); white space cleanup 2015-08-21 08:14:22 -04:00
Doug Blank ccbed9cb95 Don't repeatedly check for existing records; whitespace cleanup 2015-08-21 08:14:11 -04:00
Hivernat Emmanuel 5bb4021b2a 8824 Fix Pedigreeview crash when selecting Compact view 2015-08-21 16:44:18 +10:00
Reinhard Mueller a5cad3488a 5625 Records report & Gramplet add biggest/smallest age difference for couples 2015-08-21 16:25:08 +10:00
Doug Blank f8d04b5cb8 Merge pull request #56 from belissent/master_test2
Environment variables in mediapath
2015-08-20 12:23:42 -04:00
belissent 82eb6e17ac Create a GRAMPS environment ENV for variables substitutions in paths 2015-08-20 14:04:21 +02:00
Sam Manzi b9ff5b1525 Replace hardcoded G R A M P S 3.4.0 string with Non-breaking space instead. 2015-08-20 11:46:00 +10:00
Pierre Bélissent 4bbae0e46a Fix for "Environment variables in mediapath" 2015-08-19 20:24:40 +02:00
Doug Blank cf03abcbc9 Merge pull request #55 from belissent/master_test
Remove useless 'git clone' in .travis.yml
2015-08-19 10:35:35 -04:00
belissent 5d654d402a Environment variables in mediapath
The mediapath could now be a relative path from database location,
or use variables ($GRAMPSHOME, $GRAMPS_RESOURCES, etc.)
2015-08-19 16:26:59 +02:00
belissent 51f66f1a6a Remove useless 'git clone' in .travis.yml 2015-08-19 15:32:57 +02:00
Doug Blank 65ff7340af Views: start with treeviews (grouped) as initial views
This makes the loading consistent (prior, either marked start
could be first), and also the grouped views are imagined to
be the faster loading views.
2015-08-18 13:45:59 -04:00
Doug Blank b601402ea5 8377: added sibling lookup cache 2015-08-18 11:44:06 -04:00
Doug Blank c1afa6513c Removed duplicate 'database-changed' signal, which was loading data in GUI twice 2015-08-18 07:55:44 -04:00
Sam Manzi fdb8704bac Update Sphinx files - includes make.bat for windows 2015-08-18 12:05:25 +10:00
Sam Manzi 31005bf939 Silence Sphinx warning for html_theme setting change default to classic to keep using the old default. 2015-08-18 10:53:26 +10:00
Sam Manzi 4bb1c0aa92 update comment to Note Link Report 2015-08-18 10:16:36 +10:00
Nick Hall d76757ddb4 8775: Avoid using person-centric date matching for places 2015-08-17 19:25:33 +01:00
Doug Blank 6980bb62d6 DB: New method, db.remove_instance(instance, transaction)
Delete an instance of a primary object from the database.
2015-08-17 13:42:14 -04:00
Doug Blank bc2d7167e6 Merge PLace: show place type next to merge names 2015-08-17 12:38:08 -04:00
Doug Blank 1fc5fb437b TreeModel path cache: clear path cache when data changes...
* Allow to disable by setting interface.treemodel-cache-size to 0
* Protection if mode/view gets different
2015-08-17 10:48:12 -04:00
Doug Blank 269a1ab6f5 Added config value interface.treemodel-cache-size to control size of cache
Default size set to 1k for paths and other items.
2015-08-17 08:02:53 -04:00
Doug Blank de61d7158b TreeBaseModel: protection from removed data 2015-08-17 07:09:30 -04:00
Doug Blank 4fcdd8c4a6 8377: cache path 2015-08-17 05:42:37 -04:00
Doug Blank 12e9764fdd Cut in half the time to load treeviews: people tree, place, and citation tree views 2015-08-16 17:19:59 -04:00
Doug Blank 9b93a812d3 8377: Slow scrolling in Gramps 4.X, on all platforms. 2015-08-16 10:23:44 -04:00
Doug Blank 91e8abf8a5 DictionaryDb: _repository_dict typo 2015-08-15 17:31:59 -04:00
Nick Hall 98dbe59e64 8789: Use place title as default name in GEDCOM import 2015-08-15 22:25:17 +01:00
Nick Hall 09b2e33e01 8810: Ensure place names are not empty after upgrade 2015-08-15 21:41:57 +01:00
Nick Hall 38a8c3e3b1 8842: Fix proxy to include all referenced place objects
The referenced by selection proxy needs to include places that
enclose referenced places.
2015-08-15 19:06:48 +01:00
Doug Blank cc83bbbfb9 FanChart: moved constants to const.py for reuse without GUI 2015-08-13 18:50:23 -04:00
Doug Blank 353725291a Narrative Web Report: use BasePlugMan instead of GuiPlugMan 2015-08-13 18:28:05 -04:00
Doug Blank 134ba5bf2e Moved gui.thumbnails to gen.utils: useful without gui 2015-08-13 17:57:19 -04:00
Doug Blank b4a5fc91f0 DjangoDb: load/save metadata details; commit details 2015-08-13 16:00:17 -04:00
Doug Blank 0e966f706e Django: documentation, added get_surname_list 2015-08-12 21:42:11 -04:00
Doug Blank f7afd1fa75 DjangoDb: now with new Metadata table 2015-08-12 20:36:43 -04:00
Doug Blank e45dc665c9 GenericDb: assign a temporary gramps_id, for those dbs that need a non-null value 2015-08-12 12:17:09 -04:00
Doug Blank f7d357e8fc GenericDb: need to force gramps_ids another way for Django 2015-08-12 12:04:49 -04:00
Doug Blank 3a64dd25f4 Databases: deal with TAG_KEY; assign gramps_id, if necessary 2015-08-12 11:21:37 -04:00
Doug Blank 0e866008b1 djangodb.py; added missing file 2015-08-12 09:15:27 -04:00
Doug Blank b1db247a63 DjangoDb: currently gramps.webapp contains copy of addon code 2015-08-12 08:37:53 -04:00
Doug Blank 32bbce8ccd Databases: removed prepare_import/commit_import; updated Django places 2015-08-12 07:42:19 -04:00
Doug Blank e5a77a60f6 OpenOrStdin/out: add encoding 2015-08-11 15:03:27 -04:00
Doug Blank dbb1644136 8823: New items in generic databases don't not get next gramps_id, but start from 0 2015-08-11 12:24:46 -04:00
Doug Blank a76fa8d0c7 DbManager and -L: show counts of all primary objects 2015-08-11 11:22:01 -04:00
Doug Blank b772d6e06a DbManager: make Info sorted by setting name 2015-08-11 08:50:22 -04:00
Doug Blank be27f43978 DbManager: make Info look better 2015-08-11 08:45:57 -04:00
Doug Blank 96241bd77b ViewManager: added Info button that shows -L info for db 2015-08-10 22:42:27 -04:00
Doug Blank d02640b6d1 DictionaryDb: genderStats needs to be dict of TUPLES 2015-08-10 19:36:49 -04:00
Craig J. Anderson 67ae0e5b1e Fix for error
https://gramps-project.org/bugs/view.php?id=2588
2015-08-09 20:15:34 -04:00
Doug Blank 46229b2e27 gen.db.base: protection from missing parent 2015-08-09 15:16:26 -04:00
Doug Blank ea591bfb17 GenericDB: fixed error in order_by_tag_key 2015-08-09 14:29:25 -04:00
Nick Hall c2e361e7e4 8517: Remove copy button from family tree manager 2015-08-09 18:36:36 +01:00
Nick Hall 6ff73c4e36 Suppress deprecation warnings in intltool-update 2015-08-08 21:31:10 +01:00
Doug Blank 91934419c0 BSDDB: don't count person twice 2015-08-08 10:11:36 -04:00
Doug Blank fe73500545 Database API: add common count_func to _tables 2015-08-08 09:51:31 -04:00
Doug Blank 044307661b 8112: Common means nick, call, or otherwise first of given 2015-08-08 00:27:07 -04:00
Doug Blank 8a2309ee37 Rearranged Name format codes to better read; changed Common 2015-08-08 00:25:52 -04:00
Doug Blank 1e7ab9f847 DictionaryDb: removed linear lookups 2015-08-07 21:45:45 -04:00
Doug Blank 1b71908bca clidbman and arghandler: use database-backend for CLI imports 2015-08-07 19:24:37 -04:00
Doug Blank 644fff5f18 ArgHandler: allow gramps -C create to use dbid database backend type 2015-08-07 18:22:24 -04:00
Doug Blank bc3dc4a516 DictionaryDb: rebuild all on load 2015-08-07 12:36:19 -04:00
Nick Hall 9147ce859b 8637: Use keyword arguments to initialise Adjustment widgets
This should prevent the value being set to zero or the minumum
limit incorrectly.
2015-08-07 16:12:20 +01:00
Doug Blank 8499a0f660 ImportCSV: remove debugging code 2015-08-07 11:10:29 -04:00
Doug Blank 482c2ae5b8 ImportCSV: allow person, family, and marriage to reference places with place_id columns 2015-08-07 09:56:06 -04:00
Doug Blank 7481e7d462 ImportCSV: removed duplicate entry; added 'enclosedby' 2015-08-07 08:05:19 -04:00
Sam Manzi 94955b5450 Merge pull request #53 from orner/bug8471
8471: Set "visable_window" in GtkEventBox to fix transparency.
2015-08-07 15:35:51 +10:00
Doug Blank 52bff9e90e Webapp: removed megabytes of unneeded sql (thanks Sam) 2015-08-07 00:38:44 -04:00
Doug Blank 2d217e17e6 Error in loading addon will now show in debug log 2015-08-07 00:37:28 -04:00
Doug Blank 975572e858 Removed private methods in GenericDb; fixed errors in DictionaryDb 2015-08-06 23:29:37 -04:00
Lance Orner 41903670ed 8471: Set "visable_window" in GtkEventBox to fix transparency.
Was showing transparent background in a Compiz environment without
this option "visable_window" being explicitly set.
2015-08-06 19:49:44 -07:00
Doug Blank 8bedb03d1d 6767: WIP, allow opening of database without using filesystem 2015-08-06 13:22:44 -04:00
Doug Blank f4553d967f DictionaryDb: use new gramps.gen.db.generic API 2015-08-06 12:59:15 -04:00
Doug Blank 90bf38e3c6 Added gramps.gen.db.generic for common non-bsddb database implementations 2015-08-06 09:25:10 -04:00
Sam Manzi a217f2e853 Merge pull request #52 from RossGammon/html_view
webkit dependency no longer required, HTML View removed
2015-08-05 10:38:39 +10:00
Ross Gammon 346722a391 webkit dependency no longer required, HTML View removed 2015-08-04 20:43:42 +02:00
Doug Blank d42fa602ed ExportCSV: allow lowercase matching of place type 2015-08-04 08:38:48 -04:00
Doug Blank 2c6a5a2abf Added Places to CSV import/export 2015-08-03 20:41:42 -04:00
Doug Blank c438b7d145 All sidebars with Types should show custom types in combo list 2015-08-03 12:01:20 -04:00
Jérôme Rapinat caa3dfd8eb 8774: Wrong italian sentence in tip of the day
patched by Daniele
2015-08-03 16:36:42 +02:00
Zdeněk Hataš 3c33baa69c czech translation update 2015-08-02 13:56:28 +02:00
Nick Hall 332c9e63cf Tidy up style editor layout 2015-08-01 21:13:00 +01:00
Nick Hall 82447881a5 Fix style name bug in style editor 2015-08-01 19:43:20 +01:00
Nick Hall 0f0763f86d 5693: Set some dialog response codes
The response codes are used to position the buttons in the dialog
action area.
2015-08-01 19:29:06 +01:00
Doug Blank ec6b6d98f2 7160 and 7403: property name needed in glade file; added hint on right-click 2015-08-01 10:27:48 -04:00
Doug Blank 37d2d7b809 Updated example/gramps/data.gramps with researcher info 2015-08-01 09:45:44 -04:00
Nick Hall 2c81ff26dc 8778: Avoid using place objects during database upgrade 2015-07-31 23:41:01 +01:00
Doug Blank ee1c98b8a0 8765: Incorrect date used for date arithmetic 2015-07-31 14:12:22 -04:00
Doug Blank f1cc01eb1a 8768: Gramps throws fatal error when trying to delete a family 2015-07-31 07:08:51 -04:00
Josip f7280f13d7 8766: GraphViz does not seem to like double-quotes in Given names 2015-07-31 00:41:35 +02:00
Josip 36404caad8 7403: Unexpected error with coping data between DB Owner and Preferences 2015-07-31 00:33:54 +02:00
Doug Blank 32f6024520 8772: Copy values from previous gramps.ini when upgrading; fixed typo 2015-07-30 12:32:50 -04:00
SNoiraud defdec493e Geography: 8375 : Must test if kml file exists. 2015-07-30 10:08:54 +02:00
Doug Blank 03f890f4ad 8772: Copy values from previous gramps.ini when upgrading 2015-07-29 21:23:55 -04:00
Jérôme Rapinat 0ffca35214 Fix some mismatching keys on translations 2015-07-29 20:51:03 +02:00
Nick Hall 170f7bf196 8701: GEDCOM version should be exported as 5.5.1 2015-07-29 19:02:55 +01:00
Nick Hall d190e4419b Increase minimum pygobject version required to 3.12 2015-07-29 14:22:36 +01:00
elderamevans c9e23628d7 Fix 'python' filename under Windows
executable named 'python.exe' whatever major python version (2 or 3)
2015-07-29 11:06:46 +02:00
Josip a6712e151a 8764: [Compare Individual Events :Tool ]
Selecting "Save" causes a UnicodeEncodeError error
2015-07-29 04:35:41 +02:00
Jérôme Rapinat ed6ffd03fa Revert temp workaround for el, vi, zh* translations 2015-07-28 21:00:15 +02:00
Jérôme Rapinat dc90fd866d 'update_po.py' should use python3
Revert temp workaround for el, vi, zh* translations
2015-07-28 20:56:23 +02:00
Richard Bos (radoeka) 40ed6ed31a Pull request #51: improvements for Dutch translation 2015-07-28 18:45:46 +02:00
Jérôme Rapinat bd578a1c0d Temp workaround for el, vi, zh_* 2015-07-27 10:25:34 +02:00
Jérôme Rapinat 173b630b2d Temp workaround for an ascii UnicodeEncodeError into console 2015-07-27 10:14:26 +02:00
Ondrej Krč-Jediný 792715f210 Pull request #49: update Slovak translation 2015-07-27 08:57:15 +02:00
Nick Hall a24e3f9360 Make place title in GEDCOM export date dependent 2015-07-25 23:10:31 +01:00
Doug Blank 00bd848ab4 Merge pull request #48 from sam-m888/7553GraphviznotGraphViz
7553 Change GraphViz to Graphviz
2015-07-25 09:33:20 -04:00
Josip 22c32f4c92 8745: cli_test.py needs OS specific path to find Python interpreter 2015-07-25 00:15:17 +02:00
Doug Blank 9ddc1cb487 7261: Import GEDCOM file from MyHeritage, added __str__ to Attribute 2015-07-21 10:18:25 -04:00
Doug Blank 4358bb9f94 8719: AttributeError: 'NoneType' object has no attribute 'set_cursor' 2015-07-20 07:55:10 -04:00
Doug Blank 6cc3ec2eff 8732: Media: Radiobox's Include label is missing from the Gramps XML Backup dialog 2015-07-20 07:27:29 -04:00
Doug Blank cb82d9f3f4 docbackend: protect from sytledtexttag with value is None 2015-07-20 07:18:24 -04:00
Doug Blank 946d020aff 8725: right-click on Citation in Clipboard 2015-07-19 18:53:43 -04:00
Doug Blank 5d6af8923f 8725: Create Filter from the [xxxxx] selected, in Clipboard (and add use_regex) 2015-07-19 11:32:37 -04:00
Doug Blank 6d1689467e Merge pull request #47 from sam-m888/8352changelessertoless
8352 Change "lesser than" to "less than"
2015-07-19 07:51:54 -04:00
Doug Blank 2bc697d1e3 8730: Error Report Assistant fails 2015-07-19 07:48:48 -04:00
Sam Manzi d3b7efa0a6 7553 Change GraphViz to Graphviz 2015-07-19 14:24:33 +10:00
Sam Manzi a40c865c1a 8352 Change lesser than to less than 2015-07-19 11:38:07 +10:00
Doug Blank addf9169f7 8730: Error Report Assistant fails 2015-07-18 21:17:40 -04:00
Doug Blank 7c40164022 Merge pull request #45 from cjmayo/docstring
Stop using concatenation to create docstring
2015-07-18 18:51:40 -04:00
Doug Blank feff543aaa Merge pull request #46 from sam-m888/fixwording4BsddbUpgradeRequiredError
8726:43320 Fix two different wordings on button for
2015-07-18 18:51:24 -04:00
Sam Manzi 878a1de804 8726:43320 Fix two different wordings on button for BsddbUpgradeRequiredError 2015-07-19 08:46:20 +10:00
Doug Blank f7e9a34a10 Gramps -L: cleanup, standardize 2015-07-18 17:59:46 -04:00
Chris Mayo 0725bfe33d Stop using concatenation to create docstring
Fixes gramps failing to start if file is byte-compiled and optimized
which sets __doc__ to None.
2015-07-18 20:43:43 +01:00
Doug Blank cf5d847c32 8727: Gramps -L leaves all BSDDB type trees locked
Don't even open if locked.
2015-07-18 14:34:02 -04:00
Paul Franklin 2fe71bfe4e 8728: Merge citations caused crash 2015-07-18 11:05:59 -07:00
Doug Blank b6999bb56f 8727: Gramps -L leaves all BSDDB type trees locked 2015-07-18 11:19:07 -04:00
Nick Hall 1488420292 Remove redundant code since Gtk 3.10 required 2015-07-15 19:53:48 +01:00
Paul Franklin e6a4b8dc45 fix check_po to work with lexemes in po files 2015-07-15 10:44:23 -07:00
Paul Franklin 32c53eba82 8572: gramps crashes if gtk < 3.10 2015-07-14 22:19:53 -07:00
Paul Franklin d5670b65b7 Revert "8572: gramps crashes if gtk < 3.10"
This reverts commit f2e6f0aa45.
2015-07-14 16:00:14 -07:00
Paul Franklin f2e6f0aa45 8572: gramps crashes if gtk < 3.10 2015-07-14 12:40:27 -07:00
Doug Blank 600db1596e Merge pull request #43 from sam-m888/8702UpdateMapServicelinksOpenStreetMap
8702 Update Map Service links for OpenStreetMap
2015-07-14 07:02:57 -04:00
Doug Blank ed2a5bcdff Merge pull request #41 from ennoborg/maintenance/gramps41
8663: add exception for UnicodeEncodeError.
2015-07-13 23:14:35 -04:00
Doug Blank 4f883d6c8c Merge pull request #44 from sam-m888/6908popupmenuclipboardgrampletfix
6908 partial for fix popup menu for clipboardgramplet
2015-07-13 21:25:23 -04:00
Sam Manzi 2cbfb7111a 6908 partial for fix popup menu for clipboardgramplet 2015-07-14 11:18:21 +10:00
Doug Blank 4ad90670ce Merge pull request #42 from sam-m888/fixissues2462linguist
Make Github recognise Gramps as a Python project
2015-07-13 20:53:48 -04:00
Sam Manzi a9a4b40a01 8702 Update Map Service links for OpenStreetMap 2015-07-14 10:51:10 +10:00
Sam Manzi 348189d100 Make Github recognise Gramps as a Python project 2015-07-14 10:19:04 +10:00
Doug Blank ad55a28e08 Dbstate: update docstring example on apply_proxy 2015-07-13 18:08:59 -04:00
Doug Blank ff36ddaa00 ProxyDb: return bytes(handle) like actual database 2015-07-13 17:18:18 -04:00
Doug Blank 85a000ce67 events gramplet: check for existing family 2015-07-13 13:19:59 -04:00
Doug Blank b0ca451c78 treebasemodel: removed spurious exception 2015-07-13 13:19:23 -04:00
Doug Blank 4942b84a56 children gramplet: protect from crash when no family 2015-07-13 11:21:17 -04:00
Jérôme Rapinat 911f9aa75e Debian: do not need to recommend devel package 2015-07-12 16:37:45 +02:00
Paul Franklin 667afeb861 4089: fix Lithuanian date parser (another y-m-d one) 2015-07-09 23:21:20 -07:00
Paul Franklin a65a35f011 fix date parser for y-m-d locales (e.g. Hungarian) 2015-07-08 10:12:08 -07:00
Jérôme Rapinat 00a547b2bd 8683: keep support for XML v1.7.0 2015-07-06 15:48:11 +02:00
Jérôme Rapinat 0f86d84dca 8683: Bump to Gramps XML 1.7.1 2015-07-06 15:06:10 +02:00
Paul Franklin e3b4abc1e0 8623: Detailed Descendant Report - only first family event output 2015-07-05 13:42:57 -07:00
Florian Preinstorfer aaa64bed8e Pull Request #38: install grampsxml.{dtd,rng} files. 2015-07-05 11:19:49 +02:00
Jérôme Rapinat 449a0d73a3 8683: Cover custom types on DTD and RNG files
Now, xmllint passes '--dtdvalid' and '--relaxng'
2015-07-05 11:12:04 +02:00
Jérôme Rapinat 84ee76afa7 8683: polish; remove old reference 2015-07-05 11:10:48 +02:00
Jérôme Rapinat 444c8f95e1 8683: fix duplicate <name> element on pre-1.7.0 XML version
XML: use <pname> tag into place hierarchy instead of duplicate <name>
2015-07-05 11:09:19 +02:00
Paul Franklin 223d41a99d cover pathological case (perhaps from privacy proxy) 2015-07-04 19:31:25 -07:00
Gerald Kunzmann 45a6c0c108 8648: Print Gramps IDs in familygroup report 2015-07-03 14:49:14 -07:00
Paul Franklin ef7e3964a1 8670: Crash when trying to create a book 2015-07-02 19:26:29 -07:00
Paul Franklin 3a9834bcfb 8666: statistics report does not run (filter?) 2015-07-01 21:45:55 -07:00
Paul Franklin 8ade35b5f2 8677: Narrated Web report failed 2015-07-01 17:19:39 -07:00
Paul Franklin c2d1ff911b 8666: statistics report does not run (filter?) 2015-06-30 08:23:52 -07:00
Jérôme Rapinat a8da5e869c 8572: gramps crashes if gtk < 3.10; workaround for debian (packaging) 2015-06-29 11:19:12 +02:00
Josip ed32c1fc86 8667: SVG Document output 2015-06-28 15:16:32 -07:00
Doug Blank 4162b123da 8577: Statistics Charts report crashes in Windows 4.1.3 AIO
Changed 0 to actual number of people in database.
2015-06-28 14:40:46 -04:00
Nick Hall 563f8e263d Replace "Title" with "Enclosed By" in place sidebar filter 2015-06-28 19:31:41 +01:00
Nick Hall 741d192f1f Fix IsEnclosedBy rule for non-existent places 2015-06-28 19:11:42 +01:00
Paul Franklin 640101c13a 8666: statistics report does not run (filter?) 2015-06-27 12:48:46 -07:00
Nick Hall 90872feeb4 8645: Use place displayer when sorting places in narrated web report 2015-06-27 19:34:49 +01:00
Jérôme Rapinat ef921f22c3 Update/Migrate 'data.gramps' 2015-06-27 15:01:21 +02:00
Jérôme Rapinat 62082a4737 Update/Migrate 'example.gramps' and XML schema files 2015-06-27 14:53:29 +02:00
Paul Franklin d81e18258c 8661: Errors producing Ancestor Tree (4.2.0beta1) 2015-06-26 11:03:24 -07:00
Jérôme Rapinat a37e3b1210 8645: add GobjectIntrospection dependency
Fix Lintian issue: 'python-script-but-no-python-dep'
2015-06-25 20:14:23 +02:00
Nick Hall 18aca697c9 8643: Workaround for excessive height of rule editor window
The height of the Gtk.Box containing the rule name and description
labels is calculated incorrectly.  The parent widget seems to
think that the label text is wrapped onto many lines.

This workaround sets a minimum label width which makes the problem
less apparent.
2015-06-24 22:05:46 +01:00
Nick Hall 842d1490be Tidy up and remove redundant code 2015-06-24 22:05:46 +01:00
Nick Hall 4aa97cff03 Merge pull request #39 from elderamevans/patch-1
Add Trujillo Peru to LDS temple codes
2015-06-24 21:35:48 +01:00
elderamevans 510916e1ee Trujillo Peru
https://github.com/FamilySearch/temple-codes/blob/master/temples.xml
https://github.com/FamilySearch/temple-codes/commit/e4150c986b6c83271fab531ad1b4f082d20d96fb
2015-06-24 10:49:36 -06:00
Fedik 254dffd0cd Update Ukrainian translation 2015-06-23 21:11:37 +03:00
Josip d0c8fd056b Set parent of ProgressMeter 2015-06-20 03:57:54 +02:00
Josip 97ced02208 set remove unused objects dialog transient parent 2015-06-20 01:47:41 +02:00
Jérôme Rapinat 63a0f4b27a Update DEBIAN stuff
For more recent environments; python3, pybuild
2015-06-19 16:19:27 +02:00
kulath c9d7b00c0c 0008537: Gedcom import crashes. Fix problem when matching places with
the same name which are enclosed by different places.
2015-06-18 22:54:45 +01:00
Leonhaeuser 2898d122cc update German translation 2015-06-18 21:46:47 +02:00
Enno Borgsteede 41cfe9f4c9 0008639: check buttons misaligned in remove unused objects dialog 2015-06-18 19:16:53 +01:00
Nick Hall 8d6ffbeaec Remove executable permission from gedcom file 2015-06-18 14:18:36 +01:00
Nick Hall 16870116e6 Remove executable permission from python code 2015-06-18 14:12:37 +01:00
Nick Hall 7e2e5a6ec0 Remove executable permission from png files 2015-06-18 13:42:13 +01:00
Doug Blank 933baf8d2e WIP webapp: largley working again
1. Changed personform.model.gender_type to personform.model.gender_type_id
(no idea why this was needed)

2. Take care of cache default, and Tag save
2015-06-17 11:29:38 -04:00
Doug Blank 87983a0aa7 WIP webapp: two changes to make work with Django 1.6:
1. Forms no longer allow and pass keywords to models. So, we catch
   the keyword (save_cache) set it to the instance, and use that.

2. In templates, apparently not able to pass form.model.item. Will
   need to be able to get access to it in render().
2015-06-17 09:03:32 -04:00
Doug Blank 11f294160d 8537: Gedcom import crashes; kulath patch 2015-06-17 08:00:39 -04:00
Doug Blank 92e084fcf7 8614: addresses pickleupgrade.txt issue, by kulath 2015-06-17 06:34:16 -04:00
Doug Blank f49bef24d6 webapp: removed legacy PNG code; update test runner for Django 1.7 2015-06-16 11:03:11 -04:00
Doug Blank 5a71d8f3bc 7603: tab font of gramplet 'details' not like other gramplets 2015-06-16 07:53:31 -04:00
Lajos Nemeséri ec020e8e3b Update Hungarian translation 2015-06-16 08:16:49 +02:00
Doug Blank 8797caa2db Merge pull request #35 from RossGammon/8047-resourcepath
8047 - Add new --resourcepath option to setup.py
2015-06-15 17:46:16 -04:00
Ross Gammon 602fa041d6 8047 - Update INSTALL file to document --resourcepath option 2015-06-15 22:35:32 +02:00
Ross Gammon 019c78285a 8047 - add resource path option to setup.py
With this additional option to setup.py, a path to where the
resource-path will be installed can be supplied. This is needed
when building Gramps out of the source tree, otherwise the temporary
location is stored in the resource-path file and Gramps cannot find
it resources.
2015-06-15 22:03:10 +02:00
Doug Blank 5950c7711a SimpleAccess: sort by surname; fixes crash in python3 2015-06-14 22:02:40 -04:00
Doug Blank f1984dad87 Merge pull request #34 from RossGammon/packagermode
Remove setup.py --enable-package-mode option text from INSTALL
2015-06-14 13:06:12 -04:00
Doug Blank 4c47a396a8 8634: DB-API Database backend doesn't compute inverse filters correctly 2015-06-14 09:56:58 -04:00
Doug Blank 8b4c5c4ebe undoredo: added missing item 2015-06-13 21:35:56 -04:00
Doug Blank 9eef80afb0 undoredo: changes to work with general backend 2015-06-13 19:33:57 -04:00
Nick Hall edae9faaec Validate place name language 2015-06-13 18:45:38 +01:00
Ross Gammon d82ce1e9a5 Remove setup.py --enable-package-mode option text from INSTALL
This option is not used anymore and reports an error if used.
2015-06-13 16:52:49 +02:00
Jérôme Rapinat 8058cea0ca Merge NEWS (releases on 41 branch) 2015-06-12 16:48:18 +02:00
Hivernat Emmanuel b346dce2b3 7347: fix a bug 'on mouse over' event 2015-06-12 16:36:49 +02:00
Josip 7ea583bedd 8625: Cannot open Citation references from Clip Board 2015-06-12 16:23:25 +02:00
Leonhaeuser 64c9c08744 update German translation 2015-06-10 23:05:58 +02:00
Doug Blank 156006567a DbState: added import_from_filename 2015-06-10 06:49:50 -04:00
Jérôme Rapinat 5e23fa5fcb Remove one remaining context argument 2015-06-08 19:28:43 +02:00
Zdeněk Hataš 80fb5916cd czech translation update 2015-06-07 22:13:40 +02:00
Jérôme Rapinat 6f3bec036e Remove context into glade file
Gramps (python) is not ready for supporting msgctxt for now
2015-06-07 20:22:00 +02:00
Jérôme Rapinat 2e214a1248 update template 2015-06-07 20:20:11 +02:00
Jérôme Rapinat c7afce1592 Update translation references 2015-06-07 20:17:26 +02:00
Jérôme Rapinat 123e376aba Remove some unicode stuff for python3 2015-06-07 19:45:47 +02:00
Jérôme Rapinat 6b3aee848d 2531: Short cut keys does not work in 'Change Event Types' dialog 2015-06-07 19:23:03 +02:00
Jérôme Rapinat 1195448f14 7476: letter as custom paper size generated a ValueError 2015-06-07 19:19:07 +02:00
Zdeněk Hataš 47cdc1e54d date handler fix 2015-06-07 10:54:21 +02:00
Zdeněk Hataš bfb7f1536b translation and dateparser fix 2015-06-07 10:39:50 +02:00
Doug Blank 2f0496d0a3 8621: Recursion Filter error 2015-06-06 19:56:34 -04:00
SNoiraud abf785be5e Geography : bug 8612 and 8616 : gtk 3.16 introspection problem and change for new place structure. 2015-06-06 19:04:17 +02:00
Zdeněk Hataš 2a7bf82cf5 czech translation update 2015-06-06 17:04:58 +02:00
Doug Blank af7348a987 Added config 'database-backend' preference; removed backend dialog 2015-06-06 10:23:27 -04:00
Doug Blank 3f48a504d4 bsddb: fixed unittests 2015-06-06 07:20:45 -04:00
Zdeněk Hataš b13c731aa5 czech translation fixes
inflection fixes
2015-06-06 11:04:50 +02:00
Sam Manzi 45673e847d Merge pull request #26 from gramps-project/geps/gep-032-database-backend
Geps/gep 032 database backend
2015-06-06 14:40:57 +10:00
Josip 05cbb506de Data Verify Tool: fix set transient parent 2015-06-05 12:34:16 +02:00
Josip 184c6821a7 Relationship Calculator: fix set transient parent 2015-06-05 12:30:32 +02:00
Doug Blank a309e858d3 Merge pull request #33 from sam-m888/master
country > county
2015-06-05 00:33:39 -04:00
Sam Manzi 7751be7308 Merge pull request #1 from sam-m888/sam-m888-patch-1
Correct spelling & stop duplicate key
2015-06-05 13:22:34 +10:00
Sam Manzi e34993ce31 Correct spelling & stop duplicate key 2015-06-05 12:24:33 +10:00
Josip ce6f6f8d1a 8619: Relationship Calculator - can't select person to relate to 2015-06-04 23:06:54 +02:00
Doug Blank 0060b078df Merge pull request #32 from gramps-project/sam-m888-patch-6
Hide unused code
2015-06-04 12:46:46 -04:00
Doug Blank 6e2d7fb591 Merge pull request #31 from gramps-project/sam-m888-patch-5
Remove duplicate line in dictionary
2015-06-04 12:46:27 -04:00
Doug Blank 7dc9530ddb Merge pull request #30 from gramps-project/sam-m888-patch-4
spelling correction to stop duplicate key
2015-06-04 12:46:12 -04:00
Doug Blank 30336981f2 Merge pull request #29 from gramps-project/sam-m888-patch-3
Spelling mistake inlae > inlaw
2015-06-04 12:45:59 -04:00
Doug Blank 93da88b588 Merge pull request #28 from gramps-project/sam-m888-patch-2
6366: Correct text on "Display tab"
2015-06-04 12:45:38 -04:00
Doug Blank 596f61dfd9 Merge pull request #27 from gramps-project/sam-m888-patch-1
Fix outdated "Tags" help link
2015-06-04 12:43:37 -04:00
Matti Niemelä 2e8bd59aa2 update Finnish translation 2015-06-04 16:54:22 +02:00
Sam Manzi 713758ebcc Hide unused code 2015-06-04 20:28:54 +10:00
Sam Manzi 88df89c508 Remove duplicate line in dictionary
'all families': _('Filtering_on|all families')
2015-06-04 20:22:27 +10:00
Doug Blank 195afaa5b9 Corrupted po/nl.po; replaced from gramps42 2015-06-04 06:11:49 -04:00
Sam Manzi bee797007d spelling correction to stop duplicate key
country > county
2015-06-04 19:52:15 +10:00
Sam Manzi aa8109903b Spelling mistake inlae > inlaw 2015-06-04 19:45:56 +10:00
Sam Manzi 90ac188e8b 6366: Correct text on "Display tab"
from "sidebar" to "Navigator"
2015-06-04 17:01:06 +10:00
Sam Manzi 5f1b4a792a Fix outdated "Tags" help link 2015-06-04 13:01:30 +10:00
Zdeněk Hataš fdd7aefc20 czech translation update 2015-06-03 17:33:36 +02:00
erikdrgm ef846ce384 Updated 150602 Dutch translation 2015-06-02 20:47:13 +02:00
erikdrgm 842b88d244 Updated 150602 Dutch translation 2015-06-02 20:39:09 +02:00
Doug Blank 7bcb629547 Updated backends to 5.0; moved Django and DBAPI to addons 2015-06-02 10:55:38 -04:00
Doug Blank 56796d57b4 Merge branch 'master' into geps/gep-032-database-backend 2015-06-02 10:45:51 -04:00
Doug Blank 4ee8ac2585 DB-API: Sped up get_tag_from_name 2015-06-01 21:13:38 -04:00
Doug Blank 71c790a261 Bump all version numbers to 5.0 2015-06-01 13:16:08 -04:00
Doug Blank 8317f579c2 Merge branch 'master' into geps/gep-032-database-backend 2015-06-01 07:29:37 -04:00
Doug Blank 0b2ad1df35 DB-API: only backup when changes; fixed has_changed 2015-05-30 08:19:13 -04:00
Doug Blank 5b2bc78108 DB-API: allow low-level map import 2015-05-30 07:54:59 -04:00
Doug Blank a213f92f0d DB-API: support dbdid 2015-05-30 07:22:30 -04:00
Doug Blank 07673be08c Merge branch 'master' into geps/gep-032-database-backend 2015-05-30 07:11:45 -04:00
erikdrgm 7022c9af5a Merge branch 'master' of github.com:gramps-project/gramps 2015-05-29 22:41:22 +02:00
erikdrgm 066bb30604 Updated 150528 Dutch translation 2015-05-28 22:14:02 +02:00
erikdrgm bdd0f5e1b6 Updated 150423 Dutch translation 2015-05-28 22:14:00 +02:00
erikdrgm b589411473 Updated 150331 Dutch translation 2015-05-28 22:13:57 +02:00
Doug Blank 6f671d8bff Merge branch 'master' into geps/gep-032-database-backend 2015-05-27 16:00:10 -04:00
Doug Blank 7355adfc04 Merge branch 'geps/gep-032-database-backend' of https://github.com/gramps-project/gramps into geps/gep-032-database-backend
Conflicts:
	gramps/plugins/database/bsddb_support/upgrade.py
2015-05-26 20:11:32 -04:00
Doug Blank 8551a0b071 DB-API: fixed error in find_initial_person 2015-05-26 20:08:57 -04:00
Doug Blank 1830e2b943 DB-API: sql clean up; some FIXME's still left 2015-05-26 20:08:57 -04:00
Doug Blank d38785740e DB-API: surname_list not working; added tag map support 2015-05-26 20:08:57 -04:00
Doug Blank 1c4f827bf8 DB-API: committing objects updates secondary items 2015-05-26 20:08:57 -04:00
Doug Blank 1b89239323 DB-API: added undo-redo infrastructure 2015-05-26 20:08:57 -04:00
Doug Blank d5c9c5114a All metadata functionality now implemented 2015-05-26 20:08:57 -04:00
Doug Blank dad21d1e2f Update backlinks 2015-05-26 20:08:57 -04:00
Doug Blank 800e8ebefb Added metadata table and setting/value 2015-05-26 20:08:57 -04:00
Doug Blank 9274d74dc1 WIP: name_group; clean up of SQL 2015-05-26 20:08:57 -04:00
Doug Blank 1871c6ced4 Basics for back references now work, although doesn't update with edits yet 2015-05-26 20:08:57 -04:00
Doug Blank a6f7093bae Added indices on order_by fields 2015-05-26 20:08:57 -04:00
Doug Blank 8be61709b8 Now using batch transactions 2015-05-26 20:08:57 -04:00
Doug Blank d69f8a6d3c Added support for sort_handles 2015-05-26 20:08:56 -04:00
Doug Blank 31fe15e782 DB-API 2.0 can now load/save from file; need to load/save metadata 2015-05-26 20:08:56 -04:00
Doug Blank 8babc69dc5 WIP: Added DB-API 2.0 interface; needs to load/save details from
dbdir; currently using sqlite :memory: database. But could use
any DB-API 2.0 compatible layers.
2015-05-26 20:08:56 -04:00
Doug Blank 8d92b5d634 Added DbState.open_database() for opening without DbManager 2015-05-26 20:08:56 -04:00
Doug Blank 8a657250b1 DictionaryDb: give handle in bytes, handle as str internally in dict 2015-05-26 20:08:56 -04:00
Doug Blank 8d3657f54a Diff: fixed import of DictionaryDb; removed mistaken tag.gramps_id
references in DictionartDb
2015-05-26 20:08:56 -04:00
Doug Blank 97fd387c34 Removed duplicate methods 2015-05-26 20:08:56 -04:00
Doug Blank 8a15aaffb7 Added missing function; allow failed plugin message to show 2015-05-26 20:08:56 -04:00
Doug Blank 4805c3c7f0 DjangoDb: force load when write_version/create to make work with reset modules 2015-05-26 20:08:56 -04:00
Doug Blank cfb33ec1a2 DjangoDb: typo, added logger 2015-05-26 20:08:56 -04:00
Doug Blank 576db27e9d Importers: added db.prepare_import/db.commit_import to wrap imports 2015-05-26 20:08:56 -04:00
Doug Blank b095c6b606 DjangoDb: always force a gramps_id; typo fix 2015-05-26 20:07:46 -04:00
Doug Blank 014f8e61f1 DictionaryDb: reworked internal reprs; updated gender stats, researcher 2015-05-26 20:07:46 -04:00
Doug Blank eeb150f1e3 Database API: expore name, full_name, and brief_name 2015-05-26 20:07:46 -04:00
Doug Blank c72d40aa07 bsddb backend: supply version details in get_summary 2015-05-26 20:07:46 -04:00
Doug Blank ea996cf6dd Database API, -L: database reports summary, if possible 2015-05-26 20:07:46 -04:00
Doug Blank 3c52f7016b Alternative DBs: touch meta_data.db to record last access time 2015-05-26 20:07:46 -04:00
Doug Blank 5171b3748d Added missing bookmark count methods to djangodb and dictionarydb 2015-05-26 20:07:45 -04:00
Doug Blank 11ac0f1551 Database plugin type support reset_system, to reset modules 2015-05-26 20:07:45 -04:00
Doug Blank 331a947ea4 Removed hardcoded database backend types 2015-05-26 20:07:45 -04:00
Doug Blank e4d05f301a Fixed About dialog to show proper BSDDB version 2015-05-26 20:07:45 -04:00
Doug Blank b2ed5d1cbb DjangoDb: send proper object-add signal on new objects 2015-05-26 20:07:45 -04:00
Doug Blank bf12a2bc67 Basic infrastructure for Undo/Redo 2015-05-26 20:07:45 -04:00
Doug Blank d6d5ecdf5d DictionaryDb: emit add after actually adding (fixed typo) 2015-05-26 20:07:45 -04:00
Doug Blank d72ed91f21 DictionaryDb: emit add after actually adding 2015-05-26 20:07:45 -04:00
Doug Blank 1118ce449c Reworked backend Cursors; don't emit changes when changing in batch mode 2015-05-26 20:07:45 -04:00
Doug Blank 6da7f78cba Hack to reset modules on subsequent uses of Django databases 2015-05-26 20:07:45 -04:00
Doug Blank 61ec1c1b48 Database backends: bsddb, django, and dictionary 2015-05-26 20:07:45 -04:00
Doug Blank 7ded76695a DictionaryDb: implement delete 2015-05-26 20:07:45 -04:00
Doug Blank 3489276fa1 Moved key maps to dbconst 2015-05-26 20:07:45 -04:00
Doug Blank 789158aca5 DictionaryDb: now reads/writes on open/close 2015-05-26 20:07:45 -04:00
Doug Blank 8a42966c1f DictionaryDb: adding missing functions, bringing up to date 2015-05-26 20:07:44 -04:00
Doug Blank beb8b8e3ab Loads tree based on id in database.txt 2015-05-26 20:07:44 -04:00
Doug Blank 337ba6b22a Added Django and Dictionary plugins, to be developed 2015-05-26 20:07:44 -04:00
Doug Blank c0f9559f8c Database backend writes its plugin id in database.txt 2015-05-26 20:07:44 -04:00
Doug Blank e7d62cf9b1 Only BSDDB plugin needs bsddb3; back/restore moved to db 2015-05-26 20:07:44 -04:00
Doug Blank 2d6a319c13 Moved make_database to DbState 2015-05-26 20:07:44 -04:00
Doug Blank b059bdec66 Database backend as a plugin: this set of changes moves most or
all of Bsddb from gramps.gen.db to gramps.plugins.database. The
id of the plugin is 'bsddb' which can be loaded using the
make_database(id, dbstate) API (for now).

Next step is to add an identifying text in the directory to
indicate which database backend to use.
2015-05-26 20:07:44 -04:00
Doug Blank c830311aca Merge branch 'master' into geps/gep-032-database-backend
Conflicts:
	gramps/plugins/importer/importcsv.py
2015-05-26 13:43:51 -04:00
Doug Blank 90488ce14b DB-API: fixed error in find_initial_person 2015-05-26 11:35:56 -04:00
Doug Blank 3cbc012f6f DB-API: sql clean up; some FIXME's still left 2015-05-25 22:31:36 -04:00
Doug Blank dce0b82155 Merge branch 'master' into geps/gep-032-database-backend 2015-05-25 21:07:32 -04:00
Doug Blank 54cc6cbff3 DB-API: surname_list not working; added tag map support 2015-05-25 21:06:44 -04:00
Doug Blank 986022cee1 DB-API: committing objects updates secondary items 2015-05-25 19:04:27 -04:00
Doug Blank 5e96f8a72e DB-API: added undo-redo infrastructure 2015-05-25 17:53:14 -04:00
Doug Blank 72cfc3f826 All metadata functionality now implemented 2015-05-25 13:33:04 -04:00
Doug Blank e0e3cee255 Merge branch 'master' into geps/gep-032-database-backend 2015-05-24 19:04:57 -04:00
Doug Blank 80b2b351e6 Update backlinks 2015-05-23 22:46:05 -04:00
Doug Blank e85b4be7d6 Added metadata table and setting/value 2015-05-23 21:27:51 -04:00
Doug Blank e4898df12d WIP: name_group; clean up of SQL 2015-05-23 20:25:04 -04:00
Doug Blank 56cf1b02ab Basics for back references now work, although doesn't update with edits yet 2015-05-23 14:52:43 -04:00
Doug Blank aa7928d35d Added indices on order_by fields 2015-05-23 10:27:49 -04:00
Doug Blank f275843556 Now using batch transactions 2015-05-23 10:07:57 -04:00
Doug Blank 3cd6622c8f Added support for sort_handles 2015-05-23 09:54:04 -04:00
Doug Blank beae0b9319 Merge branch 'master' into geps/gep-032-database-backend 2015-05-23 08:09:40 -04:00
Doug Blank 83c853726d DB-API 2.0 can now load/save from file; need to load/save metadata 2015-05-23 02:15:44 -04:00
Doug Blank 720664818f WIP: Added DB-API 2.0 interface; needs to load/save details from
dbdir; currently using sqlite :memory: database. But could use
any DB-API 2.0 compatible layers.
2015-05-23 01:34:16 -04:00
Doug Blank 0819f447e1 Merge branch 'master' into geps/gep-032-database-backend
Conflicts:
	gramps/plugins/database/dictionarydb.py
2015-05-22 14:38:40 -04:00
Doug Blank e1c33c4d3e Added DbState.open_database() for opening without DbManager 2015-05-21 10:51:36 -04:00
Doug Blank 69eed4f7f2 Merge branch 'master' into geps/gep-032-database-backend 2015-05-20 18:00:46 -04:00
Doug Blank a9b7b43ffb DictionaryDb: give handle in bytes, handle as str internally in dict 2015-05-17 19:01:21 -04:00
Doug Blank 92f435d45b Diff: fixed import of DictionaryDb; removed mistaken tag.gramps_id
references in DictionartDb
2015-05-17 11:40:25 -04:00
Doug Blank acc6a652eb Removed duplicate methods 2015-05-16 09:18:41 -04:00
Doug Blank 276052d231 Added missing function; allow failed plugin message to show 2015-05-16 02:15:02 -04:00
Doug Blank d3bd2b6692 DjangoDb: force load when write_version/create to make work with reset modules 2015-05-16 01:40:05 -04:00
Doug Blank bb9403e2b2 DjangoDb: typo, added logger 2015-05-16 00:46:22 -04:00
Doug Blank 2147f72176 Importers: added db.prepare_import/db.commit_import to wrap imports 2015-05-16 00:16:33 -04:00
Doug Blank d8346a705f DjangoDb: always force a gramps_id; typo fix 2015-05-15 23:26:22 -04:00
Doug Blank 87d2cfb301 DictionaryDb: reworked internal reprs; updated gender stats, researcher 2015-05-15 22:50:54 -04:00
Doug Blank a1d44d0246 Merge branch 'master' into geps/gep-032-database-backend 2015-05-15 18:22:25 -04:00
Doug Blank 1c05879f62 Database API: expore name, full_name, and brief_name 2015-05-15 10:48:14 -04:00
Doug Blank 16c2843073 bsddb backend: supply version details in get_summary 2015-05-15 09:12:21 -04:00
Doug Blank a36a8b72b8 Database API, -L: database reports summary, if possible 2015-05-15 07:32:03 -04:00
Doug Blank ae11d8b484 Alternative DBs: touch meta_data.db to record last access time 2015-05-15 06:42:13 -04:00
Doug Blank b1d07b8e70 Merge branch 'master' into geps/gep-032-database-backend 2015-05-15 06:20:18 -04:00
Doug Blank c2fb186edc Added missing bookmark count methods to djangodb and dictionarydb 2015-05-14 23:15:30 -04:00
Doug Blank b6fb46b760 Database plugin type support reset_system, to reset modules 2015-05-14 22:52:57 -04:00
Doug Blank c1345ca64c Removed hardcoded database backend types 2015-05-14 22:35:50 -04:00
Doug Blank 00d958aaed Merge branch 'master' into geps/gep-032-database-backend 2015-05-14 21:33:40 -04:00
Doug Blank d4688589d8 Merge branch 'master' into geps/gep-032-database-backend 2015-05-14 15:15:24 -04:00
Doug Blank 37e7ead1e2 Fixed About dialog to show proper BSDDB version 2015-05-14 12:48:55 -04:00
Doug Blank ad83d84778 DjangoDb: send proper object-add signal on new objects 2015-05-14 12:43:24 -04:00
Doug Blank 74330122bd Basic infrastructure for Undo/Redo 2015-05-14 12:30:30 -04:00
Doug Blank 6e0b8ccf86 DictionaryDb: emit add after actually adding (fixed typo) 2015-05-14 11:51:56 -04:00
Doug Blank 06d0db3b6a DictionaryDb: emit add after actually adding 2015-05-14 11:49:58 -04:00
Doug Blank c01e9860bf Merge branch 'master' into geps/gep-032-database-backend 2015-05-14 11:07:27 -04:00
Doug Blank 47a3a7ad0f Reworked backend Cursors; don't emit changes when changing in batch mode 2015-05-14 09:07:10 -04:00
Doug Blank 28c609d4c7 Hack to reset modules on subsequent uses of Django databases 2015-05-14 07:01:47 -04:00
Doug Blank ca88f37bb6 Database backends: bsddb, django, and dictionary 2015-05-14 06:31:59 -04:00
Doug Blank 73886e9232 DictionaryDb: implement delete 2015-05-13 22:55:23 -04:00
Doug Blank e7dc1a7bc4 Moved key maps to dbconst 2015-05-13 22:01:47 -04:00
Doug Blank 5115cd13e4 DictionaryDb: now reads/writes on open/close 2015-05-13 21:29:07 -04:00
Doug Blank fbbd9d9c6e DictionaryDb: adding missing functions, bringing up to date 2015-05-13 19:26:14 -04:00
Doug Blank 6bff90419e Loads tree based on id in database.txt 2015-05-13 12:36:17 -04:00
Doug Blank 16a5665e3e Added Django and Dictionary plugins, to be developed 2015-05-13 08:09:30 -04:00
Doug Blank f7474ddade Merge branch 'master' into geps/gep-032-database-backend 2015-05-13 07:41:26 -04:00
Doug Blank 81ebdd97cc Database backend writes its plugin id in database.txt 2015-05-12 23:08:54 -04:00
Doug Blank 7a7696224d Merge branch 'master' into geps/gep-032-database-backend 2015-05-12 22:18:17 -04:00
Doug Blank af0b308b1e Only BSDDB plugin needs bsddb3; back/restore moved to db 2015-05-12 22:03:10 -04:00
Doug Blank 432a05c64b Merge branch 'master' into geps/gep-032-database-backend 2015-05-12 19:16:34 -04:00
Doug Blank 2dd365f8bc Moved make_database to DbState 2015-05-12 19:09:17 -04:00
Doug Blank 242abf9f69 Database backend as a plugin: this set of changes moves most or
all of Bsddb from gramps.gen.db to gramps.plugins.database. The
id of the plugin is 'bsddb' which can be loaded using the
make_database(id, dbstate) API (for now).

Next step is to add an identifying text in the directory to
indicate which database backend to use.
2015-05-12 16:30:46 -04:00
1593 changed files with 800477 additions and 721109 deletions
+18 -9
View File
@@ -1,9 +1,18 @@
# Make Github recognise Gramps as a Python project,
# by marking .sql files as text files!
# See: https://github.com/github/linguist/issues/2462
# https://github.com/github/linguist/blob/master/README.md
*.sql linguist-language=txt
# Have Github ignore js vendored files.
# https://github.com/gramps-project/gramps/tree/master/data/javascript
#data/javascript/*.js linguist-vendored
# Make Github recognise Gramps as a Python project,
# by marking .sql files as text files!
# See: https://github.com/github/linguist/issues/2462
# https://github.com/github/linguist/blob/master/README.md
*.sql linguist-language=txt
# Have Github ignore js vendored files.
# https://github.com/gramps-project/gramps/tree/master/data/javascript
#data/javascript/*.js linguist-vendored
# don't mess with line endings for test files
*.vcs -text
*.ged -text
*.GED -text
*.csv -text
*.DEF -text
*.IXI -text
*.REM -text
+11 -2
View File
@@ -8,7 +8,7 @@ dist/
# Gramps
data/tips.xml
gramps/plugins/lib/holidays.xml
data/holidays.xml
po/.intltool-merge-cache
docs/_build/
@@ -18,4 +18,13 @@ tags
# Testing
test/data
gramps/webapp/grampsdb/fixtures/initial_data.json
# Windows image file caches
Thumbs.db
ehthumbs.db
# IDE
.idea/
# Glade temp files
*~
+28
View File
@@ -0,0 +1,28 @@
<benny.malengier@gramps-project.org> <benny.malengier@gmail.com>
<doug.blank@gmail.com> <dsblank@bitbucket.org>
<doug.blank@gmail.com> <dblank@cs.brynmawr.edu>
<beernarrd@gmail.com> <beernarrd@users.sourceforge.net>
<igal.shapira@gmail.com> <igalshapira@users.sourceforge.net>
<romjerome@yahoo.fr> <romjerome@users.noreply.github.com>
<jralls@ceridwen.us> <john@aeolus.local>
<josip@pisoj.com> <bpisoj@gmail.com>
Josip Pisoj <josip@pisoj.com>
Mirko Leonhaeuser <mirko@leonhaeuser.de>
<martin.hawlisch@gmx.de> <loshawlos@users.sourceforge.net>
Matti Niemelä <matti.u.niemela@gmail.com> <niememat@gmail.com>
<nick-h@gramps-project.org> <nick__hall@hotmail.com>
<nick-h@gramps-project.org> <Nick-Hall@users.noreply.github.com>
Ondrej Krč-Jediný <hou@centrum.sk>
<hou@centrum.sk> <ondrisko@users.sourceforge.com>
Pierre Bélissent <pierre.belissent@gmail.com>
Serge Noiraud <Serge.Noiraud@free.fr>
<Serge.Noiraud@free.fr> <serge.noiraud@free.fr>
<Serge.Noiraud@free.fr> <serge.noiraud@laposte.net>
Zdeněk Hataš <zdenek.hatas@gmail.com>
<zdenek.hatas@gmail.com> <zdenek.hatas@hp.com>
<zdenek.hatas@gmail.com> <zenhas@users.sourceforge.net>
<gerald@gkunzmann.de> <g.kunzmann@arcor.de>
Tim G L Lyons <tim.g.lyons@gmail.com>
<tim.g.lyons@gmail.com> <guy.linton@gmail.com>
Elder Evans <elderamevans@gmail.com>
+378
View File
@@ -0,0 +1,378 @@
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS
# Pickle collected data for later comparisons.
persistent=yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
# Use multiple processes to speed up Pylint.
jobs=1
# Allow loading of arbitrary C extensions. Extensions are imported into the
# active Python interpreter and may run arbitrary code.
unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=
# Allow optimization of some AST trees. This will activate a peephole AST
# optimizer, which will apply various small optimizations. For instance, it can
# be used to obtain the result of joining multiple strings with the addition
# operator. Joining a lot of strings can lead to a maximum recursion error in
# Pylint and this flag can prevent that. It has one side effect, the resulting
# AST will be different than the one from reality.
optimize-ast=no
[MESSAGES CONTROL]
# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time. See also the "--disable" option for examples.
#enable=
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=suppressed-message,intern-builtin,round-builtin,unicode-builtin,range-builtin-not-iterating,long-builtin,basestring-builtin,setslice-method,print-statement,reload-builtin,metaclass-assignment,raising-string,next-method-called,import-star-module-level,xrange-builtin,getslice-method,zip-builtin-not-iterating,reduce-builtin,dict-iter-method,delslice-method,using-cmp-argument,hex-method,buffer-builtin,old-ne-operator,nonzero-method,backtick,parameter-unpacking,indexing-exception,file-builtin,filter-builtin-not-iterating,raw_input-builtin,execfile-builtin,oct-method,cmp-method,coerce-builtin,long-suffix,cmp-builtin,input-builtin,dict-view-method,standarderror-builtin,apply-builtin,old-raise-syntax,unichr-builtin,old-division,coerce-method,unpacking-in-except,useless-suppression,no-absolute-import,map-builtin-not-iterating,old-octal-literal
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, msvs
# (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=text
# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]".
files-output=no
# Tells whether to display a full report or only the messages
reports=yes
# Python expression which should return a note less than 10 (10 is the highest
# note). You have access to the variables errors warning, statement which
# respectively contain the number of errors / warnings messages and the total
# number of statements analyzed. This is used by the global evaluation report
# (RP0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
#msg-template=
[BASIC]
# List of builtins function names that should not be used, separated by a comma
bad-functions=map,filter
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_,db
# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata
# Colon-delimited sets of names that determine each other's naming style when
# the name regexes allow several styles.
name-group=
# Include a hint for the correct naming format with invalid-name
include-naming-hint=no
# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for argument names
argument-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Naming hint for module names
module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression matching correct class attribute names
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
# Naming hint for class attribute names
class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for function names
function-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct inline iteration names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Naming hint for inline iteration names
inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
# Regular expression matching correct constant names
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
# Naming hint for constant names
const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
# Regular expression matching correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for method names
method-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct class names
class-rgx=[A-Z_][a-zA-Z0-9]+$
# Naming hint for class names
class-name-hint=[A-Z_][a-zA-Z0-9]+$
# Regular expression matching correct variable names
variable-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for variable names
variable-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Naming hint for attribute names
attr-name-hint=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match function or class names that do
# not require a docstring.
no-docstring-rgx=^_
# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=-1
[ELIF]
# Maximum number of nested blocks for function / method body
max-nested-blocks=5
[LOGGING]
# Logging modules to check that the string format arguments are in logging
# function parameter format
logging-modules=logging
[SPELLING]
# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
spelling-dict=
# List of comma separated words that should not be checked.
spelling-ignore-words=
# A path to a file that contains private dictionary; one word per line.
spelling-private-dict-file=
# Tells whether to store unknown words to indicated private dictionary in
# --spelling-private-dict-file option instead of raising a message.
spelling-store-unknown-words=no
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
notes=FIXME,XXX,TODO
[TYPECHECK]
# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes
# List of module names for which member attributes should not be checked
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=
# List of classes names for which member attributes should not be checked
# (useful for classes with attributes dynamically set). This supports can work
# with qualified names.
ignored-classes=
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=no
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80
# Regexp for a line that is allowed to be longer than the limit.
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt=no
# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,dict-separator
# Maximum number of lines in a module
max-module-lines=1000
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
indent-string=' '
# Number of spaces of indent required inside a hanging or continued line.
indent-after-paren=4
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
expected-line-ending-format=
[VARIABLES]
# Tells whether we should check for unused import in __init__ files.
init-import=no
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=_$|dummy
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
additional-builtins=
# List of strings which can identify a callback function by name. A callback
# name must start or end with one of those strings.
callbacks=cb_,_cb
[CLASSES]
# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods=__init__,__new__,setUp
# List of valid names for the first argument in a class method.
valid-classmethod-first-arg=cls
# List of valid names for the first argument in a metaclass class method.
valid-metaclass-classmethod-first-arg=mcs
# List of member names, which should be excluded from the protected access
# warning.
exclude-protected=_asdict,_fields,_replace,_source,_make
[IMPORTS]
# Deprecated modules which should not be used, separated by a comma
deprecated-modules=optparse
# Create a graph of every (i.e. internal and external) dependencies in the
# given file (report RP0402 must not be disabled)
import-graph=
# Create a graph of external dependencies in the given file (report RP0402 must
# not be disabled)
ext-import-graph=
# Create a graph of internal dependencies in the given file (report RP0402 must
# not be disabled)
int-import-graph=
[DESIGN]
# Maximum number of arguments for function / method
max-args=5
# Argument names that match this expression will be ignored. Default to name
# with leading underscore
ignored-argument-names=_.*
# Maximum number of locals for function / method body
max-locals=15
# Maximum number of return / yield for function / method body
max-returns=6
# Maximum number of branch for function / method body
max-branches=12
# Maximum number of statements in function / method body
max-statements=50
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of attributes for a class (see R0902).
max-attributes=7
# Minimum number of public methods for a class (see R0903).
min-public-methods=2
# Maximum number of public methods for a class (see R0904).
max-public-methods=20
# Maximum number of boolean expressions in a if statement
max-bool-expr=5
[EXCEPTIONS]
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=Exception
+118 -21
View File
@@ -1,32 +1,129 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2015-2015 Doug Blank
# Copyright (C) 2016 DaAwesomeP
# Copyright (C) 2016 QuLogic
# Copyright (C) 2016 Tim G L Lyons
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# After changing this file, check it on:
# http://lint.travis-ci.org/
sudo: required
dist: trusty
language: python
#python:
# - 3.3
# - 3.4
python:
- 3.3 # This is irrelevant, because the virtualenv is not used at all
# FIXME: The minimum requirement for Gramps is Python 3.2, so a test environment
# for Python 3.2 should be added to this environment which is Python 3.3. It
# will not be possible to run coverage under Python 3.2, because coverage is
# Python 3.3 (or above) only.
addons:
apt:
packages:
- gir1.2-pango-1.0
- gir1.2-gtk-3.0
- xdg-utils
- librsvg2-common
- libglib2.0-dev
- intltool
# - python3-gobject Provided by python3-gi
- python3-gi
- python3-cairo
- python3-gi-cairo
- python3-bsddb3
- python3-dev
- python3-nose
- python3-mock
- python3-pyicu
- python3-coverage
- python3-jsonschema
# lxml dependencies. for merge_ref_test to work
# - libxml2-dev
# - libxslt1-dev
- libxml2-utils
- python3-lxml
- python-libxml2
# ubuntu 14.04 requires this in addition to libxml2-dev and
# libxslt1-dev for compiling lxml.
# https://github.com/deanmalmgren/textract/issues/19
- zlib1g-dev
before_install:
install:
- git clone --depth=50 --branch=maintenance/gramps42 git://github.com/gramps-project/gramps.git gramps-project/gramps
- cd gramps-project/gramps
- time sudo apt-get update
- travis_retry sudo apt-get install gir1.2-pango gir1.2-gtk xdg-utils librsvg2-common libglib2.0-dev intltool
- travis_retry sudo apt-get install python3-gobject python3-gi python3-cairo python3-gi-cairo python3-bsddb3 python3-dev python3-nose
- travis_retry sudo apt-get install python3-mock
# The working directory is set to /home/travis/build/gramps-project/gramps
# by the automatic git checkout.
# - travis_retry curl https://bootstrap.pypa.io/get-pip.py | sudo python3
# - travis_retry sudo pip3 install Django==1.7
# - travis_retry sudo pip3 install pyicu==1.8
# - travis_retry sudo pip3 install mock
# Download Sean Ross-Ross's Pure Python module containing a framework to
# manipulate and analyze python asts and bytecode. This is loaded to
# /home/travis/build/gramps-project/gramps/meta
# FIXME: This should be loaded from the release directory at
# https://pypi.python.org/pypi/meta
- git clone -b master https://github.com/srossross/meta
- python3 setup.py build
# Build Gramps package. This seems to copy everything to
# /home/travis/build/scripts-3.3
- python setup.py build
#before_script:
# - sudo Xvfb :99 -ac &
# - export DISPLAY=:99
before_script:
# Create the Gramps database directory.
- mkdir -p ~/.gramps/grampsdb/
# set PYTHONPATH so the directly installed module (meta) is picked up from
# /home/travis/build/gramps-project/gramps/meta
- export PYTHONPATH=meta
# set module exclusions. --exclude=TestUser because of older version of mock
# without configure_mock
- export EXCLUDE="--exclude=TestcaseGenerator"
# --exclude=merge_ref_test"
# set GRAMPS_RESOURCES for locale, data,image and documentation
- export GRAMPS_RESOURCES=.
# Install addons
- mkdir -p ~/.gramps/gramps51/plugins/
- wget https://github.com/gramps-project/addons/raw/master/gramps51/download/CliMerge.addon.tgz
- tar -C ~/.gramps/gramps51/plugins -xzf CliMerge.addon.tgz
- wget https://github.com/gramps-project/addons/raw/master/gramps51/download/ExportRaw.addon.tgz
- tar -C ~/.gramps/gramps51/plugins -xzf ExportRaw.addon.tgz
script:
- mkdir -p /home/travis/.gramps/grampsdb/
- nosetests3 --exclude=TestcaseGenerator --exclude=vcard --exclude=merge_ref_test --exclude=user_test --exclude=webapp gramps
# Ignore the virtualenv entirely. Use nosetests3, python3 (3.4.0) and coverage
# from /usr/bin. Use libraries from /usr/lib/python3.4,
# /usr/local/lib/python3.4/dist-packages and /usr/lib/python3/dist-packages
- nosetests3 --nologcapture --with-coverage --cover-package=gramps $EXCLUDE
gramps
# FIXME: This should have run from the current directory, rather than from
# gramps, because there is some test code in that directory.
# give an error for any trailing whitespace
- if git --no-pager grep --color -n --full-name '[ ]$' -- \*.py; then
echo "ERROR - Trailing whitespace found in source file(s)";
exit 1;
fi
after_success:
# apt-get installs python3-coverage, but codecov only invokes coverage, so make
# a link
- sudo ln /usr/bin/python3-coverage /usr/bin/coverage
# We have to use the bash script because the apt-get coverage does not install
# codecov. If we used pip to install codecov, it would run inside the
# virtualenv, and that doesn't work. Change the path to ensure that codecov
# picks up coverage from /usr/bin, rather than from
# /home/travis/virtualenv/python3.3.6/bin/
- PATH=/usr/bin:$PATH bash <(curl -s https://codecov.io/bash)
-1
View File
@@ -1,4 +1,3 @@
<!-- $Id$ -->
Alex Roitman shura@gramps-project.org
+12
View File
@@ -0,0 +1,12 @@
See developer documentation at:
https://gramps-project.org/wiki/index.php?title=Portal:Developers
https://gramps-project.org/wiki/index.php?title=Brief_introduction_to_Git#Making_a_patchfile
https://gramps-project.org/wiki/index.php?title=Brief_introduction_to_Git#Making_a_PR
If you are interested in translating:
* The Gramps program to your language see:
https://gramps-project.org/wiki/index.php?title=Translating_Gramps
https://gramps-project.org/wiki/index.php?title=Portal:Translators
* The Gramps user manual to your language see:
https://gramps-project.org/wiki/index.php?title=Translating_the_Gramps_User_manual
+180 -247
View File
@@ -1,310 +1,243 @@
2016-12-15 romjerome <romjerome@users.noreply.github.com>
2018-07-24 Nick Hall <nick-h@gramps-project.org>
* gramps/gen/const.py: make official 4.2.5 release
* setup.py: Update development status for new release
2016-12-15 romjerome <romjerome@users.noreply.github.com>
2018-07-24 Nick Hall <nick-h@gramps-project.org>
* NEWS: update News file
* po/gramps.pot: Update translation template for new release
2016-12-15 romjerome <romjerome@users.noreply.github.com>
2018-07-22 niememat <niememat@gmail.com>
* gramps/plugins/importer/importprogen.py: fix a missing import
* po/fi.po: Fix translation in Finnish
2016-12-15 romjerome <romjerome@users.noreply.github.com>
2018-07-01 John Ralls <jralls@ceridwen.us>
* gramps/gui/views/tags.py: Tag editor: Tweak improvement on buttons
order
* gramps/gui/clipboard.py,
gramps/gui/editors/displaytabs/buttontab.py,
gramps/gui/editors/displaytabs/surnametab.py,
gramps/gui/filters/_searchbar.py,
gramps/gui/filters/sidebar/_sidebarfilter.py, gramps/gui/utils.py,
gramps/gui/views/navigationview.py,
gramps/gui/widgets/grampletpane.py,
gramps/gui/widgets/interactivesearchbox.py,
gramps/gui/widgets/multitreeview.py,
gramps/gui/widgets/styledtexteditor.py: Correct binary test logic
for primary mask. state & get_primary_mask(another) tested (state & (primary |
other)), which will be true if state matches *either* primary *or*
other, but what is wanted in a not-negated test is state matching
all bits of (primary | other). match_primary_mask does that. On the other hand there are also cases of "not state & (primary |
other)". no_match_primary_mask handles that, returning true if
state matches none of the bits in (primary | other). Fixes #10646.
2016-12-15 SNoiraud <serge.noiraud@laposte.net>
2018-06-21 prculley <paulr2787@gmail.com>
* gramps/gui/widgets/grampletbar.py: 9340: The configparser is
assuming the wrong encoding.
* gramps/gui/glade/baseselector.glade,
gramps/gui/selectors/baseselector.py: Fix BaseSelector to avoid long
delay before display on large trees Fixes #10634
2016-12-14 SNoiraud <serge.noiraud@laposte.net>
2018-05-06 SNoiraud <serge.noiraud@laposte.net>
* gramps/plugins/webreport/narrativeweb.py: 9563: Sorting in family
tab of narrated web report
* gramps/gui/plug/export/_exportoptions.py: Export options > Gui
alignment issue Fixes #10576
2016-12-13 Leonhaeuser <mirko@leonhaeuser.de>
2018-07-22 niememat <niememat@gmail.com>
* po/de.po: fix 0009696
* po/fi.po: New fix translation in Finnish
2016-12-14 Sam Manzi <manzi.sam@gmail.com>
2018-07-22 Espen Berg <espenbe@gmail.com>
* gramps/grampsapp.py, gramps/plugins/gramplet/gramplet.gpr.py,
gramps/plugins/lib/libmetadata.py,
gramps/plugins/lib/maps/constants.py,
gramps/plugins/lib/maps/datelayer.py,
gramps/plugins/lib/maps/dummylayer.py,
gramps/plugins/lib/maps/dummynogps.py,
gramps/plugins/lib/maps/geography.py,
gramps/plugins/lib/maps/kmllayer.py,
gramps/plugins/lib/maps/lifewaylayer.py,
gramps/plugins/lib/maps/markerlayer.py,
gramps/plugins/lib/maps/messagelayer.py,
gramps/plugins/lib/maps/osmgps.py,
gramps/plugins/lib/maps/selectionlayer.py,
gramps/plugins/view/geography.gpr.py: 9801 Silence remaining
PyGIWarning
* po/nb.po: Revised Norwegian bokmål
2016-12-13 SNoiraud <serge.noiraud@laposte.net>
2018-07-22 Espen Berg <espenbe@gmail.com>
* gramps/plugins/webreport/narrativeweb.py: 9563: Sorting of
relationships in family tab of narrated web report
* po/nb.po: Revised Norwegian bokmål
2016-12-10 Josip <bpisoj@gmail.com>
2018-07-22 niememat <niememat@gmail.com>
* gramps/grampsapp.py: Support for Windows Python3 pythonw.exe
* po/fi.po: Fix translation in Finnish
2016-12-10 romjerome <romjerome@users.noreply.github.com>
2018-07-21 Nick Hall <nick-h@gramps-project.org>
* NEWS: start to update NEWS
* gramps/gui/glade/editplace.glade,
gramps/gui/glade/editplaceref.glade: Fix dialog button order on
non-Mac systems Resolves #10585.
2016-12-09 Nick Hall <nick-h@gramps-project.org>
2018-07-21 De Tran <trande@gmail.com>
* gramps/gen/utils/location.py: 9799: Use latest valid date rather
than today This is useful for historic places when an event date is not
available.
* po/vi.po: Fix and update Vietnamese translation Resolves #10681.
2016-12-09 Nick Hall <nick-h@gramps-project.org>
2018-07-21 Sveinn í Felli <sv1@fellsnet.is>
* gramps/gen/utils/location.py: 9813: Modify endonym handling in
place displayer If no language code is matched, the default name is now the first in
the list, rather than a name with no language code.
* po/is.po: Update Icelandic translation
2016-12-09 Nick Hall <nick-h@gramps-project.org>
2018-05-10 jose1711 <jose1711@gmail.com>
* gramps/gen/display/place.py: 9737: Fix house number concatenation
* po/sk.po: Fix and update Slovak translation
2016-12-07 Espen Berg <espenbe@gmail.com>
2018-05-11 jose1711 <jose1711@gmail.com>
* gramps/plugins/rel/rel_no.py: Corrected another typo in
relationship calculator, Norwegian
* gramps/plugins/rel/rel_cs.py: Fix typo in translation
2016-12-07 Espen Berg <espenbe@gmail.com>
2018-07-20 niememat <niememat@gmail.com>
* gramps/plugins/rel/rel_no.py: Language correction in Norwegian
locale relationship calculator
* po/fi.po: Fix translation in Finnish
2016-12-06 prculley <paulr2787@gmail.com>
2018-07-20 niememat <niememat@gmail.com>
* gramps/gen/merge/mergefamilyquery.py: bug 9818 allow merging of
families with one or more parents in common
* po/fi.po: Fix translation in Finnish
2016-12-06 vantu5z <vantu5z@mail.ru>
2018-07-18 niememat <niememat@gmail.com>
* po/ru.po: update Russian translation
* po/fi.po: Fix translation in Finnish
2016-12-05 SNoiraud <serge.noiraud@laposte.net>
2018-07-15 Luigi Toscano <luigi.toscano@tiscali.it>
* gramps/gui/views/navigationview.py: 7309: Jump to Gramps ID
functionality doesn't work
* po/it.po: Update Italian translation
2016-12-05 romjerome <romjerome@users.noreply.github.com>
2018-07-13 Nick Hall <nick-h@gramps-project.org>
* po/fr.po: update french translation
* po/en_GB.po: Update English (British) translation
2016-12-05 romjerome <romjerome@users.noreply.github.com>
2018-07-13 De Tran <trande@gmail.com>
* po/gramps.pot: 9276: update translation strings template No new entry, update references and comments
* po/vi.po: Update Vietnamese translation
2016-12-05 romjerome <romjerome@users.noreply.github.com>
2018-07-13 Kaj Mikkelsen <kmi@vgdata.dk>
* gramps/gui/views/treemodels/placemodel.py: 9276: ability to search
alternate place names when selecting place
* po/da.po: Update Danish translation
2016-12-05 romjerome <romjerome@users.noreply.github.com>
* po/fr.po: typo on french translation
2016-12-04 Espen Berg <espenbe@gmail.com>
* po/nb.po: Cleaned out one more line in nb.po
2016-12-04 Espen Berg <espenbe@gmail.com>
* po/nb.po: The unlocking message is on one loooong line. Inserted
line breaks in Norwegian translation for cleanliness
2016-12-03 Espen Berg <espenbe@gmail.com>
* po/nb.po: Revising Norwegian bokmål language file (at last)
2016-12-03 Espen Berg <espenbe@gmail.com>
* po/nb.po: Revising Norwegian bokmål language file (at last)
2016-12-03 romjerome <romjerome@users.noreply.github.com>
* gramps/plugins/tool/check.py: 9812: 'Check and Repair' tool
ignores some objects with tag support
2016-11-30 vantu5z <vantu5z@mail.ru>
* po/ru.po: update Russian translation
2016-11-29 romjerome <romjerome@users.noreply.github.com>
* gramps/plugins/lib/maps/geography.py: 9815: Fix clear map action
on Geography
2016-11-29 Matti Niemelä <matti.u.niemela@gmail.com>
* po/fi.po: Update finnish translation
2016-11-28 Zdeněk Hataš <zdenek.hatas@gmail.com>
* po/cs.po: czech translation update
2016-11-26 romjerome <romjerome@users.noreply.github.com>
* debian/control: 9801: recommend 'gir1.2-goocanvas-2.0' on debian
package
2016-11-26 romjerome <romjerome@users.noreply.github.com>
* gramps/plugins/tool/check.py: 8555: Database repair tool always
modify all source objects
2016-11-24 romjerome <romjerome@users.noreply.github.com>
* po/fr.po: Update french translation
2016-11-24 romjerome <romjerome@users.noreply.github.com>
* po/gramps.pot: Update translation strings template
2016-11-24 romjerome <romjerome@users.noreply.github.com>
* po/fr.po: typo on french translation
2016-11-22 Nick Hall <nick-h@gramps-project.org>
* gramps/plugins/gramplet/locations.py: 9534: Exclude places outside
valid date ranges
2016-11-10 Leonhaeuser <mirko@leonhaeuser.de>
* po/de.po: update German translation
2016-11-01 Nick Hall <nick-h@gramps-project.org>
* gramps/gui/glade/editldsord.glade: 9767: Fix icon and tooltip in
LDS editor The icon on the family selection button was removed by mistake in
commit 75009f0.
2016-10-30 prculley <paulr2787@gmail.com>
* gramps/plugins/lib/libgedcom.py: bug 9755, fix duplicated Gramps
IDs on Gedcom import
2016-10-29 Sam Manzi <manzi.sam@gmail.com>
* gramps/gui/configure.py: 9685 Fix Unicode error - Markup for
invalid date format
2016-10-25 prculley <paulr2787@gmail.com>
* gramps/plugins/importer/importcsv.py: Fix bug 9733, CSV import
Fails, 9676, failure for certain types of cross references etc.
2016-10-24 prculley <paulr2787@gmail.com>
* gramps/plugins/importer/importvcard.py: bug 9458, fix Import Vcard
can create multiple surnames with all selected as 'Primary'
2016-10-16 prculley <paulr2787@gmail.com>
* gramps/plugins/lib/libgedcom.py: bug 8993; fix Gedcom import in
some alternate languages; improper date parsing
2016-10-23 romjerome <romjerome@users.noreply.github.com>
* po/fr.po: typo on the french translation
2016-10-21 SNoiraud <serge.noiraud@laposte.net>
* gramps/gui/plug/export/_exportassistant.py,
gramps/gui/plug/quick/_textbufdoc.py: 8250 and 9736 : remove patchs.
need to found another solution.
2016-10-18 vantu5z <vantu5z@mail.ru>
* po/ru.po: update russian translation
2016-10-16 SNoiraud <serge.noiraud@laposte.net>
* gramps/gui/plug/quick/_textbufdoc.py: 9736: Export options
'Preview' buttons create hidden quickreport.
2016-10-12 Paul Franklin <pf.98052@gmail.com>
* gramps/gen/datehandler/_date_cs.py,
gramps/gen/datehandler/_dateparser.py: 9739: Wrong parsing Numeric
date format for cs_CZ locale
2016-10-11 SNoiraud <serge.noiraud@laposte.net>
* gramps/gui/plug/quick/_textbufdoc.py: 9736: Export options
'Preview' buttons create hidden quickreport.
2016-10-04 Matti Niemelä <matti.u.niemela@gmail.com>
* po/fi.po: Update finnish translation
2016-10-03 Leonhaeuser <mirko@leonhaeuser.de>
* po/de.po: update German translation
2016-10-01 Zdeněk Hataš <zdenek.hatas@gmail.com>
* po/cs.po: czech translation update
2016-09-28 romjerome <romjerome@users.noreply.github.com>
* data/man/en.rst: typo, Change FICHIER to File
2016-09-28 Lajos Nemeséri <nemeseril@gmail.com>
2018-07-13 Lajos Nemeséri <nemeseril@gmail.com>
* po/hu.po: Update Hungarian translation
2016-09-25 Nick Hall <nick-h@gramps-project.org>
2018-07-07 Fedik <getthesite@gmail.com>
* gramps/gui/glade/styleeditor.glade: 9721: Fix alignment radio
buttons in style editor
* po/uk.po: Update Ukrainian translation for Gramps
2016-09-16 SNoiraud <serge.noiraud@laposte.net>
2018-07-05 RossGammon <upstream@the-gammons.net>
* gramps/gui/editors/displaytabs/citationembedlist.py,
gramps/gui/selectors/baseselector.py: 9700: Select Place search &
Source/Citation hierarchy should NOT be expanded
* debian/changelog, debian/copyright,
debian/patches/hardcoded_path_person_rules_test.patch,
debian/patches/series: Update Debian directory after Gramps
5.0.0-rc1 release. (#634)
2016-09-13 Sveinn í Felli <sv1@fellsnet.is>
2018-07-02 Leonhaeuser <mirko@leonhaeuser.de>
* po/is.po: Add 9693: Icelandic translation update(msgfmt error
fixed)
* po/de.po: Fix not matching translation csv import/export
2016-09-12 Sveinn í Felli <sv1@fellsnet.is>
2018-07-02 Zdeněk Hataš <zdenek.hatas@gmail.com>
* po/is.po: Add 9693: Icelandic translation update
* po/cs.po: Update Czech translation
2016-09-10 John Ralls <jralls@ceridwen.us>
2018-07-02 Pier Luigi Cinquantini <plcinquantini@gmail.com>
* mac/Info.plist, mac/gramps.bundle, mac/gramps.modules: Add gir
files to bundle. Enables change of library paths in the typelibs to point at
@executable_path by gtk-mac-bundler.
* po/eo.po: Update Esperanto translation
2016-08-18 John Ralls <jralls@ceridwen.us>
2018-07-01 niememat <niememat@gmail.com>
* mac/gramps.bundle: Revert "Remove pango modules from bundle, pango
no longer uses them." This reverts commit e311de19649371d59c2ab535d4564ee725963b4f because
for the moment we have to build with an older Pango.
* po/fi.po: Fix translation in Finnish
2016-08-18 John Ralls <jralls@ceridwen.us>
2018-06-30 Paulo Henrique Paiva de Moraes <paulohpmoraes@gmail.com>
* mac/gramps.bundle: escape illegal '--' in comment.
* po/pt_BR.po: Update Brazilian Portuguese translation
2016-09-04 romjerome <romjerome@users.noreply.github.com>
2018-06-30 vantu5z <vantu5z@mail.ru>
* bump to '4.2.5'
* po/ru.po: update Russian translation substantially just merge with
latest template
2018-06-29 Nick Hall <nick-h@gramps-project.org>
* po/ar.po, po/bg.po, po/br.po, po/ca.po, po/cs.po, po/da.po,
po/de.po, po/el.po, po/en_GB.po, po/eo.po, po/es.po, po/fi.po,
po/fr.po, po/ga.po, po/he.po, po/hr.po, po/hu.po, po/is.po,
po/it.po, po/ja.po, po/lt.po, po/mk.po, po/nb.po, po/nl.po,
po/nn.po, po/pl.po, po/pt_BR.po, po/pt_PT.po, po/ro.po, po/sk.po,
po/sl.po, po/sq.po, po/sr.po, po/sr_Latn.po, po/sv.po, po/ta.po,
po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_HK.po, po/zh_TW.po:
Merge translation files with the latest template
2018-06-21 Paul Culley <paulr2787@gmail.com>
* gramps/gui/filters/sidebar/_sidebarfilter.py: Fix Custom filter
update when created via sidebar (#630) Fixes #10620 Adding a filter via the sidebar editor originally only updated the
current view, other associated views did not see the new filter.
First noticed in People views. This causes the 'filters-changed' to
be emitted which updates all associated view.
2018-06-21 Paul Culley <paulr2787@gmail.com>
* gramps/gui/widgets/grampletpane.py: Fix Gramplet configure
(View/Configure) for large options (#629) When a Gramplet uses a BooleanListOption with a lot of entries,
along with other options, all the options take on the size of the
large BooleanListOption, which doesn't work well at all.
2018-06-22 Serge Noiraud <Serge.Noiraud@laposte.net>
* gramps/plugins/drawreport/statisticschart.py: Statistics Charts
crashes with IndexError (#627) Fixes #010626 In statistics charts, get_month is only localized and the calendar
is unused. If we have an Extra (Sansculottides) month in the french
republican calendar (index 13), we have this IndexError because the
gregorian calendar is always used and contains only 12 values.
2018-06-10 John Ralls <jralls@ceridwen.us>
* mac/gramps.accel: [Mac] Change accel for Undo History. So that it doesn't conflict with a system binding for hiding the
window. Fixes #10619.
2018-06-09 Paul Culley <paulr2787@gmail.com>
* gramps/gui/plug/_guioptions.py: Fix Family Lines/Family Colors
picker for bad transient parent (#625) Fixes #10623
2018-06-09 Paul Culley <paulr2787@gmail.com>
* gramps/gen/db/utils.py: Fix import_as_dict to utilize user
gramps_id prefixes (#626) Issue #10622 Found when comparing dbs with large prefixes 'I%05d'; using database
differences or import_merge addons.
2018-06-09 Paul Culley <paulr2787@gmail.com>
* gramps/plugins/db/bsddb/write.py: Fix error when opening bsddb db
in read-only mode (#624) Fixes #10615 BSDDB had errors when trying to open in read-only mode.
2018-06-09 Paul Culley <paulr2787@gmail.com>
* gramps/gen/db/generic.py: Fix dbapi dbs for closeing read-only db
crash (#623) Fixes #10613 The sqlite (and other dbapi dbs) tried to save their metadata on a
close operation, which doesn't work for read-only dbs.
2018-06-09 Paul Culley <paulr2787@gmail.com>
* gramps/gui/viewmanager.py: Fix menus when operating with read-only
db (#622) Fixes #10614 An earlier attempt to deal with closed dbs messed up the read-only
ActionGroup settings. This corrects that situation.
2018-06-02 Sam Manzi <manzi.sam@gmail.com>
* gramps/gen/proxy/living.py: Fix Name formats to show all parts
(#608) Fixes #10420 Allows reports to use the name format specified by the user.
2018-06-01 Paul Culley <paulr2787@gmail.com>
* gramps/gui/dbloader.py, gramps/gui/plug/_guioptions.py,
gramps/gui/viewmanager.py: Fix dialogs for crash when canceling via
'x' (#620) * Fix import dialog for crash when canceling via 'x' Fixes #10607 * Fix 'Make Backup' dialog for crash on 'x' close Issue #10607 * Fix Family Lines/Family Colors/add dialog crash on close with 'x' Issue #10607
2018-05-28 niememat <niememat@gmail.com>
* po/fi.po: Fix translation in Finnish
2018-05-20 John Ralls <jralls@ceridwen.us>
* mac/Info.plist, mac/gramps.modules: Release 5.0.0-rc1 on Mac.
2018-05-20 John Ralls <jralls@ceridwen.us>
* mac/gramps.modules: Remove obsolete omeat-python-modules
dependencies.
2018-05-20 prculley <paulr2787@gmail.com>
* Bump to v5.0.0-rc2
-1
View File
@@ -355,4 +355,3 @@ Since Gramps generates HTML pages, you can upload the pages to your personal web
**** End of Gramps Frequently Asked Questions ****
$Id$
-2
View File
@@ -25,7 +25,5 @@ able to run gramps from the source directory without setting PYTHONPATH
From this position, import gramps works great
"""
import os
os.environ['GRAMPS_RESOURCES'] = os.path.dirname(os.path.abspath(__file__))
import gramps.grampsapp as app
app.main()
+8 -8
View File
@@ -33,11 +33,11 @@ all required and optional dependencies. Missing dependencies will
result in runtime errors.
To build and install, whether from a tarball or git repo:
python setup.py build
sudo python setup.py install
python3 setup.py build
sudo python3 setup.py install
You can avoid using sudo for the install step by specifying a prefix to which you have write priviledge. The default is /usr/local, which is usually owned by root. You can learn of more options with
python setup.py --help
python3 setup.py --help
One can use gramps from the command line without installing it by
setting the following environment variables, but that won't provide
@@ -71,7 +71,7 @@ from the source directory.
b) You installed Gramps, and want to start it from the PYTHONPATH. In this
case use the command:
python -c 'from gramps.grampsapp import main; main()'
python3 -c 'from gramps.grampsapp import main; main()'
The executable 'gramps' in /usr/local/bin or /usr/bin from a) does
this for you.
@@ -79,7 +79,7 @@ from the source directory.
b) You downloaded the Gramps source code to a directory, and want to run it.
You can start Gramps from the source code directory with
python Gramps.py
python3 Gramps.py
See gramps/gen/const.py how Gramps finds its resource directories in case
you encounter problems.
@@ -90,17 +90,17 @@ If you would like to install Gramps without being root, or in an
alternative location on windows, supply the --root argument to setup.py
For example:
python setup.py install --root ~/test
python3 setup.py install --root ~/test
Packager's issues
------------------
There is a MANIFEST.in file to indicate the work needed.
To create a source distribution run:
python setup.py sdist
python3 setup.py sdist
If Gramps is built outside of the source tree in a temporary location (e.g. when
packaging for a distribution), the --resourcepath option can be used to specify
the path to the installed location of the Gramps resources (e.g. /usr/share):
python setup.py install --resourcepath=/usr/share
python3 setup.py install --resourcepath=/usr/share
-397
View File
@@ -1,397 +0,0 @@
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
0. PREAMBLE
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
1. APPLICABILITY AND DEFINITIONS
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
them.
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
2. VERBATIM COPYING
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
3. COPYING IN QUANTITY
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
pages.
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
4. MODIFICATIONS
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
standard.
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
5. COMBINING DOCUMENTS
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
6. COLLECTIONS OF DOCUMENTS
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
7. AGGREGATION WITH INDEPENDENT WORKS
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
aggregate.
8. TRANSLATION
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
title.
9. TERMINATION
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
10. FUTURE REVISIONS OF THIS LICENSE
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
http://www.gnu.org/copyleft/.
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled "GNU
Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
situation.
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.
+2 -4
View File
@@ -4,11 +4,11 @@ include COPYING
include FAQ
include Gramps.py
include INSTALL
include LICENSE
include MANIFEST.in
include NEWS
include RELEASE_NOTES
include TODO
include CONTRIBUTING
include TestPlan.txt
recursive-include data *
recursive-include debian *
@@ -23,11 +23,9 @@ recursive-include windows *
# Remove files created in the build
exclude data/tips.xml
exclude gramps/plugins/lib/holidays.xml
exclude data/holidays.xml
exclude po/.intltool-merge-cache
global-exclude *.pyc
global-exclude *.pyo
# Remove directories which should not be included in the distribution
prune gramps/guiQML
#prune gramps/webapp
+169 -8
View File
@@ -1,3 +1,164 @@
2018-07-24
Version 5.0.0
* Correct binary test logic for primary mask.
* Fix BaseSelector to avoid long delay before display on large trees.
* Export options > Gui alignment issue.
* Fix dialog button order on non-Mac systems.
* Update Debian directory after Gramps 5.0.0-rc1 release.
* Fix Custom filter update when created via sidebar.
* Fix Gramplet configure (View/Configure) for large options.
* Fix IndexError crash in Statistics Charts.
* [Mac] Change accel for Undo History. So that it doesn't conflict with a
system binding for hiding the window.
* Fix Family Lines/Family Colors picker for bad transient parent.
* Fix import_as_dict to utilize user gramps_id prefixes.
* Fix error when opening bsddb db in read-only mode.
* Fix dbapi dbs for closeing read-only db crash.
* Fix menus when operating with read-only db.
* Fix Name formats to show all parts.
* Fix dialogs for crash when canceling via 'x'.
* Remove obsolete omeat-python-modules dependencies.
* Update translations: cs, da, de, en_GB, eo, fi, hu, is, it, nb, pt_BR, ru, sk, uk, vi
2018-05-20
Version 5.0.0-rc1
* po/fi.po: Update Finnish translation
* po/ru.po: Update Russian translation
* po/de.po: update German translation
* po/cs.po: Update Czech translation
* po/ca.po: Update Catalan translation
* Fix merge persons when removed person was the Home (default) person
* Fix FanChartDesc for typo (copy/paste error). Bug occurs when selected
person has more than 4 parents.
* Fix Tag editor for multiple tag removes
* In Narweb, Relationship to Center person reversed
* Fix Citation Tree view for crash after plugin reload
* Fix 'References' Gramplet for issue when activated during an import
* disable Application Menu during import
* Fix Person/Family/Event view updates on various associated changes
* Fix Event view for changes in Main Participants
* Fix Person/Event/Place views for update to a Place or enclosing place
* Fix Person views to update on changes in birth/death event/place
* Allow unicode characters in json export
* Filtering problems in the geography view
* Crash when looking for a place within an area
* use same box margin for SVG and PDF.
* Webcal crashes after Narrative Web site exists
multiyear select option problem
* Catch exceptions when loading recent files
* Check that backend exists before loading database
* Disable family tree manager features when a backend is unavailable
If the default backend is unavailable, then reset it to bsddb.
* Enclose tree report image path and file name in braces
* Crash when selecting an old note, event, media, ...
Try to sort on another column.
* [NewRepositoryEditor]Fix help link
* [ReorderGrampsID]Fix broken help link
* Fix FTM for delete tree, followed by close; Title etc. shows old tree
* Fix Relationship path between filter for silent fail
* setup: Add configuration flag --no-compress-manpages.
* glade: Don't strip newlines from builder files.
* List sort by number for citation confidence level
* Fix confidence level sort in list views -based on the date-sort code.
* Fix confidence level tooltip -Stop run on text.
* Fix error in place displayer when offset is outside valid range
* Fix places in example.gramps
- Moved Greek places into top level Greece entry & added English names.
- Removed Puerto Rico as a country as part of USA
* Use sgettext for Name Format dialog
* Enable copying the birth & death fields for relationship view
* Allow Copying of text fields for Details tabs in selected views with
Details gramplets.
- Person Details
- Place Details
- Repository Details
* Geography: KML media objects not shown on map. Geography doesn't conform to the
relative paths If a place has no coordinates, KML files are not displayed.
* Fix Fan charts for scrolling/resizing of window; bad rendering
* Fix Clipboard for HandleErrors during db changes
* Fix Clipboard for Drop/Edit of Surname group in People Tree view
* Fix Relationship Graph for extraneous families when using filter
* Fix export gpkg when media files have fractional timestamps.
* Remove reference to postgresql in core code
* Move dbapi-specific code out of DbGeneric
* Create db _schema_exists method
* Fix place format option in place report
* Use -1 instead of None for default place format
* adds New [Place format:] option on the [Report Options (2)] tab
* [Narrative Web Report] Incorrect heading for stepmother or stepfather
* Cairodoc: Fix Book TOC and Index numbering and placement
* Fix Fan Chart(s) so they don't crash when opened as last view
* Fix Organize Tag editor for exception on 'x' close
* selectors: Change BaseSelector so that selection is kept during Find/Clear
* Fix multi-page Graph output to pdf with filenames containg spaces
* Fix Clipboard for right-click on empty clipboard
* docs/conf.py, docs/gen/gen_db.rst: Fix ImportError & update API docs year 2018
- Fixes ImportError: No module named 'gramps.plugins.db.dummydb'
- Update Copyright to 2018
* Webreport: Privacy problem with the relation to the center person.
* Fix Report Options when used with empty db
* debian/changelog: Finalise debian/changelog for beta1 release.
Also fix old syntax & trailing whitespace issues
* debian/rules: Enable extra tests that were failing for alpha3
* debian/patches: Patch person_rules_test.py To remove hard coded build path
from import. Fixes FTBFS due to test failure.
* debian/NEWS: Delete debian/NEWS file, only really applies in Debian
* debian/changelog: First beta release of gramps 5.0
* Sync debian directory with Debian experimental branch on salsa
* Point Vcs URLs at the Gramps Project on Github
* Correct spelling in debian/rules, node > nose
* Delete gbp.conf, not required as gbp not used to build package
* debian/gbp.conf: Remove gbp.conf, will not be using gbp to build
deb package Avoids updating it for every branch used to build it
* debian/rules: Fix spelling in d/rules node > nose
* debian/control: Update Vcs URLs to point at Gramps Github repo
* debian/NEWS, debian/README.Debian, debian/README.test,
debian/compat, debian/control, debian/copyright, debian/gbp.conf,
debian/gramps.docs, debian/rules, debian/source/format,
debian/source/local-options, debian/tests/control,
debian/tests/gramps-import-export, debian/upstream/metadata,
debian/watch: Resync debian dir from Debian 5.0 experimental branch
* debian/changelog: Update debian/changelog with releases since 4.0.3
* Fix testsuite failure when build happens out of the source tree.
Build path was hardcoded in an import in: person_rules_test.py
* mac/Info.plist, mac/gramps.modules: Release Gramps 5.0.0-beta1 on MacOS.
2017-08-01
Version 4.2.6
* Fix HasCitation rule in citation filter sidebar
* Fix use of regular expressions
* Date Editor had 'Type' and 'Quality' labels swapped
* Fix FamilyGroup Report
* Fix names not displayed in relationship graph
* Fix outdated Bugtracker link in reporting wizard
* Fix replacements in Ancestor tree
* Fix Default Browser Setting
* Fix linking place on OpenStreetMap view
* Fix Family Lines Report having unescaped characters
* Fix non-local character in DB name (Windows OS)
* Fix checking for "event.string" in "treeview_keypress"
* Fix invalid February 29th date in Julian dual-dated
* Fix Note on CIR when it is attached to a (preferred or alternative) name through the names dialog.
* Improve time loading for person selector in census forms
* Fix incorrect SoundEx result
* Fix Error printing on ancestor tree graphical report
* Fix custom filter creation with 'Events occurring on a particular day of the week'
* Bug in the Name Editor / Group As
* Gramps CSV export of Places did not generate correct Title.
* Add custom Family Relations not shown in the filter siderbar
* Fix non-textual value on Tag report
* Fix 'interface.dont-ask' config key ignored on Note edition
* Fix Reorder Relationships dialog
* Shrink size of Break Lock (and other QuestionDialogs)
* Only selection of Active or Home person if commited
* Fix quick search exception when nothing in searched list
* Fix problem adding parents
* Fix bookmarks keybinding on Mac
* Fix failure to load default gramplets if GExiv2 is missing or too old.
* Update API doc for place displayer
* Add datestrings to Turkish translation
* Update translations: cs, de, fr, fi, hu, it, ru, sl, sv, tr
2016-12-15
Version 4.2.5
* The configparser is assuming the wrong encoding
@@ -639,8 +800,8 @@ Version 3.4.4 of Gramps! "The Ministry of Silly Names", a maintenance release.
* fix annoying errors on navigation related to citations gramplet and tag object.
* listing the Family Trees can corrupt them.
* various fix around handling Gedcom file format
* fix citations and sources import on ProGen format
* better date handling and better alternate translation support on some textual reports according to locale under windows
* fix citations and sources import on ProGen format
* better date handling and better alternate translation support on some textual reports according to locale under windows
* avoid Errors when setting wrong value as markup for invalid dates (Preferences)
* fix paragraph layout on PDF format or print output
* New: New-Zealand holidays
@@ -658,7 +819,7 @@ Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenanc
* Sorting (both in the main display window, and particularly in Narrative Web output) now uses PyICU (if that module is available). Inclusion of PyICU is 'strongly recommended'. This resolves a number of bugs particularly related to sorting of non-Latin characters, and sorting on MS Windows and Mac OS X. Some changes have been made in Narrative Web to support contractions for alphabetic indices.
* The automatic Addon checking and download now works once again (the location used in Gramps 3.4.2 and before had been changed, so the the automatic process was no longer working).
* Import from Pro-Gen has been updated (at last) to take account of the change to Citations (in 3.4.0)
* Import and Export of address fields in GEDCOM has been improved so that the round-trip works properly.
* Import and Export of address fields in GEDCOM has been improved so that the round-trip works properly.
* GEDCOM Repositories not imported correctly from FTM for Windows and Heredis.
* Fixes to a number of errors in filtering notes.
* Fix some errors in determining whether someone is alive (e.g. for filtering out alive people).
@@ -667,7 +828,7 @@ Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenanc
* Fixed update problems with citation bottombar gramplet (bug #6336)
* Fixed Open Document Text output in Book report (bug #6457)
* A number of changes to Narrative Web:
** Media objects attached to Marriage events and Sources are not included in Narrative Web Site
** Media objects attached to Marriage events and Sources are not included in Narrative Web Site
** restructure the families index so families are indexed under both spouses, and the family name is normalised
** separate out Families section in individual and families pages so individual page links to the family page and family page links to both people
** normalise links to families so the link is only displayed if the family page is present, and the gid is included when appropriate
@@ -685,7 +846,7 @@ Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenanc
** Implemented a generalised back reference function to display the 'References' section of all pages. This recursively displays references till one is found for which a page exists.
** Removed list of people and families from heading of the event pages as these are now in the 'References' section.
** Fixed bug "0005968: Narrated Web Site not copying Source Citations files such as jpg or pdf docs to web site
** Fixed bug "0005946 GRAMPS failed to insert jpeg image into proper place for an event" by displaying a thumbnail for citation media in the 'Source References' section (with a link to the media page)
** Fixed bug "0005946 GRAMPS failed to insert jpeg image into proper place for an event" by displaying a thumbnail for citation media in the 'Source References' section (with a link to the media page)
** Tidy up media pages - remove unused parameters, use list of media items generated in first pass. Should fix bugs 2365, 5905 and 6009.
** Tidy up sources pages - fix numbering of repositories, remove unused parameters, fix title of individual source pages
** Bug: reset NarrWeb navigation menu layout when style sheet doesn't support it
@@ -693,7 +854,7 @@ Version 3.4.3 of Gramps! "Whenever life gets you down, Mrs. Brown", a maintenanc
** Fix option to suppress Gramps ID (bug #6237)
* a number of technical changes to Narrative Web
** Removed a lot of redundant code and parameters (mainly connected with the old way of determining the objects to be included in the report).
** Movement of some large chunks of code within the source file and some initial work towards GEPS 022: Narrative Website Refactor. Functionality should be unchanged.
** Movement of some large chunks of code within the source file and some initial work towards GEPS 022: Narrative Website Refactor. Functionality should be unchanged.
** Moved routines for calculating objects to be output so they can be part of default list building classes.
* Various updated translations: da, de, es, fr, it, nb, nl, pt_BR, pt_PT, sv, uk
@@ -885,7 +1046,7 @@ Version 3.1.3 -- the "What name?" release.
2009-06-06
Version 3.1.2 -- the "Skip the impersonations" release.
* Contains translation updates and small bug fixes. No new features.
* ca, cs, de, fr, he, it, nb, nl, pl, pt_br, ru, sk, sv,
* ca, cs, de, fr, he, it, nb, nl, pl, pt_br, ru, sk, sv,
* fixes a failure in 'Check & Repair Database'
* fixes to Gramplets
* fixes to CLI regressions
@@ -998,7 +1159,7 @@ Version 2.2.5 -- the "Now go away or I shall taunt you a second time" release
Version 2.2.4 -- the "When you're chewing on life's gristle, Don't grumble, give a whistle" release
* Improved handling of readonly files
* Enhanced parsing of longitute and latitude and mapping
* Enhanced parsing of longitute and latitude and mapping
(Benny Malengier/Zsolt Foldvari)
* Check and repair improvements
* Reference map rebuild tool
-94
View File
@@ -1,94 +0,0 @@
Please read the COPYING file first.
Please read the INSTALL file if you intend to build from source.
Requirements
--------------------------------
The following packages *MUST* be installed in order for Gramps to work:
Python 3.2 or greater
GTK 3.10 or greater
pygobject 3.12 or greater
cairo, pango, pangocairo with introspection bindings (the gi packages)
librsvg2 (svg icon view)
xdg-utils
bsddb3
The following package is needed for full translation of the interface
to your language:
language-pack-gnome-xx
Translation of GTK elements to your language, with
xx your language code; e.g. for Dutch you need
language-pack-gnome-nl. The translation of the
Gramps strings is included with the gramps source.
The following packages are *STRONGLY RECOMMENDED* to be installed:
osmgpsmap Used to show maps in the geography view.
It may be osmgpsmap, osm-gps-map, or python-osmgpsmap,
but the Python bindings for this must also be present.
Without this the GeoView will not be active, see
https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Categories#Geography_Category
Graphviz Enable creation of graphs using Graphviz engine.
Without this, three reports cannot be run.
Obtain it from: http://www.graphviz.org
PyICU Improves localised sorting in Gramps. In particular, this
applies to sorting in the various views and in the
Narrative Web output. It is particularly helpful for
non-Latin characters, for non-English locales and on MS
Windows and Mac OS X platforms. If it is not available,
sorting is done through built-in libraries. PyICU is
fairly widely available through the package managers of
distributions. See http://pyicu.osafoundation.org/
(These are Python bindings for the ICU package.
https://pypi.python.org/pypi/PyICU/)
The following packages are optional
gtkspell Enable spell checking in the notes. Gtkspell depends on
enchant. A version of gtkspell with gobject introspection
is needed, so minimally version 3.0.0
rcs The GNU Revision Control System (RCS) can be used to manage
multiple revisions of your family trees. See info at
https://gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree
Only rcs is needed, NO python bindings are required
PIL Python Image Library is needed to crop
images and also to convert non-JPG images to
JPG so as to include them in LaTeX output.
(For Python3 a different source may be needed,
python-imaging or python-pillow or python3-pillow)
GExiv2 Enables Gramps to manage Exif metadata embedded in your
media. Gramps needs version 0.5 or greater.
See http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#GExiv2_for_Image_metadata
ttf-freefont More font support in the reports
gir-webkit Required for the (user-downloadable) HtmlView plugin
goocanvas2 Required for the (user-downloadable) GraphView plugin
No longer needed in 4.1:
?
No longer needed in 4.0:
pygoocanvas, pygtk, pyexiv2
No longer needed in 3.3:
python-enchant Enchant
No longer needed in 3.2:
python glade bindings
No longer needed in 3.1:
yelp Gnome help browser. No offline help is shipped see Gramps website for User manual
Documentation
---------------------------------
The User Manual is maintained on the Gramps website,
http://www.gramps-project.org/wiki/index.php?title=User_manual
--------------------------------
The Gramps Project
http://gramps-project.org
+160
View File
@@ -0,0 +1,160 @@
The Gramps Project ( https://gramps-project.org ) [![Build Status](https://travis-ci.org/gramps-project/gramps.svg?branch=master)](https://travis-ci.org/gramps-project/gramps)[![codecov.io](https://codecov.io/github/gramps-project/gramps/coverage.svg?branch=master)](https://codecov.io/github/gramps-project/gramps?branch=master)
===================
We strive to produce a genealogy program that is both intuitive for hobbyists and feature-complete for professional genealogists.
Please read the **COPYING** file first.
Please read the **INSTALL** file if you intend to build from source.
Requirements
============
The following packages **MUST** be installed in order for Gramps to work:
* **Python** 3.2 or greater - The programming language used by Gramps. https://www.python.org/
* **GTK** 3.12 or greater - A cross-platform widget toolkit for creating graphical user interfaces. http://www.gtk.org/
* **pygobject** 3.12 or greater - Python Bindings for GLib/GObject/GIO/GTK+ https://wiki.gnome.org/Projects/PyGObject
The following three packages with GObject Introspection bindings (the gi packages)
* **cairo** 1.13.1 or greater - a 2D graphics library with support for multiple output devices. http://cairographics.org/
* **Pycairo** 1.13.3 or greater - GObject Introspection bindings for cairo. https://github.com/pygobject/pycairo
* **pango** - a library for laying out and rendering of text, with an emphasis on internationalization. http://www.pango.org/
* **pangocairo** - Allows you to use Pango with Cairo http://www.pango.org/
* **librsvg2** - (SVG icon view) a library to render SVG files using cairo. http://live.gnome.org/LibRsvg
* **xdg-utils** - Desktop integration utilities from freedesktop.org
* **bsddb3** - Python bindings for Oracle Berkeley DB https://pypi.python.org/pypi/bsddb3/
* **sqlite3** - Python bindings for SQLite Database library
The following package is needed for full translation of the interface
to your language:
* **language-pack-gnome-xx**
Translation of GTK elements to your language, with
xx your language code; e.g. for Dutch you need
language-pack-gnome-nl. The translation of the
Gramps strings is included with the gramps source.
The following packages are **STRONGLY RECOMMENDED** to be installed:
--------------------------------------------------------------------
* **osmgpsmap**
Used to show maps in the geography view.
It may be osmgpsmap, osm-gps-map, or python-osmgpsmap,
but the Python bindings for this must also be present, so gir1.2-osmgpsmap-1.0.
Without this the GeoView will not be active, see
https://gramps-project.org/wiki/index.php?title=Gramps_5.0_Wiki_Manual_-_Categories#Geography_Category
* **Graphviz**
Enable creation of graphs using Graphviz engine.
Without this, three reports cannot be run.
Obtain it from: http://www.graphviz.org or try graphviz and python3-pygraphviz from your packages.
* **PyICU**
Improves localised sorting in Gramps. In particular, this
applies to sorting in the various views and in the
Narrative Web output. It is particularly helpful for
non-Latin characters, for non-English locales and on MS
Windows and Mac OS X platforms. If it is not available,
sorting is done through built-in libraries. PyICU is
fairly widely available through the package managers of
distributions. See http://pyicu.osafoundation.org/
(These are Python bindings for the ICU package.
https://pypi.python.org/pypi/PyICU/)
* **Ghostscript**
Used by Graphviz reports to help create PDF's
The following packages are optional:
------------------------------------
* **gtkspell**
Enable spell checking in the notes. Gtkspell depends on
enchant. A version of gtkspell with gobject introspection
is needed, so minimally version 3.0.0
* **rcs**
The GNU Revision Control System (RCS) can be used to manage
multiple revisions of your family trees. See info at
https://gramps-project.org/wiki/index.php?title=Gramps_5.0_Wiki_Manual_-_Manage_Family_Trees#Archiving_a_Family_Tree
Only rcs is needed, NO python bindings are required
* **PIL**
Python Image Library (PILLOW) is needed to crop
images and also to convert non-JPG images to
JPG so as to include them in LaTeX output.
(For Python3 a different source may be needed,
python-imaging or python-pillow or python3-pillow)
* **GExiv2**
Enables Gramps to manage Exif metadata embedded in your
media. Gramps needs version 0.5 or greater.
See https://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#GExiv2_for_Image_metadata
* **ttf-freefont**
More font support in the reports
* **geocodeglib**
A library use to associate a geographical position (latitude, longitude)
to a place name. This is used if you already have osmgpsmap installed.
If installed, when you add or link a place from the map, you have a red line
at the end of the table for selection.
Debian, Ubuntu, ... : gir1.2-geocodeglib-1.0
Fedora, Redhat, ... : geocode-glib
openSUSE : geocode-glib
ArchLinux : geocode-glib
...
Optional packages required by Third-party Addons
------------------------------------------------
**Third-party Addons are written by users and developers and unless stated are not officially part of Gramps.**
For more information about Addons see: https://gramps-project.org/wiki/index.php?title=Third-party_Plugins
Prerequistes required for the following Addons to work:
* **Family Sheet** - Requires: PIL (Python Imaging Library) or PILLOW.
( https://gramps-project.org/wiki/index.php?title=Family_Sheet )
* **Graph View** - Requires: PyGoocanvas and Goocanvas (python-pygoocanvas, gir1.2-goocanvas-2.0).
( https://gramps-project.org/wiki/index.php?title=Graph_View )
* **Network Chart** - Requires: networkx and pygraphviz
( https://gramps-project.org/wiki/index.php?title=NetworkChart )
* **PedigreeChart** - Can optionally use - numpy if installed
( https://gramps-project.org/wiki/index.php?title=PedigreeChart )
No longer needed:
-----------------
* Since Gramps 4.2:
**gir-webkit**
* Since Gramps 4.0:
**pygoocanvas, pygtk, pyexiv2**
* Since Gramps 3.3:
**python-enchant Enchant**
* Since Gramps 3.2:
**python glade bindings**
* Since Gramps 3.1:
**yelp** - Gnome help browser. No offline help is shipped see Gramps website for User manual
Documentation
-------------
The User Manual is maintained on the Gramps website:
* https://www.gramps-project.org/wiki/index.php?title=User_manual
+28 -6
View File
@@ -1,13 +1,35 @@
Major enhancements in Gramps 4.2.0:
* GEP 36: GEPS 036: Extended Alternative Place Name Handling:
https://gramps-project.org/wiki/index.php?title=GEPS_036:_Extended_Alternative_Place_Name_Handling
UNSTABLE Gramps 4.0.0 Beta2 release.
* GEP interactive search: own interactive-search box.
This is a technology preview to allow distribution packagers (and plugin
writers) to update their scripts (and plugins). This release is not
production ready, so only use it for testing!
* Speedup on Tree and Flat Views
It is recommended that Gramps 4.0.0 be used with python 2.7 since many
dependent packages do not yet have python 3 versions. A determined person
can probably download their sources and build them, however.
The dependencies for Gramps 4.0.0 are _completely_ different than 3.4 due
to the switch to GObject introspection, and the removal of autotools. So
only install 4.0.0 if you are certain you can obtain the dependencies,
see README and INSTALL.
For linux, in Ubuntu 12.10 you can install 4.0.0, but you will need to
compile and install osmgpsmap manually to have the maps working (see
http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion#OsmGpsMap_for_Geography )
Major enhancements in Gramps 4.0.0:
* GEP 8: code reorganization: http://www.gramps-project.org/wiki/index.php?title=GEPS_008:_File_Organization
* GEP 26: Replace make: http://www.gramps-project.org/wiki/index.php?title=GEPS_026:_Replace_%27make%27_for_Gramps_build
* GEP 29: Gtk 3 :http://www.gramps-project.org/wiki/index.php?title=GEPS_029:_GTK3-GObject_introspection_Conversion
* GEP 31: Python 3 support: http://www.gramps-project.org/wiki/index.php?title=GEPS_031:_Python_3_support
More info in the manual
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.2_Wiki_Manual_-_What%27s_new%3F
http://www.gramps-project.org/wiki/index.php?title=Gramps_4.0_Wiki_Manual_-_What%27s_new%3F
Everybody is invited to update the manual to make it current!
+23
View File
@@ -0,0 +1,23 @@
_gramps()
{
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="--action --config --create --databases --debug --export --format --help --import --open --options --quiet --remove --show --usage --version --yes -? -C -L -O -a -b -c -d -e -f -i -l -p -q -r -s -t -u -v -y"
if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
elif [[ ${cur} == --open ]] ; then
local IFS=$'\n'
local names=($( gramps -l | grep \" | cut -d\ -f4- ))
COMPREPLY=( $(compgen --W "${names[*]}" -- ${cur}) )
return 0
else
local IFS=$'\n'
local names=($( gramps -l | grep \" | cut -d\ -f4- ))
COMPREPLY=( $(compgen -W "${names[*]}" -- ${cur}) )
return 0
fi
}
complete -F _gramps gramps
+3 -1
View File
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Id$ -->
<authors xmlns:html="http://www.w3.org/1999/xhtml">
<author title="author">
Alex Roitman &lt;<html:a href="mailto:shura@gramps-project.org">shura@gramps-project.org</html:a>&gt;
@@ -94,6 +93,9 @@
<author title="contributor">
Nick Hall &lt;<html:a href="mailto:nick__hall@hotmail.com">nick__hall@hotmail.com</html:a>&gt;
</author>
<author title="contributor">
Paul Culley &lt;<html:a href="mailto:paulr2787@gmail.com">paulr2787@gmail.com</html:a>&gt;
</author>
<author title="contributor">
Peter Landgren &lt;<html:a href="mailto:peter.talken@telia.com">peter.talken@telia.com</html:a>&gt;
</author>
-55
View File
@@ -1,55 +0,0 @@
/*
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright 2009 Serge Noiraud
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
----------------------------------------------------------------------------
GeoView Style Sheet
Style Name: GeoView
Style Author: Serge Noiraud (2009)
----------------------------------------------------------------------------
This file was created for GeoView usage.
# $Id$
GeoView Styles
----------------------------------------------------- */
#geo-map
{
margin-left:0px;
margin-top:0px;
margin-right:auto;
margin-bottom:auto;
}
/* InfoWindow */
#geo-info {
font-size:10pt;
max-height:200px;
max-width: 600px;
min-width: 300px;
text-align: left;
padding-right: 6px;
overflow-x: auto;
overflow-y: auto;
}
+11 -2
View File
@@ -50,7 +50,6 @@ Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
@@ -87,6 +86,12 @@ h1 {
font-weight: bold;
padding-left: 15px;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: large;
padding-left: 15px;
@@ -325,6 +330,10 @@ table.IndividualList td.ColumnSurname {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
@@ -416,7 +425,7 @@ div#SourceDetail {
}
.subsection {
clear: both;
overflow: hidden;
overflow: visible;
}
.subsection p {
margin: 0px;
+9 -13
View File
@@ -134,7 +134,6 @@ h5, h6 {
margin:1.3em 0 .5em 1em;
}
p#description {
max-width: 800px;
margin: 0;
padding: 1em 20px;
text-indent: 30px;
@@ -289,10 +288,6 @@ table.infolist thead tr th {
table.infolist tr td {
border-bottom: dashed 1px #000;
vertical-align: middle;
padding: 6px 0 6px 10px;
}
table.infolist tr td a {
display: block;
}
table.infolist tr.BeginLetter td, table.infolist tr.BeginSurname td {
border-top: solid 1px #000;
@@ -352,15 +347,15 @@ div#Individuals {
margin: 0;
padding: 0;
}
div#Individuals table.individuallist {
div#Individuals table.IndividualList {
border-bottom: solid 1px #000;
}
div#Individuals table.individuallist tbody tr td.ColumnSurname a:hover,
div#Individuals table.individuallist tbody tr td.ColumnSurname a:active {
div#Individuals table.IndividualList tbody tr td.ColumnSurname a:hover,
div#Individuals table.IndividualList tbody tr td.ColumnSurname a:active {
cursor: default;
background: none;
}
div#Individuals table.individuallist tbody tr td.ColumnName a {
div#Individuals table.IndividualList tbody tr td.ColumnName a {
vertical-align: middle;
}
div#Individuals div table.infolist tr td p {
@@ -494,7 +489,7 @@ table.eventlist tbody tr td.ColumnNotes {
width: 20%;
}
table.eventlist tbody tr td.ColumnSources {
width: 17%;
width: 5%;
}
table.eventlist tbody tr td.ColumnPerson {
width: 35%;
@@ -1130,9 +1125,10 @@ div.narrative {
}
.narrative p {
font: normal .9em/1.4em sans-serif;
margin-top: .5em;
margin-bottom: 0;
padding: 0 20px 1em 20px;
margin: 0.1em 0 0.2em 0;
}
i + div.grampsstylednote p {
margin: 0.1em 0 0.2em 0;
}
/* Subsections : References
+11 -2
View File
@@ -50,7 +50,6 @@ Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
@@ -87,6 +86,12 @@ h1 {
font-weight: bold;
padding-left: 15px;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: large;
padding-left: 15px;
@@ -368,6 +373,10 @@ table.IndividualList td.ColumnSurname {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
@@ -466,7 +475,7 @@ div#SourceDetail {
}
.subsection {
clear: both;
overflow: hidden;
overflow: visible;
}
.subsection p {
margin: 0px;
+11 -2
View File
@@ -50,7 +50,6 @@ Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
@@ -87,6 +86,12 @@ h1 {
font-weight: bold;
padding-left: 15px;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: large;
padding-left: 15px;
@@ -361,6 +366,10 @@ table.IndividualList td.ColumnSurname {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
@@ -459,7 +468,7 @@ div#SourceDetail {
}
.subsection {
clear: both;
overflow: hidden;
overflow: visible;
}
.subsection p {
margin: 0px;
+11 -2
View File
@@ -50,7 +50,6 @@ Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
@@ -87,6 +86,12 @@ h1 {
font-weight: bold;
padding-left: 15px;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: large;
padding-left: 15px;
@@ -361,6 +366,10 @@ table.IndividualList td.ColumnSurname {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
@@ -459,7 +468,7 @@ div#SourceDetail {
}
.subsection {
clear: both;
overflow: hidden;
overflow: visible;
}
.subsection p {
margin: 0px;
+11 -2
View File
@@ -50,7 +50,6 @@ Characteristic of this style is that it uses the full width of the browser
window and that horizontal highlighting bars extend over the full width of
the page.
--------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
------------------------------------------------------------------------------------------------
@@ -87,6 +86,12 @@ h1 {
font-weight: bold;
padding-left: 15px;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: large;
padding-left: 15px;
@@ -361,6 +366,10 @@ table.IndividualList td.ColumnSurname {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#GalleryNav {
@@ -459,7 +468,7 @@ div#SourceDetail {
}
.subsection {
clear: both;
overflow: hidden;
overflow: visible;
}
.subsection p {
margin: 0px;
-1
View File
@@ -25,7 +25,6 @@ GRAMPS Cascading Style Sheet
Style Name: Web_Citations-Outline.css
******************************************************
# $Id$
Source Citations Outline styles
------------------------------------------------------ */
-1
View File
@@ -18,7 +18,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# $Id$
#
*************************************************
GRAMPS Cascading Style Sheet
-1
View File
@@ -18,7 +18,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# $Id$
#
*************************************************
GRAMPS Cascading Style Sheet
-2
View File
@@ -25,7 +25,6 @@ GRAMPS Cascading Style Sheet
Style Name: Web_Navigation-Horizontal.css
******************************************************
# $Id$
Body Element
------------------------------------------------------ */
@@ -33,7 +32,6 @@ body {
background-color: #00029D;
color: #00029D;
width: 100%;
padding: 0px 14px;
}
/* Navigation Menus
+12 -3
View File
@@ -54,7 +54,6 @@ Middle images/Web_Mainz_Mid.png
Middle Light images/Web_Mainz_MidLight.png
----------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
--------------------------------------------------------------------------------------------
@@ -68,7 +67,7 @@ body {
background: url(../images/Web_Mainz_Bkgd.png) black repeat;
}
body > div {
width: 950px;
width: 85%;
margin: 0px auto;
background: url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat;
overflow: hidden;
@@ -91,6 +90,12 @@ h1 {
font-style: italic;
margin-left: 2em;
}
h2 {
display:block;
margin:0;
padding:0;
text-align: center;
}
h3 {
font-size: xx-large;
font-weight: normal;
@@ -144,7 +149,7 @@ div#nav ul li, #subnavigation ul li {
float: left;
}
div#nav ul li a, #subnavigation ul li a {
display: block;
display: run-in;
padding: 0.4em 0.8em 0.3em 0.8em;
font-size: smaller;
font-family: sans-serif;
@@ -307,6 +312,10 @@ table#SortByCount thead th.ColumnQuantity a:after {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
-----------------------------------------------------------------*/
#GalleryNav {
+17 -15
View File
@@ -45,7 +45,6 @@ gray #696969
green #5D835F
--------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
--------------------------------------------------------------------------------------------
@@ -115,7 +114,7 @@ h1 {
font:normal 2em/1.2em serif;
}
h2 {
display:none;
display:block;
}
h3 {
font:normal 2em/1.2em serif;
@@ -139,7 +138,6 @@ h5, h6 {
p#description {
color:#542;
max-width:800px;
margin:0;
padding:1em 20px;
background-color:#FFF;
@@ -278,7 +276,6 @@ table.infolist tr th a:hover {
table.infolist tr td {
font:normal 1.1em/1.4em serif;
vertical-align:middle;
padding:.1em 10px;
}
table.infolist tr td a {
display:block;
@@ -398,30 +395,30 @@ table.surname thead tr th.ColumnParents, table.surname tbody tr td.ColumnParents
/* Individuals
----------------------------------------------------- */
#Individuals { }
#Individuals table.individuallist {
#Individuals table.IndividualList {
border-bottom:solid 1px #A97;
}
#Individuals table.individuallist tbody tr td {
#Individuals table.IndividualList tbody tr td {
border-bottom:dashed 1px #C1B398;
}
#Individuals table.individuallist tbody tr td a:hover {
#Individuals table.IndividualList tbody tr td a:hover {
text-decoration:none;
}
table.individuallist tbody tr td.ColumnSurname a:hover, table.individuallist tbody tr td.ColumnSurname a:active {
table.IndividualList tbody tr td.ColumnSurname a:hover, table.IndividualList tbody tr td.ColumnSurname a:active {
cursor:default;
color:black;
background:none;
}
table.individuallist tbody tr td.ColumnName {
table.IndividualList tbody tr td.ColumnName {
padding:0;
background-color:#FFF;
}
table.individuallist tbody tr td.ColumnName a {
table.IndividualList tbody tr td.ColumnName a {
display:block;
padding:.6em 10px;
padding:.1em .1em;
vertical-align:middle;
}
table.individuallist tbody tr td.ColumnName a:hover {
table.IndividualList tbody tr td.ColumnName a:hover {
background-color:#C1B398;
}
#Individuals div table.infolist tr td p {
@@ -579,6 +576,10 @@ table.relationships tbody tr td.ColumnPartner a:hover {
content: "";
}
table.eventlist tbody tr td.ColumnSources {
width: 5%;
}
/* Gallery
----------------------------------------------------- */
#Gallery { }
@@ -962,11 +963,12 @@ div#Addresses table.infolist tr td a, div#Addresses table.infolist tr td p a {
div.narrative {
padding-bottom:0;
}
i + div.grampsstylednote p {
margin: 0.1em 0 0.2em 0;
}
.narrative p {
margin: 0.1em 0 0.2em 0;
font:normal .9em/1.4em sans-serif;
margin-top:.5em;
margin-bottom:0;
padding:0 20px 1em 20px;
}
/* Subsections : References
-1
View File
@@ -41,7 +41,6 @@ black #000
white #FFF
---------------------------------------------------------------------------------------------------
# $Id$
NarrativeWeb Styles
--------------------------------------------------------------------------------------------
+8 -10
View File
@@ -45,7 +45,6 @@ Unknown #000
Males Web_Gender_Male.png
Females Web_Gender_Female.png
# $Id$
NarrativeWeb Styles
-------------------------------------------------------------------------------------------- */
@@ -156,7 +155,6 @@ h5, h6 {
margin:1.3em 0 .5em 1em;
}
p#description {
max-width:800px;
margin:0;
padding:1em 20px;
}
@@ -456,30 +454,30 @@ div#Individuals {
margin: 0;
padding: 0;
}
div#Individuals table.individuallist {
div#Individuals table.IndividualList {
border-bottom: solid 1px #5D835F;
}
div#Individuals table.individuallist tbody tr td {
div#Individuals table.IndividualList tbody tr td {
border-bottom: dashed 1px #5D835F;
background-color: #D8F3D6;
}
div#Individuals table.individuallist tbody tr td a {
div#Individuals table.IndividualList tbody tr td a {
display: block;
padding: .6em 10px;
}
div#Individuals table.individuallist tbody tr td.ColumnSurname a:hover,
div#Individuals table.individuallist tbody tr td.ColumnSurname a:active {
div#Individuals table.IndividualList tbody tr td.ColumnSurname a:hover,
div#Individuals table.IndividualList tbody tr td.ColumnSurname a:active {
cursor:default;
color: #000;
background:none;
}
div#Individuals table.individuallist tbody tr td.ColumnName {
div#Individuals table.IndividualList tbody tr td.ColumnName {
background-color: #FFF;
}
div#Individuals table.individuallist tbody tr td.ColumnName a {
div#Individuals table.IndividualList tbody tr td.ColumnName a {
vertical-align:middle;
}
div#Individuals table.individuallist tbody tr td.ColumnPartner {
div#Individuals table.IndividualList tbody tr td.ColumnPartner {
background-color: #FFF;
}
div#Individuals div table.infolist tr td p {
+3
View File
@@ -45,6 +45,9 @@ Females Web_Gender_Female.png
}
#treeContainer {
position:relative;
display: table-cell;
vertical-align: middle;
overflow: visible;
z-index:1;
}
#treeContainer div.boxbg {
-1
View File
@@ -29,7 +29,6 @@ Style Author: Stephane Charette and Jason Simanek
Image Gallery
-------------
# $Id$
ensure RegionBox <ol> is hidden and has no margins/padding that would shift the image */
ol.RegionBox {
+7 -4
View File
@@ -18,13 +18,11 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# $Id$
#
###################################################### */
body#FamilyMap {
background-color: #000;
padding: 0 14px;
width: 965px;
}
/* Family Maps
@@ -33,8 +31,11 @@ body#FamilyMap {
margin-left: 10px;
margin-right: 10px;
border: solid 4px #000;
width: 931px;
height: 1000px;
margin: 0px auto;
width: 800px;
height: 400px;
max-width: 90%;
max-height: 90%;
}
/* Place Maps
@@ -44,6 +45,8 @@ div#place_canvas {
border: solid 4px #000;
width: 500px;
height: 400px;
max-width: 90%;
max-height: 90%;
}
button#drop {
background-color: purple;
-1
View File
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-gramps">
-1
View File
@@ -19,7 +19,6 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
$Id$
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-1
View File
@@ -21,7 +21,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# $Id$
-->
<!--
@@ -201,12 +201,12 @@
<date name="Pääsiäispäivä" type="religious" value="> easter(y)" />
<date name="2. Pääsiäispäivä" type="religious" value="> easter(y)" offset="1" />
<date name="Helatorstai" type="religious" value="> easter(y)" offset="39" if="not(y>=1973)" />
<date name="Kristuksen taivaaseenastumisen päivä." type="religious" value="> easter(y)" offset="34" if="(y>=1973) and not(y>=1992)" />
<date name="Kristuksen taivaaseenastumisen päivä" type="religious" value="> easter(y)" offset="34" if="(y>=1973) and not(y>=1992)" />
<date name="Helatorstai" type="religious" value="> easter(y)" offset="39" if="(y>=1992)" />
<date name="Helluntaipäivä" value="easter(y)" offset="49" type="religious" />
<date name="Pyhän Kolminaisuuden päivä" value="easter(y)" offset="56" type="religious" />
<date name="Apostolienpäivä" value="easter(y)" offset="91" type="religious" />
<date name="Kirkastussunnuntai." value="easter(y)" offset="105" type="religious" />
<date name="Kirkastussunnuntai" value="easter(y)" offset="105" type="religious" />
<date name="Juhannusaatto" value="*/jun/19" offset="fri" type="religious" if="(y>=1955)" />
<date name="Juhannusaatto" value="*/jun/23" type="religious" if="not(y>=1955)" />
<date name="Juhannuspäivä" value="*/jun/20" offset="sat" type="religious" if="(y>=1955)" />
@@ -224,12 +224,12 @@
<date name="Joulupäivä" value="*/12/25" type="religious" />
<date name="Tapaninpäivä" value="*/12/26" type="religious" />
<date name="Johannes Evankelistan päivä" value="*/dec/27" type="religious" if="not(y>=1774)" />
<date name="Apostoli Johanneksen päivä." value="*/dec/27" type="religious" if="dow(y, m, d) == 7 and (y>=2000)" />
<date name="Apostoli Johanneksen päivä" value="*/dec/27" type="religious" if="dow(y, m, d) == 7 and (y>=2000)" />
<date name="Viattomien lasten päivä" value="*/12/28" type="religious" />
<date name="Uudenvuodenpäivä" value="*/1/1" type="national" />
<date name="Vainojen uhrien muistopäivä" value="*/1/27" type="national" if="(y>=2002)" />
<date name="J.L. Runebergin päivä" value="*/2/5" type="national" if="(y>=1854)" />
<date name="Saamelaisten kansallis päivä" value="*/2/6" type="religious" if="(y>=2004)" />
<date name="Saamelaisten kansallispäivä" value="*/2/6" type="religious" if="(y>=2004)" />
<date name="Ystävänpäivä" value="*/2/14" type="national" if="(y>=1987)" />
<date name="Kalevalan päivä" value="*/2/28" type="national" if="(y>=1978)" />
<date name="Naistenpäivä" value="*/3/8" type="national" if="(y>=1975)" />
File diff suppressed because one or more lines are too long
-9266
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-859
View File
@@ -1,859 +0,0 @@
/*!
* jQuery FlexBox $Version: 0.9.6 $
*
* Copyright (c) 2008-2010 Noah Heldman and Fairway Technologies (http://www.fairwaytech.com/flexbox)
* Licensed under Ms-PL (http://www.codeplex.com/flexbox/license)
*
* $Date: 2010-11-24 01:02:00 PM $
* $Rev: 0.9.6.1 $
*/
(function($) {
$.flexbox = function(div, o) {
// TODO: in straight type-ahead mode (showResults: false), if noMatchingResults, dropdown appears after new match
// TODO: consider having options.mode (select, which replaces html select; combobox; suggest; others?)
// TODO: on resize (at least when wrapping within a table), the arrow is pushed down to the next line
// TODO: check for boundary/value problems (such as minChars of -1) and alert them
// TODO: add options for advanced paging template
// TODO: general cleanup and refactoring, commenting
// TODO: detailed Exception handling, logging
// TODO: FF2, up arrow from bottom has erratic scroll behavior (if multiple flexboxes on page)
// TODO: FF2 (and maybe IE7): if maxVisibleRows == number of returned rows, height is a bit off (maybe set to auto?)
// TODO: escape key only works from input box (this might be okay)
// TODO: make .getJSON parameters (object and callback function) configurable (e.g. when calling yahoo image search)
// TODO: escape key reverts to previous value (FF only?) (is this a good thing?)
// TEST: highlightMatches uses the case of whatever you typed in to replace the match string, which can look funny
// TEST: handle pageDown and pageUp keys when scrolling through results
// TEST: allow client-side paging (return all data initially, set paging:{pageSize:#}, and ensure maxCacheBytes is > 0)
// TEST: accept json object as first parameter to flexbox instead of page source, and have it work like a combobox
// TEST: implement no results template
// TEST: implement noResultsText and class
// TEST: watermark color should be configurable (and so should default input color)
// TEST: exception handling and alerts for common mistakes
// TEST: first example should use defaults ONLY
// TEST: add property initialValue, so you can set it when the flexbox loads
// TEST: handle hidden input value for form submissions
// TEST: how can we allow programmatically setting the field value (and therefore hidden value). add jquery function?
// TEST: use pageSize parameter as threshold to switch from no paging to paging based on results
// TEST: if you type in an input value that matches the html, it might display html code (try typing "class" in the input box)
// TEST: don't require all paging subprops (let default override)
// TEST: when tabbing from one ffb to another, the previous ffb results flash...
// TEST: IE7: when two non-paging ffbs right after each other, with only a clear-both div between them, the bottom ffb jumps down when selecting a value, then jumps back up on mouseover
// TEST: FF2, make sure we scroll to top before showing results (maxVisibleRows only)
// TEST: if maxVisibleRows is hiding the value the user types in to the input, scroll to that value (is this even possible?)
// TEST: make sure caching supports multiple ffbs uniquely
// TEST: when entering a number in the paging input box, the results are displayed twice
var timeout = false, // hold timeout ID for suggestion results to appear
cache = [], // simple array with cacheData key values, MRU is the first element
cacheData = [], // associative array holding actual cached data
cacheSize = 0, // size of cache in bytes (cache up to o.maxCacheBytes bytes)
delim = '\u25CA', // use an obscure unicode character (lozenge) as the cache key delimiter
scrolling = false,
pageSize = o.paging && o.paging.pageSize ? o.paging.pageSize : 0,
retrievingRemoteData = false,
$div = $(div).css('position', 'relative').css('z-index', 0);
// The hiddenField MUST be appended to the div before the input, or IE7 does not shift the dropdown below the input field (it overlaps)
var $hdn = $('<input type="hidden"/>')
.attr('id', $div.attr('id') + '_hidden')
.attr('name', $div.attr('id'))
.val(o.initialId)
.appendTo($div);
var $input = $('<input/>')
.attr('id', $div.attr('id') + '_input')
.attr('autocomplete', 'off')
.addClass(o.inputClass)
.css('width', o.width + 'px')
.appendTo($div)
.click(function(e) {
if (o.watermark !== '' && this.value === o.watermark)
this.value = '';
else
this.select();
})
.focus(function(e) {
$(this).removeClass('watermark');
})
.blur(function(e) {
if (this.value === '') $hdn.val('');
setTimeout(function() { if (!$input.data('active')) hideResults(); }, 200);
})
.keydown(processKeyDown);
if (o.initialValue !== '')
$input.val(o.initialValue).removeClass('watermark');
else
$input.val(o.watermark).addClass('watermark');
var arrowWidth = 0;
if (o.showArrow && o.showResults) {
var arrowClick = function() {
if ($ctr.is(':visible')) {
hideResults();
}
else {
$input.focus();
if (o.watermark !== '' && $input.val() === o.watermark)
$input.val('');
else
$input.select();
if (timeout)
clearTimeout(timeout);
timeout = setTimeout(function() { flexbox(1, true, o.arrowQuery); }, o.queryDelay);
}
};
var $arrow = $('<span></span>')
.attr('id', $div.attr('id') + '_arrow')
.addClass(o.arrowClass)
.addClass('out')
.hover(function() {
$(this).removeClass('out').addClass('over');
}, function() {
$(this).removeClass('over').addClass('out');
})
.mousedown(function() {
$(this).removeClass('over').addClass('active');
})
.mouseup(function() {
$(this).removeClass('active').addClass('over');
})
.click(arrowClick)
.appendTo($div);
arrowWidth = $arrow.width();
$input.css('width', (o.width - arrowWidth) + 'px');
}
if (!o.allowInput) { o.selectFirstMatch = false; $input.click(arrowClick); } // simulate <select> behavior
// Handle presence of CSS Universal Selector (*) that defines padding by verifying what the browser thinks the outerHeight is.
// In FF, the outerHeight() will not pick up the correct input field padding
var inputPad = $input.outerHeight() - $input.height() - 2;
var inputWidth = $input.outerWidth() - 2;
var top = $input.outerHeight();
if (inputPad === 0) {
inputWidth += 4;
top += 4;
}
else if (inputPad !== 4) {
inputWidth += inputPad;
top += inputPad;
}
var $ctr = $('<div></div>')
.attr('id', $div.attr('id') + '_ctr')
.css('width', inputWidth + arrowWidth)
.css('top', top)
.css('left', 0)
.addClass(o.containerClass)
.appendTo($div)
.mousedown(function(e) {
$input.data('active', true);
})
.hide();
var $content = $('<div></div>')
.addClass(o.contentClass)
.appendTo($ctr)
.scroll(function() {
scrolling = true;
});
var $paging = $('<div></div>').appendTo($ctr);
$div.css('height', $input.outerHeight());
function processKeyDown(e) {
// handle modifiers
var mod = 0;
if (typeof (e.ctrlKey) !== 'undefined') {
if (e.ctrlKey) mod |= 1;
if (e.shiftKey) mod |= 2;
} else {
if (e.modifiers & Event.CONTROL_MASK) mod |= 1;
if (e.modifiers & Event.SHIFT_MASK) mod |= 2;
}
// if the keyCode is one of the modifiers, bail out (we'll catch it on the next keypress)
if (/16$|17$/.test(e.keyCode)) return; // 16 = Shift, 17 = Ctrl
var tab = e.keyCode === 9, esc = e.keyCode === 27;
var tabWithModifiers = e.keyCode === 9 && mod > 0;
var backspace = e.keyCode === 8; // we will end up extending the delay time for backspaces...
// tab is a special case, since we want to bubble events...
if (tab) if (getCurr()) selectCurr();
// handling up/down/escape/right arrow/left arrow requires results to be visible
// handling enter requires that AND a result to be selected
if ((/27$|38$|33$|34$/.test(e.keyCode) && $ctr.is(':visible')) ||
(/13$|40$/.test(e.keyCode)) || !o.allowInput) {
if (e.preventDefault) e.preventDefault();
if (e.stopPropagation) e.stopPropagation();
e.cancelBubble = true;
e.returnValue = false;
switch (e.keyCode) {
case 38: // up arrow
prevResult();
break;
case 40: // down arrow
if ($ctr.is(':visible')) nextResult();
else flexboxDelay(true);
break;
case 13: // enter
if (getCurr()) selectCurr();
else flexboxDelay(true);
break;
case 27: // escape
hideResults();
break;
case 34: // page down
if (!retrievingRemoteData) {
if (o.paging) $('#' + $div.attr('id') + 'n').click();
else nextPage();
}
break;
case 33: // page up
if (!retrievingRemoteData) {
if (o.paging) $('#' + $div.attr('id') + 'p').click();
else prevPage();
}
break;
default:
if (!o.allowInput) { return; }
}
} else if (!esc && !tab && !tabWithModifiers) { // skip esc and tab key and any modifiers
flexboxDelay(false, backspace);
}
}
function flexboxDelay(simulateArrowClick, increaseDelay) {
if (timeout) clearTimeout(timeout);
var delay = increaseDelay ? o.queryDelay * 5 : o.queryDelay;
timeout = setTimeout(function() { flexbox(1, simulateArrowClick, ''); }, delay);
}
function flexbox(p, arrowOrPagingClicked, prevQuery) {
if (arrowOrPagingClicked) prevQuery = '';
var q = prevQuery && prevQuery.length > 0 ? prevQuery : $.trim($input.val());
if (q.length >= o.minChars || arrowOrPagingClicked) {
// If we are getting data from the server, set the height of the content box so it doesn't shrink when navigating between pages, due to the $content.html('') below...
if ($content.outerHeight() > 0)
$content.css('height', $content.outerHeight());
$content.html('').attr('scrollTop', 0);
var cached = checkCache(q, p);
if (cached) {
$content.css('height', 'auto');
displayItems(cached.data, q);
showPaging(p, cached.t);
}
else {
var params = { q: q, p: p, s: pageSize, contentType: 'application/json; charset=utf-8' };
var callback = function(data, overrideQuery) {
if (overrideQuery === true) q = overrideQuery; // must compare to boolean because by default, the string value "success" is passed when the jQuery $.getJSON method's callback is called
var totalResults = parseInt(data[o.totalProperty]);
// Handle client-side paging, if any paging configuration options were specified
if (isNaN(totalResults) && o.paging) {
if (o.maxCacheBytes <= 0) alert('The "maxCacheBytes" configuration option must be greater\nthan zero when implementing client-side paging.');
totalResults = data[o.resultsProperty].length;
var pages = totalResults / pageSize;
if (totalResults % pageSize > 0) pages = parseInt(++pages);
for (var i = 1; i <= pages; i++) {
var pageData = {};
pageData[o.totalProperty] = totalResults;
pageData[o.resultsProperty] = data[o.resultsProperty].splice(0, pageSize);
if (i === 1) totalSize = displayItems(pageData, q);
updateCache(q, i, pageSize, totalResults, pageData, totalSize);
}
}
else {
var totalSize = displayItems(data, q);
updateCache(q, p, pageSize, totalResults, data, totalSize);
}
showPaging(p, totalResults);
$content.css('height', 'auto');
retrievingRemoteData = false;
};
if (typeof (o.source) === 'object') {
if (o.allowInput) callback(filter(o.source, params));
else callback(o.source);
}
else {
retrievingRemoteData = true;
if (o.method.toUpperCase() == 'POST') $.post(o.source, params, callback, 'json');
else $.getJSON(o.source, params, callback);
}
}
} else
hideResults();
}
function filter(data, params) {
var filtered = {};
filtered[o.resultsProperty] = [];
filtered[o.totalProperty] = 0;
var index = 0;
for (var i=0; i < data[o.resultsProperty].length; i++) {
var indexOfMatch = data[o.resultsProperty][i][o.displayValue].toLowerCase().indexOf(params.q.toLowerCase());
if ((o.matchAny && indexOfMatch !== -1) || (!o.matchAny && indexOfMatch === 0)) {
filtered[o.resultsProperty][index++] = data[o.resultsProperty][i];
filtered[o.totalProperty] += 1;
}
}
if (o.paging) {
var start = (params.p - 1) * params.s;
var howMany = (start + params.s) > filtered[o.totalProperty] ? filtered[o.totalProperty] - start : params.s;
filtered[o.resultsProperty] = filtered[o.resultsProperty].splice(start, howMany);
}
return filtered;
}
function showPaging(p, totalResults) {
$paging.html('').removeClass(o.paging.cssClass); // clear out for threshold scenarios
if (o.showResults && o.paging && totalResults > pageSize) {
var pages = totalResults / pageSize;
if (totalResults % pageSize > 0) pages = parseInt(++pages);
outputPagingLinks(pages, p, totalResults);
}
}
function handleKeyPress(e, page, totalPages) {
if (/^13$|^39$|^37$/.test(e.keyCode)) {
if (e.preventDefault)
e.preventDefault();
if (e.stopPropagation)
e.stopPropagation();
e.cancelBubble = true;
e.returnValue = false;
switch (e.keyCode) {
case 13: // Enter
if (/^\d+$/.test(page) && page > 0 && page <= totalPages)
flexbox(page, true);
else
alert('Please enter a page number between 1 and ' + totalPages);
// TODO: make this alert a function call, and a customizable parameter
break;
case 39: // right arrow
$('#' + $div.attr('id') + 'n').click();
break;
case 37: // left arrow
$('#' + $div.attr('id') + 'p').click();
break;
}
}
}
function handlePagingClick(e) {
flexbox(parseInt($(this).attr('page')), true, $input.attr('pq')); // pq == previous query
return false;
}
function outputPagingLinks(totalPages, currentPage, totalResults) {
// TODO: make these configurable images
var first = '&lt;&lt;',
prev = '&lt;',
next = '&gt;',
last = '&gt;&gt;',
more = '...';
$paging.addClass(o.paging.cssClass);
// set up our base page link element
var $link = $('<a/>')
.attr('href', '#')
.addClass('page')
.click(handlePagingClick),
$span = $('<span></span>').addClass('page'),
divId = $div.attr('id');
// show first page
if (currentPage > 1) {
$link.clone(true).attr('id', divId + 'f').attr('page', 1).html(first).appendTo($paging);
$link.clone(true).attr('id', divId + 'p').attr('page', currentPage - 1).html(prev).appendTo($paging);
}
else {
$span.clone(true).html(first).appendTo($paging);
$span.clone(true).html(prev).appendTo($paging);
}
if (o.paging.style === 'links') {
var maxPageLinks = o.paging.maxPageLinks;
// show page numbers
if (totalPages <= maxPageLinks) {
for (var i = 1; i <= totalPages; i++) {
if (i === currentPage) {
$span.clone(true).html(currentPage).appendTo($paging);
}
else {
$link.clone(true).attr('page', i).html(i).appendTo($paging);
}
}
}
else {
if ((currentPage + parseInt(maxPageLinks / 2)) > totalPages) {
startPage = totalPages - maxPageLinks + 1;
}
else {
startPage = currentPage - parseInt(maxPageLinks / 2);
}
if (startPage > 1) {
$link.clone(true).attr('page', startPage - 1).html(more).appendTo($paging);
}
else {
startPage = 1;
}
for (var i = startPage; i < startPage + maxPageLinks; i++) {
if (i === currentPage) {
$span.clone(true).html(i).appendTo($paging);
}
else {
$link.clone(true).attr('page', i).html(i).appendTo($paging);
}
}
if (totalPages > (startPage + maxPageLinks)) {
$link.clone(true).attr('page', i).html(more).appendTo($paging);
}
}
}
else if (o.paging.style === 'input') {
var $pagingBox = $('<input/>')
.addClass('box')
.click(function(e) {
this.select();
})
.keypress(function(e) {
return handleKeyPress(e, this.value, totalPages);
})
.val(currentPage)
.appendTo($paging);
}
if (currentPage < totalPages) {
$link.clone(true).attr('id', divId + 'n').attr('page', +currentPage + 1).html(next).appendTo($paging);
$link.clone(true).attr('id', divId + 'l').attr('page', totalPages).html(last).appendTo($paging);
}
else {
$span.clone(true).html(next).appendTo($paging);
$span.clone(true).html(last).appendTo($paging);
}
var startingResult = (currentPage - 1) * pageSize + 1;
var endingResult = (startingResult > (totalResults - pageSize)) ? totalResults : startingResult + pageSize - 1;
if (o.paging.showSummary) {
var summaryData = {
"start": startingResult,
"end": endingResult,
"total": totalResults,
"page": currentPage,
"pages": totalPages
};
var html = o.paging.summaryTemplate.applyTemplate(summaryData);
$('<br/>').appendTo($paging);
$('<span></span>')
.addClass(o.paging.summaryClass)
.html(html)
.appendTo($paging);
}
}
function checkCache(q, p) {
var key = q + delim + p; // use null character as delimiter
if (cacheData[key]) {
for (var i = 0; i < cache.length; i++) { // TODO: is it possible to not loop here?
if (cache[i] === key) {
// pull out the matching element (splice), and add it to the beginning of the array (unshift)
cache.unshift(cache.splice(i, 1)[0]);
return cacheData[key];
}
}
}
return false;
}
function updateCache(q, p, s, t, data, size) {
if (o.maxCacheBytes > 0) {
while (cache.length && (cacheSize + size > o.maxCacheBytes)) {
var cached = cache.pop();
cacheSize -= cached.size;
}
var key = q + delim + p; // use null character as delimiter
cacheData[key] = {
q: q,
p: p,
s: s,
t: t,
size: size,
data: data
}; // add the data to the cache at the hash key location
cache.push(key); // add the key to the MRU list
cacheSize += size;
}
}
function displayItems(d, q) {
var totalSize = 0, itemCount = 0;
if (!d)
return;
$hdn.val($input.val());
if (parseInt(d[o.totalProperty]) === 0 && o.noResultsText && o.noResultsText.length > 0) {
$content.addClass(o.noResultsClass).html(o.noResultsText);
$ctr.show();
return;
} else $content.removeClass(o.noResultsClass);
for (var i = 0; i < d[o.resultsProperty].length; i++) {
var data = d[o.resultsProperty][i],
result = o.resultTemplate.applyTemplate(data),
exactMatch = q === result,
selectedMatch = false,
hasHtmlTags = false,
match = data[o.displayValue];
if (!exactMatch && o.highlightMatches && q !== '') {
var pattern = q,
highlightStart = match.toLowerCase().indexOf(q.toLowerCase()),
replaceString = '<span class="' + o.matchClass + '">' + match.substr(highlightStart,q.length) + '</span>';
if (result.match('<(.|\n)*?>')) { // see if the content contains html tags
hasHtmlTags = true;
pattern = '(>)([^<]*?)(' + q + ')((.|\n)*?)(<)'; // TODO: look for a better way
replaceString = '$1$2<span class="' + o.matchClass + '">$3</span>$4$6';
}
result = result.replace(new RegExp(pattern.replace("[", "\\["), o.highlightMatchesRegExModifier), replaceString);
}
// write the value of the first match to the input box, and select the remainder,
// but only if autoCompleteFirstMatch is set, and there are no html tags in the response
if (o.autoCompleteFirstMatch && !hasHtmlTags && i === 0) {
if (q.length > 0 && match.toLowerCase().indexOf(q.toLowerCase()) === 0) {
$input.attr('pq', q); // pq == previous query
$hdn.val(data[o.hiddenValue]);
$input.val(data[o.displayValue]);
selectedMatch = selectRange(q.length, $input.val().length);
}
}
if (!o.showResults) return;
$row = $('<div></div>')
.attr('id', data[o.hiddenValue])
.attr('val', data[o.displayValue])
.addClass('row')
.html(result)
.appendTo($content);
if (exactMatch || (++itemCount == 1 && o.selectFirstMatch) || selectedMatch) {
$row.addClass(o.selectClass);
}
totalSize += result.length;
}
if (totalSize === 0) {
hideResults();
return;
}
$ctr.parent().css('z-index', 11000);
$ctr.show();
$content
.children('div')
.mouseover(function() {
$content.children('div').removeClass(o.selectClass);
$(this).addClass(o.selectClass);
})
.mouseup(function(e) {
e.preventDefault();
e.stopPropagation();
selectCurr();
});
if (o.maxVisibleRows > 0) {
var maxHeight = $row.outerHeight() * o.maxVisibleRows;
$content.css('max-height', maxHeight);
}
return totalSize;
}
function selectRange(s, l) {
var tb = $input[0];
if (tb.createTextRange) {
var r = tb.createTextRange();
r.moveStart('character', s);
r.moveEnd('character', l - tb.value.length);
r.select();
} else if (tb.setSelectionRange) {
tb.setSelectionRange(s, l);
}
tb.focus();
return true;
}
String.prototype.applyTemplate = function(d) {
try {
if (d === '') return this;
return this.replace(/{([^{}]*)}/g,
function(a, b) {
var r;
if (b.indexOf('.') !== -1) { // handle dot notation in {}, such as {Thumbnail.Url}
var ary = b.split('.');
var obj = d;
for (var i = 0; i < ary.length; i++)
obj = obj[ary[i]];
r = obj;
}
else
r = d[b];
if (typeof r === 'string' || typeof r === 'number') return r; else throw (a);
}
);
} catch (ex) {
alert('Invalid JSON property ' + ex + ' found when trying to apply resultTemplate or paging.summaryTemplate.\nPlease check your spelling and try again.');
}
};
function hideResults() {
$input.data('active', false); // for input blur
$div.css('z-index', 0);
$ctr.hide();
}
function getCurr() {
if (!$ctr.is(':visible'))
return false;
var $curr = $content.children('div.' + o.selectClass);
if (!$curr.length)
$curr = false;
return $curr;
}
function selectCurr() {
$curr = getCurr();
if ($curr) {
$hdn.val($curr.attr('id'));
$input.val($curr.attr('val')).focus();
hideResults();
if (o.onSelect) {
o.onSelect.apply($input[0]);
}
}
}
function supportsGetBoxObjectFor() {
try {
document.getBoxObjectFor(document.body);
return true;
}
catch (e) {
return false;
}
}
function supportsGetBoundingClientRect() {
try {
document.body.getBoundingClientRect();
return true;
}
catch (e) {
return false;
}
}
function nextPage() {
$curr = getCurr();
if ($curr && $curr.next().length > 0) {
$curr.removeClass(o.selectClass);
for (var i = 0; i < o.maxVisibleRows; i++) {
if ($curr.next().length > 0) {
$curr = $curr.next();
}
}
$curr.addClass(o.selectClass);
var scrollPos = $content.attr('scrollTop');
$content.attr('scrollTop', scrollPos + $content.height());
}
else if (!$curr)
$content.children('div:first-child').addClass(o.selectClass);
}
function prevPage() {
$curr = getCurr();
if ($curr && $curr.prev().length > 0) {
$curr.removeClass(o.selectClass);
for (var i = 0; i < o.maxVisibleRows; i++) {
if ($curr.prev().length > 0) {
$curr = $curr.prev();
}
}
$curr.addClass(o.selectClass);
var scrollPos = $content.attr('scrollTop');
$content.attr('scrollTop', scrollPos - $content.height());
}
else if (!$curr)
$content.children('div:last-child').addClass(o.selectClass);
}
function nextResult() {
$curr = getCurr();
if ($curr && $curr.next().length > 0) {
$curr.removeClass(o.selectClass).next().addClass(o.selectClass);
var scrollPos = $content.attr('scrollTop'),
curr = $curr[0], parentBottom, bottom, height;
if (supportsGetBoxObjectFor()) {
parentBottom = document.getBoxObjectFor($content[0]).y + $content.attr('offsetHeight');
bottom = document.getBoxObjectFor(curr).y + $curr.attr('offsetHeight');
height = document.getBoxObjectFor(curr).height;
}
else if (supportsGetBoundingClientRect()) {
parentBottom = $content[0].getBoundingClientRect().bottom;
var rect = curr.getBoundingClientRect();
bottom = rect.bottom;
height = bottom - rect.top;
}
if (bottom >= parentBottom)
$content.attr('scrollTop', scrollPos + height);
}
else if (!$curr)
$content.children('div:first-child').addClass(o.selectClass);
}
function prevResult() {
$curr = getCurr();
if ($curr && $curr.prev().length > 0) {
$curr.removeClass(o.selectClass).prev().addClass(o.selectClass);
var scrollPos = $content.attr('scrollTop'),
curr = $curr[0],
parent = $curr.parent()[0],
parentTop, top, height;
if (supportsGetBoxObjectFor()) {
height = document.getBoxObjectFor(curr).height;
parentTop = document.getBoxObjectFor($content[0]).y - (height * 2); // TODO: this is not working when i add another control...
top = document.getBoxObjectFor(curr).y - document.getBoxObjectFor($content[0]).y;
}
else if (supportsGetBoundingClientRect()) {
parentTop = parent.getBoundingClientRect().top;
var rect = curr.getBoundingClientRect();
top = rect.top;
height = rect.bottom - top;
}
if (top <= parentTop)
$content.attr('scrollTop', scrollPos - height);
}
else if (!$curr)
$content.children('div:last-child').addClass(o.selectClass);
}
};
$.fn.flexbox = function(source, options) {
if (!source)
return;
try {
var defaults = $.fn.flexbox.defaults;
var o = $.extend({}, defaults, options);
for (var prop in o) {
if (defaults[prop] === undefined) throw ('Invalid option specified: ' + prop + '\nPlease check your spelling and try again.');
}
o.source = source;
if (options) {
o.paging = (options.paging || options.paging == null) ? $.extend({}, defaults.paging, options.paging) : false;
for (var prop in o.paging) {
if (defaults.paging[prop] === undefined) throw ('Invalid option specified: ' + prop + '\nPlease check your spelling and try again.');
}
if (options.displayValue && !options.hiddenValue) {
o.hiddenValue = options.displayValue;
}
}
this.each(function() {
new $.flexbox(this, o);
});
return this;
} catch (ex) {
if (typeof ex === 'object') alert(ex.message); else alert(ex);
}
};
// plugin defaults - added as a property on our plugin function so they can be set independently
$.fn.flexbox.defaults = {
method: 'GET', // One of 'GET' or 'POST'
queryDelay: 100, // num of milliseconds before query is run.
allowInput: true, // set to false to disallow the user from typing in queries
containerClass: 'ffb',
contentClass: 'content',
selectClass: 'ffb-sel',
inputClass: 'ffb-input',
arrowClass: 'ffb-arrow',
matchClass: 'ffb-match',
noResultsText: 'No matching results', // text to show when no results match the query
noResultsClass: 'ffb-no-results', // class to apply to noResultsText
showResults: true, // whether to show results at all, or just typeahead
selectFirstMatch: true, // whether to highlight the first matching value
autoCompleteFirstMatch: false, // whether to complete the first matching value in the input box
highlightMatches: true, // whether all matches within the string should be highlighted with matchClass
highlightMatchesRegExModifier: 'i', // 'i' for case-insensitive, 'g' for global (all occurrences), or combine
matchAny: true, // for client-side filtering ONLY, match any occurrence of the search term in the result (e.g. "ar" would find "area" and "cart")
minChars: 1, // the minimum number of characters the user must enter before a search is executed
showArrow: true, // set to false to simulate google suggest
arrowQuery: '', // the query to run when the arrow is clicked
onSelect: false, // function to run when a result is selected
maxCacheBytes: 32768, // in bytes, 0 means caching is disabled
resultTemplate: '{name}', // html template for each row (put json properties in curly braces)
displayValue: 'name', // json element whose value is displayed on select
hiddenValue: 'id', // json element whose value is submitted when form is submitted
initialValue: '', // what should the value of the input field be when the form is loaded?
initialId: '', // what should the value of the hidden field be when the form is loaded?
watermark: '', // text that appears when flexbox is loaded, if no initialValue is specified. style with css class '.ffb-input.watermark'
width: 200, // total width of flexbox. auto-adjusts based on showArrow value
resultsProperty: 'results', // json property in response that references array of results
totalProperty: 'total', // json property in response that references the total results (for paging)
maxVisibleRows: 0, // default is 0, which means it is ignored. use either this, or paging.pageSize
paging: {
style: 'input', // or 'links'
cssClass: 'paging', // prefix with containerClass (e.g. .ffb .paging)
pageSize: 10, // acts as a threshold. if <= pageSize results, paging doesn't appear
maxPageLinks: 5, // used only if style is 'links'
showSummary: true, // whether to show 'displaying 1-10 of 200 results' text
summaryClass: 'summary', // class for 'displaying 1-10 of 200 results', prefix with containerClass
summaryTemplate: 'Displaying {start}-{end} of {total} results' // can use {page} and {pages} as well
}
};
$.fn.setValue = function(val) {
var id = '#' + this.attr('id');
$(id + '_hidden,' + id + '_input').val(val).removeClass('watermark');
};
})(jQuery);
File diff suppressed because one or more lines are too long
-36
View File
@@ -1,36 +0,0 @@
<%@ Page Language="VB" ValidateRequest="false" AutoEventWireup="false" CodeFile="AutoPostTest.aspx.vb" Inherits="PostTest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<script type="text/javascript" src="scripts/jquery-1.3.2.js"></script>
<script type="text/javascript" src="scripts/jHtmlArea-0.7.0.js"></script>
<link rel="Stylesheet" type="text/css" href="style/jHtmlArea.css" />
<script type="text/javascript">
$(function() {
$("textarea").htmlarea(); // Initialize jHtmlArea's with all default values
//window.setTimeout(function() { $("form").submit(); }, 3000);
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager runat="server" ID="sm1"></asp:ScriptManager>
<asp:Literal runat="server" ID="litText"></asp:Literal><br />
<textarea runat="server" id="txtText" cols="50" rows="15"></textarea>
<input type="submit" value='manual submit' />
<br />
<asp:Button runat="server" ID="btnSubmit" Text="asp:Button" />
<asp:LinkButton runat="server" ID="lbSubmit" Text="asp:LinkButton"></asp:LinkButton>
</div>
</form>
</body>
</html>
-9
View File
@@ -1,9 +0,0 @@

Partial Class PostTest
Inherits System.Web.UI.Page
Public Sub PostTest_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
txtText.Value = Request("txtText")
litText.Text = txtText.Value
End Sub
End Class
-89
View File
@@ -1,89 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="scripts/jHtmlArea-0.7.0.min.js"></script>
<link rel="Stylesheet" type="text/css" href="style/jHtmlArea.css" />
<script type="text/javascript" src="scripts/jHtmlArea.ColorPickerMenu-0.7.0.js"></script>
<link rel="Stylesheet" type="text/css" href="style/jHtmlArea.ColorPickerMenu.css" />
<style type="text/css">
div.jHtmlArea { border: solid 1px #ccc; }
</style>
</head>
<body>
<h3>jHtmlArea Live Demo - jHtmlAreaColorPickerMenu Example</h3>
<p>The jHtmlAreaColorPickerMenu plugin/extension allows you to show a simple Color Picker Menu when the user clicks on the "forecolor" Toolbar Button.</p>
<p>
<a href="http://jhtmlarea.codeplex.com">jHtmlArea Project Homepage</a>
&nbsp;|&nbsp;
<a href="http://jhtmlarea.codeplex.com/Release/ProjectReleases.aspx">Downloads</a>
&nbsp;|&nbsp;
<a href="http://jhtmlarea.codeplex.com/Thread/List.aspx">Discussions</a>
&nbsp;|&nbsp;
<a href="http://jhtmlarea.codeplex.com/WorkItem/List.aspx">Issue Tracker</a>
</p>
<script type="text/javascript">
//// You can also override the "default" colors option of the jHtmlAreaColorPickerMenu
//// to show only the specific colors you want.
// jHtmlAreaColorPickerMenu.defaultOptions.colors = ["red", "yellow", "blue", "green", "purple", "white", "black"];
// The followin creates a jHtmlArea and adds a custom list of toolbar buttons.
// Among the buttons is the "forecolor" button that will automatically take
// advantage of the jHtmlAreaColorPickerMenu plugin.
$(function() {
$("#Textarea1").htmlarea({
toolbar: ["html", "|",
"forecolor", // <-- Add the "forecolor" Toolbar Button
"|", "bold", "italic", "underline", "|", "p", "h1", "h2", "h3", "|", "link", "unlink"] // Overrides/Specifies the Toolbar buttons to show
});
});
</script>
<textarea id="Textarea1" cols="50" rows="15"><p><h3>Another TextArea</h3>This is some sample text to test out the <b>WYSIWYG Control</b>.</p></textarea>
<hr />
The jHtmlAreaColorPickerMenu object can also be reused for other purposes. For example clicking on the button below will allow you to change the background color of the page.
<br />
<input id="choosecolor" type="button" value="Choose Color..." />
<script type="text/javascript">
$(function() {
$("#choosecolor").click(function() {
jHtmlAreaColorPickerMenu(this, {
colorChosen: function(color) {
$(document.body).css('background-color', color);
}
});
});
});
</script>
<br /><br /><br /><br /><br />
<hr />
<div style="position: relative;border: solid 30px #cccccc;">
<h3>Editor within a "position: relative" DIV element.</h3>
<textarea id="txtInDiv" cols="50" rows="15">Some <b>Test</b> content.</textarea>
<script type="text/javascript">
$(function() {
$("#txtInDiv").htmlarea({
toolbar: ["html", "|",
"forecolor", // <-- Add the "forecolor" Toolbar Button
"|", "bold", "italic", "underline", "|", "p", "h1", "h2", "h3", "|", "link", "unlink"] // Overrides/Specifies the Toolbar buttons to show
});
});
</script>
</div>
</body>
</html>
-128
View File
@@ -1,128 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.7.2.custom.min.js"></script>
<link rel="Stylesheet" type="text/css" href="style/jqueryui/ui-lightness/jquery-ui-1.7.2.custom.css" />
<script type="text/javascript" src="scripts/jHtmlArea-0.7.0.js"></script>
<link rel="Stylesheet" type="text/css" href="style/jHtmlArea.css" />
<style type="text/css">
/* body { background: #ccc;} */
div.jHtmlArea .ToolBar ul li a.custom_disk_button
{
background: url(images/disk.png) no-repeat;
background-position: 0 0;
}
div.jHtmlArea { border: solid 1px #ccc; }
</style>
</head>
<body>
<script type="text/javascript">
// You can do this to perform a global override of any of the "default" options
// jHtmlArea.fn.defaultOptions.css = "jHtmlArea.Editor.css";
$(function() {
//$("textarea").htmlarea(); // Initialize all TextArea's as jHtmlArea's with default values
$("#txtDefaultHtmlArea").htmlarea(); // Initialize jHtmlArea's with all default values
$("#txtCustomHtmlArea").htmlarea({
// Override/Specify the Toolbar buttons to show
toolbar: [
["bold", "italic", "underline", "|", "forecolor"],
["p", "h1", "h2", "h3", "h4", "h5", "h6"],
["link", "unlink", "|", "image"],
[{
// This is how to add a completely custom Toolbar Button
css: "custom_disk_button",
text: "Save",
action: function(btn) {
// 'this' = jHtmlArea object
// 'btn' = jQuery object that represents the <A> "anchor" tag for the Toolbar Button
alert('SAVE!\n\n' + this.toHtmlString());
}
}]
],
// Override any of the toolbarText values - these are the Alt Text / Tooltips shown
// when the user hovers the mouse over the Toolbar Buttons
// Here are a couple translated to German, thanks to Google Translate.
toolbarText: $.extend({}, jHtmlArea.defaultOptions.toolbarText, {
"bold": "fett",
"italic": "kursiv",
"underline": "unterstreichen"
}),
// Specify a specific CSS file to use for the Editor
css: "style//jHtmlArea.Editor.css",
// Do something once the editor has finished loading
loaded: function() {
//// 'this' is equal to the jHtmlArea object
//alert("jHtmlArea has loaded!");
//this.showHTMLView(); // show the HTML view once the editor has finished loading
}
});
});
</script>
<textarea id="txtDefaultHtmlArea" cols="50" rows="15"><p><h3>Test H3</h3>This is some sample text to test out the <b>WYSIWYG Control</b>.</p></textarea>
<input type="button" value="Alert HTML" onclick="alert($('#txtDefaultHtmlArea').htmlarea('toHtmlString'));" />
<input type="button" value="Change Color to Blue" onclick="$('#txtDefaultHtmlArea').htmlarea('forecolor', 'blue');" />
<br /><hr /><br />
<textarea id="txtCustomHtmlArea" cols="50" rows="15"><p><h3>Another TextArea</h3>This is some sample text to test out the <b>WYSIWYG Control</b>.</p></textarea>
<input type="button" id="btnRemoveCustomHtmlArea" value="Remove jHtmlArea" />
<script type="text/javascript">
$(function() {
$("#btnRemoveCustomHtmlArea").click(function() {
$("#txtCustomHtmlArea").htmlarea("dispose");
});
});
</script>
<input type="button" id="btnResetCustomHtmlArea" value="Reset To Default Options" />
<script type="text/javascript">
$(function() {
$("#btnResetCustomHtmlArea").click(function() {
$("#txtCustomHtmlArea").htmlarea("dispose");
$("#txtCustomHtmlArea").htmlarea();
});
});
</script>
<br /><hr /><br />
<h3>Use jHtmlArea within jQuery UI Dialog</h3>
<script type="text/javascript">
$.ui.dialog.defaults.bgiframe = true;
$(function() {
$("#dialogShowButton").click(function() {
$("#dialog").dialog({width: 420});
$("#dialogEditor").htmlarea();
});
});
</script>
<input type="button" id="dialogShowButton" value="Show Dialog with jHtmlArea Editor" />
<div id="dialog" title="Basic dialog" style="display: none">
Basic jHtmlArea within jQuery UI Dialog
<br />
<textarea id="dialogEditor" rows="10" style="width: 400px">Some <b>Basic</b> text.</textarea>
</div>
<p>To see a "proper" example of the "Font Color" button, you'll want to see the "<a href="ColorPickerMenu.htm">jHtmlAreaColorPickerMenu</a>" in action here: <a href="ColorPickerMenu.htm">ColorPickerMenu.htm</a></p>
</body>
</html>
-117
View File
@@ -1,117 +0,0 @@
/* jHtmlArea - WYSIWYG Html Editor jQuery Plugin
* Copyright (c) 2009 Chris Pietschmann
* http://jhtmlarea.codeplex.com
* Licensed under the Microsoft Reciprocal License (Ms-RL)
* http://jhtmlarea.codeplex.com/license
*/
EXAMPLE USAGE:
-----------------------
See "Default.htm" for example usages.
Or, check out http://jhtmlarea.codeplex.com
CHANGE LOG
-----------------------
v0.7.0
- Fixed ColorPickerMenu positioning when placed within a "position: relative"
div element.
- Fixed ColorPickerMenu to auto-hide after a short delay (1 second) once the
user moves the mouse off the menu.
- Fixed Form Submit issue that caused the text to not be posted. Also fixed a
related issue with ASP.NET Postbacks.
- Added jHtmlArea.p method and "paragraph" functionality + toolbar button
This allows the user to change the formatting from <H1>, <H2>, etc. to <P>
- Added an "Automatic" color option to the ColorPickerMenu.
v0.6.0
- Hide All Toolbar buttons except the "html" button when entering
HTML Source view (via clicking "html" button or executing
jHtmlArea.showHTMLView). When toggling view back to the WYSIWYG editor
all other buttons will then be shown again.
- Added jHtmlArea.dispose method - Allows you to remove the WYSIWYG
editor, and go back to having a plain TextArea. Beware, there is a
memory leak when using this method; it's not too bad, but you want
to call this as few a number of times if you can. The memory leak
is due to the way the browsers handle removing DOM Elements.
- Added Indent and Outdent functionality - This includes toolbar buttons
and jHtmlArea.indent and jHtmlArea.outdent buttons.
- Added justifyLeft, justifyCenter, justifyRight functionality and toolbar
buttons.
- Added insertHorizontalRule functionality and toolbar button. This adds a
<hr> tag to the currently selected area.
- Added an "alias" method for jHtmlArea.execCommand named "ec" to help reduce the
file size of the script.
- Added increaseFontSize and decreaseFontSize functionality and toolbar buttons.
The increaseFontSize and decreaseFontSize doesn't currently work in Safari.
- Added forecolor functionality - Changes a font color for the selection or at the
insertion point. Requires a color value string to be passed in as a value argument.
- Fixed bug in jHtmlArea.toString method
- Added jHtmlArea.queryCommandValue method and it's alias "jHtmlArea.qc"
- Added the jHtmlAreaColorPickerMenu plugin/extension that resides within the
"jHtmlAreaColorPickerMenu.js" file. This file includes a somewhat generic color
picker menu that can be used for any purpose, plus it includes the code to wire
up and override the "stock" jHtmlColor.forecolor functionality and inject the new
Color Picker Menu functionality in it's place when you click on the "forecolor"
toolbar button.
- Changed the "execCommand" and "ec" second parameter to default to "false" if not
specified, and third parameter to default to "null" if not specified. This helps to
reduce the overall file size of the script.
- Added support for Toolbar Button Grouping, now with the additional buttons included
in this release, or even when any custom buttons are used, they will be able to display
nicely by "auto-wrapping" to the next line.
- Added a gradient background to the Toolbar Button Groups, with a slight reverse
gradient on the Buttons when the mouse is hovered over.
v0.5.0 - Initial Release
ICONS / IMAGES:
-----------------------
Some of the Icons within the jHtmlArea.png file are from the
Silk icon set at www.famfamfam.com.
They are licensed under the following license:
Silk icon set 1.3
_________________________________________
Mark James
http://www.famfamfam.com/lab/icons/silk/
_________________________________________
This work is licensed under a
Creative Commons Attribution 2.5 License.
[ http://creativecommons.org/licenses/by/2.5/ ]
This means you may use it for any purpose,
and make any changes you like.
All I ask is that you include a link back
to this page in your credits.
Are you using this icon set? Send me an email
(including a link or picture if available) to
mjames@gmail.com
Any other questions about this icon set please
contact mjames@gmail.com
Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 B

-365
View File
@@ -1,365 +0,0 @@
/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jHtmlArea library for all production use.
*/
/*
* jHtmlArea 0.7.0 - WYSIWYG Html Editor jQuery Plugin
* Copyright (c) 2009 Chris Pietschmann
* http://jhtmlarea.codeplex.com
* Licensed under the Microsoft Reciprocal License (Ms-RL)
* http://jhtmlarea.codeplex.com/license
*/
(function($) {
$.fn.htmlarea = function(options) {
/// <summary>
/// 1: (options) - Convert all TextArea DOM Elements to be displayed as jHtmlArea WYSIWYG Editors.
/// 2: (string, arguments) - This function accepts a string containing the method name that you want to execute against the jHtmlArea object.
/// </summary>
/// <param name="options" type="Object">
/// 1: options - The custom options you want applied to the jHtmlArea's that are created.
/// 2: string - The name of the jHtmlArea object method to be executed. The results of the method call are then returned instead of the jQuery object.
/// </param>
};
var jHtmlArea = window.jHtmlArea = function(elem, options) {
/// <summary>
/// Converts the passed in TextArea DOM Element to a jHtmlArea WYSIWYG Editor.
/// </summary>
/// <param name="elem" type="TextArea DOM Element">
/// The TextArea DOM Element to be converted to a jHtmlArea WYSIWYG Editor. Required.
/// </param>
/// <param name="options" type="Object">
/// The custom options you want applied to the jHtmlArea that is created. Optional.
/// </param>
/// <field name="defaultOptions" Type="Object">
/// The Default Options that are used for configuring the jHtmlArea WYSIWYG Editor upon creation.
/// </field>
/// <returns type="jHtmlArea" />
};
jHtmlArea.fn = jHtmlArea.prototype = {
// The current version of jHtmlArea being used
jhtmlarea: "0.7.0",
init: function(elem, options) {
/// <summary>
/// Converts the passed in TextArea DOM Element to a jHtmlArea WYSIWYG Editor.
/// </summary>
/// <param name="elem" type="TextArea DOM Element">
/// Required. The TextArea DOM Element to be converted to a jHtmlArea WYSIWYG Editor.
/// </param>
/// <param name="options" type="Object">
/// Optional. The custom options you want applied to the jHtmlArea that is created.
/// </param>
/// <returns type="jHtmlArea" />
},
execCommand: function(a, b, c) {
/// <summary>
/// Executes a command on the current document, current selection, or the given range.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
/// </param>
/// <param name="b" type="Boolean">
/// Optional. Boolean that specifies one of the following values:
/// "false" = Default. Do not display a user interface. Must be combined with vValue, if the command requires a value.
/// "true" = Display a user interface if the command supports one.
/// </param>
/// <param name="c" type="Object">
/// Optional. Variant that specifies the string, number, or other value to assign. Possible values depend on the command.
/// </param>
},
ec: function(a, b, c) {
/// <summary>
/// Executes a command on the current document, current selection, or the given range. An alias for the "execCommand" method.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
/// </param>
/// <param name="b" type="Boolean">
/// Optional. Boolean that specifies one of the following values:
/// "false" = Default. Do not display a user interface. Must be combined with vValue, if the command requires a value.
/// "true" = Display a user interface if the command supports one.
/// </param>
/// <param name="c" type="Object">
/// Optional. Variant that specifies the string, number, or other value to assign. Possible values depend on the command.
/// </param>
},
queryCommandValue: function(a) {
/// <summary>
/// Returns the current value of the document, range, or current selection for the given command.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies a command identifier.
/// </param>
/// <returns type="Variant" />
},
qc: function(a) {
/// <summary>
/// Returns the current value of the document, range, or current selection for the given command. An alias for the "queryCommandValue" method.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies a command identifier.
/// </param>
/// <returns type="Variant" />
},
getSelectedHTML: function() {
/// <summary>
/// Returns the HTML that is currently selected within the editor.
/// </summary>
/// <returns type="String" />
},
getSelection: function() {
/// <summary>
/// Returns the Browser Selection object that represents the currently selected region of the editor.
/// </summary>
/// <returns type="Object" />
},
getRange: function() {
/// <summary>
/// Returns the Browser Range object that represents the currently selected region of the editor. (This uses the "getSelection" method internally.)
/// </summary>
/// <returns type="Object" />
},
html: function(v) {
/// <summary>
/// 1: () Returns the HTML text value contained within the editor. 2: (v) Sets the editors value to the HTML text passed in.
/// </summary>
/// <param name="v" type="String">
/// The HTML text to set the editors value to.
/// </param>
},
pasteHTML: function(html) {
/// <summary>
/// Pastes HTML text into the editor, replacing any currently selected text and HTML elements.
/// </summary>
/// <param name="html" type="String">
/// The HTML text to paste/insert.
/// </param>
},
cut: function() {
/// <summary>
/// Copies the current selection to the clipboard and then deletes it.
/// </summary>
},
copy: function() {
/// <summary>
/// Copies the current selection to the clipboard.
/// </summary>
},
paste: function() {
/// <summary>
/// Overwrites the contents of the clipboard on the current selection.
/// </summary>
},
bold: function() {
/// <summary>
/// Toggles the current selection between bold and nonbold.
/// </summary>
},
italic: function() {
/// <summary>
/// Toggles the current selection between italic and nonitalic.
/// </summary>
},
underline: function() {
/// <summary>
/// Toggles the current selection between underlined and not underlined.
/// </summary>
},
strikeThrough: function() {
/// <summary>
/// If there is a selection and all of the characters are already striked, the strikethrough will be removed. Otherwise, all selected characters will have a line drawn through them.
/// </summary>
},
image: function(url) {
/// <summary>
/// This command will insert an image (referenced by url) at the insertion point.
/// If no URL is specified, a prompt will be displayed to the user.
/// </summary>
/// <param name="url" type="String">
/// The URL to the Image to be inserted. If no URL is specified, a prompt will be shown.
/// </param>
},
removeFormat: function() {
/// <summary>
/// Removes the formatting tags from the current selection.
/// </summary>
},
link: function() {
/// <summary>
/// Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection.
/// </summary>
},
unlink: function() {
/// <summary>
/// Removes any hyperlink from the current selection.
/// </summary>
},
orderedList: function() {
/// <summary>
/// Converts the text selection into an ordered list.
/// </summary>
},
unorderedList: function() {
/// <summary>
/// Converts the text selection into an unordered list.
/// </summary>
},
superscript: function() {
/// <summary>
/// If there is a selection and all of the characters are already superscripted, the superscript will be removed. Otherwise, all selected characters will be drawn slightly higher than normal text.
/// </summary>
},
subscript: function() {
/// <summary>
/// If there is a selection and all of the characters are already subscripted, the subscript will be removed. Otherwise, all selected characters will be drawn slightly lower than normal text.
/// </summary>
},
p: function() {
/// <summary>
/// Sets the current block format tag to <P>.
/// </summary>
},
h1: function() {
/// <summary>
/// Sets the current block format tag to <H1>.
/// </summary>
},
h2: function() {
/// <summary>
/// Sets the current block format tag to <H2>.
/// </summary>
},
h3: function() {
/// <summary>
/// Sets the current block format tag to <H3>.
/// </summary>
},
h4: function() {
/// <summary>
/// Sets the current block format tag to <H4>.
/// </summary>
},
h5: function() {
/// <summary>
/// Sets the current block format tag to <H5>.
/// </summary>
},
h6: function() {
/// <summary>
/// Sets the current block format tag to <H6>.
/// </summary>
},
heading: function(h) {
/// <summary>
/// Sets the current block format tag to <H?> tag.
/// Example: Calling jHtmlArea.heading(2) will be the same as calling jHtmlArea.h2()
/// </summary>
/// <param name="h" type="Number">
/// The Number of Header (<H?>) tag to format the current block with.
/// For Example: Passing a 2 or "2" will cause the current block to be formatted with a <H2> tag.
/// </param>
},
indent: function() {
/// <summary>
/// Indents the selection or insertion point.
/// </summary>
},
outdent: function() {
/// <summary>
/// Outdents the selection or insertion point.
/// </summary>
},
insertHorizontalRule: function() {
/// <summary>
/// Inserts a horizontal rule at the insertion point (deletes selection).
/// </summary>
},
justifyLeft: function() {
/// <summary>
/// Justifies the selection or insertion point to the left.
/// </summary>
},
justifyCenter: function() {
/// <summary>
/// Centers the selection or insertion point.
/// </summary>
},
justifyRight: function() {
/// <summary>
/// Right-justifies the selection or the insertion point.
/// </summary>
},
increaseFontSize: function() {
/// <summary>
/// Increases the Font Size around the selection or at the insertion point.
/// </summary>
},
decreaseFontSize: function() {
/// <summary>
/// Decreases the Font Size around the selection or at the insertion point.
/// </summary>
},
forecolor: function(c) {
/// <summary>
/// Changes a font color for the selection or at the insertion point. Requires a color value string to be passed in as a value argument.
/// </summary>
},
formatBlock: function(v) {
/// <summary>
/// Sets the current block format tag.
/// </summary>
},
showHTMLView: function() {
/// <summary>
/// Shows the HTML/Source View (TextArea DOM Element) within the Editor and hides the WYSIWYG interface.
/// </summary>
},
hideHTMLView: function() {
/// <summary>
/// Hides the HTML/Source View (TextArea DOM Element) within the Editor and displays the WYSIWYG interface.
/// </summary>
},
toggleHTMLView: function() {
/// <summary>
/// Toggles between HTML/Source View (TextArea DOM Element) and the WYSIWYG interface within the Editor.
/// </summary>
},
toHtmlString: function() {
/// <summary>
/// Returns the HTML text contained within the editor.
/// </summary>
/// <returns type="String" />
},
toString: function() {
/// <summary>
/// Return the Text contained within the editor, with all HTML tags removed.
/// </summary>
/// <returns type="String" />
},
updateTextArea: function() {
/// <summary>
/// Forces the TextArea DOM Element to by sync'd with the contents of the HTML WYSIWYG Editor.
/// </summary>
},
updateHtmlArea: function() {
/// <summary>
/// Forces the HTML WYSIWYG Editor to be sync'd with the contents of the TextArea DOM Element.
/// </summary>
}
};
jHtmlArea.fn.init.prototype = jHtmlArea.fn;
})(jQuery);
-403
View File
@@ -1,403 +0,0 @@
/*
* jHtmlArea 0.7.0 - WYSIWYG Html Editor jQuery Plugin
* Copyright (c) 2009 Chris Pietschmann
* http://jhtmlarea.codeplex.com
* Licensed under the Microsoft Reciprocal License (Ms-RL)
* http://jhtmlarea.codeplex.com/license
*/
(function($) {
$.fn.htmlarea = function(opts) {
if (opts && typeof (opts) === "string") {
var args = [];
for (var i = 1; i < arguments.length; i++) { args.push(arguments[i]); }
var htmlarea = jHtmlArea(this[0]);
var f = htmlarea[opts];
if (f) { return f.apply(htmlarea, args); }
}
return this.each(function() { jHtmlArea(this, opts); });
};
var jHtmlArea = window.jHtmlArea = function(elem, options) {
if (elem.jquery) {
return jHtmlArea(elem[0]);
}
if (elem.jhtmlareaObject) {
return elem.jhtmlareaObject;
} else {
return new jHtmlArea.fn.init(elem, options);
}
};
jHtmlArea.fn = jHtmlArea.prototype = {
// The current version of jHtmlArea being used
jhtmlarea: "0.7.0",
init: function(elem, options) {
if (elem.nodeName.toLowerCase() === "textarea") {
var opts = $.extend({}, jHtmlArea.defaultOptions, options);
elem.jhtmlareaObject = this;
var textarea = this.textarea = $(elem);
var container = this.container = $("<div/>").addClass("jHtmlArea").width(textarea.width()).insertAfter(textarea);
var toolbar = this.toolbar = $("<div/>").addClass("ToolBar").appendTo(container);
priv.initToolBar.call(this, opts);
var iframe = this.iframe = $("<iframe/>").height(textarea.height());
iframe.width(textarea.width() - ($.browser.msie ? 0 : 4));
var htmlarea = this.htmlarea = $("<div/>").append(iframe);
container.append(htmlarea).append(textarea.hide());
priv.initEditor.call(this, opts);
priv.attachEditorEvents.call(this);
// Fix total height to match TextArea
iframe.height(iframe.height() - toolbar.height());
toolbar.width(textarea.width() - 2);
if (opts.loaded) { opts.loaded.call(this); }
}
},
dispose: function() {
this.textarea.show().insertAfter(this.container);
this.container.remove();
this.textarea[0].jhtmlareaObject = null;
},
execCommand: function(a, b, c) {
this.iframe[0].contentWindow.focus();
this.editor.execCommand(a, b || false, c || null);
this.updateTextArea();
},
ec: function(a, b, c) {
this.execCommand(a, b, c);
},
queryCommandValue: function(a) {
this.iframe[0].contentWindow.focus();
return this.editor.queryCommandValue(a);
},
qc: function(a) {
return this.queryCommandValue(a);
},
getSelectedHTML: function() {
if ($.browser.msie) {
return this.getRange().htmlText;
} else {
var elem = this.getRange().cloneContents();
return $("<p/>").append($(elem)).html();
}
},
getSelection: function() {
if ($.browser.msie) {
//return (this.editor.parentWindow.getSelection) ? this.editor.parentWindow.getSelection() : this.editor.selection;
return this.editor.selection;
} else {
return this.iframe[0].contentDocument.defaultView.getSelection();
}
},
getRange: function() {
var s = this.getSelection();
if (!s) { return null; }
//return (s.rangeCount > 0) ? s.getRangeAt(0) : s.createRange();
return (s.getRangeAt) ? s.getRangeAt(0) : s.createRange();
},
html: function(v) {
if (v) {
this.pastHTML(v);
} else {
return toHtmlString();
}
},
pasteHTML: function(html) {
this.iframe[0].contentWindow.focus();
var r = this.getRange();
if ($.browser.msie) {
r.pasteHTML(html);
} else if ($.browser.mozilla) {
r.deleteContents();
r.insertNode($((html.indexOf("<") != 0) ? $("<span/>").append(html) : html)[0]);
} else { // Safari
r.deleteContents();
r.insertNode($(this.iframe[0].contentWindow.document.createElement("span")).append($((html.indexOf("<") != 0) ? "<span>" + html + "</span>" : html))[0]);
}
r.collapse(false);
r.select();
},
cut: function() {
this.ec("cut");
},
copy: function() {
this.ec("copy");
},
paste: function() {
this.ec("paste");
},
bold: function() { this.ec("bold"); },
italic: function() { this.ec("italic"); },
underline: function() { this.ec("underline"); },
strikeThrough: function() { this.ec("strikethrough"); },
image: function(url) {
if ($.browser.msie && !url) {
this.ec("insertImage", true);
} else {
this.ec("insertImage", false, (url || prompt("Image URL:", "http://")));
}
},
removeFormat: function() {
this.ec("removeFormat", false, []);
this.unlink();
},
link: function() {
if ($.browser.msie) {
this.ec("createLink", true);
} else {
this.ec("createLink", false, prompt("Link URL:", "http://"));
}
},
unlink: function() { this.ec("unlink", false, []); },
orderedList: function() { this.ec("insertorderedlist"); },
unorderedList: function() { this.ec("insertunorderedlist"); },
superscript: function() { this.ec("superscript"); },
subscript: function() { this.ec("subscript"); },
p: function() {
this.formatBlock("<p>");
},
h1: function() {
this.heading(1);
},
h2: function() {
this.heading(2);
},
h3: function() {
this.heading(3);
},
h4: function() {
this.heading(4);
},
h5: function() {
this.heading(5);
},
h6: function() {
this.heading(6);
},
heading: function(h) {
this.formatBlock($.browser.msie ? "Heading " + h : "h" + h);
},
indent: function() {
this.ec("indent");
},
outdent: function() {
this.ec("outdent");
},
insertHorizontalRule: function() {
this.ec("insertHorizontalRule", false, "ht");
},
justifyLeft: function() {
this.ec("justifyLeft");
},
justifyCenter: function() {
this.ec("justifyCenter");
},
justifyRight: function() {
this.ec("justifyRight");
},
increaseFontSize: function() {
if ($.browser.msie) {
this.ec("fontSize", false, this.qc("fontSize") + 1);
} else if ($.browser.safari) {
this.getRange().surroundContents($(this.iframe[0].contentWindow.document.createElement("span")).css("font-size", "larger")[0]);
} else {
this.ec("increaseFontSize", false, "big");
}
},
decreaseFontSize: function() {
if ($.browser.msie) {
this.ec("fontSize", false, this.qc("fontSize") - 1);
} else if ($.browser.safari) {
this.getRange().surroundContents($(this.iframe[0].contentWindow.document.createElement("span")).css("font-size", "smaller")[0]);
} else {
this.ec("decreaseFontSize", false, "small");
}
},
forecolor: function(c) {
this.ec("foreColor", false, c || prompt("Enter HTML Color:", "#"));
},
formatBlock: function(v) {
this.ec("formatblock", false, v || null);
},
showHTMLView: function() {
this.updateTextArea();
this.textarea.show();
this.htmlarea.hide();
$("ul li:not(li:has(a.html))", this.toolbar).hide();
$("ul:not(:has(:visible))", this.toolbar).hide();
$("ul li a.html", this.toolbar).addClass("highlighted");
},
hideHTMLView: function() {
this.updateHtmlArea();
this.textarea.hide();
this.htmlarea.show();
$("ul", this.toolbar).show();
$("ul li", this.toolbar).show().find("a.html").removeClass("highlighted");
},
toggleHTMLView: function() {
(this.textarea.is(":hidden")) ? this.showHTMLView() : this.hideHTMLView();
},
toHtmlString: function() {
return this.editor.body.innerHTML;
},
toString: function() {
return this.editor.body.innerText;
},
updateTextArea: function() {
this.textarea.val(this.toHtmlString());
},
updateHtmlArea: function() {
this.editor.body.innerHTML = this.textarea.val();
}
};
jHtmlArea.fn.init.prototype = jHtmlArea.fn;
jHtmlArea.defaultOptions = {
toolbar: [
["html"], ["bold", "italic", "underline", "strikethrough", "|", "subscript", "superscript"],
["increasefontsize", "decreasefontsize"],
["orderedlist", "unorderedlist"],
["indent", "outdent"],
["justifyleft", "justifycenter", "justifyright"],
["link", "unlink", "image", "horizontalrule"],
["p", "h1", "h2", "h3", "h4", "h5", "h6"],
["cut", "copy", "paste"]
],
css: null,
toolbarText: {
bold: "Bold", italic: "Italic", underline: "Underline", strikethrough: "Strike-Through",
cut: "Cut", copy: "Copy", paste: "Paste",
h1: "Heading 1", h2: "Heading 2", h3: "Heading 3", h4: "Heading 4", h5: "Heading 5", h6: "Heading 6", p: "Paragraph",
indent: "Indent", outdent: "Outdent", horizontalrule: "Insert Horizontal Rule",
justifyleft: "Left Justify", justifycenter: "Center Justify", justifyright: "Right Justify",
increasefontsize: "Increase Font Size", decreasefontsize: "Decrease Font Size", forecolor: "Text Color",
link: "Insert Link", unlink: "Remove Link", image: "Insert Image",
orderedlist: "Insert Ordered List", unorderedlist: "Insert Unordered List",
subscript: "Subscript", superscript: "Superscript",
html: "Show/Hide HTML Source View"
}
};
var priv = {
toolbarButtons: {
strikethrough: "strikeThrough", orderedlist: "orderedList", unorderedlist: "unorderedList",
horizontalrule: "insertHorizontalRule",
justifyleft: "justifyLeft", justifycenter: "justifyCenter", justifyright: "justifyRight",
increasefontsize: "increaseFontSize", decreasefontsize: "decreaseFontSize",
html: function(btn) {
this.toggleHTMLView();
}
},
initEditor: function(options) {
var edit = this.editor = this.iframe[0].contentWindow.document;
edit.designMode = 'on';
edit.open();
edit.write(this.textarea.val());
edit.close();
if (options.css) {
var e = edit.createElement('link'); e.rel = 'stylesheet'; e.type = 'text/css'; e.href = options.css; edit.getElementsByTagName('head')[0].appendChild(e);
}
},
initToolBar: function(options) {
var that = this;
var menuItem = function(className, altText, action) {
return $("<li/>").append($("<a href='javascript:void(0);'/>").addClass(className).attr("title", altText).click(function() { action.call(that, $(this)); }));
};
function addButtons(arr) {
var ul = $("<ul/>").appendTo(that.toolbar);
for (var i = 0; i < arr.length; i++) {
var e = arr[i];
if ((typeof (e)).toLowerCase() === "string") {
if (e === "|") {
ul.append($('<li class="separator"/>'));
} else {
var f = (function(e) {
// If button name exists in priv.toolbarButtons then call the "method" defined there, otherwise call the method with the same name
var m = priv.toolbarButtons[e] || e;
if ((typeof (m)).toLowerCase() === "function") {
return function(btn) { m.call(this, btn); };
} else {
return function() { this[m](); this.editor.body.focus(); };
}
})(e.toLowerCase());
var t = options.toolbarText[e.toLowerCase()];
ul.append(menuItem(e.toLowerCase(), t || e, f));
}
} else {
ul.append(menuItem(e.css, e.text, e.action));
}
}
};
if (options.toolbar.length !== 0 && priv.isArray(options.toolbar[0])) {
for (var i = 0; i < options.toolbar.length; i++) {
addButtons(options.toolbar[i]);
}
} else {
addButtons(options.toolbar);
}
},
attachEditorEvents: function() {
var t = this;
var fnHA = function() {
t.updateHtmlArea();
};
this.textarea.click(fnHA).
keyup(fnHA).
keydown(fnHA).
mousedown(fnHA).
blur(fnHA);
var fnTA = function() {
t.updateTextArea();
};
$(this.editor.body).click(fnTA).
keyup(fnTA).
keydown(fnTA).
mousedown(fnTA).
blur(fnTA);
$('form').submit(function() { t.toggleHTMLView(); t.toggleHTMLView(); });
//$(this.textarea[0].form).submit(function() { //this.textarea.closest("form").submit(function() {
// Fix for ASP.NET Postback Model
if (window.__doPostBack) {
var old__doPostBack = __doPostBack;
window.__doPostBack = function() {
if (t) {
if (t.toggleHTMLView) {
t.toggleHTMLView();
t.toggleHTMLView();
}
}
return old__doPostBack.apply(window, arguments);
};
}
},
isArray: function(v) {
return v && typeof v === 'object' && typeof v.length === 'number' && typeof v.splice === 'function' && !(v.propertyIsEnumerable('length'));
}
};
})(jQuery);
-357
View File
@@ -1,357 +0,0 @@
/*
* This file has been commented to support Visual Studio Intellisense.
* You should not use this file at runtime inside the browser--it is only
* intended to be used only for design-time IntelliSense. Please use the
* standard jHtmlArea library for all production use.
*/
/*
* jHtmlArea 0.7.0 - WYSIWYG Html Editor jQuery Plugin
* Copyright (c) 2009 Chris Pietschmann
* http://jhtmlarea.codeplex.com
* Licensed under the Microsoft Reciprocal License (Ms-RL)
* http://jhtmlarea.codeplex.com/license
*/
(function($) {
$.fn.htmlarea = function(options) {
/// <summary>
/// 1: (options) - Convert all TextArea DOM Elements to be displayed as jHtmlArea WYSIWYG Editors.
/// 2: (string, arguments) - This function accepts a string containing the method name that you want to execute against the jHtmlArea object.
/// </summary>
/// <param name="options" type="Object">
/// 1: options - The custom options you want applied to the jHtmlArea's that are created.
/// 2: string - The name of the jHtmlArea object method to be executed. The results of the method call are then returned instead of the jQuery object.
/// </param>
};
var jHtmlArea = window.jHtmlArea = function(elem, options) {
/// <summary>
/// Converts the passed in TextArea DOM Element to a jHtmlArea WYSIWYG Editor.
/// </summary>
/// <param name="elem" type="TextArea DOM Element">
/// The TextArea DOM Element to be converted to a jHtmlArea WYSIWYG Editor. Required.
/// </param>
/// <param name="options" type="Object">
/// The custom options you want applied to the jHtmlArea that is created. Optional.
/// </param>
/// <field name="defaultOptions" Type="Object">
/// The Default Options that are used for configuring the jHtmlArea WYSIWYG Editor upon creation.
/// </field>
/// <returns type="jHtmlArea" />
};
jHtmlArea.fn = jHtmlArea.prototype = {
// The current version of jHtmlArea being used
jhtmlarea: "0.7.0",
init: function(elem, options) {
/// <summary>
/// Converts the passed in TextArea DOM Element to a jHtmlArea WYSIWYG Editor.
/// </summary>
/// <param name="elem" type="TextArea DOM Element">
/// Required. The TextArea DOM Element to be converted to a jHtmlArea WYSIWYG Editor.
/// </param>
/// <param name="options" type="Object">
/// Optional. The custom options you want applied to the jHtmlArea that is created.
/// </param>
/// <returns type="jHtmlArea" />
},
execCommand: function(a, b, c) {
/// <summary>
/// Executes a command on the current document, current selection, or the given range.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
/// </param>
/// <param name="b" type="Boolean">
/// Optional. Boolean that specifies one of the following values:
/// "false" = Default. Do not display a user interface. Must be combined with vValue, if the command requires a value.
/// "true" = Display a user interface if the command supports one.
/// </param>
/// <param name="c" type="Object">
/// Optional. Variant that specifies the string, number, or other value to assign. Possible values depend on the command.
/// </param>
},
ec: function(a, b, c) {
/// <summary>
/// Executes a command on the current document, current selection, or the given range. An alias for the "execCommand" method.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script.
/// </param>
/// <param name="b" type="Boolean">
/// Optional. Boolean that specifies one of the following values:
/// "false" = Default. Do not display a user interface. Must be combined with vValue, if the command requires a value.
/// "true" = Display a user interface if the command supports one.
/// </param>
/// <param name="c" type="Object">
/// Optional. Variant that specifies the string, number, or other value to assign. Possible values depend on the command.
/// </param>
},
queryCommandValue: function(a) {
/// <summary>
/// Returns the current value of the document, range, or current selection for the given command.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies a command identifier.
/// </param>
/// <returns type="Variant" />
},
qc: function(a) {
/// <summary>
/// Returns the current value of the document, range, or current selection for the given command. An alias for the "queryCommandValue" method.
/// </summary>
/// <param name="a" type="String">
/// Required. String that specifies a command identifier.
/// </param>
/// <returns type="Variant" />
},
getSelectedHTML: function() {
/// <summary>
/// Returns the HTML that is currently selected within the editor.
/// </summary>
/// <returns type="String" />
},
getSelection: function() {
/// <summary>
/// Returns the Browser Selection object that represents the currently selected region of the editor.
/// </summary>
/// <returns type="Object" />
},
getRange: function() {
/// <summary>
/// Returns the Browser Range object that represents the currently selected region of the editor. (This uses the "getSelection" method internally.)
/// </summary>
/// <returns type="Object" />
},
pasteHTML: function(html) {
/// <summary>
/// Pastes HTML text into the editor, replacing any currently selected text and HTML elements.
/// </summary>
/// <param name="html" type="String">
/// The HTML text to paste/insert.
/// </param>
},
cut: function() {
/// <summary>
/// Copies the current selection to the clipboard and then deletes it.
/// </summary>
},
copy: function() {
/// <summary>
/// Copies the current selection to the clipboard.
/// </summary>
},
paste: function() {
/// <summary>
/// Overwrites the contents of the clipboard on the current selection.
/// </summary>
},
bold: function() {
/// <summary>
/// Toggles the current selection between bold and nonbold.
/// </summary>
},
italic: function() {
/// <summary>
/// Toggles the current selection between italic and nonitalic.
/// </summary>
},
underline: function() {
/// <summary>
/// Toggles the current selection between underlined and not underlined.
/// </summary>
},
strikeThrough: function() {
/// <summary>
/// If there is a selection and all of the characters are already striked, the strikethrough will be removed. Otherwise, all selected characters will have a line drawn through them.
/// </summary>
},
image: function(url) {
/// <summary>
/// This command will insert an image (referenced by url) at the insertion point.
/// If no URL is specified, a prompt will be displayed to the user.
/// </summary>
/// <param name="url" type="String">
/// The URL to the Image to be inserted. If no URL is specified, a prompt will be shown.
/// </param>
},
removeFormat: function() {
/// <summary>
/// Removes the formatting tags from the current selection.
/// </summary>
},
link: function() {
/// <summary>
/// Inserts a hyperlink on the current selection, or displays a dialog box enabling the user to specify a URL to insert as a hyperlink on the current selection.
/// </summary>
},
unlink: function() {
/// <summary>
/// Removes any hyperlink from the current selection.
/// </summary>
},
orderedList: function() {
/// <summary>
/// Converts the text selection into an ordered list.
/// </summary>
},
unorderedList: function() {
/// <summary>
/// Converts the text selection into an unordered list.
/// </summary>
},
superscript: function() {
/// <summary>
/// If there is a selection and all of the characters are already superscripted, the superscript will be removed. Otherwise, all selected characters will be drawn slightly higher than normal text.
/// </summary>
},
subscript: function() {
/// <summary>
/// If there is a selection and all of the characters are already subscripted, the subscript will be removed. Otherwise, all selected characters will be drawn slightly lower than normal text.
/// </summary>
},
p: function() {
/// <summary>
/// Sets the current block format tag to <P>.
/// </summary>
},
h1: function() {
/// <summary>
/// Sets the current block format tag to <H1>.
/// </summary>
},
h2: function() {
/// <summary>
/// Sets the current block format tag to <H2>.
/// </summary>
},
h3: function() {
/// <summary>
/// Sets the current block format tag to <H3>.
/// </summary>
},
h4: function() {
/// <summary>
/// Sets the current block format tag to <H4>.
/// </summary>
},
h5: function() {
/// <summary>
/// Sets the current block format tag to <H5>.
/// </summary>
},
h6: function() {
/// <summary>
/// Sets the current block format tag to <H6>.
/// </summary>
},
heading: function(h) {
/// <summary>
/// Sets the current block format tag to <H?> tag.
/// Example: Calling jHtmlArea.heading(2) will be the same as calling jHtmlArea.h2()
/// </summary>
/// <param name="h" type="Number">
/// The Number of Header (<H?>) tag to format the current block with.
/// For Example: Passing a 2 or "2" will cause the current block to be formatted with a <H2> tag.
/// </param>
},
indent: function() {
/// <summary>
/// Indents the selection or insertion point.
/// </summary>
},
outdent: function() {
/// <summary>
/// Outdents the selection or insertion point.
/// </summary>
},
insertHorizontalRule: function() {
/// <summary>
/// Inserts a horizontal rule at the insertion point (deletes selection).
/// </summary>
},
justifyLeft: function() {
/// <summary>
/// Justifies the selection or insertion point to the left.
/// </summary>
},
justifyCenter: function() {
/// <summary>
/// Centers the selection or insertion point.
/// </summary>
},
justifyRight: function() {
/// <summary>
/// Right-justifies the selection or the insertion point.
/// </summary>
},
increaseFontSize: function() {
/// <summary>
/// Increases the Font Size around the selection or at the insertion point.
/// </summary>
},
decreaseFontSize: function() {
/// <summary>
/// Decreases the Font Size around the selection or at the insertion point.
/// </summary>
},
forecolor: function(c) {
/// <summary>
/// Changes a font color for the selection or at the insertion point. Requires a color value string to be passed in as a value argument.
/// </summary>
},
formatBlock: function(v) {
/// <summary>
/// Sets the current block format tag.
/// </summary>
},
showHTMLView: function() {
/// <summary>
/// Shows the HTML/Source View (TextArea DOM Element) within the Editor and hides the WYSIWYG interface.
/// </summary>
},
hideHTMLView: function() {
/// <summary>
/// Hides the HTML/Source View (TextArea DOM Element) within the Editor and displays the WYSIWYG interface.
/// </summary>
},
toggleHTMLView: function() {
/// <summary>
/// Toggles between HTML/Source View (TextArea DOM Element) and the WYSIWYG interface within the Editor.
/// </summary>
},
toHtmlString: function() {
/// <summary>
/// Returns the HTML text contained within the editor.
/// </summary>
/// <returns type="String" />
},
toString: function() {
/// <summary>
/// Return the Text contained within the editor, with all HTML tags removed.
/// </summary>
/// <returns type="String" />
},
updateTextArea: function() {
/// <summary>
/// Forces the TextArea DOM Element to by sync'd with the contents of the HTML WYSIWYG Editor.
/// </summary>
},
updateHtmlArea: function() {
/// <summary>
/// Forces the HTML WYSIWYG Editor to be sync'd with the contents of the TextArea DOM Element.
/// </summary>
}
};
jHtmlArea.fn.init.prototype = jHtmlArea.fn;
})(jQuery);
File diff suppressed because one or more lines are too long
@@ -1,189 +0,0 @@
/*
* jHtmlAreaColorPickerMenu 0.7.0 - A Color Picker Extension to jHtmlArea
* Part of the jHtmlArea Project
* Copyright (c) 2009 Chris Pietschmann
* http://jhtmlarea.codeplex.com
* Licensed under the Microsoft Reciprocal License (Ms-RL)
* http://jhtmlarea.codeplex.com/license
*/
(function($) {
if (jHtmlArea) {
var oldForecolor = jHtmlArea.fn.forecolor;
jHtmlArea.fn.forecolor = function(c) {
if (c) {
// If color is specified, then use the "default" method functionality
oldForecolor.call(this, c);
} else {
// If no color is specified, then display color picker ui
var that = this;
var rng = this.getRange();
jHtmlAreaColorPickerMenu($(".forecolor", this.toolbar), {
colorChosen: function(color) {
if ($.browser.msie) {
rng.execCommand("ForeColor", false, color);
} else {
that.forecolor(color);
}
}
});
}
};
}
var menu = window.jHtmlAreaColorPickerMenu = function(ownerElement, options) {
return new jHtmlAreaColorPickerMenu.fn.init(ownerElement, options);
};
menu.fn = menu.prototype = {
jhtmlareacolorpickermenu: "0.7.0",
init: function(ownerElement, options) {
var opts = $.extend({}, menu.defaultOptions, options);
var that = this;
var owner = this.owner = $(ownerElement);
var position = owner.position();
if (menu.instance) {
menu.instance.hide();
}
jHtmlAreaColorPickerMenu.instance = this;
var picker = this.picker = $("<div/>").css({
position: "absolute",
left: position.left + opts.offsetLeft,
top: position.top + owner.height() + opts.offsetTop,
"z-index": opts["z-index"]
}).addClass("jHtmlAreaColorPickerMenu");
for (var i = 0; i < opts.colors.length; i++) {
var c = opts.colors[i];
$("<div/>").css("background-color", c).appendTo(picker).click(
(function(color) {
return function() {
if (opts.colorChosen) {
opts.colorChosen.call(this, color);
}
that.hide();
};
})(c)
);
}
$("<div/>").html("<div></div>Automatic").addClass("automatic").appendTo(picker).click(
function() {
if (opts.colorChosen) {
opts.colorChosen.call(this, null);
}
that.hide();
}
);
var autoHide = false;
picker.appendTo(owner.parent()).
show().
mouseout(function() {
autoHide = true;
that.currentTimeout = window.setTimeout(function() { if (autoHide === true) { that.hide(); } }, 1000);
}).
mouseover(function() {
if (that.currentTimeout) {
window.clearTimeout(that.currentTimeout);
that.currentTimeout = null;
}
autoHide = false;
});
},
hide: function() {
this.picker.hide();
this.picker.remove();
}
};
menu.fn.init.prototype = menu.fn;
menu.defaultOptions = {
"z-index": 0,
offsetTop: 0,
offsetLeft: 0,
colors: [
"#ffffff",
"#cccccc",
"#c0c0c0",
"#999999",
"#666666",
"#333333",
"#000000",
"#ffcccc",
"#ff6666",
"#ff0000",
"#cc0000",
"#990000",
"#660000",
"#330000",
"#ffcc99",
"#ff9966",
"#ff9900",
"#ff6600",
"#cc6600",
"#993300",
"#663300",
"#ffff99",
"#ffff66",
"#ffcc66",
"#ffcc33",
"#cc9933",
"#996633",
"#663333",
"#ffffcc",
"#ffff33",
"#ffff00",
"#ffcc00",
"#999900",
"#666600",
"#333300",
"#99ff99",
"#66ff99",
"#33ff33",
"#33cc00",
"#009900",
"#006600",
"#003300",
"#99FFFF",
"#33FFFF",
"#66CCCC",
"#00CCCC",
"#339999",
"#336666",
"#003333",
"#CCFFFF",
"#66FFFF",
"#33CCFF",
"#3366FF",
"#3333FF",
"#000099",
"#000066",
"#CCCCFF",
"#9999FF",
"#6666CC",
"#6633FF",
"#6600CC",
"#333399",
"#330099",
"#FFCCFF",
"#FF99FF",
"#CC66CC",
"#CC33CC",
"#993399",
"#663366",
"#330033"
],
colorChosen: null
};
})(jQuery);
@@ -1,8 +0,0 @@
// jHtmlArea - http://jhtmlarea.codeplex.com - (c)2009 Chris Pietschmann
(function($){if(jHtmlArea){var oldForecolor=jHtmlArea.fn.forecolor;jHtmlArea.fn.forecolor=function(c){if(c){oldForecolor.call(this,c);}else{var that=this;var rng=this.getRange();jHtmlAreaColorPickerMenu($(".forecolor",this.toolbar),{colorChosen:function(color){if($.browser.msie){rng.execCommand("ForeColor",false,color);}else{that.forecolor(color);}}});}};}
var menu=window.jHtmlAreaColorPickerMenu=function(ownerElement,options){return new jHtmlAreaColorPickerMenu.fn.init(ownerElement,options);};menu.fn=menu.prototype={jhtmlareacolorpickermenu:"0.7.0",init:function(ownerElement,options){var opts=$.extend({},menu.defaultOptions,options);var that=this;var owner=this.owner=$(ownerElement);var position=owner.position();if(menu.instance){menu.instance.hide();}
jHtmlAreaColorPickerMenu.instance=this;var picker=this.picker=$("<div/>").css({position:"absolute",left:position.left+opts.offsetLeft,top:position.top+owner.height()+opts.offsetTop,"z-index":opts["z-index"]}).addClass("jHtmlAreaColorPickerMenu");for(var i=0;i<opts.colors.length;i++){var c=opts.colors[i];$("<div/>").css("background-color",c).appendTo(picker).click((function(color){return function(){if(opts.colorChosen){opts.colorChosen.call(this,color);}
that.hide();};})(c));}
$("<div/>").html("<div></div>Automatic").addClass("automatic").appendTo(picker).click(function(){if(opts.colorChosen){opts.colorChosen.call(this,null);}
that.hide();});var autoHide=false;picker.appendTo(owner.parent()).show().mouseout(function(){autoHide=true;that.currentTimeout=window.setTimeout(function(){if(autoHide===true){that.hide();}},1000);}).mouseover(function(){if(that.currentTimeout){window.clearTimeout(that.currentTimeout);that.currentTimeout=null;}
autoHide=false;});},hide:function(){this.picker.hide();this.picker.remove();}};menu.fn.init.prototype=menu.fn;menu.defaultOptions={"z-index":0,offsetTop:0,offsetLeft:0,colors:["#ffffff","#cccccc","#c0c0c0","#999999","#666666","#333333","#000000","#ffcccc","#ff6666","#ff0000","#cc0000","#990000","#660000","#330000","#ffcc99","#ff9966","#ff9900","#ff6600","#cc6600","#993300","#663300","#ffff99","#ffff66","#ffcc66","#ffcc33","#cc9933","#996633","#663333","#ffffcc","#ffff33","#ffff00","#ffcc00","#999900","#666600","#333300","#99ff99","#66ff99","#33ff33","#33cc00","#009900","#006600","#003300","#99FFFF","#33FFFF","#66CCCC","#00CCCC","#339999","#336666","#003333","#CCFFFF","#66FFFF","#33CCFF","#3366FF","#3333FF","#000099","#000066","#CCCCFF","#9999FF","#6666CC","#6633FF","#6600CC","#333399","#330099","#FFCCFF","#FF99FF","#CC66CC","#CC33CC","#993399","#663366","#330033"],colorChosen:null};})(jQuery);
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +0,0 @@
div.jHtmlAreaColorPickerMenu {border: solid 1px #bbb; background-color: #ddd; width: 112px;}
div.jHtmlAreaColorPickerMenu div {float: left; margin: 2px; width: 12px; height: 14px;}
div.jHtmlAreaColorPickerMenu div:hover {margin: 0px; border: dotted 2px black;}
div.jHtmlAreaColorPickerMenu div.automatic { width: 104px; height: auto; padding: 2px;}
div.jHtmlAreaColorPickerMenu div.automatic div { margin: 2px; width: 12px; height: 14px; border: solid 1px black;}
@@ -1,6 +0,0 @@
body
{
background: #000;
color: #fff;
margin: 2px;
}
-48
View File
@@ -1,48 +0,0 @@
div.jHtmlArea { display: inline block; }
div.jHtmlArea div { padding: 0px; margin: 0px; }
div.jHtmlArea .ToolBar { }
div.jHtmlArea .ToolBar ul { border: solid 1px #ccc; margin: 1px; padding: 1px; float: left; background: #fff url(jHtmlArea_Toolbar_Group_BG.png) repeat-x;}
div.jHtmlArea .ToolBar ul li { list-style-type: none; float: left; border: none; padding: 1px; margin: 1px; }
div.jHtmlArea .ToolBar ul li:hover { border: solid 1px #ccc; background: #ddd url(jHtmlArea_Toolbar_Group__Btn_Select_BG.png); padding: 0; }
div.jHtmlArea .ToolBar ul li a { display: block; width: 16px; height: 16px; background: url(jHtmlArea.png) no-repeat -16px -500px; border: none; cursor: pointer; padding: 0px; }
div.jHtmlArea .ToolBar ul li a.highlighted { border: solid 1px #aaa; background-color: #bbb; padding: 0; }
div.jHtmlArea .ToolBar ul li.separator {height: 16px; margin: 0 2px 0 3px; border-left: 1px solid #ccc;}
div.jHtmlArea .ToolBar ul li.separator:hover { padding: 1px; background-color: #fff; border-top:none; border-bottom:none; border-right:none;}
div.jHtmlArea .ToolBar ul li a:hover { }
div.jHtmlArea .ToolBar ul li a.bold { background-position: 0 0; }
div.jHtmlArea .ToolBar ul li a.italic { background-position: -16px 0; }
div.jHtmlArea .ToolBar ul li a.underline { background-position: -32px 0; }
div.jHtmlArea .ToolBar ul li a.strikethrough { background-position: -48px 0; }
div.jHtmlArea .ToolBar ul li a.link { background-position: -64px 0; }
div.jHtmlArea .ToolBar ul li a.unlink { background-position: -80px 0; }
div.jHtmlArea .ToolBar ul li a.orderedlist { background-position: -96px 0; }
div.jHtmlArea .ToolBar ul li a.unorderedlist { background-position: -112px 0; }
div.jHtmlArea .ToolBar ul li a.image { background-position: -128px 0; }
div.jHtmlArea .ToolBar ul li a.cut { background-position: -144px 0; }
div.jHtmlArea .ToolBar ul li a.copy { background-position: -160px 0; }
div.jHtmlArea .ToolBar ul li a.paste { background-position: -176px 0; }
div.jHtmlArea .ToolBar ul li a.html { background-position: -192px 0; opacity:0.6; filter:alpha(opacity=60);}
div.jHtmlArea .ToolBar ul li a.html.highlighted { opacity:1.0; filter:alpha(opacity=100);}
div.jHtmlArea .ToolBar ul li a.h1 { background-position: 0 -16px;}
div.jHtmlArea .ToolBar ul li a.h2 { background-position: -16px -16px;}
div.jHtmlArea .ToolBar ul li a.h3 { background-position: -32px -16px;}
div.jHtmlArea .ToolBar ul li a.h4 { background-position: -48px -16px;}
div.jHtmlArea .ToolBar ul li a.h5 { background-position: -64px -16px;}
div.jHtmlArea .ToolBar ul li a.h6 { background-position: -80px -16px;}
div.jHtmlArea .ToolBar ul li a.subscript { background-position: -96px -16px;}
div.jHtmlArea .ToolBar ul li a.superscript { background-position: -112px -16px;}
div.jHtmlArea .ToolBar ul li a.indent { background-position: -128px -16px;}
div.jHtmlArea .ToolBar ul li a.outdent { background-position: -144px -16px;}
div.jHtmlArea .ToolBar ul li a.horizontalrule { background-position: -160px -16px;}
div.jHtmlArea .ToolBar ul li a.p { background-position: -176px -16px;}
div.jHtmlArea .ToolBar ul li a.justifyleft { background-position: 0 -32px;}
div.jHtmlArea .ToolBar ul li a.justifycenter { background-position: -16px -32px;}
div.jHtmlArea .ToolBar ul li a.justifyright { background-position: -32px -32px;}
div.jHtmlArea .ToolBar ul li a.increasefontsize { background-position: -48px -32px;}
div.jHtmlArea .ToolBar ul li a.decreasefontsize { background-position: -64px -32px;}
div.jHtmlArea .ToolBar ul li a.forecolor { background-position: -80px -32px;}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

@@ -1,406 +0,0 @@
/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
*/
/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
/* Misc visuals
----------------------------------*/
/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
*/
/* Component containers
----------------------------------*/
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
.ui-widget-content a { color: #333333; }
.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
.ui-widget-header a { color: #ffffff; }
/* Interaction states
----------------------------------*/
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; outline: none; }
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; outline: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; outline: none; }
.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; outline: none; }
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; outline: none; }
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; outline: none; text-decoration: none; }
/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
/* Icons
----------------------------------*/
/* states and images */
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
/* positioning */
.ui-icon-carat-1-n { background-position: 0 0; }
.ui-icon-carat-1-ne { background-position: -16px 0; }
.ui-icon-carat-1-e { background-position: -32px 0; }
.ui-icon-carat-1-se { background-position: -48px 0; }
.ui-icon-carat-1-s { background-position: -64px 0; }
.ui-icon-carat-1-sw { background-position: -80px 0; }
.ui-icon-carat-1-w { background-position: -96px 0; }
.ui-icon-carat-1-nw { background-position: -112px 0; }
.ui-icon-carat-2-n-s { background-position: -128px 0; }
.ui-icon-carat-2-e-w { background-position: -144px 0; }
.ui-icon-triangle-1-n { background-position: 0 -16px; }
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
.ui-icon-triangle-1-e { background-position: -32px -16px; }
.ui-icon-triangle-1-se { background-position: -48px -16px; }
.ui-icon-triangle-1-s { background-position: -64px -16px; }
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
.ui-icon-triangle-1-w { background-position: -96px -16px; }
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
.ui-icon-arrow-1-n { background-position: 0 -32px; }
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
.ui-icon-arrow-1-e { background-position: -32px -32px; }
.ui-icon-arrow-1-se { background-position: -48px -32px; }
.ui-icon-arrow-1-s { background-position: -64px -32px; }
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
.ui-icon-arrow-1-w { background-position: -96px -32px; }
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
.ui-icon-arrow-4 { background-position: 0 -80px; }
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
.ui-icon-extlink { background-position: -32px -80px; }
.ui-icon-newwin { background-position: -48px -80px; }
.ui-icon-refresh { background-position: -64px -80px; }
.ui-icon-shuffle { background-position: -80px -80px; }
.ui-icon-transfer-e-w { background-position: -96px -80px; }
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
.ui-icon-folder-collapsed { background-position: 0 -96px; }
.ui-icon-folder-open { background-position: -16px -96px; }
.ui-icon-document { background-position: -32px -96px; }
.ui-icon-document-b { background-position: -48px -96px; }
.ui-icon-note { background-position: -64px -96px; }
.ui-icon-mail-closed { background-position: -80px -96px; }
.ui-icon-mail-open { background-position: -96px -96px; }
.ui-icon-suitcase { background-position: -112px -96px; }
.ui-icon-comment { background-position: -128px -96px; }
.ui-icon-person { background-position: -144px -96px; }
.ui-icon-print { background-position: -160px -96px; }
.ui-icon-trash { background-position: -176px -96px; }
.ui-icon-locked { background-position: -192px -96px; }
.ui-icon-unlocked { background-position: -208px -96px; }
.ui-icon-bookmark { background-position: -224px -96px; }
.ui-icon-tag { background-position: -240px -96px; }
.ui-icon-home { background-position: 0 -112px; }
.ui-icon-flag { background-position: -16px -112px; }
.ui-icon-calendar { background-position: -32px -112px; }
.ui-icon-cart { background-position: -48px -112px; }
.ui-icon-pencil { background-position: -64px -112px; }
.ui-icon-clock { background-position: -80px -112px; }
.ui-icon-disk { background-position: -96px -112px; }
.ui-icon-calculator { background-position: -112px -112px; }
.ui-icon-zoomin { background-position: -128px -112px; }
.ui-icon-zoomout { background-position: -144px -112px; }
.ui-icon-search { background-position: -160px -112px; }
.ui-icon-wrench { background-position: -176px -112px; }
.ui-icon-gear { background-position: -192px -112px; }
.ui-icon-heart { background-position: -208px -112px; }
.ui-icon-star { background-position: -224px -112px; }
.ui-icon-link { background-position: -240px -112px; }
.ui-icon-cancel { background-position: 0 -128px; }
.ui-icon-plus { background-position: -16px -128px; }
.ui-icon-plusthick { background-position: -32px -128px; }
.ui-icon-minus { background-position: -48px -128px; }
.ui-icon-minusthick { background-position: -64px -128px; }
.ui-icon-close { background-position: -80px -128px; }
.ui-icon-closethick { background-position: -96px -128px; }
.ui-icon-key { background-position: -112px -128px; }
.ui-icon-lightbulb { background-position: -128px -128px; }
.ui-icon-scissors { background-position: -144px -128px; }
.ui-icon-clipboard { background-position: -160px -128px; }
.ui-icon-copy { background-position: -176px -128px; }
.ui-icon-contact { background-position: -192px -128px; }
.ui-icon-image { background-position: -208px -128px; }
.ui-icon-video { background-position: -224px -128px; }
.ui-icon-script { background-position: -240px -128px; }
.ui-icon-alert { background-position: 0 -144px; }
.ui-icon-info { background-position: -16px -144px; }
.ui-icon-notice { background-position: -32px -144px; }
.ui-icon-help { background-position: -48px -144px; }
.ui-icon-check { background-position: -64px -144px; }
.ui-icon-bullet { background-position: -80px -144px; }
.ui-icon-radio-off { background-position: -96px -144px; }
.ui-icon-radio-on { background-position: -112px -144px; }
.ui-icon-pin-w { background-position: -128px -144px; }
.ui-icon-pin-s { background-position: -144px -144px; }
.ui-icon-play { background-position: 0 -160px; }
.ui-icon-pause { background-position: -16px -160px; }
.ui-icon-seek-next { background-position: -32px -160px; }
.ui-icon-seek-prev { background-position: -48px -160px; }
.ui-icon-seek-end { background-position: -64px -160px; }
.ui-icon-seek-first { background-position: -80px -160px; }
.ui-icon-stop { background-position: -96px -160px; }
.ui-icon-eject { background-position: -112px -160px; }
.ui-icon-volume-off { background-position: -128px -160px; }
.ui-icon-volume-on { background-position: -144px -160px; }
.ui-icon-power { background-position: 0 -176px; }
.ui-icon-signal-diag { background-position: -16px -176px; }
.ui-icon-signal { background-position: -32px -176px; }
.ui-icon-battery-0 { background-position: -48px -176px; }
.ui-icon-battery-1 { background-position: -64px -176px; }
.ui-icon-battery-2 { background-position: -80px -176px; }
.ui-icon-battery-3 { background-position: -96px -176px; }
.ui-icon-circle-plus { background-position: 0 -192px; }
.ui-icon-circle-minus { background-position: -16px -192px; }
.ui-icon-circle-close { background-position: -32px -192px; }
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
.ui-icon-circle-zoomin { background-position: -176px -192px; }
.ui-icon-circle-zoomout { background-position: -192px -192px; }
.ui-icon-circle-check { background-position: -208px -192px; }
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
.ui-icon-circlesmall-close { background-position: -32px -208px; }
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
.ui-icon-squaresmall-close { background-position: -80px -208px; }
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
/* Misc visuals
----------------------------------*/
/* Corner radius */
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; }
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; }
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; }
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; }
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; }
/* Overlays */
.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; }/* Accordion
----------------------------------*/
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
.ui-accordion .ui-accordion-li-fix { display: inline; }
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em 2.2em; }
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; }
.ui-accordion .ui-accordion-content-active { display: block; }/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding: .2em .2em 0; }
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }
/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}/* Dialog
----------------------------------*/
.ui-dialog { position: relative; padding: .2em; width: 300px; }
.ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
.ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
.ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
/* Progressbar
----------------------------------*/
.ui-progressbar { height:2em; text-align: left; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
----------------------------------*/
.ui-resizable { position: relative;}
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
----------------------------------*/
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
----------------------------------*/
.ui-tabs { padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
.ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
+3
View File
@@ -474,6 +474,9 @@
<code>TORON</code>
<code>TORNO</code>
<code>TR</code>
<temple name="Trujillo, Peru">
<code>TRUJI</code>
</temple>
</temple>
<temple name="Tuxtla Gutierrez, Mexico">
<code>TGUTI</code>
+34 -34
View File
@@ -13,8 +13,8 @@ gramps(1) @VERSION@ gramps(1)
**SYNOPSIS**
**gramps** [**-?** | **--help**] [**--usage**] [**--version**]
[**-l**] [**-L**] [**-u** | **--force-unlock**] [**-O** | **--open=** *DATABASE*
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *FILE*
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *...*]
[**-f** | **--format=** *FORMAT*] [**-i** | **--import=** *FILE*
[**-f** | **--format=** *FORMAT*]] [**--remove=** *FAMILY_TREE_PATTERN*]
[**-e** | **--export=** *FILE* [**-f** | **--format=** *FORMAT*]]
[**-a** | **--action=** *ACTION*] [*-p* | **--options=** *OPTION
STRING*]] [*FILE*] [**--version**]
@@ -50,23 +50,23 @@ gramps(1) @VERSION@ gramps(1)
Formats available for export are **gramps-xml** (guessed if *FILE*
ends with **.gramps** ), **gedcom** (guessed if *FILE* ends with
**.ged** ), or any file export available through the Gramps plugin
**.ged** ), or any file export available through the Gramps plugin
system.
Formats available for import are **gramps-xml** , **gedcom** ,
**gramps-pkg** (guessed if *FILE* ends with **.gpkg** ),
and **geneweb** (guessed if *FILE* ends with **.gw** ).
Formats available for export are **gramps-xml** , **gedcom** ,
**gramps-pkg** , **wft** (guessed if *FILE* ends with **.wft** ),
Formats available for export are **gramps-xml** , **gedcom** ,
**gramps-pkg** , **wft** (guessed if *FILE* ends with **.wft** ),
**geneweb**.
**-l**
**-l**
Print a list of known family trees.
**-L**
**-L**
Print a detailed list of known family trees.
@@ -88,16 +88,16 @@ gramps(1) @VERSION@ gramps(1)
When more than one input file is given, each has to be preceded
by **-i** flag. The files are imported in the specified order, i.e.
**-i** *FILE1* **-i** *FILE2* and **-i** *FILE2* **-i** *FILE1*
**-i** *FILE1* **-i** *FILE2* and **-i** *FILE2* **-i** *FILE1*
might produce different gramps IDs in the resulting database.
**-e** , **--export=** *FILE*
Export data into *FILE* . For **gramps-xml** , **gedcom**
Export data into *FILE* . For **gramps-xml** , **gedcom**
, **wft** , **gramps-pkg** , and **geneweb** , the *FILE* is the
name of the resulting file.
When more than one output file is given, each has to be preceded
When more than one output file is given, each has to be preceded
by **-e** flag. The files are written one by one, in the specified order.
@@ -165,7 +165,7 @@ gramps(1) @VERSION@ gramps(1)
With or without the **-O** flag, there could be multiple imports, exports,
and actions specified further on the command line by using **-i** ,
and actions specified further on the command line by using **-i** ,
**-e** , and **-a** flags.
@@ -194,46 +194,46 @@ gramps(1) @VERSION@ gramps(1)
**EXAMPLES**
To open an existing family tree and import an xml file into it, one
may type:
**gramps -O** *'My Family Tree'* **-i** *~/db3.gramps*
The above changes the opened family tree, to do the same, but import
both in a temporary family tree and start an interactive session, one
may type:
**gramps -i** *'My Family Tree'* **-i** *~/db3.gramps*
To import four databases (whose formats can be determined from their
names) and then check the resulting database for errors, one may type:
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
**-i** *file4.wft* **-a** *check*
To explicitly specify the formats in the above example, append file
names with appropriate **-f** options:
**gramps -i** *file1.ged* **-f** *gedcom* **-i** *file2.tgz* **-f**
**gramps -i** *file1.ged* **-f** *gedcom* **-i** *file2.tgz* **-f**
*gramps-pkg* **-i** *~/db3.gramps* **-f** *gramps-xml* **-i** *file4.wft*
**-f** *wft* **-a** *check*
To record the database resulting from all imports, supply **-e** flag (use
**-f** if the filename does not allow gramps to guess the format):
**gramps -i** *file1.ged* **-i** *file2.tgz* **-e** *~/new-package*
**-f** *gramps-pkg*
To import three databases and start interactive gramps session with the
result:
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
To run the Verify tool from the commandline and output the result to
stdout:
**gramps -O** *'My Family Tree'* **-a** *tool* **-p name=** *verify*
Finally, to start normal interactive session type:
**gramps**
@@ -257,20 +257,20 @@ gramps(1) @VERSION@ gramps(1)
modification of the main program.
In addition to generating direct printer output, report generators also
target other systems, such as *LibreOffice.org* , *AbiWord* , *HTML*,
target other systems, such as *LibreOffice.org* , *AbiWord* , *HTML*,
or *LaTeX* to allow the users to modify the format to suit their needs.
**KNOWN BUGS AND LIMITATIONS**
**FILES**
*${PREFIX}/bin/gramps*
*${PREFIX}/lib/python/dist-packages/gramps/*
*${PREFIX}/lib/python3/dist-packages/gramps/*
*${PREFIX}/share/*
*${HOME}/.gramps*
@@ -290,8 +290,8 @@ gramps(1) @VERSION@ gramps(1)
The user documentation is available through standard web browser
in the form of Gramps Manual.
The developer documentation can be found on the
http://www.gramps-project.org/wiki/index.php?title=Portal:Developers
The developer documentation can be found on the
http://www.gramps-project.org/wiki/index.php?title=Portal:Developers
portal.
+31 -32
View File
@@ -13,11 +13,10 @@ gramps(1) @VERSION@ gramps(1)
**SYNOPSIS**
**gramps** [**-?** | **--help**] [**--usage**] [**--version**]
[**-l**] [**-L**] [**-u** | **--force-unlock**] [**-O** | **--open=** *BASE_DE_DONNEES*
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *FILE*
[**-f** | **--format=** *FORMAT*]] [**-i** | **--import=** *...*]
[**-e** | **--export=** *FICHIER* [**-f** | **--format=** *FORMAT*]]
[**-a** | **--action=** *ACTION*] [*-p* | **--options=** *CHAÎNE
[**-l**] [**-L**] [**-u** | **--force-unlock**] [**-O** | **--open=** *BASE_DE_DONNEES*]
[**-f** | **--format=** *FORMAT*] [**-i** | **--import=** *FICHIER*]
[**-e** | **--export=** *FICHIER*] [**--remove=** *FAMILY_TREE_PATTERN*]
[**-a** | **--action=** *ACTION* [*-p* | **--options=** *CHAÎNE
OPTION*]] [*FICHIER*] [**--version**]
@@ -61,7 +60,7 @@ gramps(1) @VERSION@ gramps(1)
**geneweb** .
**-l**
**-l**
Imprime une liste des arbres familiaux disponibles.
@@ -92,11 +91,11 @@ gramps(1) @VERSION@ gramps(1)
**-e** , **--export=** *FICHIER*
Exporter des données dans un *FICHIER* . Pour les fichiers **gramps-xml**
, **gedcom** , **wft** , **gramps-pkg** , et **geneweb** , le
Exporter des données dans un *FICHIER* . Pour les fichiers **gramps-xml**
, **gedcom** , **wft** , **gramps-pkg** , et **geneweb** , le
*FICHIER* est le nom du fichier de sortie.
Quand plus d'un fichier doit être exporté, chacun doit être
Quand plus d'un fichier doit être exporté, chacun doit être
précédé par la commande **-e** . Ces fichiers sont importés dans le
même ordre.
@@ -121,7 +120,7 @@ gramps(1) @VERSION@ gramps(1)
**name=name**
Cette option est obligatoire, elle détermine quel rapport ou
outil sera utilisé. Si le name saisi ne correspond à aucun
outil sera utilisé. Si le name saisi ne correspond à aucun
module disponible, un message d'erreur sera ajouté.
**show=all**
@@ -184,54 +183,54 @@ gramps(1) @VERSION@ gramps(1)
Les erreurs rencontrées lors d'importation, d'exportation, ou d'action, seront
mémorisées en *stdout* (si elles sont le fait de la manipulation par
gramps) ou en *stderr* (si elles ne sont pas le fait d'une manipulation).
Utilisez les shell de redirection de *stdout* et *stderr* pour sauver
Utilisez les shell de redirection de *stdout* et *stderr* pour sauver
les messages et les erreurs dans les fichiers.
**EXEMPLES**
Pour ouvrir un arbre familial et y importer un fichier XML, on peut
saisir:
**gramps -O** *'Mon Arbre Familial'* **-i** *~/db3.gramps*
Ceci ouvre un arbre familial, pour faire la même chose, mais importer
dans un arbre familial temporaire et démarrer une session interactive,
on peut saisir :
**gramps -i** *'Mon Arbre Familial'* **-i** *~/db3.gramps*
Lecture de quatre bases de données dont les formats peuvent être
devinés d'après les noms, puis vérification des données:
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
**-i** *file4.wft* **-a** *check*
Si vous voulez préciser lesformats de fichiers dans l'exemple ci-
dessus, complétez les noms de fichiers par les options -f appropriées:
**gramps -i** *file1.ged* **-f** *gedcom* **-i** *file2.tgz* **-f**
**gramps -i** *file1.ged* **-f** *gedcom* **-i** *file2.tgz* **-f**
*gramps-pkg* **-i** *~/db3.gramps* **-f** *gramps-xml* **-i** *file4.wft*
**-f** *wft* **-a** *check*
Pour enregistrer le résultat des lectures, donnez l'option **-e**
Pour enregistrer le résultat des lectures, donnez l'option **-e**
(utiliser -f si le nom de fichier ne permet pas à gramps de deviner le
format):
**gramps -i** *file1.ged* **-i** *file2.tgz* **-e** *~/new-package*
**-f** *gramps-pkg*
Pour lire trois ensembles de données puis lancer une session
Pour lire trois ensembles de données puis lancer une session
interactive de gramps sur le tout :
**gramps -i** *file1.ged* **-i** *file2.tgz* **-i** *~/db3.gramps*
Pour lancer l'outil de vérification de la base de données depuis la
ligne de commande et obtenir le résultat :
**gramps -O** *'My Family Tree'* **-a** *tool* **-p name=** *verify*
Enfin, pour lancer une session interactive normale, entrer :
Enfin, pour lancer une session interactive normale, entrer :
**gramps**
@@ -265,11 +264,11 @@ gramps(1) @VERSION@ gramps(1)
**FICHIERS**
*${PREFIX}/bin/gramps*
*${PREFIX}/lib/python/dist-packages/gramps/*
*${PREFIX}/lib/python3/dist-packages/gramps/*
*${PREFIX}/share/*
*${HOME}/.gramps*
+14 -20
View File
@@ -1,6 +1,8 @@
.TH "GRAMPS" "1" "09 March 2015" "4.2" "Gramps"
.\" Man page generated from reStructuredText.
.
.TH FRENCH "" "" ""
.SH NAME
gramps \- Gramps Documentation
French \-
.
.nr rst2man-indent-level 0
.
@@ -28,8 +30,6 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructeredText.
.
.sp
gramps(1) @VERSION@ gramps(1)
.INDENT 0.0
@@ -42,11 +42,10 @@ données généalogiques)
.TP
.B \fBSYNOPSIS\fP
\fBgramps\fP [\fB\-?\fP | \fB\-\-help\fP] [\fB\-\-usage\fP] [\fB\-\-version\fP]
[\fB\-l\fP] [\fB\-L\fP] [\fB\-u\fP | \fB\-\-force\-unlock\fP] [\fB\-O\fP | \fB\-\-open=\fP \fIBASE_DE_DONNEES\fP
[\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP]] [\fB\-i\fP | \fB\-\-import=\fP \fIFILE\fP
[\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP]] [\fB\-i\fP | \fB\-\-import=\fP \fI...\fP]
[\fB\-e\fP | \fB\-\-export=\fP \fIFICHIER\fP [\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP]]
[\fB\-a\fP | \fB\-\-action=\fP \fIACTION\fP] [\fI\-p\fP | \fB\-\-options=\fP \fICHAÎNE
[\fB\-l\fP] [\fB\-L\fP] [\fB\-u\fP | \fB\-\-force\-unlock\fP] [\fB\-O\fP | \fB\-\-open=\fP \fIBASE_DE_DONNEES\fP]
[\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP] [\fB\-i\fP | \fB\-\-import=\fP \fIFICHIER\fP]
[\fB\-e\fP | \fB\-\-export=\fP \fIFICHIER\fP] [\fB\-\-remove=\fP \fIFAMILY_TREE_PATTERN\fP]
[\fB\-a\fP | \fB\-\-action=\fP \fIACTION\fP [\fI\-p\fP | \fB\-\-options=\fP \fICHAÎNE
OPTION\fP]] [\fIFICHIER\fP] [\fB\-\-version\fP]
.TP
.B \fBDESCRIPTION\fP
@@ -76,16 +75,16 @@ Le format spécifique du \fIFICHIER\fP est précédé par les arguments
alors le format sera celui de l\(aqextension ou du type\-MIME.
.sp
Les formats de sortie disponibles sont \fBgramps\-xml\fP (deviné si
\fIFICHIER\fP se termine par \fB.gramps\fP ), et \fBgedcom\fP (deviné si \fIFICHIER\fP se
termine par \fB.ged\fP ), ou tout autre fichier d\(aqexportation
\fIFICHIER\fP se termine par \fB\&.gramps\fP ), et \fBgedcom\fP (deviné si \fIFICHIER\fP se
termine par \fB\&.ged\fP ), ou tout autre fichier d\(aqexportation
disponible dans le système de plugin Gramps.
.sp
Les formats disponibles pour l\(aqimportation sont \fBgrdb\fP ,
\fBgramps\-xml\fP , \fBgedcom\fP , \fBgramps\-pkg\fP (deviné si \fIFICHIER\fP se termine par
\fB.gpkg\fP ), et \fBgeneweb\fP (deviné si \fIFICHIER\fP se termine par \fB.gw\fP ).
\fB\&.gpkg\fP ), et \fBgeneweb\fP (deviné si \fIFICHIER\fP se termine par \fB\&.gw\fP ).
.sp
Les formats disponibles pour l\(aqexportation sont \fBgramps\-xml\fP , \fBged
com\fP , \fBgramps\-pkg\fP , \fBwft\fP (deviné si \fIFICHIER\fP se termine par \fB.wft\fP ),
com\fP , \fBgramps\-pkg\fP , \fBwft\fP (deviné si \fIFICHIER\fP se termine par \fB\&.wft\fP ),
\fBgeneweb\fP .
.TP
.B \fB\-l\fP
@@ -193,7 +192,7 @@ fenêtre et demarrera avec une base vide, puisqu\(aqil n\(aqy a pas données.
.sp
Si aucune option \fB\-e\fP ou \fB\-a\fP n\(aqest donnée, gramps lancera sa propre
fenêtre et démarrera avec la base de données issue de tout les imports.
Cette base sera \fBimport_db.grdb\fP dans le répertoire \fB~/.gramps/import\fP.
Cette base sera \fBimport_db.grdb\fP dans le répertoire \fB~/.gramps/import\fP\&.
.sp
Les erreurs rencontrées lors d\(aqimportation, d\(aqexportation, ou d\(aqaction, seront
mémorisées en \fIstdout\fP (si elles sont le fait de la manipulation par
@@ -302,7 +301,7 @@ besoins
.INDENT 3.5
\fI${PREFIX}/bin/gramps\fP
.sp
\fI${PREFIX}/lib/python/dist\-packages/gramps/\fP
\fI${PREFIX}/lib/python3/dist\-packages/gramps/\fP
.sp
\fI${PREFIX}/share/\fP
.sp
@@ -334,10 +333,5 @@ La documentation pour développeur est disponible sur le site
.UNINDENT
.sp
gramps(1) @VERSION@ gramps(1)
.SH AUTHOR
Jerome Rapinat
.SH COPYRIGHT
2015, Gramps project
.\" Generated by docutils manpage writer.
.\"
.
+317 -314
View File
@@ -1,332 +1,335 @@
.TH gramps 1 "@VERSION@" "December 2012" "@VERSION@"
.\" Man page generated from reStructuredText.
.
.TH ENGLISH "" "" ""
.SH NAME
gramps \- Genealogical Research and Analysis Management Programming System.
.SH SYNOPSIS
.B gramps
.RB [ \-?|\-\^\-help ]
.RB [ \-\^\-usage ]
.RB [ \-\^\-version ]
.RB [ \-l ]
.RB [ \-u|\-\^\-force-unlock ]
.RB [ \-O|\-\^\-open=
.IR DATABASE
.RB [ \-f|\-\^\-format=
.IR FORMAT ]]
.RB [ \-i|\-\^\-import=
.IR FILE
.RB [ \-f|\-\^\-format=
.IR FORMAT ]]
.RB [ \-i|\-\^\-import=
.IR ... ]
.RB [ \-e|\-\^\-export=
.IR FILE
.RB [ \-f|\-\^\-format=
.IR FORMAT ]]
.RB [ \-a|\-\^\-action=
.IR ACTION ]
.RB [ \-p|\-\^\-options=
.IR OPTIONSTRING ]]
.RB [
.IR FILE
.RB ]
.if 0 .RB [ bonobo\ options ]
.if 0 .RB [ sound\ options ]
.RB [ \-\-version ]
.SH DESCRIPTION
.PP
\fIGramps\fP is a Free/OpenSource genealogy program. It is written in Python,
using the GTK+/GNOME interface.
Gramps should seem familiar to anyone who has used other genealogy programs
before such as \fIFamily Tree Maker (TM)\fR, \fIPersonal Ancestral
Files (TM)\fR, or the GNU Geneweb.
It supports importing of the ever popular GEDCOM format which is used world
wide by almost all other genealogy software.
.SH OPTIONS
.TP
.BI gramps " FILE"
When \fIFILE\fR is given (without any flags) as a family tree name or as
a family tree database directory, then it is opened and an interactive
session is started. If FILE is a file format understood by Gramps, an empty
family tree is created whose name is based on the \fIFILE\fP name
and the data is imported into it. The rest of the
options is ignored. This way of launching is suitable for using gramps
as a handler for genealogical data in e.g. web browsers. This invocation
can accept any data format native to gramps, see below.
.br
.TP
.BI \-f,\-\^\-format= " FORMAT"
Explicitly specify format of \fIFILE\fR given by preceding
.ig
\fB\-O\fR,
English \-
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
\fB\-i\fR, or
\fB\-e\fR option. If the \fB\-f\fR option is not given for any \fIFILE\fR,
the format of that file is guessed according to its extension or MIME-type.
.br
Formats
available for export are \fBgramps\-xml\fR (guessed if \fIFILE\fR ends with
\fB.gramps\fR), \fBgedcom\fR (guessed if \fIFILE\fR ends with \fB.ged\fR), or
any file export available through the Gramps plugin system.
.br
Formats
available for import are \fBgrdb\fR, \fBgramps\-xml\fR, \fBgedcom\fR,
\fBgramps\-pkg\fR (guessed if \fIFILE\fR ends with \fB.gpkg\fR), and
\fBgeneweb\fR (guessed if \fIFILE\fR ends with \fB.gw\fR).
.br
Formats available for export are
.ig
\fBgrdb\fR,
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
\fBgramps\-xml\fR, \fBgedcom\fR,
\fBgramps\-pkg\fR, \fBwft\fR (guessed if \fIFILE\fR ends with \fB.wft\fR),
\fBgeneweb\fR, and \fBiso\fR (never guessed, always specify with
\fB\-f\fR option).
.TP
.BI \-l
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.sp
gramps(1) @VERSION@ gramps(1)
.INDENT 0.0
.TP
.B \fBNAME\fP
gramps \- Genealogical Research and Analysis Management Programming Sys
tem.
.TP
.B \fBSYNOPSIS\fP
\fBgramps\fP [\fB\-?\fP | \fB\-\-help\fP] [\fB\-\-usage\fP] [\fB\-\-version\fP]
[\fB\-l\fP] [\fB\-L\fP] [\fB\-u\fP | \fB\-\-force\-unlock\fP] [\fB\-O\fP | \fB\-\-open=\fP \fIDATABASE\fP
[\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP] [\fB\-i\fP | \fB\-\-import=\fP \fIFILE\fP
[\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP]] [\fB\-\-remove=\fP \fIFAMILY_TREE_PATTERN\fP]
[\fB\-e\fP | \fB\-\-export=\fP \fIFILE\fP [\fB\-f\fP | \fB\-\-format=\fP \fIFORMAT\fP]]
[\fB\-a\fP | \fB\-\-action=\fP \fIACTION\fP] [\fI\-p\fP | \fB\-\-options=\fP \fIOPTION
STRING\fP]] [\fIFILE\fP] [\fB\-\-version\fP]
.TP
.B \fBDESCRIPTION\fP
Gramps is a Free/OpenSource genealogy program. It is written in Python,
using the GTK+/GNOME interface. Gramps should seem familiar to anyone
who has used other genealogy programs before such as Family Tree Maker
(TM), Personal Ancestral Files (TM), or the GNU Geneweb. It supports
importing of the ever popular GEDCOM format which is used world wide by
almost all other genealogy software.
.TP
.B \fBOPTIONS\fP
.INDENT 7.0
.TP
.B \fBgramps\fP \fIFILE\fP
When \fIFILE\fP is given (without any flags) as a family tree name or
as a family tree database directory, then it is opened and an
interactive session is started. If \fIFILE\fP is a file format under
stood by Gramps, an empty family tree is created whose name is
based on the \fIFILE\fP name and the data is imported into it. The
rest of the options is ignored. This way of launching is suit
able for using gramps as a handler for genealogical data in e.g.
web browsers. This invocation can accept any data format native
to gramps, see below.
.TP
.B \fB\-f\fP , \fB\-\-format=\fP \fIFORMAT\fP
Explicitly specify format of \fIFILE\fP given by preceding \fB\-i\fP ,
or \fB\-e\fP option. If the \fB\-f\fP option is not given for any
\fIFILE\fP , the format of that file is guessed according to its extension
or MIME\-type.
.sp
Formats available for export are \fBgramps\-xml\fP (guessed if \fIFILE\fP
ends with \fB\&.gramps\fP ), \fBgedcom\fP (guessed if \fIFILE\fP ends with
\fB\&.ged\fP ), or any file export available through the Gramps plugin
system.
.sp
Formats available for import are \fBgramps\-xml\fP , \fBgedcom\fP ,
\fBgramps\-pkg\fP (guessed if \fIFILE\fP ends with \fB\&.gpkg\fP ),
and \fBgeneweb\fP (guessed if \fIFILE\fP ends with \fB\&.gw\fP ).
.sp
Formats available for export are \fBgramps\-xml\fP , \fBgedcom\fP ,
\fBgramps\-pkg\fP , \fBwft\fP (guessed if \fIFILE\fP ends with \fB\&.wft\fP ),
\fBgeneweb\fP\&.
.TP
.B \fB\-l\fP
Print a list of known family trees.
.TP
.BI \-u,\-\^\-force-unlock
.B \fB\-L\fP
Print a detailed list of known family trees.
.TP
.B \fB\-u\fP , \fB\-\-force\-unlock\fP
Unlock a locked database.
.TP
.BI \-O,\-\^\-open= " DATABASE"
Open \fIDATABASE\fR which must be an existing database directory or existing family tree name.
If no action, import or export options are given on the command line then an interactive session is started using that database.
.TP
.BI \-i,\-\^\-import= " FILE"
Import data from \fIFILE\fR. If you haven't specified a database, then an empty database is created for you called Family Tree x (where x is an incrementing number).
.br
When more than one input file is given, each has to be preceded by \fB\-i\fR
flag. The files are imported in the specified order,
i.e. \fB\-i\fR \fIFILE1\fR \fB\-i\fR \fIFILE2\fR
and \fB\-i\fR \fIFILE2\fR \fB\-i\fR \fIFILE1\fR might produce different
gramps IDs in the resulting database.
.TP
.BI \-e,\-\^\-export= " FILE"
Export data into \fIFILE\fR. For \fBgramps\-xml\fR, \fBgedcom\fR,
\fBwft\fR, \fBgramps\-pkg\fR, and \fBgeneweb\fR, the \fIFILE\fR is
the name of the resulting file.
.br
When more than one output file is given, each has to be preceded
by \fB\-e\fR flag. The files are written one by one, in the specified order.
.TP
.BI \-a,\-\^\-action= " ACTION"
Perform \fIACTION\fR on the imported data. This is done after all imports
are successfully completed. Currently available actions are
\fBsummary\fR (same as Reports->View->Summary),
\fBcheck\fR (same as Tools->Database Processing->Check and Repair),
\fBreport\fR (generates report), and
\fBtool\fR (runs a plugin tool).
Both \fBreport\fR and \fBtool\fR need the \fIOPTIONSTRING\fR supplied by the
\fB\-p\fR flag).
.br
The \fIOPTIONSTRING\fR should satisfy the following conditions:
.br
It must not contain any spaces.
If some arguments need to include spaces, the string should
be enclosed with quotation marks, i.e., follow the shell syntax.
Option string is a list of pairs with name and value (separated by the
equality sign). The name and value pairs must be separated by commas.
.br
Most of the report or tools options are specific for each report or tool.
However, there are some common options.
.BI "name=name"
.br
This mandatory option determines which report or tool will be run.
If the supplied \fIname\fR does not correspond to any available report or
tool, an error message will be printed followed by the list of
available reports or tools (depending on the \fIACTION\fR).
.BI "show=all"
.br
This will produce the list of names for all options available for a given
report or tool.
.BI "show="optionname
.br
This will print the description of
the functionality supplied by \fIoptionname\fR, as well as what are the
acceptable types and values for this option.
.br
Use the above options to find out
everything about a given report.
.LP
When more than one output action is given, each has to be preceded
by \fB\-a\fR flag. The actions are performed one by one, in the specified order.
.TP
.BI \-d,\-\^\-debug= " LOGGER_NAME"
Enables debug logs for development and testing. Look at the source code for details
.TP
.BI \-\^\-version
.B \fB\-O\fP , \fB\-\-open=\fP \fIDATABASE\fP
Open \fIDATABASE\fP which must be an existing database directory or
existing family tree name. If no action, import or export
options are given on the command line then an interactive ses
sion is started using that database.
.TP
.B \fB\-i\fP , \fB\-\-import=\fP \fIFILE\fP
Import data from \fIFILE\fP . If you haven\(aqt specified a database, then
an empty database is created for you called Family Tree x
(where x is an incrementing number).
.sp
When more than one input file is given, each has to be preceded
by \fB\-i\fP flag. The files are imported in the specified order, i.e.
\fB\-i\fP \fIFILE1\fP \fB\-i\fP \fIFILE2\fP and \fB\-i\fP \fIFILE2\fP \fB\-i\fP \fIFILE1\fP
might produce different gramps IDs in the resulting database.
.TP
.B \fB\-e\fP , \fB\-\-export=\fP \fIFILE\fP
Export data into \fIFILE\fP . For \fBgramps\-xml\fP , \fBgedcom\fP
, \fBwft\fP , \fBgramps\-pkg\fP , and \fBgeneweb\fP , the \fIFILE\fP is the
name of the resulting file.
.sp
When more than one output file is given, each has to be preceded
by \fB\-e\fP flag. The files are written one by one, in the specified order.
.TP
.B \fB\-a\fP , \fB\-\-action=\fP \fIACTION\fP
Perform \fIACTION\fP on the imported data. This is done after all
imports are successfully completed. Currently available actions
are \fBsummary\fP (same as Reports\->View\->Summary), \fBcheck\fP (same as
Tools\->Database Processing\->Check and Repair), \fBreport\fP (generates
report), and tool (runs a plugin tool). Both \fBreport\fP and \fBtool\fP
need the \fIOPTIONSTRING\fP supplied by the \fB\-p\fP flag).
.sp
The \fIOPTIONSTRING\fP should satisfy the following conditions:
It must not contain any spaces. If some arguments need to
include spaces, the string should be enclosed with quotation
marks, i.e., follow the shell syntax. Option string is a list
of pairs with name and value (separated by the equality sign).
The name and value pairs must be separated by commas.
.sp
Most of the report or tools options are specific for each report
or tool. However, there are some common options.
.sp
\fBname=name\fP
This mandatory option determines which report or tool will be
run. If the supplied name does not correspond to any available
report or tool, an error message will be printed followed by the
list of available reports or tools (depending on the \fIACTION\fP ).
.sp
\fBshow=all\fP
This will produce the list of names for all options available
for a given report or tool.
.sp
\fBshow=optionname\fP
This will print the description of the functionality supplied by
\fIoptionname\fP, as well as what are the acceptable types and values
for this option.
.sp
Use the above options to find out everything about a given
report.
.UNINDENT
.sp
When more than one output action is given, each has to be preceded by
\fB\-a\fP flag. The actions are performed one by one, in the specified order.
.INDENT 7.0
.TP
.B \fB\-d\fP , \fB\-\-debug=\fP \fILOGGER_NAME\fP
Enables debug logs for development and testing. Look at the
source code for details
.TP
.B \fB\-\-version\fP
Prints the version number of gramps and then exits
\" change 0 to 1 to enable output of OAF options
.if 0 \{
.PP
The following options are used for Bonobo activation.
.TP
.BI \-\^\-oaf-ior-fd= "FD"
File descriptor to print the OAF IOR on
.TP
.BI \-\^\-oaf-activate-iid= " IID"
OAF IID to activate
.TP
.BI \-\^\-oaf-private
Prevent registering of server with OAF
\}
\" change 0 to 1 to enable output of Gnome sound options
.if 0 \{
.PP
The following options are used for controlling sound using the Gnome Library.
.UNINDENT
.TP
.BI \-\^\-disable-sound
Disable sound server usage
.B \fBOperation\fP
If the first argument on the command line does not start with dash
(i.e. no flag), gramps will attempt to open the file with the name
given by the first argument and start interactive session, ignoring the
rest of the command line arguments.
.sp
If the \fB\-O\fP flag is given, then gramps will try opening the supplied
database and then work with that data, as instructed by the further
command line parameters.
.sp
With or without the \fB\-O\fP flag, there could be multiple imports, exports,
and actions specified further on the command line by using \fB\-i\fP ,
\fB\-e\fP , and \fB\-a\fP flags.
.sp
The order of \fB\-i\fP , \fB\-e\fP , or \fB\-a\fP options does not matter. The actual order
always is: all imports (if any) \-> all actions (if any) \-> all exports
(if any). But opening must always be first!
.sp
If no \fB\-O\fP or \fB\-i\fP option is given, gramps will launch its main window and
start the usual interactive session with the empty database, since
there is no data to process, anyway.
.sp
If no \fB\-e\fP or \fB\-a\fP options are given, gramps will launch its main window
and start the usual interactive session with the database resulted from
all imports. This database resides in the \fBimport_db.grdb\fP under
\fB~/.gramps/import\fP directory.
.sp
The error encountered during import, export, or action, will be either
dumped to stdout (if these are exceptions handled by gramps) or to
\fIstderr\fP (if these are not handled). Use usual shell redirections of
\fIstdout\fP and \fIstderr\fP to save messages and errors in files.
.TP
.BI \-\^\-enable-sound
Enable sound server usage
.B \fBEXAMPLES\fP
To open an existing family tree and import an xml file into it, one
may type:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-O\fP \fI\(aqMy Family Tree\(aq\fP \fB\-i\fP \fI~/db3.gramps\fP
.UNINDENT
.UNINDENT
.sp
The above changes the opened family tree, to do the same, but import
both in a temporary family tree and start an interactive session, one
may type:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-i\fP \fI\(aqMy Family Tree\(aq\fP \fB\-i\fP \fI~/db3.gramps\fP
.UNINDENT
.UNINDENT
.sp
To import four databases (whose formats can be determined from their
names) and then check the resulting database for errors, one may type:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-i\fP \fIfile1.ged\fP \fB\-i\fP \fIfile2.tgz\fP \fB\-i\fP \fI~/db3.gramps\fP
\fB\-i\fP \fIfile4.wft\fP \fB\-a\fP \fIcheck\fP
.UNINDENT
.UNINDENT
.sp
To explicitly specify the formats in the above example, append file
names with appropriate \fB\-f\fP options:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-i\fP \fIfile1.ged\fP \fB\-f\fP \fIgedcom\fP \fB\-i\fP \fIfile2.tgz\fP \fB\-f\fP
\fIgramps\-pkg\fP \fB\-i\fP \fI~/db3.gramps\fP \fB\-f\fP \fIgramps\-xml\fP \fB\-i\fP \fIfile4.wft\fP
\fB\-f\fP \fIwft\fP \fB\-a\fP \fIcheck\fP
.UNINDENT
.UNINDENT
.sp
To record the database resulting from all imports, supply \fB\-e\fP flag (use
\fB\-f\fP if the filename does not allow gramps to guess the format):
.INDENT 7.0
.INDENT 3.5
\fBgramps \-i\fP \fIfile1.ged\fP \fB\-i\fP \fIfile2.tgz\fP \fB\-e\fP \fI~/new\-package\fP
\fB\-f\fP \fIgramps\-pkg\fP
.UNINDENT
.UNINDENT
.sp
To import three databases and start interactive gramps session with the
result:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-i\fP \fIfile1.ged\fP \fB\-i\fP \fIfile2.tgz\fP \fB\-i\fP \fI~/db3.gramps\fP
.UNINDENT
.UNINDENT
.sp
To run the Verify tool from the commandline and output the result to
stdout:
.INDENT 7.0
.INDENT 3.5
\fBgramps \-O\fP \fI\(aqMy Family Tree\(aq\fP \fB\-a\fP \fItool\fP \fB\-p name=\fP \fIverify\fP
.UNINDENT
.UNINDENT
.sp
Finally, to start normal interactive session type:
.INDENT 7.0
.INDENT 3.5
\fBgramps\fP
.UNINDENT
.UNINDENT
.TP
.BI \-\^\-espeaker= " HOSTNAME:PORT"
Host:port on which the sound server to use is running
\}
.SH "Operation"
.br
If the first argument on the command line does not start with dash (i.e. no
flag), gramps will attempt to open the file with the name given by the first
argument and start interactive session, ignoring the rest of the command line
arguments.
.LP
If the \fB\-O\fR flag is given, then gramps will try opening
the supplied database and then work with that data, as instructed by the
further command line parameters.
.LP
With or without the \fB\-O\fR flag, there could be multiple imports,
exports, and actions specified further on the command line by using \fB\-i\fR,
\fB\-e\fR, and \fB\-a\fR flags.
.LP
The order of \fB\-i\fR, \fB\-e\fR, or \fB\-a\fR options does not matter. The
actual order always is: all imports (if any) -> all actions (if any)
-> all exports (if any). But opening must always be first!
.LP
If no \fB\-O\fR or \fB\-i\fR option is given, gramps will launch its main
window and start the usual interactive session with the empty database,
since there is no data to process, anyway.
.LP
If no \fB\-e\fR or \fB\-a\fR options are given, gramps will launch its main
window and start the usual interactive session with the database resulted
from all imports. This database resides in the \fBimport_db.grdb\fR
under \fB~/.gramps/import\fR directory.
.LP
The error encountered during import, export, or action, will be either
dumped to \fIstdout\fR (if these are exceptions handled by gramps) or
to \fIstderr\fR (if these are not handled). Use usual shell redirections
of \fIstdout\fR and \fIstderr\fR to save messages and errors in files.
.SH EXAMPLES
.TP
To open an existing family tree and import an xml file into it, one may type:
\fBgramps\fR \fB\-O\fR \fI'My Family Tree'\fR \fB\-i\fR \fI~/db3.gramps\fR
.TP
The above changes the opened family tree, to do the same, but import both in a temporary family tree and start an interactive session, one may type:
\fBgramps\fR \fB\-i\fR \fI'My Family Tree'\fR \fB\-i\fR \fI~/db3.gramps\fR
.TP
To import four databases (whose formats can be determined from their names) and then check the resulting database for errors, one may type:
\fBgramps\fR \fB\-i\fR \fIfile1.ged\fR \fB\-i\fR \fIfile2.tgz\fR \fB\-i\fR \fI~/db3.gramps\fR \fB\-i\fR \fIfile4.wft\fR \fB\-a\fR \fIcheck\fR
.TP
To explicitly specify the formats in the above example, append filenames with appropriate \fB\-f\fR options:
\fBgramps\fR \fB\-i\fR \fIfile1.ged\fR \fB\-f\fR \fIgedcom\fR \fB\-i\fR \fIfile2.tgz\fR \fB\-f\fR \fIgramps-pkg\fR \fB\-i\fR \fI~/db3.gramps\fR \fB\-f\fR \fIgramps-xml\fR \fB\-i\fR \fIfile4.wft\fR \fB\-f\fR \fIwft\fR \fB\-a\fR \fIcheck\fR
.TP
To record the database resulting from all imports, supply \fB\-e\fR flag (use \fB\-f\fR if the filename does not allow gramps to guess the format):
\fBgramps\fR \fB\-i\fR \fIfile1.ged\fR \fB\-i\fR \fIfile2.tgz\fR \fB\-e\fR \fI~/new-package\fR \fB\-f\fR \fIgramps-pkg\fR
.TP
To import three databases and start interactive gramps session with the result:
\fBgramps\fR \fB\-i\fR \fIfile1.ged\fR \fB\-i\fR \fIfile2.tgz\fR \fB\-i\fR \fI~/db3.gramps\fR
.TP
To run the Verify tool from the commandline and output the result to stdout:
\fBgramps\fR \fB\-O\fR \fI'My Family Tree'\fR \fB-a\fR \fItool\fR \fB-p\fR \fBname\fR=\fIverify\fR
.TP
Finally, to start normal interactive session type:
\fBgramps\fR
.SH ENVIRONMENT VARIABLES
.B \fBENVIRONMENT VARIABLES\fP
The program checks whether these environment variables are set:
\fBLANG\fR - describe, which language to use:
Ex.: for polish language this variable has to be set to pl_PL.UTF-8.
\fBGRAMPSHOME\fR - if set, force Gramps to use the specified directory to keep
program settings and databases there. By default, this variable is not set and
gramps assumes that the folder with all databases and profile settings
should be created within the user profile folder (described by environment
variable HOME for Linux or USERPROFILE for Windows 2000/XP).
.SH CONCEPTS
Supports a python\-based plugin system, allowing import and export writers,
report generators, tools, and display filters to be added without modification
of the main program.
.LP
In addition to generating direct printer output, report generators also
target other systems, such as \fIOpenOffice.org\fR, \fIAbiWord\fR, HTML,
or LaTeX to allow the users to modify the format to suit their needs.
.SH KNOWN BUGS AND LIMITATIONS
.SH FILES
.LP
.sp
\fBLANG\fP \- describe, which language to use: Ex.: for polish language this
variable has to be set to pl_PL.UTF\-8.
.sp
\fBGRAMPSHOME\fP \- if set, force Gramps to use the specified directory to
keep program settings and databases there. By default, this variable is
not set and gramps assumes that the folder with all databases and pro
file settings should be created within the user profile folder
(described by environment variable HOME for Linux or USERPROFILE for
Windows 2000/XP).
.TP
.B \fBCONCEPTS\fP
Supports a python\-based plugin system, allowing import and export writ
ers, report generators, tools, and display filters to be added without
modification of the main program.
.sp
In addition to generating direct printer output, report generators also
target other systems, such as \fILibreOffice.org\fP , \fIAbiWord\fP , \fIHTML\fP,
or \fILaTeX\fP to allow the users to modify the format to suit their needs.
.UNINDENT
.sp
\fBKNOWN BUGS AND LIMITATIONS\fP
.sp
\fBFILES\fP
.INDENT 0.0
.INDENT 3.5
\fI${PREFIX}/bin/gramps\fP
.br
\fI${PREFIX}/lib/python/dist\-packages/gramps/\fP
.br
.sp
\fI${PREFIX}/lib/python3/dist\-packages/gramps/\fP
.sp
\fI${PREFIX}/share/\fP
.br
\fI${HOME}/.gramps\fP
.SH AUTHORS
Donald Allingham \fI<don@gramps-project.org>\fR
.br
\fIhttp://gramps.sourceforge.net\fR
.LP
.sp
\fI${HOME}/.gramps\fP
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \fBAUTHORS\fP
Donald Allingham <\fI\%don@gramps\-project.org\fP>
\fI\%http://gramps\-project.org/\fP
.sp
This man page was originally written by:
.br
Brandon L. Griffith \fI<brandon@debian.org>\fR
.br
Brandon L. Griffith <\fI\%brandon@debian.org\fP>
for inclusion in the Debian GNU/Linux system.
.LP
.sp
This man page is currently maintained by:
.br
Gramps project \fI<xxx@gramps-project.org>\fR
.br
.SH DOCUMENTATION
The user documentation is available through standard GNOME Help browser
in the form of Gramps Manual. The manual is also available in XML format
as \fBgramps-manual.xml\fR under \fIdoc/gramps-manual/$LANG\fR in the official
source distribution.
.LP
Gramps project <\fI\%xxx@gramps\-project.org\fP>
.TP
.B \fBDOCUMENTATION\fP
The user documentation is available through standard web browser
in the form of Gramps Manual.
.sp
The developer documentation can be found on the
\fIhttp://developers.gramps-project.org\fR site.
\fI\%http://www.gramps\-project.org/wiki/index.php?title=Portal:Developers\fP
portal.
.UNINDENT
.sp
gramps(1) @VERSION@ gramps(1)
.\" Generated by docutils manpage writer.
.
+42 -42
View File
@@ -24,7 +24,7 @@
"""
update_man.py for command line documentation.
Examples:
Examples:
python update_man.py -t
Tests if 'sphinx' and 'python' are well configured.
@@ -43,13 +43,13 @@ except:
DOCUTILS = False
LANGUAGES = ['sv', 'nl', 'pl', 'cs', 'pt_BR', 'fr']
VERSION = '4.2.0'
VERSION = '5.0.0'
DATE = ''
# You can set these variables from the command line.
SPHINXBUILD = 'sphinx-build'
if sys.platform == 'win32':
if sys.platform == 'win32':
pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe')
sphinxCmd = os.path.join(sys.prefix, 'bin', 'sphinx-build.exe')
elif sys.platform in ['linux2', 'darwin', 'cygwin']:
@@ -70,13 +70,13 @@ def tests():
os.system('''%(program)s -V''' % {'program': pythonCmd})
except:
print ('Please, install python')
try:
print("\n=================='Shpinx-build'=============================\n")
print("\n=================='Sphinx-build'=============================\n")
os.system('''%(program)s''' % {'program': sphinxCmd})
except:
print ('Please, install sphinx')
if not DOCUTILS:
print('\nNo docutils support, cannot use -m/--man and -o/--odt arguments.')
@@ -85,49 +85,49 @@ def main():
The utility for handling documentation stuff.
What is need by Gramps, nothing more.
"""
parser = ArgumentParser(
description='This program aims to handle documentation'
' and realted translated versions.',
parser = ArgumentParser(
description='This program aims to handle documentation'
' and related translated versions.',
)
parser.add_argument("-t", "--test",
action="store_true", dest="test", default=True,
help="test if 'python' and 'sphinx' are properly installed")
parser.add_argument("-b", "--build",
action="store_true", dest="build", default=False,
help="build man documentation (via sphinx-build)")
parser.add_argument("-m", "--man",
action="store_true", dest="man", default=False,
help="build man documentation (via docutils)")
parser.add_argument("-o", "--odt",
action="store_true", dest="odt", default=False,
help="build odt documentation (via docutils)")
args = parser.parse_args()
if args.test:
tests()
if args.build:
build()
if args.man and DOCUTILS:
man()
if args.odt and DOCUTILS:
odt()
def build():
"""
Build documentation.
"""
# testing stage
os.system('''%(program)s -b html . _build/html''' % {'program': sphinxCmd})
os.system('''%(program)s -b htmlhelp . _build/htmlhelp''' % {'program': sphinxCmd})
if DOCUTILS:
@@ -136,48 +136,48 @@ def build():
os.system('''%(program)s -b changes . _build/changes''' % {'program': sphinxCmd})
#os.system('''%(program)s -b linkcheck . _build/linkcheck''' % {'program': sphinxCmd})
os.system('''%(program)s -b gettext . _build/gettext''' % {'program': sphinxCmd})
for lang in LANGUAGES:
os.system('''%(program)s -b html -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
os.system('''%(program)s -b html -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
% {'lang': lang, 'program': sphinxCmd})
os.system('''%(program)s -b htmlhelp -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
os.system('''%(program)s -b htmlhelp -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
% {'lang': lang, 'program': sphinxCmd})
if DOCUTILS:
os.system('''%(program)s -b man %(lang)s %(lang)s'''
os.system('''%(program)s -b man %(lang)s %(lang)s'''
% {'lang': lang, 'program': sphinxCmd})
os.system('''%(program)s -b text -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
os.system('''%(program)s -b text -D language="%(lang)s" master_doc="%(lang)s" %(lang)s %(lang)s'''
% {'lang': lang, 'program': sphinxCmd})
# for update/migration
os.system('''%(program)s -b gettext -D language="%(lang)s" master_doc="%(lang)s" . _build/gettext/%(lang)s'''
os.system('''%(program)s -b gettext -D language="%(lang)s" master_doc="%(lang)s" . _build/gettext/%(lang)s'''
% {'lang': lang, 'program': sphinxCmd})
def man():
"""
man file generation via docutils (python)
from docutils.core import publish_cmdline, default_description
from docutils.writers import manpage
"""
os.system('''rst2man en.rst gramps.1''')
os.system('''rst2man en.rst gramps.1''')
for lang in LANGUAGES:
os.system('''rst2man %(lang)s/%(lang)s.rst -l %(lang)s %(lang)s/gramps.1'''
os.system('''rst2man %(lang)s/%(lang)s.rst -l %(lang)s %(lang)s/gramps.1'''
% {'lang': lang})
def odt():
"""
odt file generation via docutils (python)
from docutils.core import publish_cmdline_to_binary, default_description
from docutils.writers.odf_odt import Writer, Reader
"""
os.system('''rst2odt en.rst gramps.odt''')
os.system('''rst2odt en.rst gramps.odt''')
for lang in LANGUAGES:
os.system('''rst2odt %(lang)s/%(lang)s.rst -l %(lang)s %(lang)s/gramps.odt'''
os.system('''rst2odt %(lang)s/%(lang)s.rst -l %(lang)s %(lang)s/gramps.odt'''
% {'lang': lang})
if __name__ == "__main__":
main()
main()
-12
View File
@@ -1,12 +0,0 @@
{% extends "admin/base_site.html" %}
{% load i18n %}
{% block title %}{% trans 'Page not found' %}{% endblock %}
{% block content %}
<h2>{% trans 'Page not found' %}</h2>
<p>{% trans "We're sorry, but the requested page could not be found." %}</p>
{% endblock %}
-12
View File
@@ -1,12 +0,0 @@
{% extends "admin/base_site.html" %}
{% load i18n %}
{% block breadcrumbs %}<div class="breadcrumbs"><a href="/">{% trans "Home" %}</a> &rsaquo; {% trans "Server error" %}</div>{% endblock %}
{% block title %}{% trans 'Server error (500)' %}{% endblock %}
{% block content %}
<h1>{% trans 'Server Error <em>(500)</em>' %}</h1>
<p>{% trans "There's been an error. It's been reported to the site administrators via e-mail and should be fixed shortly. Thanks for your patience." %}</p>
{% endblock %}
-21
View File
@@ -1,21 +0,0 @@
{% extends "admin/base.html" %}
{% load i18n %}
{% block title %}{{ title }} | Adminstration{% endblock %}
{% block branding %}
<h1 id="site-name">Administration</h1>
{% endblock %}
{% block nav-global %}
{% if user.is_staff %}
<style type="text/css">
.ml {margin:0 10px 10px;display:block;float:left}
</style>
<a href="/" clas="ml">Home</a>
<a href="/admin/" class="ml">Administration home</a>
<a href="/admin/auth/user/?is_active__exact=0" class="ml">New Users</a>
<a href="/admin/auth/user/" class="ml">All Users</a>
{% endif %}
{% endblock %}
-30
View File
@@ -1,30 +0,0 @@
{% extends "gramps-base.html" %}
{% load my_tags %}
{% block title %}{{sitename}}{% endblock %}
{% block heading %}{{sitename}}{% endblock %}
{% block content %}
<p> &nbsp; </p>
<p id="description">
Database information:</p>
<table class="infolist surname">
<tr>
<th>Item</th>
<th>Count</th>
</tr>
{% for view in views %}
<tr class="{% cycle odd,even %}">
{% if view.2 %}
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
<td align="left"><a href="/{{view.1}}">{{view.1|table_count}}</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% endblock %}
-12
View File
@@ -1,12 +0,0 @@
{% load my_tags %}
{% filter breadcrumb %}
{% format "/browse|Browse" %}||
{% format "/%s/%s|%s" view args tviews %}
{% if object.gramps_id %}
|| {% format "/%s/%s|%s [%s]" view object.handle tview object.gramps_id %}
{% else %}
{% if object.name %}
|| {% format "/%s/%s|%s [%s]" view object.handle tview object.name %}
{% endif %}
{% endif %}
{% endfilter %}
-399
View File
@@ -1,399 +0,0 @@
{% load my_tags %}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>{% block title %}{{sitename}}{% endblock %}</title>
{% block meta %}
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="Gramps 3.2.0-0.SVN12859M http://gramps-project.org/" />
<meta name="author" content="" />
{% endblock %}
<link href="/images/ped24.ico" type="image/x-icon" rel="shortcut icon" />
{% block css %}
<link media="screen" href="/styles/css/{{css_theme}}" type="text/css" rel="stylesheet" />
<link media="print" href="/styles/css/Web_Print-Default.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/styles/javascript/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/styles/javascript/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="/styles/jhtmlarea/scripts/jHtmlArea-0.7.0.js"></script>
<link rel="Stylesheet" type="text/css" href="/styles/jhtmlarea/style/jHtmlArea.css" />
<script type="text/javascript" src="/styles/javascript/jquery.flexbox.min.js"></script>
<link type="text/css" rel="stylesheet" href="/styles/css/jquery.flexbox.css" />
{% endblock %}
<style type="text/css">
table td {
vertical-align: middle;
}
div.content {
background: none;
}
.content {
padding: 0px 0px 10px;
}
.browsecell {
display: block;
}
#subtitle {
font-weight: bold;
font-style: italic;
border-top: 1px solid;
}
td.ColumnAttribute {
text-align: right;
}
#error {
color: red;
}
{% if action == "edit" or action == "add" %}
{% else %}
#rowspace {
height: 3px;
}
#data {
border: 1px solid;
background-color: white;
color: brown;
}
{% endif %}
/* Component containers */
.ui-widget {
font-family: Georgia,serif;
font-size: small;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
font-family: Georgia,serif;
font-size: small;
}
.ui-widget-content {
border: 1px solid #7D5925;
color: #7D5925;
float: left;
width: 98%;
}
.ui-widget-content a {
color: #7D5925;
}
.ui-widget-header {
color: #ffffff;
}
.ui-widget-header a {
color: #7D5925;
}
/* Overlays */
.ui-widget-overlay {
background: #aaaaaa;
opacity: .30;
}
.ui-widget-shadow {
margin: -8px 0 0 -8px;
padding: 8px;
opacity: .30;
-webkit-border-radius: 8px;
}
/* Interaction states */
.ui-state-default {
border: 1px solid #7D5925;
background: #FFF2C6;
font-weight: normal;
color: #7D5925;
outline: none;
}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #7D5925;
text-decoration: none;
outline: none;
}
.ui-state-hover, .ui-state-focus {
border: 1px solid #f5ad66;
background: #f5f0e5;
font-weight: normal;
color: #a46313;
outline: none;
}
.ui-state-hover a, .ui-state-hover a:hover {
color: #a46313;
text-decoration: none;
outline: none;
}
.ui-state-active {
border: 1px solid #7D5925;
background: #f4f0ec;
font-weight: normal;
color: #b85700;
outline: none;
}
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
color: #b85700;
outline: none;
text-decoration: none;
}
/* Interaction Cues */
.ui-state-highlight {
border: 1px solid #d9bb73;
background: #f5f5b5;
color: #060200;
}
.ui-state-highlight a {
color: #060200;
}
.ui-state-error {
border: 1px solid #f8893f;
background: #fee4bd;
color: #dd4e2c;
}
.ui-state-error a {
color: #dd4e2c;
}
.ui-state-error-text {
color: #dd4e2c;
}
.ui-state-disabled {
opacity: .35;
background-image: none;
}
.ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary {
opacity: .7;
font-weight: normal;
}
/* Tabs */
.ui-tabs {
padding: .2em;
}
.ui-tabs .ui-tabs-nav {
list-style: none;
position: relative;
padding: .2em .2em 0;
}
.ui-tabs .ui-tabs-nav li {
position: relative;
float: left;
margin: .2em .2em -1px 0;
padding: 0;
}
.ui-tabs .ui-tabs-nav li a {
float: left;
text-decoration: none;
padding: .5em 1em;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected {
padding-bottom: 1px;
border-bottom-width: 0;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
cursor: text;
}
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
cursor: pointer;
} /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel {
padding: 1em 1.4em;
display: block;
border-width: 0;
background: none;
}
.ui-tabs .ui-tabs-hide {
display: none !important;
}
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
var timerId=0 ;
function clearTimer() {
if (timerId!=0) {
clearTimeout(timerId); timerId=0; }}
function startTimer() {
clearTimer(); timerId=setTimeout('timerId=0;hideMenus()',200);
}
function showMenu(menuNum) {
clearTimer(); hideMenus();
document.getElementById('menu_'+menuNum).style.display="";
}
function hideMenus() {
document.getElementById('menu_browse').style.display="none";
}
function hiLite(theOption) {
clearTimer();
document.getElementById('opt_'+theOption).style.background='#9090FF';
}
function unLite(theOption) {
startTimer();
document.getElementById('opt_'+theOption).style.background='#D0D0FF';
}
function optClick(theOption) {
document.location.href=theOption;
}
function setHasData(classname, value) {
var elems = document.getElementsByTagName('*'), i;
for (i in elems) {
if((" " + elems[i].className + " ").indexOf(" " + classname + " ") > -1) {
if (value) {
elems[i].style.fontWeight = "bold";
elems[i].style.fontStyle = "italic";
} else {
elems[i].style.fontWeight = "";
elems[i].style.fontStyle = "";
}
}
}
}
function setReturnValues() {
var elems = document.getElementsByTagName('*'), i;
for (i in elems) {
if ((" " + elems[i].name + " ").indexOf("_return ") > -1) {
var pos = (" " + elems[i].name + " ").indexOf("_return ");
var s = elems[i].name.substring(0, pos - 1);
var v = document.getElementsByName(s)[0];
elems[i].value = v.value;
}
}
}
function buttonOver(button) {
button.style.backgroundColor = "white";
button.style.border = "1px solid gray";
}
function buttonOut(button) {
button.style.backgroundColor = "lightgray";
button.style.border = "1px solid lightgray";
}
//-->
</SCRIPT>
<STYLE TYPE="text/css">
<!--
.popupMenu {
// font-family : Verdana,Tahoma,Helvetica,sans-serif;
// font-size : 12px;
color : #111111;
position : absolute;
// top : 72px;
border : 1px;
padding : 3px;
z-index : 16;
background-color: #D0D0FF;
cursor : pointer; }
-->
</STYLE>
</head>
<body onclick="hideMenus()"
onload="if (document.getElementById('get_focus')) {document.getElementById('get_focus').focus();}"
>
<div id="header" style="padding-top: 1em; background-position:0px -32px;">
<h1 id="SiteTitle" style="margin-left: 0em;">{% block heading %}{{sitename}}{% endblock %}</h1>
</div>
<div class="wrapper" role="navigation" id="nav">
{% block navigation %}
<div class="container">
<ul class="menu" id="dropmenu">
<li {{ tview|currentSection:"home" }}><a href="/">Home</a></li>
{% for title in menu %}
{# (<Nice name>, /<path>/, <Model> | None, Need authentication ) #}
{% if title.3 %}
{% if user.is_authenticated %}
<li {{tview|currentSection:title.1 }}>
{% if title.1 %}
<a href="/{{title.1}}/">{{title.0}}</a>
</li>
{% else %}
<a href="/">{{title.0}}</a>
</li>
{% endif %}
{% else %}
{# don't show #}
{% endif %}
{% else %}
<li {{tview|currentSection:title.1 }}>
{% if title.1 %}
<a href="/{{title.1}}/"
onmouseover="showMenu('{{title.1}}')"
onmouseout="startTimer()"
style="cursor:pointer"
href="/browse/">{{title.0}}</a>
<DIV CLASS="popupMenu" ID="menu_browse" STYLE="display:none;">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR ID="opt_person"><TD><A ONMOUSEOVER="hiLite('person')" ONMOUSEOUT="unLite('person')" ONCLICK="optClick('/person/')">People</A></TD></TR>
<TR ID="opt_family"><TD><A ONMOUSEOVER="hiLite('family')" ONMOUSEOUT="unLite('family')" ONCLICK="optClick('/family/')">Families</A></TD></TR>
<TR ID="opt_event"><TD><A ONMOUSEOVER="hiLite('event')" ONMOUSEOUT="unLite('event')" ONCLICK="optClick('/event/')">Events</A></TD></TR>
<TR ID="opt_note"><TD><A ONMOUSEOVER="hiLite('note')" ONMOUSEOUT="unLite('note')" ONCLICK="optClick('/note/')">Note</A></TD></TR>
<TR ID="opt_media"><TD><A ONMOUSEOVER="hiLite('media')" ONMOUSEOUT="unLite('media')" ONCLICK="optClick('/media/')">Media</A></TD></TR>
<TR ID="opt_citation"><TD><A ONMOUSEOVER="hiLite('citation')" ONMOUSEOUT="unLite('citation')" ONCLICK="optClick('/citation/')">Citations</A></TD></TR>
<TR ID="opt_source"><TD><A ONMOUSEOVER="hiLite('source')" ONMOUSEOUT="unLite('source')" ONCLICK="optClick('/source/')">Sources</A></TD></TR>
<TR ID="opt_place"><TD><A ONMOUSEOVER="hiLite('place')" ONMOUSEOUT="unLite('place')" ONCLICK="optClick('/place/')">Places</A></TD></TR>
<TR ID="opt_repository"><TD><A ONMOUSEOVER="hiLite('repsoitory')" ONMOUSEOUT="unLite('repository')" ONCLICK="optClick('/repository/')">Repository</A></TD></TR>
<TR ID="opt_tag"><TD><A ONMOUSEOVER="hiLite('tag')" ONMOUSEOUT="unLite('tag')" ONCLICK="optClick('/tag/')">Tags</A></TD></TR>
</TABLE>
</DIV>
</li>
{% else %}
<a href="/">{{title.0}}</a></li>
{% endif %}
{% endif %}
{% endfor %}
{% if user.is_authenticated %}
{% if next %}
<li><a href="/logout/?next={{next}}">Logout</a></li>
{% else %}
<li><a href="/logout">Logout</a></li>
{% endif %}
{% if user.is_superuser %}
<li><a href="/admin">Admin</a></li>
{% endif %}
{% else %}
{% if next %}
<li><a href="/login/?next={{next}}">Login</a></li>
{% else %}
<li><a href="/login/">Login</a></li>
{% endif %}
{% endif %}
</ul>
{% endblock %}
</div>
</div>
<div class="grampsweb">
{% for message in messages %}
<font color="red">{{message}}</font><br/>
{% endfor %}
{% if message %}
<div id="system_message" class="{{ message_type }}">
<font color="red">{{message}}</font><br/>
</div>
{% endif %}
{% block content %}
{% endblock %}
<div class="content">
</div>
</div>
<div id="footer">
{% block footer %}
<p id="createdate">
<a href="http://www.gramps-project.org/wiki/index.php?title=Gramps-Connect">Gramps-Connect, version {{gramps_version}}</a>.
</p>
<p id="copyright">&copy; 2009-2015 <a href="http://www.gramps-project.org/">www.gramps-project.org</a>
</p>
{% endblock %}
</div>
</body>
</html>
-38
View File
@@ -1,38 +0,0 @@
{% extends "gramps-base.html" %}
{% load my_tags %}
{% block title %}{{sitename}}{% endblock %}
{% block heading %}{{sitename}}{% endblock %}
{% block content %}
<p> &nbsp; </p>
<p id="description">Welcome to <b>{{sitename}}</b>, a new web-based collaboration tool.
{% if user.is_authenticated %}
You are now logged in
as <a href="/user/{{user.username}}">{{user.username}}</a>.
{% endif %}
</p>
<p id="description">
Database information:</p>
<table class="infolist surname">
<tr>
<th>Item</th>
<th>Count</th>
</tr>
{% for view in views %}
<tr class="{% cycle odd,even %}">
{% if view.2 %}
<td align="left"><a href="/{{view.1}}">{{view.0}}</a></td>
<td align="left"><a href="/{{view.1}}">{{view.1|table_count}}</td>
{% endif %}
</tr>
{% endfor %}
</table>
{% endblock %}
-36
View File
@@ -1,36 +0,0 @@
<div class="pagination">
<span class="step-links">
<form method="post">{% csrf_token %}
<div id="alphanav" style="padding: 0pt 0 0pt 0;">
<ul>
{% ifequal page.number 1 %}
<li><input type="button" value="<<" disabled="disabled"></li>
{% else %}
<li><input type="button" value="<<" onclick="document.location.href='?page=1{{search_query}}'"></li>
{% endifequal %}
{% if page.has_previous %}
<li><input type="button" value="<" onclick="document.location.href='?page={{page.previous_page_number}}{{search_query}}'"></li>
{% else %}
<li><input type="button" value="<" disabled="disabled"></li>
{% endif %}
<span class="current">
<li>Page {{ page.number }} of {{ page.paginator.num_pages }}</li>
</span>
{% if page.has_next %}
<li><input type="button" value=">" onclick="document.location.href='?page={{page.next_page_number}}{{search_query}}'"></li>
{% else %}
<li><input type="button" value=">" disabled="disabled"></li>
{% endif %}
{% ifequal page.number page.paginator.num_pages %}
<li><input type="button" value=">>" disabled="disabled"></li>
{% else %}
<li><input type="button" value=">>" onclick="document.location.href='?page={{page.paginator.num_pages}}{{search_query}}'"></li>
{% endifequal %}
<b>Matches</b>: {{page.paginator.count}}/{{total}} <b>Showing</b>: {{results_this_page}}
</ul>
</div>
</span>
</div>
-51
View File
@@ -1,51 +0,0 @@
{% extends "view_page_detail.html" %}
{% load my_tags %}
{% block content %}
<script type="text/javascript">
$(function(){
$('#tabs').tabs({
'select': function(event, ui){
document.location.hash = ui.panel.id;
}
});
});
</script>
<div class="content" id="IndividualDetail">
{% include "detail_breadcrumb.html" %}
<div id="summaryarea">
<table class="infolist" style="width:90%;"> {% comment %} 4 cols {% endcomment %}
<tbody>
{% if pickform.errors %}
<hr>
<p id="error">The following fields have errors. Please correct and try again.</p>
<div id="error">{{pickform.errors}}</div>
<hr>
{% endif %}
<form method="post">{% csrf_token %}
<tr>
<td class="ColumnAttribute">Pick:</td>
{% if user.is_authenticated %}
<td class="ColumnValue" id="data">{{pickform.picklist}}</td>
{% else %}
<td class="ColumnValue" id="data"></td>
{% endif %}
</tr>
</tbody>
</table>
{% if user.is_superuser %}
{% make_button "Cancel" "/%s/%s" object_type object_handle args %}
<input type="hidden" name="action" value="save-share"/>
<input type="hidden" name="search" value="{{search}}"/>
<input type="hidden" name="page" value="{{page}}"/>
<input type="submit" value="Save"/>
{% else %}
{% endif %}
</form>
{% endblock %}

Some files were not shown because too many files have changed in this diff Show More