Commit Graph

10782 Commits

Author SHA1 Message Date
David Hampton
62dce55fb8 Fix a problem copying a guid from an object to a local variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16040 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-03 02:56:15 +00:00
David Hampton
285a5216b3 Move QofInstance guid property from its public data structure to its
private data structure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16039 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 05:42:41 +00:00
David Hampton
4f6fd1b090 Move QofInstance book properties from its public data structure to its
private data structure.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16038 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 03:18:46 +00:00
David Hampton
7d3c6b9a38 More a large number of the QofInstance properties from the public data
structure to a private data structure, with access to them as properties
of the object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16037 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-02 01:57:49 +00:00
Andreas Köhler
06c2311047 Add support for ActivePerl 5.6 to install-fq-mods.bat.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16036 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-01 22:05:42 +00:00
Andreas Köhler
310f26e54d Do not set timezone to UTC on Windows, #434752.
The perl module Date::Manip needs some timezone information to work, but
cannot determine that itself on Windows.  Setting the TZ environment
variable for the gnucash process has bad consequences, so rather call
Date_Init("TZ=UTC") if TZ is unset.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16035 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-01 14:03:44 +00:00
Christian Stimming
4caf424e95 Fix spelling error in French translation. #433389.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16034 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-05-01 11:54:58 +00:00
David Hampton
fd26e126ec Remove the macro versions of qof_begin_edit and qof_commit_edit_part<x>.
The function call versions of these routines should be used instead.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16033 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 17:06:48 +00:00
Christian Stimming
c823d7bda4 Merge some upstream compatibility updates for svn2cl.xsl
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16032 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 16:38:41 +00:00
Christian Stimming
b7760c7171 Make ChangeLog depend on NEWS rather than on configure.in. Update svn:ignore.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16031 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 09:50:35 +00:00
Christian Stimming
6961f8a1f1 Improve the auto-generated ChangeLog and have it run on make ChangeLog.
The rule for the auto-generated ChangeLog will use all commits of trunk
and several branches that are hard-coded into macros/svn2cl.xsl.
Just add more branches there if we need them in the ChangeLog as well.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16030 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 09:42:56 +00:00
Christian Stimming
bbbd36d426 Move old manual 2006 Changelog to separate filename
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16029 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 09:32:35 +00:00
Andreas Köhler
3cda5a70e9 Patch from Zach Sadecki to start custom check items at index 1, #434029.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16028 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 08:25:57 +00:00
Christian Stimming
b862c134e6 Updated British English translation by Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16027 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 08:22:56 +00:00
David Hampton
ce65024722 Start putting an API in place for access to the members of the
QofInstance object.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16025 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-30 05:33:33 +00:00
Andreas Köhler
05f60bd341 Patch from Zach Sadecki to lower the number of annoying console windows.
* At the end of the setup, optionally run gnucash.bat hidden
* Desktop and start menu icon run gnucash.bat minimized (hidden is not
  possible here)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16024 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-29 18:32:53 +00:00
Andreas Köhler
735ccffe48 Shutdown gconfd before uninstalling GnuCash, #434271.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16023 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-29 16:11:05 +00:00
Andreas Köhler
b19ff0e667 Change gconfd-2.exe to the windows subsystem in inst_gnome more often.
If for some reason gnome is reinstalled but gconfd-2.console.exe has not
been removed, the subsystem type of the newly unzipped gconfd-2.exe is
not changed again, so it will pop up a console window.  Fix that.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16022 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-29 10:18:53 +00:00
Chris Lyttle
7c83ed14a0 Update packaging/Makefile.am to release 2.1.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16019 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 22:06:58 +00:00
Chris Lyttle
09af330fcc Update NEWS and configure.in to release 2.1.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16018 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 21:49:18 +00:00
Andreas Köhler
c38bcd3ed7 Drop process.scm and spawn perl to retrieve price quotes.
Use gnc_spawn_process_async, gnc_process_get_fd, gnc_detach_process and
gnc_parse_time_to_timet in price-quotes.scm, but leave the work-flow
basically as before.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16017 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 19:13:47 +00:00
Andreas Köhler
94dc306411 Add gnc_parse_time_to_timet, a concatenation of strptime and mktime.
This will be needed for the price quotes on systems that lack a guile
function `strptime'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16016 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 19:13:43 +00:00
Andreas Köhler
433a0cd5e2 Give the child process a real chance to die before we kill it.
Improve r15997 by processing all events without blocking, maybe until
the child is dead.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16015 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 16:04:06 +00:00
Andreas Köhler
4fc3ccb0ba Prepend to PATHEXT and give a default TZ on Windows.
* g_find_program_in_path will find gnc-fq-{check,helper} only if . is
  added to PATHEXT
* Date::Manip needs TZ set to something reasonable (install-fq-mods.bat
  should help the user)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16014 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 15:32:51 +00:00
Andreas Köhler
29475d0dae Add gnc-fq-helper and TZ environment variable test to install-fq-mods.bat.
Set TZ to UTC if unset and download a price.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16013 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 15:28:44 +00:00
Christian Stimming
6959a8fb6f Merge all translations with current translation template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16012 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:17:16 +00:00
Christian Stimming
01e7950841 Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16011 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:16:06 +00:00
Christian Stimming
59278f69f6 Fix typo in user message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16010 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:11:15 +00:00
Christian Stimming
6d7e46843c i18n cleanup: Fix explanatory comments for translators.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16009 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:10:53 +00:00
Christian Stimming
0508859241 i18n cleanup: Don't translate messages that don't have to be.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16008 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:09:58 +00:00
Andreas Köhler
95679ff905 Add install-fq-mods.bat to dist and start menu.
* Dist new OpenSSL correctly
* cp libssl32.dll ssleay32.dll to make Crypt::SSLeay perl module happy


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16007 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 11:09:51 +00:00
David Hampton
80a0403ebb Collapse two functions into their only caller. Move a third function
to the same file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16003 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-28 02:40:54 +00:00
Andreas Köhler
e8208ae756 Update openssl safety net.
* Bark on $OPENSSL_DIR/lib/libcrypto.dll.a (0.9.7)
* Bark if libeay32.dll cannot be found
* Bark if libeay32.dll is found, but not in $OPENSSL_DIR/bin
* Do not care about libs in $WINDIR


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16002 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-27 16:54:47 +00:00
Andreas Köhler
0fe7ef82ce Fix a NULL-%s-printf, #433798.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16001 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-27 14:44:26 +00:00
Andreas Köhler
dd1da2b495 Append `.sh' to packaging/win32/{functions,defaults}.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16000 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-26 21:58:07 +00:00
Andreas Köhler
c1263802a8 Do not double-check libraries/programs if they are installed correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15999 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-26 21:22:22 +00:00
Andreas Köhler
df8925cc05 Build OpenSSL 0.9.8e from tarball.
Also starring:
* Add mingw32-make, as openssl will be built in cmd.exe
* Link gwenhywfar against dynamic libraries (-leay32 -lssl32)
* Install svn before openssl to have the newer ssl dlls as first in PATH


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15998 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-26 17:17:41 +00:00
Andreas Köhler
27595e43a6 Fix gnc_spawn_process_async and gnc_detach_process.
* Do not use g_child_watch_add if the spawn failed
* Give the child process a chance to die before we kill it
* Rather use g_message if file descriptors cannot be closed


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15997 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-25 18:25:34 +00:00
Andreas Köhler
39a9165290 Free a leaked return value of g_win32_error_message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15996 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-25 18:22:05 +00:00
David Hampton
a654961e1b Use gtk_widget_show, not gtk_widget_show_all. The latter screws up the
synchronization between the edit menu and which items are shown in the
window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15995 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-23 02:06:19 +00:00
David Hampton
65bdd3a246 New version of the file from Zach Sadecki that include three different
image sizes.  Fixes #432425


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15994 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-23 01:56:42 +00:00
David Hampton
e37f251ac8 Update ignore properties.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15993 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 22:15:00 +00:00
David Hampton
6b1d6e0ffd Use simpler behavior for setting the "1 xxx = 2 yyy" exchange rate sample
strings in the lower right corner of the transfer dialog.  Don't try and
duplicate the logic that sets the number in the exchange rate field, just pull
the the existing number straight out of the widget.  Fixes #408703.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15992 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 22:02:16 +00:00
David Hampton
78c862c325 Move the price manupilation buttons to the right side of the dialog. For
languages where one of the button labels is very long, this prevents the
dialog from becoming excessively wide.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15991 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 21:20:06 +00:00
David Hampton
a5d420c9a4 Add the Moldovan Leu. Fixes #414064.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15990 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 20:22:06 +00:00
David Hampton
ecd3e31481 Changing the transaction number can affect the split sort order and
thus the running account balances.  Fixes #386074.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15989 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 20:04:53 +00:00
David Hampton
6582c6b95b Catch and short circuit the case of trying to get the balance of an account
that is so new it hasn't had a currency assigned yet.  Fixes #432227.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15988 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 19:29:53 +00:00
David Hampton
14da30d2bf Allow NULL pointers when calling xaccAccountGetFullName. Fixes #432314.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15987 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 18:30:48 +00:00
Joshua Sled
4c34eadeda Bug#350993: hide the main window until it's ready to be interacted with (like most every other app).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15986 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 16:30:55 +00:00
Joshua Sled
47f4b30df6 Bug#432232: confirm SX deletion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15985 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-22 16:10:21 +00:00