Commit Graph

70 Commits

Author SHA1 Message Date
Jérôme Rapinat
1ab2656517 2521, 4923 'after' and validation (partial fix); typo on NextYear()
svn: r17545
2011-05-21 08:38:22 +00:00
Benny Malengier
c2e353a72b 4383: Error while attempt to edit family
2521: Problem with erroneous birth date in using the family editor.
We show validation error on date > next year, and don't crash on large year anymore



svn: r16468
2011-01-25 12:45:49 +00:00
Doug Blank
c551d6beb1 Newyear import/export changes and fix
svn: r15027
2010-04-04 12:10:12 +00:00
Doug Blank
7047015603 3756: Cannot set new year value different than default (first January)
svn: r15010
2010-04-03 23:33:17 +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
758d69ec88 Make short and long month strings constants in the DateDisplay class instead of using the localized month strings detected by GrampsLocale. This will allow DateDisplayers to work for languages other than the current locale - will be useful for user selectable report translations.
svn: r13436
2009-10-28 03:25:57 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +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
110557c3c7 Add glade.py with Glade class and use instead of gtk.Builder throughout project
svn: r12528
2009-05-14 20:15:59 +00:00
Gerald Britton
0440ca1c2a Bug 2888: gramps.glade: convert from liglade to gtkbuilder -- part 1
svn: r12508
2009-05-06 14:44:22 +00:00
Jérôme Rapinat
3034833958 2748: Some URLs still point user to wiki manual version 3.0
svn: r12131
2009-02-26 09:57:08 +00:00
Doug Blank
89f1ec69c9 Move new gui options to near top of init
svn: r11683
2009-01-22 11:50:16 +00:00
Doug Blank
48da3f90e3 Need to return a default value for newyear offset code
svn: r11679
2009-01-21 20:59:31 +00:00
Doug Blank
4f8b892a50 Need to get cart after horse
svn: r11677
2009-01-20 18:45:12 +00:00
Peter Landgren
a73b2da699 Swedish calendar added.
svn: r11665
2009-01-19 20:09:19 +00:00
Doug Blank
ed35e1de38 Bug fix #1834, 1842: new-year boundaries in history, and editing slash dates: These changes allow the date editor dialog to change slashdates, and to change the first day of the year from Jan1. This is important for some date calculations and orderings. In order to do this, a new date format variation has been added. You can put Mar1, Mar25, or Sept1 in the parens with or without a Calendar type. For example: 'Jan 1, 1735 (Julian,Mar25)'. See further docs in wiki.
svn: r11644
2009-01-17 14:33:10 +00:00
Brian Matherly
a46e733398 Remove the "target" parameter from GrampsDisplay.help(). It was used for the old help system. We now link directly to the wiki.
svn: r10474
2008-04-05 14:17:15 +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
Erik De Richter
12056e6b67 links to wiki manual
svn: r10088
2008-02-21 08:56:39 +00:00
Raphael Ackermann
90f883e46d 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* 143 files
    * test/try_tree_model.py
    * windows/nsis/gcheck.py
    imports cleanup

svn: r10055
2008-02-18 20:07:09 +00:00
Benny Malengier
470232fa5a 2008-02-15 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateEdit.py: example use of help
	* src/GrampsDisplay.py: internationalization of help system
	* src/Editors/_EditPrimary.py: define_help_button link to webpage
	* src/Editors/_EditSecondary.py: define_help_button link to webpage
	* src/Editors/_EditReference.py: define_help_button link to webpage
	* src/Editors/_EditFamily.py: remove empty line



svn: r10036
2008-02-15 11:40:17 +00:00
Raphael Ackermann
506eb32637 2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
Removed all the __author__, __revision__ and __version__ statements

svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e 2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/* Everything but src/images/* and src/data/* add correct svn 
	properties with the commands:
	svn propset -R svn:mime-type text/plain src/
	svn propset -R svn:eol-style native src/
	svn propset -R svn:keywords Id src/
	See below why the Id keyword is enough. From svn help propset
	svn:keywords   - Keywords to be expanded.  Valid keywords are:
      URL, HeadURL             - The URL for the head version of the object.
      Author, LastChangedBy    - The last person to modify the file.
      Date, LastChangedDate    - The date/time the object was last modified.
      Rev, Revision,           - The last revision the object changed.
      LastChangedRevision
      Id                       - A compressed summary of the previous
                                   4 keywords.

svn: r9912
2008-01-22 09:17:46 +00:00
Don Allingham
d58641415d 2007-10-08 Don Allingham <don@gramps-project.org>
* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
2007-10-08 16:41:39 +00:00
Benny Malengier
d9d93d2ad7 2007-10-02 Benny Malengier <benny.malengier@gramps-project.org>
* src/DateEdit.py: resolve issue #1270, date edit not closing


svn: r9061
2007-10-02 15:57:49 +00:00
Don Allingham
6d9dbfee49 2007-09-08 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: code cleanup
	* src/FontScale.py: code cleanup
	* src/GrampsWidgets.py: code cleanup
	* src/ExportOptions.py: code cleanup
	* src/GrampsDisplay.py: code cleanup
	* src/DateEdit.py: code cleanup
	* src/DbLoader.py: code cleanup



svn: r8951
2007-09-09 05:24:15 +00:00
Don Allingham
a65a73d1d7 * various: const.py changes
2007-09-07  Don Allingham  <don@gramps-project.org>
	* src/DateHandler/_Date_fr.py: fix indentation errors

2007-09-07  Don Allingham  <don@gramps-project.org>


svn: r8948
2007-09-08 05:54:02 +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
Alex Roitman
cf52ebb90d 2007-06-18 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.switch_calendar): Only convert
	non-empty dates to new calendar.



svn: r8583
2007-06-18 18:33:28 +00:00
Don Allingham
a598df4f6d * src/Bookmarks.py: pylint fixes
* src/ColumnOrder.py: pylint fixes
	* src/DateEdit.py: pylint fixes
	* src/DbLoader.py: pylint fixes
	* src/ManagedWindow.py: pylint fixes

2007-05-19  Don Allingham  <don@gramps-project.org>


svn: r8498
2007-05-20 04:35:46 +00:00
Benny Malengier
97e29e18d1 2007-02-25 Benny Malengier <bm@cage.ugent.be>
* src/gramps_main.py: new icons, register them
	* src/DateEdit.py : use icon
	* src/PageView.py : use icon
	* src/DisplayTabs/_AddrEmbedList.py and
	src/DisplayTabs/_AttrEmbedList.py : use icon


svn: r8236
2007-02-25 21:36:42 +00:00
Don Allingham
2406378435 * src/GrampsDb/_GrampsDBCallback.py: sys.getfilesystemencoding()
* src/GrampsDb/_GrampsBSDDB.py: sys.getfilesystemencoding()
	* src/Exporter.py: sys.getfilesystemencoding()
	* src/ReportBase/_FileEntry.py: sys.getfilesystemencoding()
	* src/Editors/_EditMedia.py: sys.getfilesystemencoding()
	* src/DisplayTabs/_SourceEmbedList.py: sys.getfilesystemencoding()
	* src/plugins/WriteCD.py: sys.getfilesystemencoding()
	* src/plugins/WritePkg.py: sys.getfilesystemencoding()
	* src/plugins/Check.py: sys.getfilesystemencoding()
	* src/plugins/EventCmp.py: sys.getfilesystemencoding()
	* src/AddMedia.py: sys.getfilesystemencoding()
	* src/DisplayModels/_BaseModel.py: sys.getfilesystemencoding()
	* src/DateEdit.py: sys.getfilesystemencoding()
	* src/ArgHandler.py: sys.getfilesystemencoding()
	* src/DbLoader.py: sys.getfilesystemencoding()


svn: r7951
2007-01-22 03:56:23 +00:00
Don Allingham
bcac687883 2007-01-15 Don Allingham <don@gramps-project.org>
* src/DateEdit.py: make "bad date" translatable.



svn: r7907
2007-01-15 16:42:19 +00:00
Zsolt Foldvari
e06e67798c 2007-01-12 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/GrampsWidgets.py: cleanup
	* src/DateEdit.py: align DateEdit methods to ValidatableMaskedEntry
	behavior



svn: r7894
2007-01-12 11:54:40 +00:00
Don Allingham
cd89a41bb4 2007-01-10 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: add support for an "empty" signal on 
	ValidatableMaskedEntry so that we can update the value when the
	string has been cleared (bug #821)
	* src/DateEdit.py: catch empty signal (bug #821)



svn: r7891
2007-01-11 04:58:31 +00:00
Don Allingham
df572d7ebf svn: r7874 2007-01-06 23:15:58 +00:00
Don Allingham
e21e267dd1 * src/images/stock_calendar.png: added
* src/gramps_main.py: add gramps-date as a stock icon


svn: r7873
2007-01-06 23:03:55 +00:00
Don Allingham
2b30971dc3 2007-01-06 Don Allingham <don@gramps-project.org>
* src/Editors/_EditAddress.py: new date entry
	* src/Editors/_EditLdsOrd.py: new date_entry
	* src/Editors/_EditSourceRef.py: new date_entry
	* src/Editors/_EditEventRef.py: new date_entry
	* src/Editors/_EditMedia.py: new date_entry
	* src/Editors/_EditName.py: new date_entry
	* src/Editors/_EditEvent.py: new date_entry
	* src/GrampsWidgets.py: add options to ValidatedDateEntry to specify colors and icon
	* src/glade/gramps.glade: new date_entry
	* src/Errors.py: new date_entry
	* src/DateEdit.py: new date_entry



svn: r7872
2007-01-06 22:35:29 +00:00
Don Allingham
051f992afb 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Don Allingham
1353edcca9 * src/GrampsDb/_DbUtils.py (remove_parent_from_family): adjust the
transaction message for appropriate father/mother indicator


svn: r6976
2006-07-01 03:58:45 +00:00
Alex Roitman
6edc7511be 2006-06-21 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.__init__): Take care of
	deleting the dialog.



svn: r6937
2006-06-21 19:18:54 +00:00
Don Allingham
ae6da05e4b 2006-05-17 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: pychecker fixes
	* src/GrampsWidgets.py: pychecker fixes
	* src/glade/gramps.glade: fix text entry -> label
	* src/NameDisplay.py: pychecker fixes
	* src/DisplayState.py: pychecker fixes
	* src/GrampsDisplay.py: pychecker fixes
	* src/DateEdit.py: pychecker fixes
	* src/gramps_main.py: pychecker fixes
	* src/DbLoader.py: pychecker fixes



svn: r6701
2006-05-18 01:39:50 +00:00
Don Allingham
121ead2906 * src/DisplayTabs/_BackRefList.py: handle edit of events
* src/DisplayTabs/_NoteTab.py: stock_notes icon
	* src/DisplayTabs/_GrampsTab.py: handle named icons
	* src/glade/gramps.glade: hide date edit by default


svn: r6561
2006-05-06 05:12:33 +00:00
Don Allingham
56a3b7ef20 * src/DateEdit.py: ManagedWindow
* src/Editors/_EditAddress.py: new DateEdit interface
	* src/Editors/_EditLdsOrd.py: new DateEdit interface
	* src/Editors/_EditSourceRef.py: new DateEdit interface
	* src/Editors/_EditEventRef.py: new DateEdit interface
	* src/Editors/_EditMedia.py: new DateEdit interface
	* src/Editors/_EditName.py: new DateEdit interface
	* src/Editors/_EditEvent.py: new DateEdit interface
	* src/GrampsWidgets.py: new DateEdit interface


svn: r6559
2006-05-06 03:14:13 +00:00
Alex Roitman
57d6df04c9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
389fa7263e scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Alex Roitman
93add4967a * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Don Allingham
ad8ad4830a logging support
svn: r6081
2006-03-05 04:45:44 +00:00
Don Allingham
26092c071a * src/AddrEdit.py: remove already_exist check in favor of exception
* src/AttrEdit.py: remove already_exist check in favor of exception
* src/DisplayState.py: remove already_exist variable
* src/DisplayTabs.py: handle exception
* src/EditEventRef.py: remove already_exist check in favor of exception
* src/EditFamily.py: update to derive from EditPrimary
* src/EditMedia.py: update to derive from EditPrimary
* src/EditMediaRef.py: remove already_exist check in favor of exception
* src/EditPerson.py: update to derive from EditPrimary
* src/EditPlace.py: update to derive from EditPrimary
* src/EditRepository.py:update to derive from EditPrimary
* src/EditSource.py: update to derive from EditPrimary
* src/EditSourceRef.py: remove already_exist check in favor of exception
* src/Errors.py: new exception
* src/EventEdit.py: update to derive from EditPrimary
* src/EventView.py: catch exception of window already exists
* src/FamilyList.py: catch exception of window already exists
* src/FamilyView.py: catch exception of window already exists
* src/GrampsWidgets.py: typos
* src/NameEdit.py: remove already_exist check in favor of exception
* src/PedView.py: catch exception of window already exists
* src/PersonView.py: catch exception of window already exists
* src/PlaceView.py: catch exception of window already exists
* src/Plugins.py: catch exception of window already exists
* src/UrlEdit.py: remove already_exist check in favor of exception
* src/const.py.in: dynamically determine path
* src/gramps.glade: name changes
* src/gramps.py: set path


svn: r6014
2006-03-01 05:08:11 +00:00
Alex Roitman
de0559e32c * RelLib/_*.py: Make objects serialize all the way down to built-in
python objects, so that Gramps classes are never pickled.
* Date.py, CalSdn.py: Move to RelLib.
* src/dates/Date_*.py: Use new Date.
* src/plugins/*.py: Use new Date.
* src/GrampsDb/_*.py: Use new Date, new unserialize.
* src/*.py: Use new Date.


svn: r5875
2006-02-03 22:03:53 +00:00