Zsolt Foldvari
311278e6a8
Method 'write_version' is created instead of loading the db after creation.
...
svn: r10484
2008-04-05 21:47:49 +00:00
Zsolt Foldvari
e27422e243
Open and close a new DB right after creation in order to write the DB version
...
number into it's metadata.
svn: r10482
2008-04-05 21:07:21 +00:00
Brian Matherly
d04be3245a
0002017: Narrative Web Report: Mainz Style needs to be widened (patch from Jason Simanek <jsimanek@gmail.com>)
...
svn: r10475
2008-04-05 18:50:34 +00:00
Brian Matherly
a46e733398
Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
...
svn: r10474
2008-04-05 14:17:15 +00:00
Brian Matherly
ac83ce0468
Make the report wiki url a constant.
...
svn: r10472
2008-04-05 12:38:47 +00:00
James G Sack
ec5a0a792b
src/GrampsDbUtils/_GedcomLex.py : #2008 fix error in extract_date()
...
RANGE pattern only returns 4 pattern groups, code was assigning to 5!?
(see also r10470)
svn: r10471
2008-04-05 06:45:46 +00:00
James G Sack
68e9450ef0
src/GrampsDbUtils/_WriteGedcom.py :#2008 fix bug in breakout()
...
src/GrampsDbUtils/test/gedwrite_breakup_test.py : unittest for breakout
svn: r10470
2008-04-05 04:34:46 +00:00
Zsolt Foldvari
2d663ce2ee
Add src/Editors/_StyledTextEditor.py to Makefile.
...
svn: r10469
2008-04-04 20:12:50 +00:00
Zsolt Foldvari
1e95aba51b
Pylint corrections and documentation.
...
svn: r10468
2008-04-04 20:09:26 +00:00
Jérôme Rapinat
0c1ec175f6
/PluginUtils/_PluginWindows.py : allow to translate reload button
...
svn: r10467
2008-04-04 16:39:03 +00:00
Zsolt Foldvari
a3d9f4df6a
Moving out StyledTextEditor from EditNote.
...
Changing spell checking chooser from Combo to submenu.
svn: r10464
2008-04-04 11:51:49 +00:00
Brian Matherly
474d681011
Remove deprecated tooltip support from the report system.
...
svn: r10463
2008-04-04 03:33:15 +00:00
Brian Matherly
50539237d7
Enable the "help" button to work on the report dialog.
...
svn: r10462
2008-04-04 02:46:36 +00:00
Kees Bakker
f3ed8061a2
Added the new styled text modules.
...
* src/gen/lib/Makefile.am
* src/Editors/Makefile.am
svn: r10460
2008-04-03 18:32:29 +00:00
Zsolt Foldvari
c773f9dd67
Add '_' prefix for private method names.
...
svn: r10453
2008-04-02 20:34:29 +00:00
Brian Matherly
0cb2f40d35
0001990: An inconsistency in "Narrated Web Site" Output (Patch from Jason Simanek <jsimanek@gmail.com>)
...
svn: r10447
2008-04-02 03:04:47 +00:00
Zsolt Foldvari
0087d69fab
Implement a few string methods in StyledText, and documentation.
...
svn: r10445
2008-04-01 16:57:55 +00:00
Zsolt Foldvari
42e91346ed
StyledTextTag.ranges is rather initialized as [] than None
...
in case it is not specifically set.
svn: r10444
2008-04-01 16:55:14 +00:00
Brian Matherly
bfe3ee1590
0001981: Update plugin status when reloading plugins
...
Plus some cleanup.
svn: r10439
2008-04-01 03:12:08 +00:00
Gary Burton
e7a6115c91
0001977: Breaking a database lock closes the family tree manager
...
svn: r10433
2008-03-31 20:52:58 +00:00
Kees Bakker
d5962794fa
Eliminated function to set div id for class content.
...
Moved some functions around to classes where they are used.
* src/plugins/NarrativeWeb.py
svn: r10431
2008-03-31 19:50:37 +00:00
Zsolt Foldvari
0cc320ac90
When new db was created metadata still contained no information, thus in
...
dbdir.GrampsDBDir.__load the version check failed.
svn: r10429
2008-03-31 16:46:00 +00:00
Doug Blank
6dfbb37562
0001996: typo in variable name that makes the application crashing
...
svn: r10427
2008-03-30 21:22:53 +00:00
Doug Blank
7b8ed5ded7
0001232: Preview now allows Print; no more PRINT_OPERATION failure
...
svn: r10426
2008-03-30 15:06:34 +00:00
Doug Blank
015bde9e01
0001994: Cannot properly sort dates stored in few quick reports using SimpleTab
...
svn: r10425
2008-03-30 12:38:32 +00:00
Brian Matherly
cf6073a4ba
Remove support for "View" reports. In the future, use either tools, gramplets, or quick views.
...
svn: r10424
2008-03-30 04:38:37 +00:00
Brian Matherly
9988d5ecfa
Convert the "Not Related" plugin from a "view report" to a "tool" (although it would really make a great gramplet).
...
svn: r10423
2008-03-30 04:32:52 +00:00
Brian Matherly
e08a8cf205
Rename CountAncestors to NumberOfAncestorsReport and convert it from a "view" to a "text" report.
...
svn: r10422
2008-03-30 03:27:32 +00:00
Brian Matherly
f64f6dd105
Add Index Mark to Database Summary Report.
...
svn: r10421
2008-03-30 02:48:29 +00:00
Brian Matherly
19d8833af1
Convert Database Summary from a "View" report to a "Text" report.
...
svn: r10420
2008-03-30 02:32:56 +00:00
Doug Blank
02b110a2b0
Missing space in db error
...
svn: r10419
2008-03-29 20:54:04 +00:00
Zsolt Foldvari
1c2ec7559b
Fix #0001991 : supported database versions checked properly.
...
svn: r10417
2008-03-29 19:59:33 +00:00
Zsolt Foldvari
0542a9b78c
Introducing StyledText in Notes.
...
svn: r10410
2008-03-28 23:22:46 +00:00
Raphael Ackermann
7579825843
0001986: export view to CSV --> does not add .csv filetype ending to file
...
svn: r10407
2008-03-28 07:36:17 +00:00
James G Sack
e21d552013
Added support for blacklisted (eg, obsolete/retired) type values.
...
Updated unittest to verify changes. No effect on existing code.
Basic pieces are ready for fixing #1680 , but now awaiting a translation
strategy and code for reading a database with blacklisted values.
At that point #1680 fix will simply require adding a line like
_BLACKLIST=[CAUSEDEATH]
to eventtype.py.
svn: r10405
2008-03-27 07:24:06 +00:00
James G Sack
bca1d41204
Some cleanup prior to an upcoming change for bug #1680 .
...
Minor optimization in _init_map (replace loop w/ list-comprehension
Remove unused variables VALUE_POS, STRING_POS,
At call to self.set, remove unnecessary logic that duplicates
else-clause within the set() function itself
svn: r10404
2008-03-27 03:11:48 +00:00
James G Sack
76ee14989f
Avert potential exception when initializing with a tuple of length 1 or 0
...
This fixes a side-effect of revision 10398.
Also add unittest for grampstype.py, to test this fix
svn: r10403
2008-03-27 02:36:55 +00:00
Zsolt Foldvari
6bb0c17384
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10402
2008-03-26 18:45:58 +00:00
Zsolt Foldvari
93998976ff
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10399
2008-03-25 23:38:24 +00:00
Zsolt Foldvari
8e5591ee16
Fixing: none of the types subclassed from GrampsType can be initialized with
...
value 0.
svn: r10398
2008-03-25 22:59:59 +00:00
Zsolt Foldvari
3f23e4b899
Introducing GrampsTypeMeta in gen.lib.grampstype.GrampsType.
...
This way the subclassed type classes don't have to import and call init_map().
svn: r10397
2008-03-25 22:55:58 +00:00
Doug Blank
29ed9a79fe
0001972: Fixed untranslated filter names in FilterByName\n and 'and' in family description
...
svn: r10396
2008-03-25 15:06:01 +00:00
Brian Matherly
8281f7157d
0001950: BUG: Book report, Ancestor Tree - selecting desired person do not work
...
svn: r10381
2008-03-23 19:33:31 +00:00
James G Sack
5f5e83f512
removed duplicate NUM_CHILD entry in _DATAMAP list
...
svn: r10379
2008-03-23 18:49:12 +00:00
James G Sack
0f21524aa7
#1853 , #1679 , #1849 : Remove code that auto-generates descripion field
...
for events in imported gedcom. Such descriptions can always be done via
the "Extract event descriptions from event data" tool if really wanted.
svn: r10378
2008-03-23 02:54:52 +00:00
Benny Malengier
746c5cfa31
0001937: Don't know GTK color !
...
Changes make this warning appear less, so partially resolved
svn: r10376
2008-03-22 15:41:33 +00:00
Doug Blank
4a283dd93f
Changes to allow Menu Options to be used in other places
...
svn: r10369
2008-03-21 22:58:35 +00:00
Benny Malengier
1a2fb30f20
set bookmarks editor transient too
...
0001968: twice help click on bookmark closes application
svn: r10368
2008-03-21 22:43:11 +00:00
Benny Malengier
fe6840666c
Export of gpkg saves paths in tarfile as path in database.
...
Import of gpkg exports media in home dir, sets base media path to that dir, so user can
easily change position with move in filemanager, and change of base media path
0001966: import of gpkg copies media files to hidden dir & not accessible
svn: r10366
2008-03-21 22:28:28 +00:00
Raphael Ackermann
799c6a6a33
Add a gtk loop in Bookmarks.edit() and only close the Bookmark editor if gtk.RESPONSE_CLOSE is issued
...
0001968: twice help click on bookmark closes application
svn: r10364
2008-03-21 21:58:41 +00:00
Erik De Richter
9f3ba337e1
/src/plugins/NotRelated.py
...
svn: r10361
2008-03-21 12:18:27 +00:00
Kees Bakker
d579d8543a
Moving many functions from BasePage to NavWebReport. Introducing new
...
functions to deal with disk file and functions that deal with URLs.
Changed to selection of the extra two subdirectories so that the ppl
tree is much better balanced (not all files in one directory).
* src/plugins/NarrativeWeb.py
svn: r10357
2008-03-20 22:24:36 +00:00
Peter Landgren
f7ea60bc13
Correct fill colors #1942
...
svn: r10351
2008-03-20 07:52:17 +00:00
Brian Matherly
5918599acf
0001957: Orientation switch doesn't work for Graphviz reports.
...
0001940: GS PDF output is broken for Graphiz graphs. Page size depends on dpi
svn: r10346
2008-03-20 03:18:35 +00:00
Gary Burton
b8e54e6e81
Bug #1909 check to see if database is already open.
...
svn: r10345
2008-03-19 21:32:01 +00:00
Gary Burton
8ce30ced20
Remove extraneous bracket
...
svn: r10342
2008-03-19 21:17:10 +00:00
Erik De Richter
32eaa990a7
link to wiki manual
...
svn: r10341
2008-03-19 19:17:20 +00:00
Benny Malengier
9e04df1611
issue 0001941: Filter side bar grows to cover all information in view
...
svn: r10339
2008-03-19 11:32:18 +00:00
Gary Burton
b06e1b67b9
Allow event details to include an address clause. See gedcom specification at http://homepages.rootsweb.com/~pmcbride/gedcom/55gcch2.htm#EVENT_DETAIL
...
svn: r10336
2008-03-18 22:12:49 +00:00
Kees Bakker
742467a3bf
Using the NWeb_Mainz_*.png images for background.
...
* src/data/NWeb-Screen_Mainz.css
svn: r10334
2008-03-18 14:50:58 +00:00
Kees Bakker
5da7180dd9
Moved create_file() and create_link_file to NavWebReport.
...
Solved a problem with "CurrentSection" which wasn't set in a translated
environment.
Eliminated several options in BasePage, by referring to report.options
(to keep them in one place only).
Lots of other little changes.
* src/plugins/NarrativeWeb.py
svn: r10333
2008-03-17 21:09:16 +00:00
Doug Blank
bf35fba015
Fixed surname count on Top Surnames and Surname Cloud Gramplets
...
svn: r10329
2008-03-17 03:32:20 +00:00
Brian Matherly
6c526f3ef2
0001938: Substring filter for notes does not work.
...
svn: r10326
2008-03-15 21:10:30 +00:00
Peter Landgren
b078464281
Decimal comma/point, Issue 1939, fixed.
...
svn: r10321
2008-03-15 09:08:54 +00:00
Peter Landgren
51e3fe7e75
Unnessecary empty translatable string made untranslatable
...
svn: r10317
2008-03-15 08:02:10 +00:00
Brian Matherly
f184e22720
0001779: Texts "in." and "cm." on Document Options tab is not translatable
...
svn: r10314
2008-03-15 04:23:23 +00:00
Gary Burton
08d840311b
Revert change made in revision 10298
...
svn: r10312
2008-03-14 23:50:54 +00:00
Kees Bakker
f637b709d6
The surname pages now have the proper SiteTitle. And the page title
...
looks better too, I think. (More testing is needed.)
Usage of variable names 'id' and 'type' is corrected.
* src/plugins/NarrativeWeb.py
svn: r10310
2008-03-14 21:07:35 +00:00
Brian Matherly
68ad749f6a
0001908: BUG: running tools from command line
...
svn: r10303
2008-03-14 04:26:44 +00:00
Brian Matherly
3febc1e429
0001905: BUG in book command line report KeyError: 'bookname'
...
svn: r10301
2008-03-14 03:54:42 +00:00
Gary Burton
1464abffab
Bug 1280 make sure source media pages are created before the gallery
...
svn: r10298
2008-03-13 23:29:01 +00:00
Kees Bakker
e32e602b50
Two small bugfixes found by pylint.
...
* src/plugins/NarrativeWeb.py
svn: r10296
2008-03-13 22:35:26 +00:00
Kees Bakker
a8a59c9f7c
Major reorganisation of NarrativeWeb.py
...
Pass instance of NavWebReport down to BasePage instead of doing it by
many function arguments. There are still a few "TODO" and "FIXME" notes
in the code. At least one test succeeded to create exactly the same HTML
output. One test, what more do you need?
Pylint reports rating of 8.01/10, but I'm sure I can do better :-)
* src/plugins/NarrativeWeb.py
svn: r10295
2008-03-13 22:28:22 +00:00
Kees Bakker
dfe4088d86
Remove marker argument of note.get().
...
Eliminate 'up' parameter of person_link().
* src/plugins/NarrativeWeb.py
svn: r10294
2008-03-13 20:31:33 +00:00
Zsolt Foldvari
2642641b84
Changing the way of how formatted Notes are stored:
...
remove 'Markup' optional parameter from gen.lib.note.Note.get() method.
svn: r10288
2008-03-13 10:44:22 +00:00
Brian Matherly
54ec566e55
0001893: python src/gramps.py -u -O "merge" -a report -p "name=navwebpage,show=off": IndexError: list index out of range
...
svn: r10281
2008-03-12 03:24:23 +00:00
Brian Matherly
3f8c9a2bd6
0001888: Traceback when trying to delete a book report with non-ascii characters in the name.
...
svn: r10279
2008-03-12 02:51:16 +00:00
Brian Matherly
955ec96cc1
Patch from Peter Landgren with modification by Brian Matherly:
...
0001761: Style editor problems
0001921: Custom style colors not saving
svn: r10275
2008-03-12 02:21:03 +00:00
Kees Bakker
b997fc211b
Cleanup interface of BasePage.display_header and moving some attributes
...
around. Also deleted some unused variables.
* src/plugins/NarrativeWeb.py
svn: r10271
2008-03-11 22:11:42 +00:00
Kees Bakker
c764b185cd
Reorganized the functions that create file and directory names. Nothing
...
got broken, I hope. More changes to come.
* src/plugins/NarrativeWeb.py
svn: r10270
2008-03-11 21:19:36 +00:00
Doug Blank
b41c02b3af
0001927: renamed glade to avoid name conflict
...
svn: r10264
2008-03-11 01:21:38 +00:00
Doug Blank
da3a06c176
0001925: fixed closing via title bar close button launched help
...
svn: r10261
2008-03-10 14:36:24 +00:00
Doug Blank
f0badfef30
0001911: fixed sorting on counts
...
svn: r10257
2008-03-10 13:07:08 +00:00
Erik De Richter
8705eabf39
link to wiki manual
...
svn: r10256
2008-03-10 12:10:35 +00:00
Doug Blank
5eb10bd2a2
Added ability to have URL links on textbuffer; fixed writable age on date gramplet; draft FAQ gramplet
...
svn: r10254
2008-03-10 04:37:45 +00:00
Doug Blank
119045bc8d
2008-03-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/images/Makefile.am (world.topo.200407): percent sign typo?
* data/man/pl/Makefile.am: missing file added
svn: r10250
2008-03-10 00:50:24 +00:00
Kees Bakker
7ea0f31341
Added space after commas to improve readability. This makes pylint
...
happier too. Started to add more comments here and there.
* src/plugins/NarrativeWeb.py
svn: r10243
2008-03-09 20:12:56 +00:00
Raphael Ackermann
9868432522
2008-03-09 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/gen/lib/data.py (Date.get_sort_value):Add updated description to
what a sortval is. Also add reference to Julian Day on Wikipedia.
svn: r10242
2008-03-09 19:51:36 +00:00
Doug Blank
6ab09e3d39
2008-03-09 Douglas S. Blank <dblank@cs.brynmawr.edu>
...
* src/ReportBase/_WebReportDialog.py:
* src/ReportBase/_ReportDialog.py:
* src/ReportBase/_GraphvizReportDialog.py:
* src/ReportBase/_DocReportDialog.py:
* src/ReportBase/_BareReportDialog.py:
0001814: Applied patch to move print options below option tabs
svn: r10240
2008-03-09 19:39:56 +00:00
Benny Malengier
957239950d
2008-03-09 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/db/base.py: add docstring to find functions, #1866
* src/gen/db/dbdir.py: add docstring to find functions, #1866
svn: r10236
2008-03-09 18:10:13 +00:00
Brian Matherly
c247caa5e9
0001917: UI font gets small when creating PDF documents.
...
svn: r10233
2008-03-09 03:33:11 +00:00
Brian Matherly
fa0b508924
0001863: <gramps> tags in notes, consistency. This should be in all notes or only in the ones that have markup
...
Markup has been disabled for notes. A new strategy is being worked on to allow styles for notes.
svn: r10230
2008-03-08 21:20:42 +00:00
Doug Blank
b04ef64231
Indicate mouse clicks properly handled by returning True
...
svn: r10229
2008-03-08 20:23:11 +00:00
Doug Blank
f761e01f52
2008-03-08 Douglas S. Blank <dblank@saliva.brynmawr.edu>
...
* src/DataViews/GrampletView.py (GrampletWindow.close):
fixed issue with reattaching detached window after a col change
svn: r10227
2008-03-08 20:10:47 +00:00
Kees Bakker
c7226e1c04
Corrected the path for somerights20.gif.
...
Removed all trailing whitespace. Added a few spaces here and there to
improve readability.
* src/plugins/NarrativeWeb.py
svn: r10225
2008-03-08 16:40:19 +00:00
Doug Blank
d7317da933
Fixed issue exhibited on Windows with buttons becoming dead
...
svn: r10224
2008-03-08 15:55:06 +00:00
Kees Bakker
18f5768c2d
Changed the use of "main1.css" to _CSS_FILES[0][1] so that the filenames
...
are maintained in one place. Making the first entry the default.
svn: r10223
2008-03-08 11:48:53 +00:00
Kees Bakker
d425133e8e
Solved a problem with <li>..</li>
...
Reorganized the of.write() statements so that the text won't have
multiple newlines in them. And introduced so for-loops instead of
repetition of multiple lines of code.
* src/plugins/NarrativeWeb.py
svn: r10222
2008-03-08 11:30:59 +00:00
Peter Landgren
e31ffee680
Fixed issues #1881 , #1910
...
svn: r10220
2008-03-08 10:51:33 +00:00
Kees Bakker
ca85ef1151
Cleanup whitespace.
...
* src/images/Makefile.am
* src/data/Makefile.am
svn: r10219
2008-03-08 10:45:44 +00:00