Commit Graph

24233 Commits

Author SHA1 Message Date
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