Commit Graph

279 Commits

Author SHA1 Message Date
Serge Noiraud
80c94857ed GeoView : bug #4002 console message: undefined @1: ReferenceError: Can't find variable: addcrosshair
svn: r15448
2010-05-22 07:41:04 +00:00
Peter Landgren
59acfc216d Fixed problem with non unicode path name.
svn: r15434
2010-05-21 06:22:24 +00:00
Serge Noiraud
9a6a01fabb GeoView : bug #3973 ignore buttons_have_icons which avoid set_image() to change the image of a button.
gnome => 2.26 now set this to false


svn: r15433
2010-05-20 21:00:47 +00:00
Nick Hall
3c6546c6dd 3710: Add a configuration dialog to the pedigree view
svn: r15409
2010-05-13 21:50:22 +00:00
Serge Noiraud
d4711a4bcf GeoView : bug 3820 : The database was no more opened the first time we create a page ( relative to svn 15029 )
svn: r15104
2010-04-13 17:08:16 +00:00
Raphael Ackermann
844002e312 docstring typo fixes
svn: r15036
2010-04-05 13:10:29 +00:00
Raphael Ackermann
e371599df4 docstring typo fixes
svn: r15030
2010-04-04 18:55:58 +00:00
Nick Hall
6ae2f1c81e GEPS 019: Improved sidebar which allows sidebar plugins
svn: r15029
2010-04-04 18:16:03 +00:00
Nick Hall
e090d8d250 3731: Add place name column to place tree view
svn: r14951
2010-03-27 23:00:41 +00:00
Benny Malengier
910d34c330 Solving connected date bugs
3390: Date module that reads calendar on Gedcom file format, cannot read the @
3763: dates parsed wrong
3754: Active markup for invalid date on Event View
Some other bugs might be fixed by these changes


svn: r14922
2010-03-24 16:05:42 +00:00
Serge Noiraud
17e6af2afb GeoView : Issue 3749 : syncronize the crosshair to the new position.
svn: r14896
2010-03-21 16:21:41 +00:00
Serge Noiraud
7af6dd4490 GeoView : Issue 3749: better way to place the icon at the same place as googlemap do.
svn: r14892
2010-03-21 15:58:25 +00:00
Serge Noiraud
4cc0356d8a GeoView : Issue 3749 : Pin positions drift with zoom
svn: r14890
2010-03-21 15:24:52 +00:00
Raphael Ackermann
cb2bdd9613 0002857: Spacebar doesn't activate embedded edit buttons
svn: r14867
2010-03-19 13:47:20 +00:00
Jérôme Rapinat
3521206d64 3694: Use of the same translation string on View as the name set on group
svn: r14855
2010-03-17 15:06:46 +00:00
Benny Malengier
1a2cf9dbbc 3709: Typos and grammar mistakes
svn: r14843
2010-03-15 22:15:29 +00:00
Serge Noiraud
2799929027 GeoView : first try to have navigation for person and family views.
svn: r14817
2010-03-14 17:59:29 +00:00
Doug Blank
d1ea3c8728 3688: Fanchart view is built twice when made active
svn: r14810
2010-03-14 13:46:28 +00:00
Peter Landgren
c6703ae1df Found a missing _
svn: r14805
2010-03-14 10:04:55 +00:00
Serge Noiraud
e8fbf6279a GeoView : crosshair synchronization between providers.
config file named "None.ini"


svn: r14781
2010-03-12 21:10:49 +00:00
Nick Hall
14ea5e8a75 Correct maximum sizes for compact style trees
svn: r14768
2010-03-11 23:05:32 +00:00
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