Doug Blank
c17fd3c53f
Added on_load/on_save for data options
...
svn: r14343
2010-02-12 21:24:04 +00:00
Doug Blank
452213d4cc
Allow to work with new active signals
...
svn: r14332
2010-02-12 12:07:16 +00:00
Doug Blank
843fb89ba0
Plugins required to be correct version
...
svn: r14300
2010-02-10 12:13:47 +00:00
Doug Blank
1bc7a15a27
Fixed some optimized reference copy errors
...
svn: r14148
2010-01-27 12:07:25 +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
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