Commit Graph

148 Commits

Author SHA1 Message Date
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
John Ralls
40c293bd24 Reverse inadvertent mods to po/POTFILES.in in r19904
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19905 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-03 23:33:57 +00:00
John Ralls
e11c537bbe Bug #635859: Strip all trailing '/'es from kvp_slot paths when loading.
This changes round-tripping slightly (because the resulting slot key
won't have the trailing slash when it's re-saved as xml). It may also
change the behavior of the facility using the slot, because the key is
changed. So far, the only known instances which trip this bug are
import-map-bayes, because descriptions may have '/'es in them (and why
shouldn't they).

Unfortunately, fixing this right (so that key values can have embedded
'/''es and be saved/retrieved from sql databases will require changing
the slot architecture in ways that impact the engine. Since we don't
have adequate unit tests to be confident of not introducing a
regression, I'm applying this instead.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19904 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-12-03 23:24:34 +00:00
Christian Stimming
feba4d6907 Update POTFILES.in with recent file addition.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19698 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-10-24 09:36:23 +00:00
Christian Stimming
818ba713cd Merge most recent pot template into all language po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19548 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-09-04 21:04:09 +00:00
Christian Stimming
35ba93ed48 Remove unused file from both SVN and POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19434 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-08-15 09:05:05 +00:00
Christian Stimming
f30fa7295b Update POTFILES.in after file moving.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19365 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-14 19:54:11 +00:00
Christian Stimming
cad2b40bca Update POTFILES.in after recent file move.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19331 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-07-04 20:16:01 +00:00
Christian Stimming
33a5d64fee I18n improvements: Remove colons from translatable strings. Use correct capitalization.
In most cases, the changed strings already appear somewhere else in the program,
so only very few are unfortunately now new strings even though we hoped
we could stick to the string freeze.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19162 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-14 09:00:28 +00:00
Christian Stimming
449df116d8 Bug #612212: Provide a method to set the default budget
Patch by Jeff Kletsky.

(Cstim: Accepted even though string freeze is in effect because it was
submitted before the freeze. Also, the string additions are very minor.)

Summary of Changes:

* Initial story related to providing default budget control
  * Add a "Budgeting" tab to the book-level preferences dialog
  * Add a "Default Budget" selector to the "Budgeting" tab
  * Modify gnc_budget_get_default() to
    * Respect the new KVP, if present
    * Fall back to 2.2.x behavior, if not present
  * Modify gnc:make-budget-option
    * Reformatted for readability with additional comments
    * Default is now "#f" so that selected value is always saved
      Otherwise, if selection happened to be the current default
      and the default was later changed, the report would change
    * getter, setter, and generate-restore-form all now consistent
      * setter now always takes a budget object
      * generate-restore-form does not rely on "hack" in setter that
          previously allowed either a budget object or a GUID string
          This is a different fix for 603215 -- see Known Issues

* Provide translation support for "Trading Acccounts" (and "Budgeting")
  * Refactor #define names for consistency and extensibility
    * KVP_OPTION_PATH for consistency with Guile usage
    * OPTION_SECTION_blahblah
    * OPTION_NAME_blahblah
  * Modify qofbookslots.h to be "SWIG-aware"
  * Pick up qofbookslots.h in make-gnucash-potfiles.in and po/POTFILES.in

Known Issues:

* There is no selection (yet) for "Use default budget" so changing the
  default budget and reloading a report does not change the budget used

* setter is no more robust to "bad" values than in previous code

* Budget reports created with 2.3.x after r18528 (between 2.3.8 and
  2.3.9) may not load or re-render as they relied on the setter taking
  either a budget object or a GUID as a string This should not impact
  any 2.2.x users as nothing was saved under 2.2.x related to the
  default budget. This can be resolved through removing the option
  restore code in ~/.gnucash/saved-reports-2.4 and, if affected reports
  were open, in ~/.gnucash/books/<name_of_book>

* Budget reports prior to r18528 did not save budget selection (603215)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19123 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-06 09:01:46 +00:00
Geert Janssens
ebc1f49532 Remove some additional QSF references
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19102 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-05-04 22:51:54 +00:00
Christian Stimming
90e34f2ae6 Add src/gnome/gnucash.desktop.in.in to the translation input files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19052 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:45:22 +00:00
Phil Longstaff
a3eff8fc18 Update POTFILES.in based on new source files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18915 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-16 09:25:29 +00:00
Christian Stimming
ab1b493e2e Revert r18869, "Move gnc-ui-util.[hc] and gnc-euro.[hc] from app-utils to engine"
Those files indeed belong better into app-utils; the app-utils defines
several not-yet-GUI parts of gnucash, like many conversions from and to
strings (more than those in these two files), so these files are well
suited in here.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18908 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-14 21:10:26 +00:00
Geert Janssens
0bfd892d37 Update POTFILES.in for the moved dialog-userpass.c and the newely added gnc-jalali.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18870 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-07 21:02:50 +00:00
Christian Stimming
0055b6f2f8 Move gnc-ui-util.[hc] and gnc-euro.[hc] from app-utils to engine because they don't depend on gtk but are important additions for the engine types.
In particular, the formatting of a gnc_numeric is defined there.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18869 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-07 20:30:08 +00:00
Geert Janssens
6a6fe1690e Use a normalized uri format internally to refer to data stores.
Data stores for GC can be a file (xml or sqlite3) or a database
one some server (mysql or postgres).
Wherever it makes sense internally, data stores will be referred to
via a normalized uri:
protocol://user:password@host:port/path
Depending on the context and story type some of these parts are optional or unused.

To achieve this, a new utility interface has been setup:
gnc_uri_<xxx>_<yyy>
that can be used to manipulate the uris or convert from non-normalized
formats to normalized and back.
For example, when the user selects a file in the Open or Save As dialog,
gnc_uri_get_normalized_uri will convert the file into a normalized uri.
Or when the actual filename is needed this can be extracted with
gnc_uri_get_path.
You can also test if a uri defines a file or something else with
gnc_uri_is_file_uri.

For the complete documentation, see src/core-utils/gnc-uri-uitls.h

This commit installs gnc-uri-utils and modifies the source where it makes
sense to use its convenience functions. This concerns all functions that
had to deal with file access in some way or another, the history module
and the functions that generate the history menu list and the window titles.

Note that gnc-uri-utils replaces xaccResolveFilePath and xaccResolveUrl in all cases.
xaccResolveUrl has been removed, because gnc-uri-utils fully replaces its functionality.
xaccResolveFilePath is used internally in gnc-uri-utils to ensure an absolute path
is always returned (in case of a file uri, not for db uris). But it has been renamed to
gnc_resolve_file_path to be more consistent with the other functions.

Lastly, this commit also adds a first implementation to work with a keyring to
store and retrieve passwords, althoug

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18842 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-05 20:15:31 +00:00
Christian Stimming
f5f17c227e Note the moved files in POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18820 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-04 20:28:17 +00:00
Phil Longstaff
5066daa770 Modify POTFILES.in to handle source files moved to a new directory
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18744 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-27 15:51:35 +00:00
Phil Longstaff
c3e2fe3ddc Add new source files to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18611 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-04 13:13:47 +00:00
Christian Stimming
c969cd19ae Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18539 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 21:18:54 +00:00
Phil Longstaff
763e3ed280 Add src/gnome-utils/gnc-tree-model-account-drag.c to po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18446 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 19:43:36 +00:00
Phil Longstaff
8ed56c7a05 Add new file to POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18182 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-07-07 02:37:39 +00:00
Phil Longstaff
dcdc943f3a 1) Remove obsolete xxx-backend-file files (now are backend-xml)
2) Fix 'make check', 'make dist' and 'make distcheck' problems

Make distcheck now passes



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18045 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-12 17:14:21 +00:00
Phil Longstaff
29d9be3aa9 Fix move from lib/libqof -> src/libqof
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18032 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-09 12:29:46 +00:00
Phil Longstaff
4e47416ede 1) Add new files to po/POTFILES.in
2) Fix some unmatched quotes (in some cases, they were spelling errors)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18016 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-05 00:52:30 +00:00
Derek Atkins
45370b48d8 Add a glade file to the POTFILES list.
make check now works for me.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17992 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:31:35 +00:00
Derek Atkins
c08c1baf73 remove python-bindings from POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17991 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:09:15 +00:00
Andreas Köhler
a8b49ec984 Add python-bindings/gnucash_core.c to po/POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17786 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-12-31 19:13:50 +00:00
Andreas Köhler
f47e84116d Add new source files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17557 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-19 02:14:45 +00:00
Derek Atkins
38d8ce62aa Add SQL glade file so "make check" succeeds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17497 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-06 18:12:45 +00:00
Andreas Köhler
172877f43e Add gnc-date.c to make-gnucash-potfiles.in and missing aqbanking files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17423 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:08:21 +00:00
Andreas Köhler
51858f7a85 Add new aqbanking import-export files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17290 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 21:31:23 +00:00
Derek Atkins
ef25c17cd4 Get GnuCash building again.
- move the #include of g18n.h from gnc-date.h to gnc-date.c
- add gnc-date.c to POTFILES.in

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17250 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 23:28:31 +00:00
Andreas Köhler
5834cb4179 Add apps_gnucash_import_qif.schemas.in to POTFILES.in.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17015 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 19:45:28 +00:00
Christian Stimming
e3f63d58f0 Add po/POTFILES.in to SVN so that l10n.gnome.org can download it directly.
Also, modify build rules so that POTFILES.in is no longer generated
automatically during make dist, but only on explicit "make pot", because
the build rule will now modify POTFILES.in in the srcdir and no longer
in the builddir.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16864 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 20:40:19 +00:00
Christian Stimming
e3bbac6c2b Revert "Re-add POTFILES.in to SVN."
The build rules have to be modified non-trivially in order to have this
do the correct thing if builddir != srcdir. I give up for now - maybe
someone else?


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16859 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 10:26:22 +00:00
Christian Stimming
afa5725743 Re-add POTFILES.in to SVN so that l10n.gnome.org can download it directly.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16858 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 10:17:08 +00:00
Chris Shoemaker
4048f595e1 Yet more build tweaks for .pot file generation.
Remove po/POTFILES.in (again) from svn.  Since po/POTFILES.in is added
to BUILT_SOURCES, it's auto-generated now whenever the `make all',
`make check', or `make install' targets are processed, (but not
recreated every time).  And `make pot' forces the recreation of
po/POTFILES.in.  Hopefully, this will works even on OSX.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12271 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-06 02:49:27 +00:00
Chris Shoemaker
57afed226c Add a stub po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12257 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-04 17:25:26 +00:00
Neil Williams
9b98c3397e automate replacing po/POTFILES.in and remove POTFILES.in from svn
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12248 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-03 19:27:03 +00:00
Chris Shoemaker
58361755ee remove a couple recently-removed files from POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12245 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-03 18:02:25 +00:00
Christian Stimming
5a46d71683 Update POTFILES.in after file removal
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12079 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-03 10:38:36 +00:00
Neil Williams
bb7f8e681e Remove RPC and net backends.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12018 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 22:54:04 +00:00
Christian Stimming
6079e3e674 Translation string improvements/typo fix. Improve German translation: 2906 out of 3390 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12017 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-22 20:44:46 +00:00
Christian Stimming
036c77f923 Update potfiles script so that it works again without the cvsignore
files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11933 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-14 20:36:33 +00:00
Neil Williams
3696a99e18 adding a libqof file to translation list and script
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11921 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-13 16:20:49 +00:00
Christian Stimming
cef0d0992a Update POTFILES.in after src/engine file removal
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11919 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-13 14:19:26 +00:00
Christian Stimming
abadcede4d Update POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11889 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-09 20:49:10 +00:00
David Hampton
f28d033d74 Collapse the gnome2 branch back into HEAD.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11565 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-02 03:32:36 +00:00