Be careful about sign issues when cropping buffers.
From: Elias Oltmanns <eo@nebensachen.de>
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2327 70169cfe-8b10-0410-8925-dcb4b91034d8
Fix potential overrun in GWEN_Buffer_RemoveRoom()
Also reported and a similar patch provided byG. Paul Ziemba <pz-aqbanking-user@ziemba.us>.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2326 70169cfe-8b10-0410-8925-dcb4b91034d8
Rely on GWEN_Buffer_AllocRoom() to get things right
Checks for overflow and provision for an extra null character aretaken care of in one place and the caller should rely on that.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2325 70169cfe-8b10-0410-8925-dcb4b91034d8
Address some confusion about the terminating null character on buffer resize.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2324 70169cfe-8b10-0410-8925-dcb4b91034d8
Fix enforcement of read-only attribute in operations on Gwen buffers.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2323 70169cfe-8b10-0410-8925-dcb4b91034d8
Make sure that GWEN_Memory_malloc() never returns NULL.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2322 70169cfe-8b10-0410-8925-dcb4b91034d8
Typemaker2: Improved generating of APIDOC.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2321 70169cfe-8b10-0410-8925-dcb4b91034d8
Added functions GWEN_SyncIo_Helper_PartiallyReadFile() and GWEN_SyncIo_Helper_ReadFile()
Partially or completely reading a file is quite often needed, so we now havefunctions for that in GWEN.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2320 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed the description of GWEN_Text_NumToString() and GWEN_Text_StringToDouble()
Actually, we use the locale "C" for number conversion, so the komma isrepresented as a decimal point ("."), not as a komma.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2319 70169cfe-8b10-0410-8925-dcb4b91034d8
Added functions GWEN_StringListEntry_SetData() and GWEN_StringList_FindStringEntry()
Actually, GWEN_StringListEntry_SetData() already was declared but notimplemented.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2318 70169cfe-8b10-0410-8925-dcb4b91034d8
Typemaker2: Fixed a bug in virtual function creator.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2317 70169cfe-8b10-0410-8925-dcb4b91034d8
Elias Oltmanns: Use the right key size when the modulus of RSA keys is not divisible by 8.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2316 70169cfe-8b10-0410-8925-dcb4b91034d8
Add first initial checking of the "destFolder" argument
The cmdline argument was added in r1684, but never read so far.Even though it is now read for writing the .tm2 files, itis not yet regarded for the actual .h/.c files.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2315 70169cfe-8b10-0410-8925-dcb4b91034d8
Added .gitignore for new parser folder.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2314 70169cfe-8b10-0410-8925-dcb4b91034d8
Simplified code for new parser.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2313 70169cfe-8b10-0410-8925-dcb4b91034d8
Started working on a generic parser.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2312 70169cfe-8b10-0410-8925-dcb4b91034d8
"des_" API is deprecated, changed to "DES_".
Thanks to Henning Brauer from BS Web Services GmbH.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2311 70169cfe-8b10-0410-8925-dcb4b91034d8
Prepared release 4.12.0beta.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2310 70169cfe-8b10-0410-8925-dcb4b91034d8
Added function GWEN_Url_toUiShortString().
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2309 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a bug in quarter year calculations.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2308 70169cfe-8b10-0410-8925-dcb4b91034d8
Prepared release 4.11.1beta.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2307 70169cfe-8b10-0410-8925-dcb4b91034d8
Fix GWEN_FORMAT macro: Empty macro must still consume the arguments, otherwise we get a syntax error.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2306 70169cfe-8b10-0410-8925-dcb4b91034d8
Disable the attribut format for mingw32 build.
This broke the gnucash native mingw32 build, seehttps://github.com/Gnucash/gnucash/commit/4e5e0621322147ff6ada9d72ace36e213dec61c7
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2305 70169cfe-8b10-0410-8925-dcb4b91034d8
Fixed a memory leak.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2304 70169cfe-8b10-0410-8925-dcb4b91034d8
Prepared release 4.11.0beta.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@2303 70169cfe-8b10-0410-8925-dcb4b91034d8
Auch abrufbar als: Atom