Phil Longstaff
190665ac2f
Initial changes to budget view.
...
1) Splits gnc-budget-view.c/.h out from gnc-plugin-page-budget.c. gnc-plugin-page-budget.c now creates a GncBudgetView and provides the overall UI and integration for it.
2) GncBudgetView changes:
a) If an account has children but does not have a specific budget value for a period, the sum of the children's budget values will be displayed in gray
b) Totals column on the right provides total for a budget row (account)
c) At the bottom, totals lines with total income, total expenses, total transfers (assets+liabilities) and grand total (income - expenses - transfers)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22796 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-02-21 01:10:21 +00:00
Phil Longstaff
edf2284a46
Re-add function gppat_filter_select_default_cb() mistakenly removed in commit r21578. It's not used by C code, but is by the .glade file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22255 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-07-01 21:48:19 +00:00
Phil Longstaff
b6a07f0bfb
Add basic budget unit tests
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22253 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-07-01 18:45:51 +00:00
Phil Longstaff
f284ba731b
Fix memory leaks found by unit tests/valgrind
...
Return value of g_build_filename() needs to be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22199 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-21 22:36:15 +00:00
Phil Longstaff
0809170098
Fix some small problems (including a memory leak) found by running qof unit test with valgrind.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22193 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-21 18:35:59 +00:00
Phil Longstaff
140799c028
Add test-qof to svn:ignore
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22192 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-21 18:35:04 +00:00
Phil Longstaff
d58490b8e4
Update some svn:ignore properties
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22191 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-21 17:38:49 +00:00
Phil Longstaff
9267e80726
Since 2.32, GCache is deprecated and should be replaced by GHashTable.
...
In the new string cache (split out from qofutil.c/.h), the GHashTable has the
string as key and a small heap-allocated guint refcount as data. The value is
allocated rather than being used by value because there is no way to just
modify the data field of an existing key. The key would need to be changed at
the same time, which would free the old key value and invalidate all gchar
pointers of objects which have refs to the key.
Unit tests added as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22190 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-21 17:28:30 +00:00
Phil Longstaff
aeef9d36d0
Replace deprecated g_basename() by recommend g_path_get_basename()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22185 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:24:14 +00:00
Phil Longstaff
18d6031f2a
Remove invalid routine arg check
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22184 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:23:07 +00:00
Phil Longstaff
0a3c14ed4b
Use new GncTaxTable g-object parameters
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22183 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:22:30 +00:00
Phil Longstaff
7ea5a2bf98
Convert DBI test to utest
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22182 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:21:09 +00:00
Phil Longstaff
d1fcb82ad0
Fix some g-object parameter types
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22181 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:18:45 +00:00
Phil Longstaff
083861e225
Add some more g-object parameters for GncTaxTable
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22180 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:18:08 +00:00
Phil Longstaff
5fba6638e3
Replace deprecated g_mapped_file_free() with recommended g_mapped_file_unref()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22179 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-05-20 21:12:50 +00:00
Phil Longstaff
fc0bbaa449
Add more order gobject properties and convert sql backend to use them for loading/saving.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21922 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-31 01:17:20 +00:00
Phil Longstaff
d9a86d9f37
Add more properties to employee object and convert sql backend to use them to save/load objects
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21921 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-31 00:00:15 +00:00
Phil Longstaff
2f3555c9ee
Add more vendor gobject attributes and use those to save/restore to sql db
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21898 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-28 00:15:04 +00:00
Phil Longstaff
6ad0ab7426
Convert to using gobject attribute names to save/restore address fields.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21893 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-27 17:36:35 +00:00
Phil Longstaff
22ddb018de
Modify win32 component directories - remove remaining version numbers from directory names. I'd like
...
to add them back, eventually, but this matches the naming used when I built the webkit 1.2.7 zip.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20561 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-17 16:42:57 +00:00
Phil Longstaff
13923b5f27
Update win32 components:
...
Gtk to 2.24
Webkit to 1.2.7
Others to latest version
install-impl.sh now has option to build webkit if BUILD_WEBKIT_FROM_SOURCE is defined as "yes".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20560 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-12 23:52:51 +00:00
Phil Longstaff
8a97eb1414
Replace use of deprecated g_strcasecmp() by g_ascii_strncasecmp()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20553 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-10 18:52:27 +00:00
Phil Longstaff
abd593e8f0
Spell the function name correctly. Sigh.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20552 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-10 00:08:46 +00:00
Phil Longstaff
9a10c8f366
Remove direct access to window inside GtkWidget - use accessor instead
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20551 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-04-09 23:34:57 +00:00
Phil Longstaff
4e4fbf1933
During win32 build, if a component is already installed, print the installation path
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20501 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-29 01:17:00 +00:00
Phil Longstaff
ded11a213b
Update rev to 2.4.4
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20417 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 16:47:58 +00:00
Phil Longstaff
8186309fc3
Update POTFILES.in
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20416 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-03-13 16:47:28 +00:00
Phil Longstaff
226917b373
Update revision to 2.4.3
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20336 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-25 00:29:25 +00:00
Phil Longstaff
112778f12e
Update revision to 2.4.2
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20252 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 22:30:26 +00:00
Phil Longstaff
02b3ffaea4
Update revision to 2.4.1
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20231 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 01:55:41 +00:00
Phil Longstaff
3fe1707d22
Check whether session has been created before trying to end it.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20229 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-04 01:54:30 +00:00
Phil Longstaff
4e25946061
Disable building the plugins directory until windows build issues can be fixed
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20082 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-13 02:47:03 +00:00
Phil Longstaff
ec1b93bdf5
Add budget name to budget tab
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20044 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 20:04:37 +00:00
Phil Longstaff
55865d2e1b
Fix more memory leaks. Also, when closing a book (to open a new one, not year end), free objects.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20042 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 18:01:47 +00:00
Phil Longstaff
3bd95ca483
More memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20041 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-09 18:00:32 +00:00
Phil Longstaff
48f0ce9a37
Add gnc_budget_clone() and make some functions arguments 'const'
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20036 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 17:45:18 +00:00
Phil Longstaff
e8d8c4be42
Add "copy budget" command to menu. Works like "open budget" except that a copy of the budget is made with the name "Copy of "+name of old budget.
...
This command will allow you to easily create a copy of your 2010 budget and change its name to "2011". I also plan to add UI capabilities to more easily manipulate budget numbers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20033 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-07 01:48:17 +00:00
Phil Longstaff
1a53e1494a
Revert part of r20018 - Freeing the guid returned from g_object_get() sometimes tried to free unmalloced memory.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20020 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 18:25:43 +00:00
Phil Longstaff
d10099b79c
More memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20019 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:55:33 +00:00
Phil Longstaff
3e3beb86b6
Plug more memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20018 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 16:53:18 +00:00
Phil Longstaff
516175b9e2
When book is being closed, destroy objects to free their memory. Doesn't matter too much when closing gnucash,
...
but when closing one book to open another, all memory from the old book should be freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20010 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 01:42:39 +00:00
Phil Longstaff
920f5ab815
Plug memory leak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20009 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-31 01:38:37 +00:00
Phil Longstaff
050fc0cffd
More memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20008 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:57:14 +00:00
Phil Longstaff
d1679027d1
More memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20007 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:56:02 +00:00
Phil Longstaff
932513727a
More memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20006 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:55:33 +00:00
Phil Longstaff
0909e1617e
Plug more memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20005 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:54:45 +00:00
Phil Longstaff
613038acab
Plug more memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20004 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:54:06 +00:00
Phil Longstaff
a183a07906
Plug more memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20003 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:53:07 +00:00
Phil Longstaff
e89563f4ea
Plug more memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20002 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-30 15:51:32 +00:00
Phil Longstaff
e8a6ef4673
Fix earlier checkins to ensure that strings returned from routines or whose addresses are kept have been allocated from g_malloc(.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19988 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 03:03:10 +00:00
Phil Longstaff
af2e6b3fa4
When a book is closed, all of the memory for the objects should be freed.
...
Free budgets and invoices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19987 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:43:28 +00:00
Phil Longstaff
c42190fb11
Fix more memory leaks. scm_to_locale_string() returns a string which must be freed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19986 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:39:49 +00:00
Phil Longstaff
4295b043f7
Patch some memory leaks. scm_to_locale_string() returns a string which must be freed
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19985 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-29 01:36:26 +00:00
Phil Longstaff
b171a32cc8
Plug some memory leaks
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19984 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-28 20:44:25 +00:00
Phil Longstaff
4eb66e27cc
Update configure.ac to 2.4.0
...
Update gnucash-bin.c to indicate stable version is 2.4.0, next stable version 2.6
Here we go...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19970 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:59:25 +00:00
Phil Longstaff
bb26bf6577
Updated POTFILES.in
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19969 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:57:29 +00:00
Phil Longstaff
c86cdf6d12
Update copyright notice dates to include 2010
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19968 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:54:17 +00:00
Phil Longstaff
4c8de43cd7
Add gnc-backend-dbi-priv.h to list of header files so that 'make distcheck' passes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19967 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-20 17:53:15 +00:00
Phil Longstaff
789f42e134
Update release to 2.3.17
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19851 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-21 02:14:21 +00:00
Phil Longstaff
876350d348
Fix stupid mistake when I checked in the configure.ac with new version#.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19766 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-06 21:35:20 +00:00
Phil Longstaff
0e6f29c3ac
Update revision # to 2.3.16
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19764 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-06 20:33:27 +00:00
Phil Longstaff
05cae77e13
Add 'test-dbi-business' to svn:ignore
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19763 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-06 20:20:26 +00:00
Phil Longstaff
323c83b766
Add test-dbi-business-stuff.h to EXTRA_DIST so "make distcheck" passes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19762 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-06 19:50:57 +00:00
Phil Longstaff
dd81726d6d
INFO message to trace log if a table is automatically upgraded to newer version.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19699 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-24 15:29:08 +00:00
Phil Longstaff
5c5cc3f059
Fix include files. Include files now only include other include files if symbols from the other files are needed by this one.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19670 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-17 21:17:14 +00:00
Phil Longstaff
b762dfa3ae
Fix #630286 - Please add handling code for GDate kvp values in SQL, too
...
If slots table does not include gdate field, it will be added and all current slots will have a NULL value.
Tested on sqlite3 and mysql. Tested using the example gnucash file referenced from the bug report. When saved from XML -> sqlite3 -> XML, some timestamps changed their timezone because of a change of timezone (I'm in North America). I guess this is OK.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19647 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-10 22:21:43 +00:00
Phil Longstaff
ba5b74cbd9
Add kvp_frame_set_gdate() function
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19613 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-26 18:56:30 +00:00
Phil Longstaff
ffa7f72dbc
Update release number to 2.3.15
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19436 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 18:27:06 +00:00
Phil Longstaff
d1af4c3091
Get library from correct directory - fixes "make check"
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19433 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 00:03:13 +00:00
Phil Longstaff
bbe16a6853
Bug #625697 : Prior patch, Changeset 19376, broke reports for non-default stylesheets
...
Patch by Frank Ellenberger
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19413 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-07 16:47:50 +00:00
Phil Longstaff
01e3ed7b31
Fix problem with "t" unbound in cond expression. Use "else" instead.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19390 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-02 19:54:26 +00:00
Phil Longstaff
5ac329c376
#616606 - Get default report font from top level widget
...
Patch by Tao Wang
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19357 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-11 18:33:16 +00:00
Phil Longstaff
63f8b4b257
Bug #616606 : Add gnc-get-default-report-font-family function callable from scm.
...
Currently returns "Arial" but can be modified to get default GtkWindow font.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19285 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-22 22:02:01 +00:00
Phil Longstaff
82eb1c865e
Update rev number to 2.3.14
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19231 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-06-05 18:51:41 +00:00
Phil Longstaff
1ecee48dc0
Update version to 2.3.13
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19212 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-30 19:02:05 +00:00
Phil Longstaff
6b9c7075f4
Fix #616100 - Incorrect character set used in MySQL backend
...
Use "SET NAMES 'utf8'" so that mysql uses utf8 for communication and all char sets.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19200 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-22 21:29:00 +00:00
Phil Longstaff
f45ed5e566
Split "Arial" out from font names to make it easier to replace.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19199 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-22 21:25:51 +00:00
Phil Longstaff
0685c85204
Set default webkit font from system font.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19180 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-17 23:02:00 +00:00
Phil Longstaff
d027861d49
Merge CSS and plain stylesheets, leaving the plain and remove the CSS stylesheet. Plain now has font specifications.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19173 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-15 15:04:54 +00:00
Phil Longstaff
9833f70b32
Add font support to all stylesheets
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19172 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-15 14:50:33 +00:00
Phil Longstaff
372d915aca
Fix #616554 - New stylesheets based on Fancy template cause BIN to crash
...
An interface issue between libjpeg and webkit (incorrect type used in libjpeg) causes the crash. This patch replaces the normal libjpeg with a patched one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19146 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-09 17:13:02 +00:00
Phil Longstaff
6166264b6f
Change default report stylesheet from "Default" to "Default CSS"
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19083 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-28 17:48:49 +00:00
Phil Longstaff
0bfdf60156
Fix #616606 - Add <meta> line indicating utf8 encoding so that non-latin chars show correctly.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19072 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-25 19:13:36 +00:00
Phil Longstaff
0ee0b2d671
Change release number to 2.3.12
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19040 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-19 22:26:10 +00:00
Phil Longstaff
ac1cf031f5
When updating book counters for business objects (in book slots), ensure they're saved.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19038 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-19 16:56:40 +00:00
Phil Longstaff
1dd6996f84
Assume webkit functions exist on win32
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19035 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 20:20:31 +00:00
Phil Longstaff
e96109fac1
Change default from --disable-dbi to --enable-dbi.
...
This is needed so that 'make distcheck' will work with the business sql backend tests.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19034 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:08:42 +00:00
Phil Longstaff
7b06836cb6
Disable transaction log so that there aren't log files left lying around to make 'distcheck' fail.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19033 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:07:35 +00:00
Phil Longstaff
95a0a50ae6
Add .h files to EXTRA_DIST to ensure they are put into tarball
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19032 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:07:05 +00:00
Phil Longstaff
4c4fe17373
Fix test dependencies
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19031 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 17:48:05 +00:00
Phil Longstaff
0cdb4dd744
Ensure necessary .h files are included in EXTRA_DIST
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19030 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 19:44:43 +00:00
Phil Longstaff
7c2d9421b9
Remove reference to GNC_TEST_SRFI_LOAD_CMD since we no longer support local srfi's.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19029 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 19:01:02 +00:00
Phil Longstaff
3284ec4703
Add functions to compare 2 business objects for equality, and use them in 'make check' tests.
...
Adds functions to compare 2 business objects for equality. The 'make check' tests can then use these functions to store and reload objects and compare them for equality. This allows the sql backend to be tested.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19028 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 17:00:18 +00:00
Phil Longstaff
a9d83d7126
Check for webkit_web_view_load_uri() function, and if not available, fall back to webkit_web_view_load_html_string().
...
This change also changes the config #define name from HAVE_WEBKIT_PRINT_FULL to HAVE_WEBKIT_WEB_FRAME_PRINT_FULL to be a bit more descriptive.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19027 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 16:52:20 +00:00
Phil Longstaff
7f8326674e
Fix gnucash-gdb.in to use gdb from the right place
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19015 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-11 12:50:21 +00:00
Phil Longstaff
0a5fc8223d
Fix #588816 - Heading Banner Image does not display or print on invoice reports
...
Along with a new version of webkit which properly handles local image files, a change was needed so that instead of creating an html string and feeding it directly to webkit, it is exported to a temp file which is then loaded as a file:// URI. On Linux, if this is not done, any embedded images do not appear, and there is a console message that local resources can't be loaded. On Windows, the embedded images don't appear, possibly for the same reason, but I'm not sure where the console messages go.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18992 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-04 23:55:53 +00:00
Phil Longstaff
8e71388367
Upgrade win32 version of webkit from 1.1.5 to 1.1.90.
...
This version contains changes required to fix #588816 (Heading Banner Image does not display or print
on invoice reports). Note that this bug won't be fixed until some gnucash changes are checked in as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18991 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-04 21:22:19 +00:00
Phil Longstaff
a383ad4875
Add business backend sql test infrastructure.
...
At this point, the test creates a customer, saves it to an sqlite3 db, loads it and compares the original and the loaded customer. Will be expanded to test other business objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18966 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-26 19:15:56 +00:00
Phil Longstaff
1905fb8670
Add deep comparison routines for test purposes
...
1) Add routine gncCustomerEqual() which will do a deep comparison between two customers
2) Add routine gncAddressEqual() which will do a deep comparison between two addresses
3) Add more GncAddress gobject parameters for the remaining data items
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18965 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-26 19:13:34 +00:00
Phil Longstaff
eeb86ec6c3
Changes in dbi test infrastructure
...
1) Now that the various objects .c files can compare objects in different books, remove the duplicate copies.
2) Create a .la so that the business sql test code can use some common test infrastructure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18963 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-25 20:45:07 +00:00