Gerald Britton
fc90d5fce2
Bug 3018: remove calls to keys() dictionary method where possible
...
svn: r12562
2009-05-22 18:43:40 +00:00
Gerald Britton
021b754939
Bug 3011: change old-style classes to new-style classes
...
svn: r12559
2009-05-21 17:19:50 +00:00
Gerald Britton
4982292774
Code optimizations wrt handling of None - bug 2212
...
svn: r10811
2008-06-16 15:01:46 +00:00
Zsolt Foldvari
998908175f
Issue #0002175 : Change type() expressions to isinstance() expressions.
...
Patch from Gerald Britton <gerald.britton@gmail.com>
svn: r10762
2008-05-25 19:55:47 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
4261e46bf9
2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/FilterEditor/_ShowResults.py
* src/GrampsCfg.py
* src/ReportBase/_StyleComboBox.py
* src/ReportBase/_PaperMenu.py
* src/ReportBase/_BookFormatComboBox.py
* src/ReportBase/_DrawFormatComboBox.py
* src/ReportBase/_GraphvizReportDialog.py
* src/ReportBase/_TextFormatComboBox.py
* src/DisplayTabs/_GalleryTab.py
* src/ColumnOrder.py
* src/plugins/WebCal.py
* src/plugins/RemoveUnused.py
* src/plugins/Verify.py
* src/plugins/PatchNames.py
* src/ObjectSelector/_FamilyFilterFrame.py
* src/ObjectSelector/_PersonFilterFrame.py
* src/GrampsWidgets.py
* src/ExportOptions.py
* src/DdTargets.py
* src/AutoComp.py
* src/UndoHistory.py
* src/PluginUtils/_PluginWindows.py
* src/DbLoader.py
* src/Filters/_FilterMenu.py
pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types
instead of str, int, bool etc + Documentation fixes
svn: r9905
2008-01-21 22:03:43 +00:00
Brian Matherly
bf3900f043
Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
...
svn: r9713
2008-01-05 20:10:26 +00:00
Don Allingham
48c04f4798
2007-06-26 Don Allingham <don@gramps-project.org>
...
* src/Bookmarks.py: pylint
* src/DateEdit.py: pylint
* src/AutoComp.py: pylint
* src/BaseDoc.py: pylint
* src/DateHandler/_DateParser.py: pylint
* src/DateHandler/_Date_fi.py: pylint
* src/DateHandler/_DateUtils.py: pylint
* src/DateHandler/__init__.py: pylint
* src/DateHandler/_DateDisplay.py: pylint
* src/DateHandler/_Date_fr.py: pylint
* src/DateHandler/_Date_es.py: pylint
* src/DateHandler/_Date_nl.py: pylint
* src/DateHandler/_Date_sk.py: pylint
* src/DateHandler/_DateHandler.py: pylint
* src/DateHandler/_Date_lt.py: pylint
* src/DateHandler/_Date_ru.py: pylint
* src/DateHandler/_Date_sv.py: pylint
* src/DateHandler/_Date_de.py: pylint
svn: r8675
2007-06-27 04:50:33 +00:00
Don Allingham
659814e22d
2007-05-19 Don Allingham <don@gramps-project.org>
...
* src/AutoComp.py: removal of unused functions
* src/BaseDoc.py: clean up and add documentation
svn: r8497
2007-05-20 03:43:38 +00:00
Don Allingham
247e0020ed
2007-05-14 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_PedigreeView.py: catch errors
* src/DataViews/_RelationView.py: catch errors
* src/ReportBase/_ReportDialog.py: catch errors
* src/ReportBase/_SimpleAccess.py: fix marriage place/date values
* src/Editors/_EditFamily.py: catch errors
* src/DisplayTabs/_EmbeddedList.py: catch errors
* src/plugins/FindDupes.py: catch errors
* src/plugins/Verify.py: catch errors
* src/AddMedia.py: fix scale_simple types
* src/AutoComp.py: pylint fixes
* src/ImgManip.py: pylint fixes
* src/LdsUtils.py: new temple types
* src/DbLoader.py: error types
svn: r8473
2007-05-15 04:17:12 +00:00
Don Allingham
4cf930d039
* src/GrampsDb/_GrampsDbBase.py: prevent null event types and
...
attribute types from being added
* src/Editors/_EditAttribute.py: prevent null attribute types
* src/Editors/_EditEvent.py: prevent null attribute types
* src/AutoComp.py: filter out empty strings
* src/ImgManip.py: check for file before attempting thumbnailer
svn: r6898
2006-06-16 03:32:51 +00:00
Alex Roitman
8c1919104c
* src/AutoComp.py (StandardCustomSelector.fill): Adapt to new types.
...
svn: r6518
2006-05-02 17:32:54 +00:00
Don Allingham
21e98d4168
2006-04-28 Don Allingham <don@gramps-project.org>
...
* src/AutoComp.py (StandardCustomSelector.fill): handle unicode
in addition to str
* src/ScratchPad.py (ScratchPadWindow.__init__): fix call to
set_window, passing proper arguments
svn: r6489
2006-04-28 19:48:48 +00:00
Don Allingham
9d695790d0
2006-04-27 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
* src/Editors/_EditEventRef.py: fix custom event storing
* src/Editors/_EditEvent.py: fix custom event storing
* src/GrampsWidgets.py: fix custom data types
* src/AutoComp.py: fix custom data types
svn: r6480
2006-04-28 03:32:04 +00:00
Don Allingham
f1dfed8e1a
widget connections
...
svn: r6264
2006-04-04 21:55:35 +00:00
Don Allingham
371c34ef1b
remember custom attributes/events
...
svn: r6248
2006-03-31 23:46:34 +00:00
Don Allingham
ad8ad4830a
logging support
...
svn: r6081
2006-03-05 04:45:44 +00:00
Alex Roitman
f5ffcaeee7
* src/AutoComp.py (StandardCustomSelector.__init__): Compare
...
active_key to None.
* src/gramps.glade (marriageDialog): Remove displayed strings from
the Sttributes tab.
* src/Marriage.py: Delegate attribute handling to ListBox.
* src/ListBox.py (AttrListBox): Support both personal and family
attributes.
svn: r4815
2005-06-09 01:18:03 +00:00
Alex Roitman
491b0cfdc7
* src/AttrEdit.py: proper type selector support.
...
* src/AutoComp.py (by_value): Use locale-aware sorting.
* src/EditPerson.py: Support select button for the event tab.
* src/EventEdit.py (EventRefEditor): Editor for both events and
event refs.
* src/ListBox.py: Support for select button; Proper removal of
entries; Proper Event/ref editing support; fixes for combos.
* src/NameEdit.py: Typo.
* src/edit_person.glade: Add select button to the event tab.
* src/gramps.glade: Add new editor for both events and refs.
svn: r4796
2005-06-06 23:50:33 +00:00
Alex Roitman
9ee0f10127
Merge changes between 2.0.1 and 2.0.2 with the main trunk
...
svn: r4785
2005-06-05 04:01:56 +00:00
Don Allingham
1946c31ba6
* src/gramps.glade:
...
svn: r4756
2005-06-02 04:44:51 +00:00
Alex Roitman
455a723b7b
* src/AutoComp.py (StandardCustomSelector): Provide an option to
...
use an existing ComboBoxEntry instance; add set_values method.
* src/RelLib.py (Family.__init__): Use tuple for type.
* src/Utils.py: Add event_roles mapping.
* src/AddSpouse.py, src/EditPerson.py, src/FamilyView.py,
src/ListBox.py, src/Marriage.py, src/NameEdit.py: Support tuple
types.
* src/gramps.glade: Replace ComboBox with ComboBoxEntry; add icons.
svn: r4748
2005-06-01 13:14:29 +00:00
Alex Roitman
5fc30a579a
* src/AutoComp.py (StandardCustomSelector): Add autocompletion.
...
svn: r4745
2005-05-31 18:40:17 +00:00
Alex Roitman
e0e1879ffc
Update
...
svn: r4743
2005-05-31 18:22:37 +00:00
Alex Roitman
a779675fd5
Update
...
svn: r4742
2005-05-31 18:21:01 +00:00
Alex Roitman
2c6f640ac5
* src/AutoComp.py (StandardCustomSelector): Add class to handle
...
(int,str) selections including custom strings.
svn: r4741
2005-05-31 18:17:38 +00:00
Don Allingham
b4d54945d3
* src/gramps.glade: use ComboBox instead of ComboBoxEntry
...
for temple
* src/EditPerson.py: use ComboBox instead of ComboBoxEntry
for temple
svn: r4080
2005-02-23 04:30:08 +00:00
Don Allingham
24946bfd7f
* src/Date.py: Added "set_year" function
...
* src/Utils.py: qualifiy Date calls, eliminate string
module usage
* src/edit_sm.png: new image
* src/Makefile.am: install edit_sm.png
* src/gramps_main.py: update relationship calculator
on database change
* src/Ancestors.py: initialize born_info
svn: r3687
2004-10-29 00:49:40 +00:00
Don Allingham
15eb34737b
* src/docgen/PdfDoc.py: fixed register_book_doc call
...
* src/AddrEdit.py: pychecker fixes
* src/AttrEdit.py: pychecker fixes
* src/AutoComp.py: pychecker fixes
* src/ChooseParents.py: pychecker fixes
* src/DbPrompter.py: pychecker fixes
* src/DisplayModels.py: pychecker fixes
* src/EventEdit.py: pychecker fixes
* src/FamilyView.py: pychecker fixes
* src/Filter.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/GrampsGconfKeys.py: pychecker fixes
* src/ImgManip.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/ReadGedcom.py: pychecker fixes
* src/ReadXML.py: pychecker fixes
* src/SelectChild.py: pychecker fixes
* src/SelectObject.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/Sort.py: pychecker fixes
* src/SourceView.py: pychecker fixes
* src/Utils.py: pychecker fixes
* src/Witness.py: pychecker fixes
* src/WriteGedcom.py: pychecker fixes
* src/WriteXML.py: pychecker fixes
* src/gramps_main.py: pychecker fixes
svn: r3599
2004-10-06 03:42:54 +00:00
Don Allingham
c38890095d
* src/AutoComp.py: remove double display of data
...
* src/FamilyView.py: remove unused check
* src/GrampsBSDDB.py: search by gramps_id
* src/GrampsDbBase.py: search by gramps_id, unicode/str conversions
* src/Marriage.py: handle gramps_id editing
* src/ReadXML.py: fix handle/gramps_id on import
* src/plugins/RelCalc.py: display date instead of event handle
* src/Relationship.py: family handles working
* src/PeopleModel.py: comment out unused functions
* src/PeopleModel.py: simplify model interface
* src/AddSpouse.py: get_family_from_handle fixes
* src/EditPerson.py: get_family_from_handle fixes
* src/EditSource.py: get_family_from_handle fixes
* src/GraphLayout.py: get_family_from_handle fixes
* src/ImageSelect.py: get_family_from_handle fixes
* src/MediaView.py: get_family_from_handle fixes
* src/MergeData.py: get_family_from_handle fixes
* src/PlaceView.py: get_family_from_handle fixes
* src/ReadXML.py: get_family_from_handle fixes
* src/RelLib.py: get_family_from_handle fixes
* src/Relationship.py: get_family_from_handle fixes
* src/SelectChild.py: get_family_from_handle fixes
* src/SourceView.py: get_family_from_handle fixes
* src/SubstKeywords.py: get_family_from_handle fixes
* src/WriteXML.py: get_family_from_handle fixes
* src/gramps_main.py: get_family_from_handle fixes
svn: r3446
2004-08-20 02:20:06 +00:00
Don Allingham
93c5dbebcd
* src/RelLib.py: rework of the API
...
* src/*.py: rework of the api
svn: r3371
2004-08-11 03:42:38 +00:00
Don Allingham
cddd8ed8af
update
...
svn: r3354
2004-08-07 03:11:04 +00:00
Don Allingham
0843d5033a
* src/AutoComp.py: switch over entirely to ComboBox for
...
autocompletion
* src/GenericFilter.py: support ComboBox
* src/TransTable.py: sort items on getting keys
* src/plugins/FilterEditor.py: support ComboBox
* src/plugins/SoundGen.py: support ComboBox
* src/plugins/soundex.glade: support ComboBox
svn: r3346
2004-08-06 03:08:27 +00:00
Don Allingham
1f7594cfee
* src/WriteXML.py: always write the default location for a place
...
* src/EditPerson.py: don't for write of multimedia objects if
not edited
* src/ImageSelect.py: don't for write of multimedia objects if
not edited
* src/AutoComp.py: build ListStore for ComboBox and Entry
* src/AddSpouse.py: use ComboBox
* src/Marriage.py: use ComboBox
* src/gramps.glade: Switch from gtk.Combo to gtk.ComboBox and
gtk.ComboxEntry
* src/EventEdit.py: handle autocompletion
* src/RelLib.py: remove cPickle import
* src/GrampsDbBase.py: fix has_handle functions
svn: r3325
2004-08-04 04:53:29 +00:00
Don Allingham
3cb7c304ed
update
...
svn: r3117
2004-05-02 04:10:33 +00:00
Alex Roitman
112addeef6
* src/Sources.py: Unicode conversion from gtk.TextView.
...
* src/Witness.py: Unicode conversion from gtk.TextView.
* src/Report.py: Unicode conversion from gtk.TextView.
* src/NameEdit.py: Unicode conversion from gtk.TextView.
* src/Marriage.py: Unicode conversion from gtk.TextView.
* src/ImageSelect.py: Unicode conversion from gtk.TextView.
* src/EventEdit.py: Unicode conversion from gtk.TextView.
* src/EditSource.py: Unicode conversion from gtk.TextView.
* src/EditPlace.py: Unicode conversion from gtk.TextView.
* src/EditPerson.py: Unicode conversion from gtk.TextView.
* src/AutoComp.py: Unicode conversion from gtk.TextView.
* src/AttrEdit.py: Unicode conversion from gtk.TextView.
* src/AddrEdit.py: Unicode conversion from gtk.TextView.
* src/plugins/BookReport.py: Unicode conversion from gtk.Entry
and gtk.TextView.
* src/plugins/ChangeTypes.py: Unicode conversion.
* src/plugins/EventCmp.py: Unicode conversion.
* src/plugins/FilterEditor.py: Unicode conversion.
* src/plugins/SimpleBookTitle.py: Unicode conversion.
* src/plugins/TimeLine.py: Unicode conversion.
* src/plugins/WebPage.py: Unicode conversion.
* src/plugins/WriteGedcom.py: Unicode conversion.
* src/plugins/WritePkg.py: Unicode conversion.
* src/plugins/eval.py: Unicode conversion.
* src/plugins/soundgen.py: Unicode conversion.
svn: r2536
2003-12-17 16:06:36 +00:00
Don Allingham
49512e683c
* src/PlaceView.py: Make sure to add new place after edit
...
* src/AddMedia.py: unicode conversion from gtk.Entry
* src/AddSpouse.py: unicode conversion from gtk.Entry
* src/AddrEdit.py: unicode conversion from gtk.Entry
* src/AttrEdit.py: unicode conversion from gtk.Entry
* src/AutoComp.py: unicode conversion from gtk.Entry
* src/ChooseParents.py: unicode conversion from gtk.Entry
* src/DateEdit.py: unicode conversion from gtk.Entry
* src/EditPerson.py: unicode conversion from gtk.Entry
* src/EditPlace.py: unicode conversion from gtk.Entry
* src/EditSource.py: unicode conversion from gtk.Entry
* src/EventEdit.py: unicode conversion from gtk.Entry
* src/Find.py: unicode conversion from gtk.Entry
* src/GrampsCfg.py: unicode conversion from gtk.Entry
* src/ImageSelect.py: unicode conversion from gtk.Entry
* src/LocEdit.py: unicode conversion from gtk.Entry
* src/Marriage.py: unicode conversion from gtk.Entry
* src/MergeData.py: unicode conversion from gtk.Entry
* src/NameEdit.py: unicode conversion from gtk.Entry
* src/PeopleView.py: unicode conversion from gtk.Entry
* src/Report.py: unicode conversion from gtk.Entry
* src/SelectChild.py: unicode conversion from gtk.Entry
* src/Sources.py: unicode conversion from gtk.Entry
* src/StartupDialog.py: unicode conversion from gtk.Entry
* src/StyleEditor.py: unicode conversion from gtk.Entry
* src/UrlEdit.py: unicode conversion from gtk.Entry
* src/Utils.py: unicode conversion from gtk.Entry
* src/VersionControl.py: unicode conversion from gtk.Entry
* src/Witness.py: unicode conversion from gtk.Entry
svn: r2534
2003-12-17 05:23:16 +00:00
Alex Roitman
e6e150b63f
* src/AutoComp.py (AutoCombo.timer_callback): Fix autocompletion
...
so that the typed portion of the text is always visible.
svn: r1749
2003-06-15 05:31:36 +00:00
Don Allingham
d160f97666
* src/AutoComp.py
...
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.
* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses
svn: r1662
2003-06-07 03:02:42 +00:00
Don Allingham
7978cf7317
Bug fixes
...
svn: r1466
2003-04-20 03:52:54 +00:00
Don Allingham
165efc5848
Find support
...
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
2588cc35d4
Source improvements
...
svn: r1389
2003-03-24 03:51:07 +00:00
Don Allingham
97068b77a6
Merge fixes, option to display relationship to the home person in the
...
status bar.
svn: r1380
2003-03-22 20:26:44 +00:00
Don Allingham
c6ca0c4e18
OpenOffice fixes, calendar format fixes
...
svn: r1239
2003-01-06 05:14:49 +00:00
Don Allingham
1e89380047
Removed unneeded pygtk calls
...
svn: r1210
2002-11-27 05:56:23 +00:00
Don Allingham
f53f056885
use pygtk.require to determine database
...
svn: r1205
2002-11-26 04:06:23 +00:00
Don Allingham
dbe98f4068
UTF-8 support for translations, clean up gettext, improved gallery handling
...
svn: r1204
2002-11-25 04:30:36 +00:00
Don Allingham
814af540c2
Pre02 for gramps-0.9.0
...
svn: r1160
2002-11-02 21:19:58 +00:00
Don Allingham
8fda52fb98
AutoComp fixes
...
svn: r1157
2002-10-29 04:13:43 +00:00
Don Allingham
25891fb894
Fixed configure script to use pkg-config
...
svn: r1156
2002-10-29 03:55:19 +00:00