Commit Graph

14170 Commits

Author SHA1 Message Date
Geert Janssens
20175dc6db Fix warning for missing Delete Owner action
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20727 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-06-01 16:55:02 +00:00
Geert Janssens
1a84f1a684 Update POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20723 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-31 13:07:30 +00:00
Christian Stimming
d8945045a6 Cutecash: Add separate doxygen file to show the C++ code structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20722 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-31 10:51:52 +00:00
J. Alex Aycinena
981bbfd6cc Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20719 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-29 03:23:05 +00:00
J. Alex Aycinena
9f6080b566 Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20718 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 23:32:33 +00:00
John Ralls
6b0d693f1e Disable quartz accelerators to avoid hang in bundle during shutdown. (The g_idle_add apparently caused a deadlock between multiple g_main_loop instances.)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20717 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 21:53:03 +00:00
John Ralls
bdb0ff2acd Rename gtk_quartz_shutdown, gtk_quartz_should_quit, and gtk_quartz_set_menu to gnc_quartz_... for better naming consistency and conformance to GObject naming standards.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20716 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 21:52:54 +00:00
Christian Stimming
ad3f925b50 Bug #651329: Add some python convenience functions
Patch by Christoph Holtermann:

1) gnc_convenience.py adds some convenient functions.
2) quotes_historic.py uses find_account() from 1)
3) Small Bug removed : GetNthSplit() already returns a Split-Object because
that is returned by GetSplitList(). In this case it returns a nested
Split-Object.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20714 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 18:53:35 +00:00
Geert Janssens
63fa79a493 Windows build: be sure to restore msys environment even when the build
fails
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20711 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 09:27:57 +00:00
Geert Janssens
534acbdaa0 Windows build: properly configure msys before checking mingw
availability
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20710 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-28 09:27:47 +00:00
John Ralls
1eae52043b Fix naming error from r20690. Thanks to Alex Aycinena for pointing it out.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20708 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-27 23:15:47 +00:00
Christian Stimming
f3004e7c2c I18n: Minor string improvement so that the capitalization is unified in all similar translated strings.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20699 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-27 07:37:34 +00:00
Christian Stimming
e1fc47463a Win32: Update aqbanking version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20696 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-27 06:54:51 +00:00
Christian Stimming
e782f4368c Improve python bindings: str_methods.py improved.
Patch by Christoph Holtermann:

str_methods.py
- added a flagging system to change the output of the __str__ methods
- added unicode and str-methods to invoice and entry

function_class.py
- added modified add_method and add_classmethods to implement the previous

gnucash_business.py
- add methods_return_instance_lists for method Invoice.GetEntries

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20695 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-27 06:39:27 +00:00
John Ralls
e1e89fa741 Add the menu ui files for r20690.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20694 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-26 23:20:00 +00:00
John Ralls
c2c2715cf5 Fix up the Mac shutdown process to give Gnucash a chance to clean up without spewing critical errors about the main loop already running (because of calling gnc_shutdown in an event handler).
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20693 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-26 23:14:13 +00:00
John Ralls
885899b1e8 Add a gnc_quartz_set_menu call to main_window_new() so that newly created windows get their menus on the mac menu.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20692 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-26 23:14:05 +00:00
John Ralls
9caf0e1259 Disable updates of (no longer extant) window menu items when using MAC_INTEGRATION
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20691 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-26 23:13:53 +00:00
John Ralls
6d3cdce656 Separate window menu to separate ui file, separate function load function called only when not using MAC_INTEGRATION.
Quartz takes care of this on its own, and having Gnucash do it too creates two lists. The old approach, of just ifdeffing away the actions, worked but caused the trace log to fill up with "action missing" errors.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20690 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-26 23:13:45 +00:00
Christian Stimming
dd28320120 Preserve selection around the call to gtk_editable_set_position.
Patch by Jim Paris:
This lets us drop the racy gnucash_sheet_select_data_cb, which fixes
problems with lost input.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20689 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-24 20:35:37 +00:00
Christian Stimming
95998ceed2 CMake: Add correct dependencies of generated swig.c files on all headers
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20688 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-24 11:01:58 +00:00
J. Alex Aycinena
186a7e621c Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20687 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 22:26:34 +00:00
John Ralls
28b598fc4f Reverting screwups r20683, 20684, and 20685
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20686 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:44:24 +00:00
John Ralls
07eea7f6ec revert bogus directory added in r20682
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20685 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:36:01 +00:00
John Ralls
15d4ec937d Remove account.glade, deleted in r20669, from src/gnome/glade/Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20684 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:28:01 +00:00
John Ralls
ef1e42b89c Provide a quartz-only Window menu instead of hacking up the X11 one; eliminates a lot of spew in the log every time the menu was redrawn.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20683 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:27:51 +00:00
John Ralls
980e8924ff Rename gtk_quartz_shutdown, gtk_quartz_should_quit, and gtk_quartz_set_menu to gnc_quartz... for better naming consistency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20682 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:27:31 +00:00
Christian Stimming
cf6b102691 Fix makefile after file removal in r20669
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20676 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:15:44 +00:00
Christian Stimming
a40d35b037 Bug #650757: Fix Easy & footer styles output wrong tags </btd> iso </b></td> preventing HTML 4.01 Transitional validation
Patch by Bert:

This patch removes the wrong </btd> tags and closes the center tag in the
footer and easy stylesheets.

Just like Bug #650163 (and related to bug #616611) the easy & footer
stylesheets:
*output </btd> tags instead of <b></td>
*are missing a </center> tag

preventing html validation.

This patch removes the intended </b> and makes a clean </td> out of the
necessary tags. The styles are set through css anyhow. Furthmore it adds the
closing </center> tag.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20675 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:31 +00:00
Christian Stimming
9fbeb730ea Bug #645221: Patch to show the headline as an h3 across all stylesheets
Patch by Bert:

The attached patch makes sure that the title fonts set through the options menu
behaves consistently across all style sheets.

More specifically, it patches the following style sheets:
*stylesheet-fancy
*stylesheet-footer
*stylesheet-easy

Since I don't know how to change the default values, this will change the
visual appearance until people alter the settings (e.g. move everything to
Sans, 10, bold).
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20674 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:20 +00:00
Christian Stimming
153182da66 Bug #620123: Patch to make account name a header cell, iso td in trial-balance
Patch by Bert.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20673 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:14:07 +00:00
Christian Stimming
51e2d50667 Bug #650598: Patches to allow scheduling of Nth Day of Month Transactions.
Patch by "Rich":

I have transactions that should be scheduled on the second Wednesday of every
month.  There is presently no way to do it.  I made changes and have tested
them.
This patch enhances the scheduled transaction feature to allow nth day of week
monthly entries. The weekend adjust spinner is ignored when an nth day of week
entry is scheduled.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20672 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-23 19:13:55 +00:00
Christian Stimming
ba96a6f331 Win32: Update aqbanking5 version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20671 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 20:16:57 +00:00
Geert Janssens
52a3f7077d Remove unused variable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20670 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:18 +00:00
Geert Janssens
6d10f0675e Convert "Renumber Subaccounts" dialog to gtkbuilder format
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20669 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:10 +00:00
Geert Janssens
e70b735a7c Convert Account Filter By dialog to gtkbuilder format
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20668 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-21 19:37:00 +00:00
Geert Janssens
4b9d425f11 Spelling and other fixes in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20666 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 16:36:31 +00:00
Geert Janssens
6917caf3d9 Replace obsolete gnome include with gtk include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20665 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 16:31:42 +00:00
Geert Janssens
431981f6a7 Stock Split Assistant - improve validation steps
This is a follow up on bug #650584 (r20662)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20664 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-20 14:04:33 +00:00
J. Alex Aycinena
9b0f629718 Correct memory leak found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20663 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 23:20:23 +00:00
Geert Janssens
2a42972a04 Bug #650584 - Change Stock Split Druid to an Assistant
Patch by Bob

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20662 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:58 +00:00
Geert Janssens
fb2e4af923 Convert "Delete Account" dialog to gtkbuilder.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20661 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:49 +00:00
Geert Janssens
78ff087594 Delete unused dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20660 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-19 17:22:39 +00:00
J. Alex Aycinena
96d93595f6 Correct memory leaks found with Valgrind.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20659 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 23:06:09 +00:00
Geert Janssens
6ea2852871 Fix crash when editing existing owners from the new owner tree overview pages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20658 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 20:15:22 +00:00
Christian Stimming
bb18641d0c Win32: Fix compiler warnings about potentially uninitialized functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20657 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 18:52:32 +00:00
Geert Janssens
633015f8f3 Windows build: fix additional obsolete references to guile 1.6
Pointed out by Robert Fewell

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20656 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-18 14:56:09 +00:00
John Ralls
f25c53bf36 Bug #648554: SQL backend doesn't correctly save taxable flag on bills.
Nicely illustrates why copying and pasting code leads to errors.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20655 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-17 18:24:18 +00:00
John Ralls
db9ca59763 Force /bin/echo in git section
Apple's version of bash version 3, when called as /bin/sh, uses an internal echo command which doesn't handle the "-n" argument and contaminates the git version string. /bin/echo correctly handles the -n argument.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20654 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-17 18:24:10 +00:00
Christian Stimming
cef7c42d93 Minor doxygen improvements: The important types Split, Transaction must be mentioned in the group heading.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20652 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-05-16 09:13:40 +00:00