Commit Graph

79 Commits

Author SHA1 Message Date
Doug Blank
958a0fe898 Protection against null objects; added ability to get fallback object rather than just date
svn: r15396
2010-05-12 19:25:51 +00:00
Doug Blank
99c4671e3e Added 'Link References' quickview; added a get_link to SimpleAccess
svn: r15348
2010-05-07 12:59:23 +00:00
Doug Blank
6c08e80327 Always return a string (even if error message) for SimpleAccess.display
svn: r15328
2010-05-05 15:49:16 +00:00
Doug Blank
22bbe691ae Added a display to return a string of any object; fixed a bug in gid(obj) so that it can now work for any obj
svn: r15313
2010-05-03 22:46:14 +00:00
Brian Matherly
df32be43de 0003796: Make export available when no GUI available. Patch from jmodule (Jakim Friant).
svn: r15294
2010-05-01 04:12:42 +00:00
Doug Blank
d79961ff0b Add empty date for fallback wrapper in SimpleAccess where there is no event
svn: r15035
2010-04-05 12:38:04 +00:00
Doug Blank
2842f8e8a5 3131: sibling quickview doesn't reflect person view
svn: r15033
2010-04-05 02:53:32 +00:00
Doug Blank
7dd2f83742 Attempts to fix unicode column text
svn: r14153
2010-01-28 13:57:00 +00:00
Doug Blank
1bc7a15a27 Fixed some optimized reference copy errors
svn: r14148
2010-01-27 12:07:25 +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
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
b503fa2e25 Extend history functionality (back/forward) and active-changed signals to all primary objects
svn: r14023
2010-01-10 19:19:33 +00:00
Doug Blank
cd17f1e0fa Add support for checkbox/toggle columns; a debug msg for developers
svn: r14012
2010-01-10 04:03:59 +00:00
Doug Blank
7dd624d657 Workaround added for strange Python 2.6 bug on recusive signal handling
svn: r14007
2010-01-09 17:13:56 +00:00
Doug Blank
59b06487b7 Add ability for Table to have toggle-able rows; also keeps track of raw data
svn: r13991
2010-01-07 21:42:43 +00:00
Doug Blank
fa1413c640 Fixed issue on emitting a signal which will change a table before the click has returned, which can crash Python
svn: r13946
2009-12-31 14:56:44 +00:00
Doug Blank
145a517324 Typo in SimpleAccess and refinement in SimpleTable -- allow any object, just turn into string
svn: r13911
2009-12-24 22:19:30 +00:00
Doug Blank
ab3dfe1415 3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods
svn: r13894
2009-12-23 15:55:58 +00:00
Doug Blank
8f2f2f200f Moved gtk imports out of global scope for cli use
svn: r13824
2009-12-16 12:43:21 +00:00
Doug Blank
f2abf6e4c2 Removed hacky flag; don't know why it was needed
svn: r13811
2009-12-15 16:48:03 +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
Doug Blank
013ef62b6b Four ways to link a row: by object, object/col, (object, handle), [(obj, handle)...]]
svn: r13785
2009-12-13 14:45:52 +00:00
Doug Blank
9fd2e4a7fc Add manual url links on table rows
svn: r13730
2009-12-06 15:57:53 +00:00
Doug Blank
2ed9ac56e4 Fixed a bug in HTML table widths; allow args to make_basic_stylesheet; add scrollbars to tabbed items
svn: r13660
2009-11-23 01:39:29 +00:00
Doug Blank
ac95f805ac Workaround to avoid importing all of ReportUtils and gtk
svn: r13613
2009-11-17 23:28:04 +00:00
Doug Blank
fa21027a23 Changed the displayed text of an object in the simple table to gramps_id rather than name of item
svn: r13593
2009-11-15 22:43:44 +00:00
Doug Blank
a96eb41a7f Use new link tag; SimpleTable can now output docgen types other than gtk
svn: r13588
2009-11-15 13:18:59 +00:00
Doug Blank
b5ca175f2b Changed the names of the styles of tables and fixed a col width error (which weren't used, but will be in the webapp)
svn: r13580
2009-11-14 22:50:19 +00:00
Doug Blank
99282aa715 3272: Proposal for updating config settings
svn: r13346
2009-10-08 01:12:51 +00:00
Doug Blank
7f2b239f26 Add ability for double-click on SimpleTable row to show people by list of handles
svn: r13221
2009-09-18 22:49:43 +00:00
Raphael Ackermann
65f72560d1 pep8 fixes
fixing typos


svn: r12934
2009-08-09 17:09:32 +00:00
Doug Blank
3be34486b9 Added ability for simple functions to alternatively work with handles
svn: r12857
2009-08-02 03:29:22 +00:00
Gerald Britton
70a0c50fca Use GrampsCursor as a context manager using "with" statement
svn: r12672
2009-06-16 15:49:17 +00:00
Benny Malengier
fb3ec68c6a part 3 : split basedoc in files, remove Utils dependance, move fontscale in gen,
update build system


svn: r12603
2009-05-31 14:59:56 +00:00
Benny Malengier
8dd7adc607 part 2 basedoc: move BaseDoc.py to /gen/plug/docgen and add /gen/plug/docbackend
that was missing in part 1 
 Still to come: makefiles and splitting new basedoc.py in small files


svn: r12591
2009-05-29 22:25:44 +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
Doug Blank
aa7ff9cf68 Make SimpleTable columns resizable
svn: r12483
2009-04-20 21:00:20 +00:00
Doug Blank
ec4905b6ca Removed extra space before family names in table row
svn: r12477
2009-04-18 23:32:09 +00:00
Doug Blank
832acac4c9 fix for gtk not liking unicode?
svn: r11603
2009-01-10 16:26:24 +00:00
Doug Blank
61ca9201b5 Changes in the manner that date differences are represented and compared
svn: r11565
2009-01-04 17:44:33 +00:00
Doug Blank
6244a0c033 Added a Gramplet that can run a Quick View
svn: r11466
2008-12-13 16:59:14 +00:00
Gerald Britton
4982292774 Code optimizations wrt handling of None - bug 2212
svn: r10811
2008-06-16 15:01:46 +00:00
Brian Matherly
3a98ddd4fd 0002122: Detailed Ancestor Report reports people as buried who have no birth events (contributed by Gerald Britton <gerald.britton@gmail.com>)
svn: r10781
2008-06-02 00:59:14 +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
Doug Blank
20420efec2 Added invalid date format to configs, with bold default
svn: r10618
2008-04-22 01:36:03 +00:00
Doug Blank
10d5232085 Display and sort invalid dates better
svn: r10593
2008-04-19 17:04:54 +00:00
Doug Blank
f637730a87 General polish of some date handling code; fixed a bug in date comparisons involving 'ABT' dates
svn: r10592
2008-04-19 16:48:46 +00:00
Doug Blank
2098a01f8d refactored SimpleTable; QuickReports can return values; date diffs return Span
svn: r10578
2008-04-18 01:09:32 +00:00
Doug Blank
015bde9e01 0001994: Cannot properly sort dates stored in few quick reports using SimpleTab
svn: r10425
2008-03-30 12:38:32 +00:00