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
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
Doug Blank
943dbc97b4
Added a yield occasionaly in main
...
svn: r14083
2010-01-16 23:02:10 +00:00
Doug Blank
f446b66e34
Make main a generator
...
svn: r14082
2010-01-16 23:00:26 +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
Jérôme Rapinat
9ccdb167cd
Do not need to translate variables
...
svn: r14041
2010-01-12 10:51:36 +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
Jérôme Rapinat
7aef74eaca
3485: A better message for date validator on AgeOnDate Gramplet.
...
svn: r13950
2010-01-01 08:43:29 +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
Jérôme Rapinat
bbdf6d80cc
3485: A better message for date validator on AgeOnDate Gramplet.
...
svn: r13939
2009-12-29 16:56:27 +00:00
Doug Blank
302781a6b3
Event types know how to abbreviate themselves
...
svn: r13898
2009-12-23 19:35:18 +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
Gary Burton
4392fa3120
Fix wrong calls to get_type
...
svn: r13852
2009-12-19 16:08:44 +00:00
Doug Blank
cb721e6ad3
Moved DeepConnections.py HeadlineNewsGramplet.py NoteGramplet.py PythonGramplet.py to gramps-addons
...
svn: r13808
2009-12-15 15:19:49 +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
0001133eb8
move src/widgets/* to src/gui/widgets as part of GEP008
...
svn: r13791
2009-12-14 03:20:19 +00:00
Doug Blank
ec24ff86fb
Added options for font sizes and count
...
svn: r13772
2009-12-12 04:18:04 +00:00
Doug Blank
8b326b49d2
3394: Pango Warning for Fanchartview during start
...
svn: r13756
2009-12-11 03:19:06 +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
Doug Blank
2a1aa5e5ad
Allow lateral move placement of Fan Chart
...
svn: r13564
2009-11-13 01:57:40 +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
Doug Blank
c6a51db8d3
Fix for running quick view gramplet; disable unnecessary signals reception for some change-actives
...
svn: r13519
2009-11-07 13:31:36 +00:00
Doug Blank
0f61597985
Begin moving 3rd-party plugins to external SVN: DataEntryGramplet removed
...
svn: r13476
2009-11-01 14:28:37 +00:00
Peter Landgren
7fe80cc10b
Fix of translation problem with _().
...
svn: r13431
2009-10-27 09:06:52 +00:00
Doug Blank
bb99cd20b1
Fixed missing expand option on gramplets; added connect/disconnect signal handling; removed signal to update status bar when gramplet doesn't do anything
...
svn: r13428
2009-10-27 00:27:40 +00:00
Benny Malengier
2ed1159e89
Gramplets need to be registered as STABLE to see
...
svn: r13425
2009-10-26 19:27:09 +00:00
Benny Malengier
53de46901e
add license to gpr.py files
...
svn: r13424
2009-10-26 19:15:58 +00:00
Doug Blank
6af2d2f30a
Step #2 some cleanup: Moved Gramplet class to gen/plug/_gramplet from DataView/GrampletView ; updated gramplets
...
svn: r13416
2009-10-25 20:29:45 +00:00
Doug Blank
88de64e9a0
Fixes for Given Name, Top Surname, and Surname gramplets
...
svn: r13415
2009-10-25 19:04:32 +00:00
Benny Malengier
14dcf94739
3292 register plugins, load on need, not on start of GRAMPS - GEPS 014\nmove grampletview to guipluginmanager
...
svn: r13409
2009-10-25 15:33:50 +00:00
Benny Malengier
ed619cfdd6
3292: register plugins, load on need, not on start of GRAMPS - GEPS 014
...
svn: r13400
2009-10-24 13:53:20 +00:00
Doug Blank
99282aa715
3272: Proposal for updating config settings
...
svn: r13346
2009-10-08 01:12:51 +00:00
Gerald Britton
6246ba97aa
Change dictionaries to sets and use set logic where possible
...
svn: r13288
2009-10-02 20:03:39 +00:00
Doug Blank
4e3ebe9db4
#3223 : Trunk revision 13203 causes crash of gramplet surnamecloud
...
svn: r13220
2009-09-18 01:41:31 +00:00
Doug Blank
a3efa1cb0a
bug #3221 : Improvements for WhatsNext Gramplet, by reinhard
...
svn: r13217
2009-09-17 03:13:19 +00:00
Gerald Britton
4b77831f0f
Exploit new iter_<objects> methods
...
svn: r13209
2009-09-15 19:37:23 +00:00
Gerald Britton
966d2bcd42
Use new iter_objects methods
...
svn: r13203
2009-09-14 20:50:25 +00:00
Doug Blank
d76615b086
Fix for a iter change
...
svn: r13198
2009-09-12 18:12:31 +00:00
Gerald Britton
941fff23ae
Tweaks to use inplace arithmetic
...
svn: r13191
2009-09-10 18:49:48 +00:00
Gerald Britton
a052bc3c63
Tweaks to use inplace arithmetic
...
svn: r13184
2009-09-09 20:37:26 +00:00
Peter Landgren
4e7df6fc71
String must be unicode for truncation to work for non ascii characters.
...
svn: r13178
2009-09-08 13:37:48 +00:00
Gerald Britton
3564b04584
1. Implement iter_<object> methods in proxybase.
...
2. Change include_object to include_media_object to avoid confusion
3. Make _validated_id_prefix method in read.py a staticmethod
4. Use new iter_<objects> methods in Records.py, StatsgGramplet.py, GivenNameGramplet.py, ExtractCity.py and _IsSiblingOfFilterMatch.py as examples
svn: r13151
2009-09-02 20:10:45 +00:00
Doug Blank
c0f9ab2179
Added multilines to Python Gramplet
...
svn: r13097
2009-08-21 00:59:31 +00:00
Doug Blank
d5b8862082
Removed debugging statements
...
svn: r12860
2009-08-02 14:36:26 +00:00
Doug Blank
90e918e892
fix to match changed url of blog comment rss
...
svn: r12825
2009-07-20 12:46:26 +00:00
Doug Blank
f7f66af44a
Added missing imports
...
svn: r12819
2009-07-19 22:08:47 +00:00
Gerald Britton
302a4358fd
Fix bugs in some modules caused by using enumerate instead of conventional for-loop syntax
...
svn: r12795
2009-07-14 14:16:03 +00:00
Gerald Britton
181c0c9b41
Replace get_place_handles with iter_place_handles
...
svn: r12778
2009-07-08 18:11:02 +00:00
Gerald Britton
b601f4bdf2
Replace get_family_handles with iter_family_handles
...
svn: r12776
2009-07-08 16:11:20 +00:00
Gerald Britton
f7454de7fd
Implement iter_people_handles methods and begin to use them
...
svn: r12760
2009-07-03 20:23:41 +00:00
Jérôme Rapinat
278cdaa63c
#3040 : typo translation (contribution by Zegzda Yevgeny)
...
svn: r12640
2009-06-07 19:04:11 +00:00
Gerald Britton
81a0848490
Bug 3018: remove calls to keys() and values() dictionary method where possible
...
svn: r12579
2009-05-27 17:33:45 +00:00
Gerald Britton
5eb7e18dc6
Bug 3018: ImportGrdb: remove calls to keys() dictionary method where possible
...
svn: r12572
2009-05-26 20:48:09 +00:00
Doug Blank
59f9aecabb
Deep Connections, which will become a tool
...
svn: r12322
2009-03-11 14:29:17 +00:00
Doug Blank
e2e6d4972e
2798: Gramplet 'Fan Chart' throws error when right-clicked prior to defining Home Person.
...
svn: r12289
2009-03-10 00:55:35 +00:00
Doug Blank
0a106b420d
New Plugin Manager Gramplet
...
svn: r12261
2009-03-09 01:44:41 +00:00
Doug Blank
6dbd851150
Added version info
...
svn: r12256
2009-03-08 20:45:52 +00:00
Doug Blank
6b9d78e48a
RSS and Wiki Headline News Reader
...
svn: r12251
2009-03-08 20:30:51 +00:00
Benny Malengier
e8350eaa88
Data changing GRAMPLETS are not distributed on install, user
...
must download them
svn: r12155
2009-02-28 09:05:13 +00:00
Gerald Britton
2671a8cd50
Replace "== None" and "!= None" with "is None" and "is not None", respectively
...
svn: r12098
2009-02-23 19:11:46 +00:00
Rob G. Healey
c56f46b493
Added revision numbering symbol to all of plugins directory if it was missing in the file.
...
svn: r12002
2009-02-16 06:56:49 +00:00
Luigi Toscano
ce8b02c9f6
Better localization support for decimal separator.
...
svn: r11999
2009-02-15 21:50:27 +00:00
Raphael Ackermann
baef4d76a4
fixed indentation issues and mix of tabs and spaces.
...
svn: r11943
2009-02-09 23:37:40 +00:00
Doug Blank
c08193ea88
pylint cleanups; lots of docstrings; added .version number and .gramps required version to gui gramplets
...
svn: r11931
2009-02-09 04:06:33 +00:00
Peter Landgren
4eb5eebfb8
Fixed one missed string for translation.
...
svn: r11911
2009-02-08 09:39:27 +00:00
Jérôme Rapinat
ed56bb9be5
typo on translation string
...
svn: r11909
2009-02-08 08:28:36 +00:00
Peter Landgren
c5d18aa935
Debug print statements deleted.
...
svn: r11895
2009-02-07 10:38:51 +00:00
Peter Landgren
32ecf9b59a
Final solution (I hope) for the % issue. Added generation to tool tip.
...
svn: r11890
2009-02-07 08:56:33 +00:00
Peter Landgren
1c0af251ca
Reverted back to %
...
svn: r11884
2009-02-06 13:30:26 +00:00
Peter Landgren
69f4b87b20
Fix of % -> %% in translation string.
...
svn: r11872
2009-02-05 14:11:37 +00:00
Jérôme Rapinat
b240878e50
#2657,#1718 use ngettext
...
svn: r11825
2009-02-03 12:59:35 +00:00
Doug Blank
248002b819
Split DefaultGramplets into their respective files
...
svn: r11790
2009-02-01 16:42:57 +00:00
Doug Blank
8af25caf2e
Missing Errors import
...
svn: r11789
2009-02-01 16:19:35 +00:00
Doug Blank
6fccf8d75f
Removed fixed font; it is now already applied
...
svn: r11780
2009-02-01 02:12:38 +00:00
Doug Blank
0d3201d8ab
removed extra 'of' in translated texts
...
svn: r11771
2009-01-31 05:03:20 +00:00
Doug Blank
5f0447bdf0
Experimental gramplet to find deep connections between home and active
...
svn: r11770
2009-01-31 02:33:43 +00:00
Doug Blank
e2bb66f42a
Renamed Active Person's Relatives to Relatives
...
svn: r11729
2009-01-25 23:32:14 +00:00
Doug Blank
87bb35b64a
Changed title from Person Note to Note
...
svn: r11728
2009-01-25 23:24:54 +00:00
Doug Blank
6a26dce0b1
Fixed bug in URL formatting in Headline News
...
svn: r11725
2009-01-25 20:51:13 +00:00
Doug Blank
ffc025aeca
Fixed bug in render_text; replaced NewsGramplet with HeadlineNewsGramplet that reads a new wiki page every hour
...
svn: r11723
2009-01-25 20:08:57 +00:00
Doug Blank
60d1964ede
Added tooltip to translations
...
svn: r11720
2009-01-25 17:32:34 +00:00
Doug Blank
04b9ec770f
Added uistate to gramplet class; Finished Interactive Fan Chart: right-click gives menu options (same from PedigreeView)
...
svn: r11719
2009-01-25 17:29:59 +00:00
Doug Blank
d2b481b1a3
Speed ups: cache names---don't re-lookup name; added outer edge to indicate parents; removed simple access
...
svn: r11714
2009-01-25 11:19:13 +00:00
Doug Blank
384f574fea
Put the database access at beginning; fixes bug in mailing list from Rob H.
...
svn: r11702
2009-01-24 09:00:19 +00:00
Doug Blank
409063ae94
Rotation is now done by dragging in open space (doesn't draw names while dragging to get speed up)
...
svn: r11684
2009-01-22 12:07:36 +00:00
Doug Blank
6815af9303
Rearrange methods to get all of the fanchart business int the widget; fixed a bug in show_parents; general refining
...
svn: r11680
2009-01-22 00:36:26 +00:00
Doug Blank
e23c3e704c
Needed to register event mask to get additional signals; next step: cleanup
...
svn: r11678
2009-01-21 16:12:48 +00:00
Doug Blank
a02e10a067
Edited some comments; changed rotation to corners---would like to use motion
...
svn: r11670
2009-01-19 21:58:57 +00:00
Doug Blank
e9c0be1d15
First working version
...
svn: r11663
2009-01-19 16:57:43 +00:00
Doug Blank
7ccee8ab0a
A couple of bugs left
...
svn: r11662
2009-01-19 07:11:48 +00:00
Doug Blank
cd713adf74
Work in progress
...
svn: r11661
2009-01-19 05:42:20 +00:00
Doug Blank
bb2a4fbcb2
Added gc to environment, with preset flags for checking uncollectable objects
...
svn: r11657
2009-01-18 14:47:35 +00:00
Doug Blank
708b00951f
Roundoff error
...
svn: r11651
2009-01-18 03:41:44 +00:00
Doug Blank
33067b97f1
Moved AgeStats.py gramplet to correct subdirectory, and updated Makefile.am and POTFILES.in
...
svn: r11650
2009-01-18 02:20:17 +00:00
Doug Blank
bd90c18ed9
An experimental interactive fan chart. Needs some work to be really usable. See bug #2611 for more details.
...
svn: r11648
2009-01-17 22:36:30 +00:00
Doug Blank
4db08cb975
Removed slow stuff on the calendar gramplet... too much work for just bolding the calendar. Now it just runs the Quick View On This Day
...
svn: r11647
2009-01-17 22:34:54 +00:00
Doug Blank
5e74a57142
Plugins restructure: move gramplets to plugins/gramplet/
...
svn: r11636
2009-01-16 23:03:35 +00:00