Christian Stimming
e2b78c6034
Update openssl version number as reported by Thomas Arildsen
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14918 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-10-02 11:55:51 +00:00
Joshua Sled
5bc029eff8
missing ">"s
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14910 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-29 20:10:05 +00:00
Derek Atkins
57cc5debe9
Don't pass a pointer to a pointer. It's just expecting the pointer.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14908 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 20:36:56 +00:00
Andreas Köhler
a8c8a4f280
Initialize sort order in query lists. Fixes #357481 .
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14905 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:55:35 +00:00
Derek Atkins
21f2f4e93e
Missed one patch hunk in r14903.
...
We need stdlib.h for strtol().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14904 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:46:50 +00:00
Derek Atkins
c7c9199800
Add the ability to override the default sort ( #150799 ).
...
Override the Transaction Number to sort numerically.
* lib/libqof/qof/qofclass.h:
* lib/libqof/qof/qofquery.c:
* lib/libqof/qof/qofquerycore-p.h:
* lib/libqof/qof/qofquerycore.[ch]:
- Publish the QofCompareFunc prototype.
- Add a new QofParam param_compfcn parameter
- Change QofQuery to use the param_compfcn over the
default type compare function.
- create (and publish) a qof API to compare strings
as numbers: qof_string_number_compare_func()
* src/engine/Transaction.c:
Assign TRANS_NUM to use qof_string_numer_compare_func()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14903 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:39:32 +00:00
Derek Atkins
8bf369217a
Revert r14892 in order to try a different approach.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14902 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-27 13:30:05 +00:00
Derek Atkins
f82c369b0e
Implement SubQuery functionality in QOF: qof_query_run_subquery()
...
Now you can run one query off of the results of another query.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14901 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 23:47:09 +00:00
Andreas Köhler
9c4cf55144
Ease account type changes in the account dialog after OK is clicked.
...
Before, we did not enforce compatibility with the parent account and
suggested to change only children or children and all parent accounts up
to the top-level one. We do enforce it now and only need to look at the
children.
The filling of the hash of (children) account (type) changes has been
replaced by showing the user a filtered account tree and the types are
adjusted recursively once the user verified the change.
This is another attempt to resolve #344966 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14899 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:09:06 +00:00
Andreas Köhler
efcddd5e7e
Free a list in import-account-matcher.c.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14898 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:08:52 +00:00
Andreas Köhler
311c85ac9b
Make the account type list in the account dialog dynamically filtered
...
based on compatibility to the parent account.
* add gnc_account_parent_changed_cb. Filter by valid_types & parent
compatible types
* add aw->preferred_account_type to remember what we chose but may not
work currently
* make valid_types a guint32 (was GList*)
* last_used_account_type is only set in gnc_ui_to_account
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14897 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:08:34 +00:00
Andreas Köhler
9718dda4df
f_model is not always set in gnc_tree_model_account_types_get_selection
...
because of a bug in gtk+ (#357791 ). Also add
gnc_tree_model_account_types_get_mask.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14896 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:08:22 +00:00
Andreas Köhler
e18efa1191
Add gnc_tree_model_account_types_set_mask and bind mask to the filter
...
model instead using it as data of the filter function, because those can
only be set once per filter.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14895 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:08:09 +00:00
Andreas Köhler
e15f0d6a7b
Add xaccAccountTypesCompatibleWith and change xaccAccountTypesCompatible
...
to use that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14894 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:07:55 +00:00
Andreas Köhler
c77679c601
Revert r14591 (bug 344966) to prepare another solution.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14893 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 22:07:42 +00:00
Derek Atkins
2bb357def4
Add a new QOF_TYPE_NUMSTRING to add numeric sorts. ( #150799 ).
...
This new type is like QOF_TYPE_STRING but it sorts numerically
(first) and then sorts alphanumerically (by the tail of the
number). Added the QOF Type, the gnome-search support, and
modified TRANS_NUM to use the new type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-26 00:36:30 +00:00
Derek Atkins
bb5646f42c
disable lot scrubbing during Check & Repair ( #357370 ).
...
Lots are supposed to be disabled in the 2.0 release until we
get the cap-gains code working. IMHO the cap-gains code should
deal with extra txn splits instead of creating additional txns.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14888 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:51:29 +00:00
Derek Atkins
b72c587350
suspend events around the Commit(). Fixes #347089 when combined with r14495.
...
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14887 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-23 22:31:45 +00:00
Christian Stimming
09932872e4
Remove -no-undefined from make because configure.in sets it now
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14881 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-22 13:32:27 +00:00
Christian Stimming
93c6848ebf
Add -no-undefined to LDFLAGS because libtool on Windows requires this argument and we fulfil it anyway
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-22 13:28:33 +00:00
Christian Stimming
65a42f9ec8
Add more path elements when creating the win32 startup scripts
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14879 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-21 19:14:08 +00:00
Christian Stimming
6465413dfb
Revert last change when perl modifies in-place - that doesn't work on windows
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14877 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-21 10:05:26 +00:00
Christian Stimming
d2451def4a
Add mt942 and CSV file types for aqbanking import
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14873 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 19:02:51 +00:00
Christian Stimming
cb94669dee
Move gnc-dtaus-import.[hc] files to filename gnc-file-aqb-import.[hc] because these are not limited to dtaus import.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14872 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 18:50:55 +00:00
Christian Stimming
557723f256
Remove mt940 module completely from the build and SVN because all of
...
its functionality has been moved into the hbci (aqbanking) module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 18:44:56 +00:00
Christian Stimming
7414a9605b
Properly detect installed or uninstalled expat. Propose packaging command for cross-compiled gnucash.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14870 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 11:00:06 +00:00
Christian Stimming
013807720f
Eventually implement full relocation functionality on win32 as well.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14869 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 09:03:36 +00:00
Christian Stimming
a29620b601
Revert r14862 here because the initialization from gnucash-bin.c is also sufficient for win32.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14868 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 08:59:15 +00:00
David Hampton
da75b9cde4
Eliminate some compile warnings.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14867 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 03:15:21 +00:00
Andreas Köhler
64e0e791df
Use some more automatic scrollbars in GtkScrolledWindow's.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14866 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 00:56:26 +00:00
Andreas Köhler
296f730165
Do not complain about non-existent files if we save to a new file. In
...
pass one we ignore the error returned by stat and call qof_session_begin
with create_if_nonexistent=TRUE for a second run.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14865 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-19 00:52:54 +00:00
Christian Stimming
db00d6a259
Unfortunately binreloc doesn't have program code for Windows. Will be added later.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14864 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:58:01 +00:00
Christian Stimming
2596a1d4bd
Binreloc needs explicit configure argument on cross-compile
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14863 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:49:23 +00:00
Christian Stimming
60ff04b2fb
Implement automatic relocation of previously compiled-in paths.
...
With the exception of the env variables in src/bin/gnucash we're
fully relocatable now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14862 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 20:43:50 +00:00
Christian Stimming
05ae2d2c08
Fix erroneous cross-compiling g-wrap args
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14861 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 19:57:32 +00:00
Christian Stimming
a9457c668d
Also allow user-defined overrides for g-wrap. Necessary if build-time g-wrap is different from the run-time one during cross-compile.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14860 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 19:10:31 +00:00
Christian Stimming
3eb57a841a
Forgot one step necessary for guile and cross-compiling.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14859 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 16:16:23 +00:00
Christian Stimming
85f8813c6d
Fully explain a cross-compile build of gnucash/mingw32 on Linux.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14858 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 16:11:18 +00:00
Christian Stimming
5c9a63d5a0
Allow the user to override the guile flags. Necessary when build-time guile and run-time guile are different, i.e. when cross-compiling.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14857 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:45:10 +00:00
Christian Stimming
812bd9a1f0
Small cleanup for crufty guile version check macro
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14856 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 15:31:41 +00:00
Christian Stimming
a89f885af4
Convert shell scripts from DOS CR-LF linefeeds to unix LF.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14855 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-18 09:50:25 +00:00
Christian Stimming
4ed1ed400c
More cross-compile preparations - goffice needs a cross-compile libtool as well.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14854 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-17 13:45:18 +00:00
Christian Stimming
850323276d
More cross-compile preparations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14853 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-17 11:03:02 +00:00
Christian Stimming
a5a7c5c3fb
Further prepare cross-compiling mingw32/gnucash
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14851 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 21:11:56 +00:00
Christian Stimming
03b8d15557
Initial hints on how to start a cross-compile
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14850 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 19:29:25 +00:00
Christian Stimming
171fc41a82
Update openssl URL
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14849 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 13:41:43 +00:00
Christian Stimming
c944290ba5
Add GUILE_CPPFLAGS/LDFLAGS. Add optional --host=mingw32 argument if someone tries cross-compiling.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14848 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 11:22:32 +00:00
Christian Stimming
0953922e04
Add cross-compiling workaround to AC_TRY_RUN
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14847 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-15 10:47:02 +00:00
Christian Stimming
7951de863c
Add cross-compiling workaround to AC_TRY_RUN macros
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14846 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-14 16:27:32 +00:00
Christian Stimming
7dcc2b5e45
Add script for building a cross-compile mingw toolchain on Linux.
...
Taken from http://www.mingw.org/MinGWiki/index.php/BuildMingwCross and updated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14845 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-09-14 15:33:42 +00:00