Commit Graph

1470 Commits

Author SHA1 Message Date
Nick Hall
f6be31eb39 Remove subversion substitution variables 2014-04-15 14:10:18 +01:00
Paul Franklin
f3e378a76a 7596: Translation of plurals does not allow the translator to omit the number 2014-04-14 19:17:26 -07:00
Paul Franklin
99cfe782da make "update_po -p" happier about unnamed strings 2014-04-14 17:07:32 -07:00
Nick Hall
4a7ae64dd3 Fix unicode error when saving filters 2014-04-13 14:03:43 +01:00
Nick Hall
0901528ddf GEPS 6: Add extra place types 2014-04-13 14:03:43 +01:00
Josip
aedfc3a673 7258: transcode os.path.join args from the fs enc to prevent a crash
fix plugin registration
fix textual, html report etc (except cairo based report)
fix web calendar report for python3
2014-04-13 10:11:22 +02:00
Josip
63f0dc3447 fix size of 'Potential Merges' dialog 2014-04-11 20:22:32 +02:00
Nick Hall
a08d4434b0 Rename "parent" place to "enclosed by" 2014-04-10 22:57:01 +01:00
Nick Hall
9b5a5f3b17 Fix family editor callback 2014-04-10 18:12:18 +01:00
Nick Hall
24a7d44b43 7119: Register history objects at startup 2014-04-10 17:08:30 +01:00
Paul Franklin
9c4aa37b8c 7276: translate some punctuation marks -- partial 2014-04-09 18:40:42 -07:00
Josip
6836dbd5bd git revision in windows 2014-04-09 23:09:33 +02:00
Paul Franklin
2c2f1d61c8 7585: provide translated output for Ancestor Tree and Descendant Tree reports 2014-04-09 10:30:49 -07:00
Paul Franklin
d238ad9044 make gramps XML the initial default export type 2014-04-08 19:25:13 -07:00
Josip
7fdf0f9225 7258: transcode os.path.join args from the fs enc to prevent a crash
Fix 3rd party plugin loading for Py2/Py3 in Windows when sys.path
is in Unicode or/and is not encodable in 'mbcs' encodings
2014-04-08 22:39:11 +02:00
Nick Hall
2155ae381f Remove GEPS 018 related code 2014-04-07 22:04:44 +01:00
John Ralls
43c37a603c Streamline conv_to_unicode
Also handle "None" strings and change default encoding to 'utf8' so that
it works without args when converting from UI input.
2014-04-07 13:24:11 -07:00
John Ralls
5972a3a16f 7258: Avoid dumb encoding error when compiling gpr files 2014-04-07 12:44:39 -07:00
John Ralls
dc292037e4 7588: Can not start [in Chinese on OSX]
Force UTF-8 locale on Mac
2014-04-07 11:51:02 -07:00
Josip
930a2f9819 7258: transcode os.path.join args from the fs enc to prevent a crash
:35653 rename family tree with python2
:35653 self.reference_map.delete
2014-04-07 00:17:40 +02:00
John Ralls
a890ff5634 Convert the database title retrieved from the GUI to a unicode. 2014-04-06 12:56:41 -07:00
John Ralls
f201deabbc Fix up some failing tests 2014-04-06 12:56:41 -07:00
John Ralls
28505a5d8d Delete a bunch of superflous re-encodings of path names 2014-04-06 12:56:41 -07:00
Josip
d69400b513 AboutDialog crashes with Python3 2014-04-06 20:44:51 +02:00
Josip
fa3645bf15 7582: [Python2] Cannot remove a person having an event reference 2014-04-06 19:07:41 +02:00
Josip
f7e144f853 Change use of GetEnvironmentVariableW (#7582) 2014-04-06 00:22:32 +02:00
Nick Hall
0a5b2e9f6a 7584: Fix update of active object after merge 2014-04-05 18:05:16 +01:00
Josip
64a5626712 6548: 'Available Gramps Updates for Addons' window not on top 2014-04-05 02:54:13 +02:00
Josip
d2066537c7 fix recentfiles.py to work for both py2/py3 2014-04-05 01:45:36 +02:00
Josip
26ab379584 7258: transcode os.path.join args from the fs enc to prevent a crash 2014-04-04 22:05:10 +02:00
Nick Hall
2353c0bd34 1772: Select row on right click in embedded lists 2014-04-04 19:39:15 +01:00
Nick Hall
f6ac8eb854 7455: Remove hover selection from embedded lists 2014-04-04 19:39:15 +01:00
John Ralls
9550dda584 Correctly encode the contents of the lock file. 2014-04-03 15:15:19 -07:00
John Ralls
4299ef530e Win32: Fix crash in gramps -L when the database path includes a non-ascii character. 2014-04-03 15:15:19 -07:00
John Ralls
c27dd4d171 Fix some errors and Py3 deprecations in cli_test.py 2014-04-03 15:09:09 -07:00
John Ralls
7dfb2e016f Test for ability to open a DB in an arbitrary Unicode path with a Unicode name.
And fix a couple of bugs that made the test fail.
2014-04-03 14:17:36 -07:00
Nick Hall
9eeadca892 More informative messages in citation editor 2014-04-03 18:41:22 +01:00
Nick Hall
863e4bd72a Fix drag & drop in citation editor 2014-04-03 17:31:46 +01:00
Paul Franklin
0c6166fddb make the export assistant slightly wider 2014-04-03 09:16:30 -07:00
Josip
91ef047766 Yet more fix of PyGObject-3.11 DeprecationWarning 2014-04-03 00:10:19 +02:00
Josip
2fbf9ff0f9 More fix of PyGObject-3.11 DeprecationWarning 2014-04-02 22:07:43 +02:00
Josip
fc40578687 Fix PyGObject-3.11 DeprecationWarning
GObject.idle_add() ==> GLib.idle_add()
2014-04-02 16:22:40 +02:00
Jérôme Rapinat
0af1c0bf41 7572: Do not hide 'categorysidebar' from Plugins Manager, do not try to restore hidden gramplets, typo on grampletbar (LOG.warning) 2014-04-01 12:04:43 +02:00
Jérôme Rapinat
20a17bed89 typo: NameError: global name 'gen' is not defined 2014-04-01 11:16:52 +02:00
Nick Hall
6d0c5d4e0e 7137: Fix updating of events gramplets 2014-03-29 23:55:27 +00:00
Nick Hall
7eb68e0c2f 7559: Fix bug in abandon changes and quit 2014-03-29 19:56:58 +00:00
John Ralls
53c878aa08 Use gramps.gen.const.HOME_DIR instead of os.environ['HOME']
$HOME doesn't exist on Windows, so os.environ['HOME'] gives the wrong answer.
2014-03-27 11:34:49 -07:00
John Ralls
71650917bf 7258: Replace some os.environ['foo'] lookups missed earlier. 2014-03-27 11:32:37 -07:00
John Ralls
2a81c76e69 Prevent range error crash when loading a defective database. 2014-03-25 15:44:50 -07:00
John Ralls
97d3ab49c4 7258: Fix filesystem encoding in get_dbdir_summary and DbUndoBSDDB.close. 2014-03-25 15:44:23 -07:00
Paul Franklin
1b166865f4 7476: Given Name Cloud Gramplet splits up given names into words 2014-03-23 18:43:25 -07:00
John Ralls
14e1edcd4e 7332-Filename-Decoding-Error-in-Graphical-Reports
Don't encode the filename for output. Python does that for you.
2014-03-23 15:22:46 -07:00
John Ralls
85a1c39092 7258: Transcode FS paths to avoid a crash
The problem is really that the paths get munged into strings in the
system codepage, losing or misinterpreting most Unicode. Python's os
module is smart enough to encode the unicode to the file system
encoding, but the bsddb module needs a little help.

Provide a new function, constfunc.get_env_var(name, default=None) to
cleanly import Unicode environment variables in Windows and use it in
place of all instances of foo = os.environ['BAR] or foo =
os.environ.get('BAR').

Os path functions are smart enough to convert unicode to the file system
encoding on their own, but Db functions aren't, so provide an _encode
function in gen.db.write.py and apply it where a path is being passed to
DBEnv.open().

Also convert paths from the UI to unicode from 'utf8' rather than
sysfilesystemencoding. The latter happens to be correct most of the time
on Linux and OSX but is wrong on Windows.
2014-03-23 15:09:51 -07:00
kdau
53acb627bb 7501: Notes always say 'no data exists for note' when saving 2014-03-21 15:07:18 +01:00
Munzir Taha
4f4ef14379 7539: NotRelated and Verify data dialogs appear either too small or too big 2014-03-19 10:04:39 +01:00
Paul Franklin
38125ac611 fix translation of children count to use ngettext 2014-03-18 17:31:28 -07:00
Vassilii Khachaturov
32ae80e9e9 7212: vcard: only convert non-empty BDAY to text
Discovered in #7530.
1) Previously, tests expected invalid BDAY with DD-MM-YYYY format
to be ignored. Now they are wrapped with datestr (see #7212),
and that is already covered by
 test_birthday_invalid_format_converted_to_datestr
Corrected test expectations by removing the obsolete test.
2) Test expects that an empty BDAY record won't create any
event objects. Modified import code accordingly -- we used
to create an event object without date, regression in #7212.
2014-03-18 19:57:01 +02:00
Vassilii Khachaturov
b4d2e60198 7530: gen.test.constfunc_test broken in python3
Use the `in' operator rather than has_key() method to check for
environment variables in os.environ. Works on both python2 and python3.
2014-03-18 15:48:04 +02:00
John Ralls
a030c20210 7519: GRAMPs unable to handle ... Path with accented characters
This replaces commit 8cbb3ef014 with
removing the incorrect encoding of paths with the system filesystem
encoding. Python is mostly smart enough to do that itself.

Thanks to Paul Franklin and Josip Pisoj for their help with sorting this
out.
2014-03-17 12:54:22 -07:00
John Ralls
946c5539af 7026: Eliminate localedir error message 2014-03-17 12:54:22 -07:00
Paul Franklin
471ec72966 7276: translate some punctuation marks -- partial 2014-03-17 08:03:23 -07:00
Jérôme Rapinat
eeea77e9c1 6369 Couldn't find a target for a mnemonic activation on confidence into Citation Editor 2014-03-16 11:08:29 +01:00
Nick Hall
fcdd15c6d0 Fix bug in event gramplet 2014-03-15 19:30:07 +00:00
Nick Hall
ca2cafc68a Adjustments to the citation editor
Remove publication information and abbreviation fields.
Move tag button.
2014-03-15 17:49:31 +00:00
Jérôme Rapinat
5654c99815 7510: do not drag and drop more than one data into editor tabs 2014-03-15 11:18:52 +01:00
Jérôme Rapinat
6d8679df2d 7530: typo on import geneweb unit test 2014-03-13 12:03:17 +01:00
John Ralls
8cbb3ef014 7519: GRAMPs unable to handle ... Path with accented characters
Much worse, actually. Gramps wasn't able to handle any non-ascii
characters in any preference setting from Python2.

repr() in Py2 effectively runs "encode(val, ascii, backslashreplace)"
on its argument, and there's no way to reconstruct the string.
2014-03-08 17:55:50 -08:00
John Ralls
2642fc5409 6854: Spelling messages at random cause hang for a few seconds.
Improve error message to conditionally explain that there is no
dictionary if that's in fact the case; otherwise log the actual
exception string.
2014-03-08 16:41:04 -08:00
John Ralls
38aaa671cd Remove some left-over diagnostic messages. 2014-03-08 13:40:47 -08:00
Josip
b38e5996fb 7435: Media Editor error if Path value was changed to a non existing file
fix media path
2014-03-08 21:53:12 +01:00
Josip
b868e3e256 7434: Media viewer list crashes during start if one try to select an entry where the media isn't available 2014-03-08 21:51:56 +01:00
Josip
22ec94f84d 7435: Media Editor error if Path value was changed to a non existing file 2014-03-08 18:00:36 +01:00
John Ralls
49cdfe3283 Bug 6538: Collation variants do not work properly
If ICU is available, inspect the environment for $COLLATION and on
a Mac also check the AppleCollationOrder default. Pass the results
to a special ICU Locale used for sorting.
2014-03-07 16:27:05 -08:00
John Ralls
80c58f46d3 Convert two common plugin errors from unhandled exceptions to warnings.
Missing translation for the current primary locale.
Import failure because of some missing dependency.

Note that these handlers can be overridded in the module itself; this is just a fallback.
2014-03-07 16:20:24 -08:00
John Ralls
58d150ebc8 Revert "Bug 6538: Collation variants do not work properly"
This reverts commit e0c896fe12.
Picked up too much in one change.
2014-03-07 16:17:51 -08:00
John Ralls
e0c896fe12 Bug 6538: Collation variants do not work properly
Pass fully-qualified locale found in $LC_COLLATE to ICU.
2014-03-07 16:14:00 -08:00
John Ralls
20f2564df0 Bug 6696: sort failure using key=glocale.sort_key
Correct the call with a lambda.
2014-03-07 12:37:38 -08:00
John Ralls
4dd543c323 Move the icu missing warning to after setting up the log handler. 2014-03-06 11:23:49 -08:00
Nick Hall
447113bf9f Add source fields to citation editor 2014-03-05 16:31:32 +00:00
Nick Hall
cdff0daff1 Fix parent place selection for new places 2014-03-05 14:02:26 +00:00
Nick Hall
ad4737edd5 Automatically populate the place title field 2014-03-05 14:02:26 +00:00
Nick Hall
d268a966bd Implement alternative place names 2014-03-05 14:02:26 +00:00
Nick Hall
c269ba5df4 Hide alternate locations list when empty 2014-03-05 14:02:26 +00:00
John Ralls
f9172c3ad1 Bug 7377 - Ver 4.0.2 starts in East Asian Language
Because there is no en.po for Gramps, so the C gettext called from
GtkBuilder skips to the next translation in the list. Fix makes sure
that there is no next translation.
2014-03-04 10:00:37 -08:00
kulath
b5097ed5ac 6194: Database corrupted - TypeError: unhashable type: 'list'
Fixed upgrade to deal with sourceref in media references in Sources.
Also fixed Check and Repair to repair previously broken databases.
2014-03-04 17:39:23 +00:00
Nick Hall
107e614f3d Simplify citation editor and add source selection 2014-03-03 12:19:34 +00:00
Paul Franklin
19fc47b38d partly revert 7470: Upgrade to db version 17 fails in Python3 due to use of iteritems 2014-03-01 16:44:28 -08:00
Nick Hall
c0ffe802bd 7342: Update column order in editor event tabs 2014-02-28 17:37:25 +00:00
Nick Hall
9645892b5e 7342: Split details column in events gramplet 2014-02-28 17:23:31 +00:00
Nick Hall
35ed90b138 7342: Update default columns in event view
Add main participant.
Change order to be consistent with selector.
2014-02-28 17:21:42 +00:00
Nick Hall
abe4f24393 7342: Better column order in event selector 2014-02-28 17:18:19 +00:00
Nick Hall
3d7901fec4 Add author column to source selector 2014-02-28 12:23:50 +00:00
Paul Franklin
4ba1f79b55 7276: translate some punctuation marks -- partial 2014-02-26 10:24:04 -08:00
Marc Hulsman
cc0fe33c72 Add integrity check for parent places 2014-02-25 22:41:49 +00:00
Nick Hall
c364bcd7ad 7482: Fix python3 problems with new place structure
Based on patches by Marc Hulsman.
2014-02-25 22:31:03 +00:00
Vassilii Khachaturov
8dd6d92184 7097: EditNote hangs initially on misspelled note
Disable undo during the initial note text population,
so as to avoid bombardment with gtkspell-... tags for the
misspelled text.
2014-02-25 15:43:09 +02:00
TonyG
314b2c1878 7498: List in Unused Objects dialog has limited space 2014-02-24 10:32:50 +01:00
John Ralls
816bf310e1 Bug 7377 Ver 4.0.2 starts in East Asian Language
Revert "GrampsLocale: Don't set  to 'C' if LANG is en_US"

This reverts commit bdd336f38e.

It turns out that Gtk's having an 'en' translation isn't the only reason
for doing this: GtkBuilder uses $LANGUAGE too, and will look for an english
translation of strings in our Glade files. Since there's no en.po or
en_US.po, it will go to the next language in the list and produce confusing
results.
2014-02-20 14:01:19 -08:00
John Ralls
84cabddcc9 Better fix for bug 7122. 2014-02-20 14:01:19 -08:00
John Ralls
eec3122bfb Fix up grampslocale logging a bit.
Send log messages "up the chain", make maclocale a sub-log of grampslocale.
2014-02-20 14:01:18 -08:00
Paul Franklin
c2635cd94b don't warn, WebKit is not in Mac or Windows bundles 2014-02-19 19:18:00 -08:00
Jérôme Rapinat
b30677b190 7484: Selection lists in Attribute Editor have limited space 2014-02-19 18:44:20 +01:00
Jérôme Rapinat
26fe553c69 566 7477: Translate 'New Style' and 'Default' on StyleEditor; update template for translation strings 2014-02-19 15:12:39 +01:00
Vassilii Khachaturov
283c1b1aa2 7097: add UndoableStyledBuffer.undo_disabled
Refactoring away the coupling between Spell and StyleTextEditor
innards:

1) add a context manager UndoableStyledBuffer.undo_disabled
2) add a forwarding to it as StyleTextEditor.undo_disabled
3) use that in Spell.__real_set_active_spellcheck
2014-02-19 13:06:10 +02:00
Vassilii Khachaturov
78bcb52703 7097: attaching spell checker isn't undoable
Quick-and-dirty fix removing the hang. Needs to be refactored
in order not to expose the knowledge of StyleTextEditor's
innards to Spell.
2014-02-19 11:49:32 +02:00
Vassilii Khachaturov
ba2766e5b2 7097: spell.py hangs on a note for tens of secods
shave off ~15s out of 40s of the hang
2014-02-19 10:40:31 +02:00
Paul Franklin
3442b19700 in GUI, read "paper" options from books.xml 2014-02-17 13:07:33 -08:00
Paul Franklin
13467d6af7 enable "paper" options in books.xml 2014-02-17 13:05:55 -08:00
Vassilii Khachaturov
92ca4095a9 7117: disallow new year unless Julian or like cal
Unit test.
2014-02-17 15:56:03 +02:00
Vassilii Khachaturov
7b3edabef8 7117: disallow new year unless Julian or like cal
raise an exception from Date.set for a meaningless newyear parameter
Add Date.CALENDARS to reduce cut-and-paste here and with the unit test
2014-02-17 15:56:03 +02:00
noirauds
ec4aef5054 0007488: After creating narrative web report, some temporary files remains in /tmp 2014-02-17 09:48:05 +01:00
Paul Franklin
afd7b2c048 7477: Users should not be allowed to delete 'default' style in Style Editor 2014-02-16 11:27:29 -08:00
Paul Franklin
a2807dff79 translate some paper names, suggested in 0566 2014-02-16 11:19:13 -08:00
Paul Franklin
88f98b6bf9 0566: Translate the "New Style" and "Default" on StyleEditor.py 2014-02-16 10:52:47 -08:00
Marc Hulsman
2404b9df67 7483: Remove reference to non-existant widgets 2014-02-16 17:30:46 +00:00
Vassilii Khachaturov
ad812c8537 debug.profile: support kwargs and ret values 2014-02-16 13:57:47 +02:00
Vassilii Khachaturov
15623c6c27 7469: ReorderIDs: global name 'gen' is not defined 2014-02-16 11:44:00 +02:00
John Ralls
e281f51ba6 Bug 7122 - Gramps does not start
Handle AppleCollationOrder returning an empty string
2014-02-14 17:21:12 -08:00
noirauds
e5f5da1857 Geography : Adding bookmarks (follow bug 7240) 2014-02-14 16:23:43 +01:00
Éric Doutreleau
88f740dd50 7465: scroll window for patchname tool didn't expand 2014-02-14 16:11:51 +01:00
Marc Hulsman
7346496214 7470: Upgrade to db version 17 fails in Python 3 due to use of iteritems 2014-02-13 18:16:58 -08:00
Jérôme Rapinat
8752d173af Display the warning message before running trunk version 2014-02-11 10:31:10 +01:00
Jérôme Rapinat
9dc976f28d Re-enable warning during devel stage on trunk 2014-02-10 16:06:07 +01:00
Jérôme Rapinat
a343b96093 Re-enable warning during devel stage on trunk 2014-02-10 16:00:47 +01:00
Paul Franklin
ae69eb666b encode every "style" file in utf-8 2014-02-09 13:35:55 -08:00
noirauds
05f8557852 Geography : Add the possibility to clear the tiles cache for the current map. 2014-02-09 14:04:39 +01:00
noirauds
5a10264d5f bug 7368 : Geography gramplet does not communicate over proxy server with autorisation. 2014-02-09 13:53:14 +01:00
noirauds
1a68b0b537 bug 7447: HTML View fails to load on Debian unstable. 2014-02-09 13:47:20 +01:00
Nick Hall
6fd89cda4c Add place type 2014-02-05 16:08:48 +00:00
Nick Hall
547e71db51 Fix unicode bug 2014-02-05 16:07:44 +00:00
Paul Franklin
6e6b18656a 7439: pre-load alert dialogs crash w/o DISPLAY 2014-02-04 20:35:54 -08:00
Nick Hall
9d9d49ffd3 Fix person sidebar filter 2014-02-04 15:40:38 +00:00
Nick Hall
3a1c3901db Add HasDayOfWeek rule 2014-02-03 22:29:57 +00:00
Nick Hall
356e36fe78 7419: HasEventBase should not include primary role 2014-02-02 16:13:53 +00:00
Nick Hall
94adf0909b 7429: Fix bug when an empty string is used as custom type 2014-02-02 15:43:38 +00:00
Vassilii Khachaturov
04d976ceee 7117: disallow new year unless Julian or like cal 2014-01-30 16:35:13 +02:00
Vassilii Khachaturov
04cff4335e l10n: collate _T_ and _ into just _ = sgettext
Thanks to Paul Franklin for reviewing [ada8cf] and suggesting this.
2014-01-30 15:40:23 +02:00
Vassilii Khachaturov
8e926cf84f trunk is 4.1 not 3.x nowadays
should probably use version from const.py
2014-01-29 18:17:47 +02:00
Vassilii Khachaturov
ada8cfcaa4 l10n: trying to add context for "Name:"
Fix minor mistakes in my [c574f3].
2014-01-29 13:47:08 +02:00
Nick Hall
4b5acca5ca 7419: Fix HasEvent filter in sidebar gramplet 2014-01-28 19:34:25 +00:00
gzsuniq
bdf6cd48e3 7412: Edit Note window is too small 2014-01-27 19:34:57 +01:00
Nick Hall
7506265d1c 6519: Add primary role option to event filter 2014-01-26 16:37:34 +00:00
Jérôme Rapinat
9fbdfac51a 7399: Cannot copy via context menu on Views into Charts Category 2014-01-26 12:12:37 +01:00
Jérôme Rapinat
ce6818fae8 6868: Tab sequence in Name Editor causes an error 2014-01-26 10:36:35 +01:00
Nick Hall
3d094d7be1 7183: Fix source note citation filter 2014-01-25 19:50:00 +00:00
Jérôme Rapinat
b2dec24edf 7388: Clicking on www link in Welcome Gramplet when detached causes crash 2014-01-25 19:12:47 +01:00
Jérôme Rapinat
1539830914 7232: 'TreePath' has no len(); str(TreePath) can have a len()... 2014-01-25 14:56:24 +01:00
BennyP
e1e29efe31 7409 7331: Selection lists do not expand for some edit dialogs 2014-01-24 17:14:53 +01:00
BennyP
b602b14066 7409 7331: Selection lists do not expand for some edit dialogs 2014-01-24 16:00:38 +01:00
Nick Hall
39aa5a5f81 Make event groups consistent with event type menu 2014-01-23 19:22:44 +00:00
Nick Hall
9ecc665625 5123: Fix bug in associations filter 2014-01-22 16:15:05 +00:00
Jérôme Rapinat
044a507453 7361: Do not save column order if there is not at least one column 2014-01-22 14:48:07 +01:00
Theophraste
313eb9ba07 5775: ID reorder tool doesn't update citation IDs
reapplied from gramps34
2014-01-21 21:52:24 +02:00
Josip
f829e550a0 7378: Starting Gramps without console not possible 2014-01-21 19:37:28 +01:00
Josip
f8059fd10c 7313: 'utf8' codec can't decode byte 0xa0 in position 6: invalid start byte 2014-01-21 19:23:54 +01:00
Jérôme Rapinat
0e6b73382f 7404: update docstring 2014-01-21 15:33:15 +01:00
Vassilii Khachaturov
d72fbdae48 7317,7360: also use 'value-changed' signal
With gtk3 controls, the day/year changes aren't caught otherwise
2014-01-21 16:05:55 +02:00
Vassilii Khachaturov
55a0cc990f 7360: Calendar conversion broken in date editor
Port my fix from gramps34: [ecdcca] [aa9deb]
The enable/disable code behaves worse under gtk3, need further polish
(this is not related to the current fix). Sometimes the changes
to the d/m/y edit fields don't fire the "changed" signal with the
UI value seen by build_date_from_ui
2014-01-21 12:30:56 +02:00
Nick Hall
22b71da84b Update test case generator for new place structure 2014-01-21 00:45:04 +00:00
Nick Hall
7b05c1944b Fix bugs in the test case generator 2014-01-21 00:45:04 +00:00
Vassilii Khachaturov
c574f3a767 l10n: trying to add context for "Name:"
"Name" as in "Personal name" is different from "Name" as in
"identification of a repository" or in "place name", at least
in Russian. Splitting away "repo|Name:" and "place|Name:"

We need to dynamically set the labels in glade.
See gramps-devel thread "context support for labels in glade?"
2014-01-20 20:19:50 +02:00
Jérôme Rapinat
5a6d100629 7370: entries were set twice 2014-01-17 21:16:07 +01:00
Jérôme Rapinat
42d1f0947b 7370: Citation sidebar filter raises unicode exception with python3 2014-01-17 18:05:56 +01:00
Jérôme Rapinat
bdbdfad557 7134: fit encoding selector dialog 2014-01-17 18:02:25 +01:00
Jérôme Rapinat
2301310eb3 Use sgettext for handling context (english locale) 2014-01-17 18:02:24 +01:00
Jérôme Rapinat
b072b88425 Update About dialog (2013 -> 2014) 2014-01-17 18:02:24 +01:00
Doug Blank
24d9e001a5 6690: Not being able to write a .gramps produces a scary message about DB corruption 2014-01-17 07:45:08 -05:00
Benny Malengier
e70849f4f0 7157: better support for objects having citations as subobjects 2014-01-15 09:33:30 +01:00
Jérôme Rapinat
d96b0ee74c 7331: Events and Children selectors don't use all available space of dialog box; 3.6 < gtk+ < 3.10; patch by BennyP (missing on author list) 2014-01-15 09:10:57 +01:00
Jérôme Rapinat
45c48f4f94 7157: typo by adding 'Last Change' column 2014-01-10 12:03:41 +01:00
Doug Blank
01da495ede Delete items in list by assigning Null 2014-01-09 10:43:05 -05:00
Doug Blank
946a213fbc Allow calling lists to select and filter 2014-01-08 10:22:32 -05:00
Doug Blank
37ba4122ba SQL-like allows selection and filter of elements in a list using attr.attr('part', part=value) 2014-01-07 21:46:55 -05:00
John Ralls
3b3a0338a3 Bug 7363: file-not-found exception when generating narrative web
document.png is in images/ not images/webstuff/
2014-01-07 10:30:15 -08:00
Doug Blank
0ff5aa88ad 7357: Adding link to a "Html code" note using the "Link" button has no effect 2014-01-07 10:48:56 -05:00
Vassilii Khachaturov
b2f41ab563 strip redundant trailing ' in 2 localized messages 2014-01-07 17:30:33 +02:00
Vassilii Khachaturov
ca57d2d4f4 l10n: need to disambiguate "New" at least for RU 2014-01-07 17:12:48 +02:00
Josip
bfbf5d01f4 7179: Select an existing person causes crash in searchfilter
refix, aplay only to Windows
2014-01-06 21:08:40 +01:00
Josip
568b4ee4a4 7179: Select an existing person causes crash in searchfilter 2014-01-06 20:53:15 +01:00
Josip
b0c0c03727 7339: Spell: Gramps crashes if myspell folder doesn't contain files for
the currently used LANG

With patch works like:
* default to dictionary in system locale if exist (language Gramps use)
* if no system-locale dictionary default to English dictionary if exist but
    allow selection of any other installed one
* if both English and system-locale dictionary is not available,
    disable spellchecking
2014-01-06 20:19:25 +01:00
Jérôme Rapinat
a0210fc1f8 5024: add 'Last Change' column on selectors, if missing 2014-01-06 16:52:19 +01:00
Vassilii Khachaturov
aa7e043f2d 7336: Gramps changes root cursor to hand
Following the suggestion from QuLogic, change get_root_window
to get_window for the set_cursor scope, like in my #6740 fix.
2014-01-04 21:18:18 +02:00
Nick Hall
703a8d71ae Add new columns to person view 2014-01-03 22:39:17 +00:00
Nick Hall
a2dfd9013e 7340: Performance improvement in ancestor filter 2013-12-31 17:36:58 +00:00
Vassilii Khachaturov
7c383cb70c 7172: more meaningful LOG warning plug/utils.py
Reapply [5c467c] from gramps34
2013-12-30 11:11:11 +02:00
Vassilii Khachaturov
0e534e598e 6380: GEDCOM export error for family _UID
Port gramps34 [429c18]
    Applying patch from 2013-12-24 by Enno Borgsteede,
    fixing attribute processing on the path that handled _UID
    and adding another extension, _FSFTID.
2013-12-30 11:05:02 +02:00
Vassilii Khachaturov
aa3a3c8270 7327: friendlier diagnostics during parsing
In preparation for fixing the bug, discovered minor glitches
in the open/lock/close logic on error paths. Using the RAII syntax
for xml_file and removing redundant unlock-before-close.

The parse errors now have friendlier verbiage, give action suggestions,
and point to the actual file location for better usability and
maintainability.
2013-12-28 22:22:52 +02:00
Doug Blank
5b17d597fe Experimental subselection in list using list['field1, field2'] 2013-12-28 14:34:00 -05:00
Doug Blank
cad20f42f1 Allow an attribute lookup on a list to select from the list 2013-12-28 13:32:15 -05:00
Doug Blank
2a4ba037c6 Fixed RefBase.to_struct in gen.lib objects 2013-12-28 10:11:43 -05:00
Doug Blank
c07aebd7d0 Error in schema 2013-12-27 18:28:04 -05:00
Doug Blank
4e9559c6eb Added link keyword to row method of SimpleTable 2013-12-27 10:43:51 -05:00
Doug Blank
8026a9aa1f Handle update set anywhere in struct 2013-12-27 01:56:33 -05:00
Doug Blank
feaf10b8c9 Add batch to DictionaryDB; update Query updates in batch mode 2013-12-26 16:16:57 -05:00
Doug Blank
f7a367e602 Fixed Gtk3 buffer.get_text issue 2013-12-26 16:16:07 -05:00
Doug Blank
c66e4b0149 Removed handling of control+v from default pageview handler that was only used in places where it shouldn't (dashboard) 2013-12-26 15:08:08 -05:00
Nick Hall
a6e4bf9cc5 7333: Reduce number of columns in LDS temple selector 2013-12-26 17:31:02 +00:00
Doug Blank
579f17a687 Revised Struct get and set now that Python handles lookup through eval; general cleanup 2013-12-26 11:32:00 -05:00
Vassilii Khachaturov
aa81f62b4a 6955: warn on non-primary surnames not exported
reapply from gramps34
2013-12-26 17:47:27 +02:00
Doug Blank
7b9fa14ef7 Cleanup, all selects, and deletes working 2013-12-26 00:18:39 -05:00