Commit Graph

308 Commits

Author SHA1 Message Date
Nick Hall
48712fb619 Fix problem with marriage box size for small trees
svn: r14767
2010-03-11 22:30:57 +00:00
Nick Hall
6801063087 Improvments to coding style (pylint=9.56). Also fixes bug #3698.
svn: r14763
2010-03-11 19:50:56 +00:00
Nick Hall
fc18243040 Rebuild pedigree view if flagged as dirty
svn: r14758
2010-03-11 17:58:51 +00:00
Nick Hall
5f133cd21b 3691: Make all views displaying names respond to nameformat-changed signals
svn: r14737
2010-03-10 12:36:27 +00:00
Nick Hall
28646e563f Add navigation menu items to place tree view
svn: r14717
2010-03-09 17:41:37 +00:00
Doug Blank
4442a33f96 Speed-up for right-click menu
svn: r14681
2010-03-07 20:57:46 +00:00
Benny Malengier
6802502aeb 3175: Crash when undoing a family edit- part of undo being slow
svn: r14677
2010-03-07 19:38:51 +00:00
Doug Blank
dcfb25abc4 Trunk is now version 3.3.0
svn: r14653
2010-03-06 22:47:25 +00:00
Benny Malengier
deece71d56 make fanchart a stable plugin
svn: r14645
2010-03-06 10:10:54 +00:00
Nick Hall
657fc3ba3c Swap lines so they show the correct relationship line style
svn: r14607
2010-03-04 12:09:47 +00:00
Nick Hall
3cf500040c Replace pedigree view with new extended pedigree view
svn: r14598
2010-03-03 23:12:56 +00:00
Serge Noiraud
d632f8a0c9 GeoView : synchronization with 3.2 : bad word and bug 3517.
svn: r14586
2010-03-02 21:10:57 +00:00
Benny Malengier
8923efd27a include fanchart in distribution
svn: r14565
2010-03-02 08:12:50 +00:00
Benny Malengier
699d0d9eb8 Fix bug: allow drop from Nautilius/Dolphin
svn: r14540
2010-03-01 08:51:48 +00:00
Gary Burton
2fdd3817f0 Align vertical position of person label and edit button
svn: r14529
2010-02-28 19:59:23 +00:00
Benny Malengier
528ba93613 Fix drag/drop bug: allow multiple drop on gallery
svn: r14515
2010-02-28 14:02:45 +00:00
Peter Landgren
284af59757 Fix of issue 3534.
svn: r14446
2010-02-23 13:45:49 +00:00
Serge Noiraud
947dc67886 GeoView : Don't use a dot at the end of messages in the configuration window.
svn: r14443
2010-02-22 18:09:46 +00:00
Serge Noiraud
2618b3adfd GeoView : Allow message translation.
svn: r14430
2010-02-21 20:57:29 +00:00
Peter Landgren
5e8efc14f7 Fix of issue 3625 for path with ASCII characters. Working on the problem with non ASCII characters.
svn: r14413
2010-02-20 09:20:12 +00:00
Peter Landgren
21cf179918 Better handling of path with non ascii in Windows.
svn: r14412
2010-02-18 16:21:01 +00:00
Serge Noiraud
18986231a8 GeoView : Avoid multiple network test simultaneously.
Allow the possibility to activate or desactivate the network test.
          Allow configuration of timeout, frequency and host for this test.


svn: r14408
2010-02-18 09:11:10 +00:00
Serge Noiraud
f68b3b5164 GeoView : Replacing ping command by a socket connexion to test the network.
svn: r14406
2010-02-17 07:58:26 +00:00
Serge Noiraud
c2239ec0e7 GeoView : differentiate ping between windows and linux.
svn: r14404
2010-02-16 18:54:49 +00:00
Serge Noiraud
c59ee70155 GeoVies : Restart the view automaticaly when the network get active.
Allow the ping difference between OSes.
          Ping interval is 30 secondes.


svn: r14403
2010-02-16 15:47:03 +00:00
Serge Noiraud
059591a418 GeoView : replace problem in events.
svn: r14380
2010-02-15 08:08:09 +00:00
Serge Noiraud
07cfe16295 GeoView : pylint more compliant. String changed.
svn: r14376
2010-02-14 23:00:45 +00:00
Serge Noiraud
0c6fc43aa7 GeoView : replace problem when some place fields are empty.
svn: r14375
2010-02-14 21:23:50 +00:00
Serge Noiraud
8dd9c21ab3 GeoView : adding network testing.
svn: r14373
2010-02-14 21:03:35 +00:00
Serge Noiraud
3cdc9d9791 GeoView : Changing comments for time period in the configuration window.
svn: r14368
2010-02-14 17:49:21 +00:00
Serge Noiraud
e8a955c8ce GeoView : Two new options :
Add or remove crosshair.
          In the statusbar, we can choose between old degrees and D.D8. 
          Correction in the title bar of the configuration window.


svn: r14364
2010-02-14 13:50:07 +00:00
Doug Blank
e2947972b3 3071: Set different abbreviations for life events in all non-detailed reports
svn: r14361
2010-02-14 02:01:07 +00:00
Serge Noiraud
fdca317437 GeoView : Solved the crosshair centering with filter.
svn: r14358
2010-02-13 20:07:37 +00:00
Serge Noiraud
07fefd8398 GeoView: crosshair is now always centered even with filter active.
svn: r14356
2010-02-13 18:29:42 +00:00
Serge Noiraud
1896479c83 GeoView : coordinates on all views.
svn: r14352
2010-02-13 15:37:38 +00:00
Serge Noiraud
0a2096cb09 GeoView : Add coordinates and zoom in the status bar.
First try to add crosshair.


svn: r14350
2010-02-13 14:29:48 +00:00
Serge Noiraud
8a29e2323d GeoView : shadow suppression for markers.
svn: r14344
2010-02-12 21:53:46 +00:00
Serge Noiraud
dce394ca37 GeoView: escape error in event view. some cleaning.
svn: r14331
2010-02-12 10:04:49 +00:00
Serge Noiraud
f731980e8e GeoView : escape '"' and '&' characters
svn: r14330
2010-02-12 09:51:18 +00:00
Nick Hall
4ef3a10161 Extend markup column definition to a list of columns for listviews.
svn: r14327
2010-02-11 22:30:16 +00:00
Serge Noiraud
9f1b9fe93e GeoView : Allow all events in the person view.
Add a comment about filtering when no places selected.


svn: r14322
2010-02-11 17:24:46 +00:00
Serge Noiraud
66786a3074 GeoView : cut and past problem. Arghh !
svn: r14317
2010-02-11 13:36:27 +00:00
Serge Noiraud
19d033090c GeoView : cut and paste error.
svn: r14316
2010-02-11 13:32:18 +00:00
Serge Noiraud
7f83507654 GeoView : Show we found no places instead to show the last view when we use filters.
svn: r14314
2010-02-11 13:26:27 +00:00
Serge Noiraud
41693a0c17 GeoView : gtk.tooltips is obsolete.
svn: r14310
2010-02-11 11:01:42 +00:00
Serge Noiraud
0003e255d9 GeoView : Some cleaning and move Provider and SaveZoom in the geoview bar.
Add tooltips in the geoview bar.


svn: r14309
2010-02-11 06:52:24 +00:00
Doug Blank
458c42b0d4 Added a basic configure for GrampletView; removed config of columns by right-clicking
svn: r14305
2010-02-10 19:19:32 +00:00
Doug Blank
843fb89ba0 Plugins required to be correct version
svn: r14300
2010-02-10 12:13:47 +00:00
Serge Noiraud
01757effa1 GeoView : issue 3583 and missing file when no database.
svn: r14299
2010-02-09 22:43:40 +00:00
Serge Noiraud
4dcc9a5f31 GeoView : Add menu interface, so we can use geoview without toolbar.
svn: r14298
2010-02-09 21:32:41 +00:00
Serge Noiraud
02e4344c3d GeoView : more pylint compliant.
svn: r14297
2010-02-09 18:51:53 +00:00
Benny Malengier
1a5f1720c0 Allow plugins to register their icons, new icons for geoview
svn: r14289
2010-02-09 00:07:43 +00:00
Peter Landgren
5b8f3b4df1 Step towards fix of translation in Windows.
svn: r14270
2010-02-07 18:03:32 +00:00
Doug Blank
df9899a78b Allow each grampletpane to have its own config
svn: r14265
2010-02-07 13:30:59 +00:00
Doug Blank
b0ec0560f2 Moved GrampletPane to gui/widgets/grampletpane.py
svn: r14259
2010-02-07 04:44:33 +00:00
Doug Blank
f97b90a12a Moved most the GrampletView into a pane widget
svn: r14258
2010-02-07 04:04:48 +00:00
Doug Blank
97d1415988 3559: Home button does not work in Relationship view.
svn: r14257
2010-02-07 02:54:23 +00:00
Serge Noiraud
938b8141e0 GeoView : Some cleaning. Use only GeoView.css.
svn: r14256
2010-02-06 22:34:07 +00:00
Benny Malengier
2a6befa905 consistent strings for views
svn: r14255
2010-02-06 20:10:25 +00:00
Benny Malengier
c31f720762 string improvement in geoview
svn: r14254
2010-02-06 20:05:07 +00:00
Jérôme Rapinat
b3efd702a2 Make Filter Sidebar consistent on Menu
svn: r14247
2010-02-06 15:27:17 +00:00
Serge Noiraud
952faa10bd GeoView : configuration window : save and some cleaning.
svn: r14245
2010-02-06 12:52:18 +00:00
Serge Noiraud
be652658d1 GeoView : Added configuration window.
svn: r14238
2010-02-05 23:24:02 +00:00
Benny Malengier
540da84a67 fix wrong variable
svn: r14235
2010-02-05 20:35:12 +00:00
Benny Malengier
58497a5365 make README more clear as to how packagers must handle webkit/gecko choice
svn: r14234
2010-02-05 20:17:39 +00:00
Benny Malengier
5b6c641650 consistent naming and order of views
svn: r14233
2010-02-05 20:02:18 +00:00
Serge Noiraud
59b2cefd45 GeoView : Toolbar optimization.
svn: r14226
2010-02-05 12:13:24 +00:00
Benny Malengier
ee1d3874d2 fix bug on collapse of parents in relview"
svn: r14223
2010-02-05 10:32:19 +00:00
Benny Malengier
c0fc14960f Move 2 more options to config, increase columndialog size
svn: r14220
2010-02-05 08:48:58 +00:00
Nick Hall
a818db8817 Rename placeview and placemodel classes for consistency
svn: r14216
2010-02-04 21:05:15 +00:00
Benny Malengier
8b6077a95e Give relview a configuration, remove old config from preferences
svn: r14204
2010-02-03 23:31:38 +00:00
Doug Blank
5604176e73 Now updates newly added gramplet
svn: r14203
2010-02-03 22:45:32 +00:00
Serge Noiraud
12bf567678 GeoView : Don't show the filter when the database is not yet selected.
svn: r14202
2010-02-03 21:43:45 +00:00
Benny Malengier
201a0103df base place view should be a plugin lib, only used in other plugins
svn: r14200
2010-02-03 20:44:00 +00:00
Benny Malengier
be4e299638 Add missing files from previous commit
svn: r14196
2010-02-03 13:28:51 +00:00
Benny Malengier
967f99bf7b Use the new view plugin structure to offer a flat list person view
svn: r14195
2010-02-03 13:01:04 +00:00
Serge Noiraud
d97775d07c GeoView: Change the start page.
svn: r14194
2010-02-03 10:26:35 +00:00
Benny Malengier
036485a611 make bookmarks work on review
svn: r14192
2010-02-02 14:54:59 +00:00
Benny Malengier
a89e8d1d18 Remove column config from db, move to the plugins
Start with reuse of preferences for all configuration
Allow all view plugins to set configuration dialog
TODO: activate the column reorder in config of listviews


svn: r14176
2010-02-01 07:01:45 +00:00
Doug Blank
53358c2179 Handle non-object (function) gramplets' active setting
svn: r14172
2010-01-29 23:56:47 +00:00
Doug Blank
4aea0543b2 When you close a detached gramplet, need to set active to the same as its viewpage
svn: r14171
2010-01-29 23:49:31 +00:00
Doug Blank
4501b036df Redraw initially closed, then maximized gramplet
svn: r14161
2010-01-29 12:41:55 +00:00
Doug Blank
294f59bb7b If detached, force active
svn: r14142
2010-01-26 13:56:55 +00:00
Doug Blank
81bb97e2df Refinements on statusbar update; only updated when really necessary; fixed bug in updating when db is closed
svn: r14141
2010-01-26 13:38:05 +00:00
Doug Blank
e7c5d7a207 Start out dirty and not active; removed debugging stuff
svn: r14140
2010-01-26 13:04:01 +00:00
Doug Blank
cf4748ecaf Gramplets only update when active, detached, or forced
svn: r14138
2010-01-26 12:00:01 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +00:00
Nick Hall
4a529d0c28 Fix selected handles for merge operations
svn: r14108
2010-01-23 15:31:50 +00:00
Gerald Britton
1f2469b09f Simplify with built-in functions where possible. e.g.
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)

These changes reduce source code size and complexity and produce some minor performance gains

svn: r14104
2010-01-21 18:42:53 +00:00
Serge Noiraud
f06acae4b1 GeoView : issue 3497 adds filters.
javascript errors when switching between maps.


svn: r14100
2010-01-19 19:34:47 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
d9a0ab8a90 Continued work on GEP008: Consolidate src/FilterEditor files into one file and move it to gui/filtereditor.py.
svn: r14074
2010-01-14 04:58:30 +00:00
Brian Matherly
c5f54d0cfc Continued work on GEP008: Move src/BasicUtils/_NameDisplay.py to src/gen/display.
svn: r14072
2010-01-14 04:08:04 +00:00
Nick Hall
4a87cbbe61 Add Most Recently Used object functionality to Go menu
svn: r14061
2010-01-13 15:59:36 +00:00
Benny Malengier
61de0898af 1. remove leftover from using nodeid as iter
2. fix error in add on placetreeview: preset values with node.name of parents


svn: r14051
2010-01-12 21:50:37 +00:00
Nick Hall
a4dcfa3fc3 Bug fixes for commit 14023
svn: r14037
2010-01-11 22:37:18 +00:00
Benny Malengier
2a36355a8b fix goto_handle on row update
change placetreeview somewhat, further to discuss


svn: r14024
2010-01-10 20:11:18 +00:00
Nick Hall
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Benny Malengier
2e65bfcce4 Extra keybinding/buttonbinding on treeviews for usability
Shift+enter and dblclick: expand group and children


svn: r14019
2010-01-10 12:20:13 +00:00
Doug Blank
36fa65944d Removed unneeded imports
svn: r14006
2010-01-09 17:12:45 +00:00
Benny Malengier
0ec49507ed Renable enter to expand nodes on the treeviews
svn: r14005
2010-01-09 16:16:52 +00:00
Doug Blank
bfa7687058 Fixed code that gave warning: GtkWarning: gtk_box_pack: assertion 'child->parent == NULL' failed
svn: r14003
2010-01-09 13:40:40 +00:00
Benny Malengier
de2d669763 3275: PageView reworking, changes by B. Malengier and N.Hall
Specifically: improve new treeview by using a linked list implementation so 
 iters can be quickly iterated over
Also: progressdialog on long personview loads.


svn: r14002
2010-01-09 11:10:32 +00:00
Doug Blank
debfc3dd78 Fixed issue of not re-docking gramplet from whence it came (reported by Rob); refined some code
svn: r13999
2010-01-08 20:06:51 +00:00
Serge Noiraud
e346c68fb1 GeoView : issue 3472; using date format preference.
svn: r13992
2010-01-07 22:02:38 +00:00
Jérôme Rapinat
83d7448c1a 2846: build tree basic on arithmetics - uncomment lines (ezegzda)
svn: r13982
2010-01-07 10:52:41 +00:00
Nick Hall
6ae29de4f0 2563: Add signals for all objects when active object changes
svn: r13960
2010-01-02 23:01:43 +00:00
Nick Hall
c43f162b2f Preparation to extend navigation to all object types
svn: r13955
2010-01-01 19:55:09 +00:00
Doug Blank
0f78f5c918 Refined right-click popup menus on placeviews
svn: r13954
2010-01-01 18:59:58 +00:00
Doug Blank
6cdb8a9406 Add signal for media-changed, and test on mediaview
svn: r13949
2009-12-31 17:03:04 +00:00
Doug Blank
205b3beadd Enabled Quickviews on all list views; enabled References Quickview for all views
svn: r13947
2009-12-31 14:59:44 +00:00
Nick Hall
5422931318 Allow nodes with handles at higher levels in the tree
svn: r13921
2009-12-26 19:42:22 +00:00
Serge Noiraud
9aabed5c4f GeoView : issue 3472
svn: r13909
2009-12-24 17:21:55 +00:00
Serge Noiraud
cd7f3b8a29 GeoView : Replacement for openstreetmap and google map button by one provider
toglebutton. This is to minimize the space used by the buttons now
          we have the new "Add place" and "Link place" buttons.


svn: r13908
2009-12-24 15:55:01 +00:00
Serge Noiraud
ab2f9b9d19 GeoView : Entrybox completion now works when entering "tab"
We can erase the text with the place list label at the left of the entrybox.
          Performance : comment the sort to reduce display time.


svn: r13906
2009-12-24 12:18:18 +00:00
Gary Burton
864a4692a9 Another instance where we need to pass str latitude and longitude to EditPlace
svn: r13903
2009-12-23 23:02:26 +00:00
Serge Noiraud
3106784c22 GeoView : EditPlace crash with real instead of string.
svn: r13902
2009-12-23 21:32:01 +00:00
Gary Burton
2de02b5899 Add an existing place to a map
svn: r13896
2009-12-23 18:20:44 +00:00
Doug Blank
61e3237d5a Constructors don't return things; renderer gets set in constructor
svn: r13895
2009-12-23 17:57:54 +00:00
Serge Noiraud
361b99cee6 GeoView : Add Nick to the contributors.
Force the zoom to be locked when adding places.


svn: r13890
2009-12-23 10:08:16 +00:00
Serge Noiraud
a8e5f3acf9 GeoView : add signal when places are added. thanks nick.
svn: r13889
2009-12-23 07:06:44 +00:00
Gary Burton
db22a53da8 Add a new place to Gramps using latitude and longitude from GeoView
svn: r13886
2009-12-22 20:50:45 +00:00
Serge Noiraud
cd6843635e GeoView: issue 3312.
svn: r13885
2009-12-22 19:37:21 +00:00
Nick Hall
feb13b4a79 Better error message when gramplet fails to load
svn: r13884
2009-12-22 15:48:03 +00:00
Doug Blank
699dcb13fe Fixed svn Id property
svn: r13881
2009-12-21 13:43:50 +00:00
Doug Blank
3a8b4d7e40 Moved fallback functions from Db to gen.utils
svn: r13876
2009-12-21 05:58:55 +00:00
Doug Blank
872e971fd3 gen.lib and gen.utils are independent; removed gen.utils.dbutils --- moved db methods to gen.db.base
svn: r13872
2009-12-21 04:18:31 +00:00
Serge Noiraud
a17ae4c484 GeoView : issue 3312 : erase entrybox and years interval.
svn: r13868
2009-12-21 00:01:32 +00:00
Gary Burton
4392fa3120 Fix wrong calls to get_type
svn: r13852
2009-12-19 16:08:44 +00:00
Serge Noiraud
74752f1360 GeoView : Added some corrections for issue 3312
When we switch between databases, if no info exist for the current view,
          don't try to load the page.


svn: r13844
2009-12-18 07:36:20 +00:00
Doug Blank
383cf27b8b Fix to prevent duplicate tags
svn: r13842
2009-12-18 03:55:59 +00:00
Serge Noiraud
3ee5c908f9 Geography : unable to display geoview when only mozilla is present.
svn: r13840
2009-12-17 20:14:00 +00:00
Serge Noiraud
0598c178ec htmlrenderer : use vars() instead of inline dictionary.
svn: r13839
2009-12-17 18:30:30 +00:00
Serge Noiraud
bd961672c8 htmlrenderer : The prefs.js was created twice.
We didn't use the locale language.
               Adding var args to the gerald's modifications.


svn: r13829
2009-12-16 22:09:26 +00:00
Gerald Britton
0caa05e44f Tweak to improve readability and reduce dcalls to write method
svn: r13825
2009-12-16 16:56:45 +00:00
Serge Noiraud
82d7e93a7c GeoView : Better initialization.
Avoid to create the same page several times.
          Don't create the start page twice now we have Web and Geography views.


svn: r13817
2009-12-15 23:43:00 +00:00
Doug Blank
cfec1b2092 Cleanup treestyle to work across gramps versions
svn: r13810
2009-12-15 16:46:40 +00:00
Brian Matherly
bbe2b6da0c move src/Editors/* to src/gui/editors as part of GEP008
svn: r13807
2009-12-15 05:56:12 +00:00
Brian Matherly
baa13df670 Move src/Selectors to src/gui/selectors. Rename files to lower case in conformance with the Gramps coding style.
svn: r13806
2009-12-15 03:45:09 +00:00
Brian Matherly
0001133eb8 move src/widgets/* to src/gui/widgets as part of GEP008
svn: r13791
2009-12-14 03:20:19 +00:00
Doug Blank
8b326b49d2 3394: Pango Warning for Fanchartview during start
svn: r13756
2009-12-11 03:19:06 +00:00
Doug Blank
011b875540 Charts to Ancestry view category renaming
svn: r13754
2009-12-11 01:48:22 +00:00
Benny Malengier
d9efebc047 2846: PedigreeView: build tree basic on arithmetics
svn: r13746
2009-12-09 20:23:21 +00:00
Benny Malengier
24cd5d6f92 2846: PedigreeView: build tree basic on arithmetics
svn: r13745
2009-12-09 13:36:40 +00:00
Doug Blank
7fbdff5e0d 3352: Confusion in creating multiple views of same type and selecting them; see tracker for more details
svn: r13705
2009-12-05 04:38:31 +00:00
Doug Blank
216a5d6e0a 3376: RFE: please add 'Open directory' to context menu of media objects
svn: r13693
2009-12-01 02:56:03 +00:00
Peter Landgren
0b711b211c Third update for consistent use of Gramps. See issue 3355.
svn: r13633
2009-11-19 17:32:11 +00:00
Peter Landgren
33686fcf18 First update for consistent use of Gramps. See issue 3355.
svn: r13610
2009-11-17 20:14:53 +00:00
Nick Hall
d7b4ca2d9c Add hierarchical place view. Reorganise existing place view and model.
svn: r13601
2009-11-17 00:13:03 +00:00
Benny Malengier
47158f47ac allow forcing a view to be first in category
svn: r13590
2009-11-15 13:49:27 +00:00
Benny Malengier
d3fd2f150d GEPS_014:_Plugin_registration_and_management
finish views in category, todo: configuration


svn: r13578
2009-11-14 17:17:34 +00:00
Doug Blank
6066738fac Updated imports
svn: r13566
2009-11-13 05:29:42 +00:00
Doug Blank
9fd107741f A Fan chart view (unstable)
svn: r13565
2009-11-13 01:59:30 +00:00
Benny Malengier
7da5541920 Cleanup after making views plugins, remove last imports of DataView
svn: r13563
2009-11-12 22:32:52 +00:00
Rob G. Healey
1f2103469e Fixed two build problems. configure.in had a reference to src/DisplayModels/Makefile. The /src/plugins/view/Makefile.am had a reference to htmlrenderer without the .py extension.
svn: r13536
2009-11-10 01:33:58 +00:00
Serge Noiraud
e769051735 GeoView : Plugin registration and management corrections.
svn: r13534
2009-11-09 20:31:19 +00:00
Benny Malengier
19522ec975 GEPS 014: Plugin registration and management
Also views are now plugins belonging to view category


svn: r13528
2009-11-08 16:41:49 +00:00