Commit Graph

53692 Commits

Author SHA1 Message Date
pierre
dfcb34aef2 * Ansi2UnicodeMove:
- Avoid calling Utf8ToUnicode with only three parameters,
  as this is not reliable if the ansitring contains embedded #0 chars.
  Use explicit high(SizeUInt) or allocated length explicitly.
  - Change destLen type to SizeUInt.
  * UpperAnsiString, LowerAnsiString:
  Also avoid call to Utf8ToUnicode with only three parameters.
  Change type of slen and ulen local variables to SizeUInt.
  * CompareStrAnsiString:
  Fix sign of return value if l2=0 (was returning negative value)

git-svn-id: trunk@38972 -
2018-05-11 12:12:37 +00:00
Mattias Gaertner
b557bc5627 fcl-passrc: fixed prepending unitpath in error messages
git-svn-id: trunk@38971 -
2018-05-11 11:00:31 +00:00
nickysn
2741a30f20 + added method TOmfSubRecord_LINNUM_MsLink_LineNumberList.Clear
git-svn-id: trunk@38970 -
2018-05-10 14:16:29 +00:00
michael
dcea95d536 * Rework registering system and ReadElement so Barcode/QR classes are read correctly from stream
git-svn-id: trunk@38969 -
2018-05-10 14:11:40 +00:00
nickysn
0b296ac828 * extracted the parts of the TOmfRecord_LINNUM_MsLink class, which implement a
container of TOmfSubRecord_LINNUM_MsLink_Entry objects to a separate class
  TOmfSubRecord_LINNUM_MsLink_LineNumberList

git-svn-id: trunk@38968 -
2018-05-10 13:56:11 +00:00
nickysn
718e83954f * merge duplicate strings in the LNAMES section, when writing OMF object
modules. This results in slightly smaller obj files.

git-svn-id: trunk@38967 -
2018-05-10 13:07:32 +00:00
Mattias Gaertner
200f884024 pas2js: quote debug info filenames
git-svn-id: trunk@38966 -
2018-05-10 10:47:07 +00:00
Mattias Gaertner
69d6e8ac90 pastojs: added option -vv, -va includes -vd
git-svn-id: trunk@38965 -
2018-05-10 09:27:40 +00:00
Mattias Gaertner
e9843bccf0 pastojs: added option -SI<interfacestyel>
git-svn-id: trunk@38964 -
2018-05-10 08:00:33 +00:00
pierre
26cc97745a Fix wrong starting index in CompareStrAnsiString function
git-svn-id: trunk@38963 -
2018-05-09 23:14:45 +00:00
pierre
f28ab34f06 unicodeducet must appear before fpwidestring to set current_collation at startup
git-svn-id: trunk@38962 -
2018-05-09 23:11:48 +00:00
joost
a07fe84667 * Added source-files which were missing in fpmake.pp
git-svn-id: trunk@38961 -
2018-05-09 19:20:46 +00:00
pierre
8911709f36 Correct copy of files to temp directory and removal of temp directory
git-svn-id: trunk@38960 -
2018-05-09 15:17:40 +00:00
nickysn
fc9d331b42 + added classes for reading/writing LINNUM OMF records in the Microsoft LINK
specific format

git-svn-id: trunk@38959 -
2018-05-09 14:55:34 +00:00
Mattias Gaertner
cc7983d781 pastojs: external class field with brackets
git-svn-id: trunk@38958 -
2018-05-09 12:47:17 +00:00
Mattias Gaertner
e283024ad7 pastojs: added option -vz, -ic, -io, -it, fixed -va writing used files, fixed -o. -Jc, -vt now writes used unit scopes
git-svn-id: trunk@38957 -
2018-05-09 08:41:44 +00:00
michael
9d2e5308fb * Introduce route options to select case sensitivity or not. (default not case sensitive)
git-svn-id: trunk@38956 -
2018-05-09 07:25:01 +00:00
michael
c2181a302d * Routing is case insensitive.
git-svn-id: trunk@38955 -
2018-05-09 06:57:32 +00:00
pierre
1a23672e7b Make sure to set alignment of new temp slot to new value
git-svn-id: trunk@38954 -
2018-05-08 21:35:11 +00:00
nickysn
ba2c06a239 + added class for reading/writing LINNUM (line number debug info) records in the
OMF object format

git-svn-id: trunk@38953 -
2018-05-08 16:00:51 +00:00
nickysn
02fb59d3e5 * unified the definition of pushleftright_pocalls on i8086 and i386
git-svn-id: trunk@38952 -
2018-05-08 14:27:36 +00:00
nickysn
1c1cd43178 * update revision.inc
git-svn-id: trunk@38951 -
2018-05-08 12:18:06 +00:00
michael
9183aad3a5 * Fix from Ondrej Pokorny for issue #33711 (wrong mapping of Int64 params)
git-svn-id: trunk@38950 -
2018-05-08 11:43:18 +00:00
michael
fc2516d73f * Patch from Ondrej Pokorny to fix issue #33710 (clear param value when not needed)
git-svn-id: trunk@38949 -
2018-05-08 11:40:59 +00:00
michael
1867f427b9 * Patch from Graeme Geldenhuys to fix compiler hints (bug ID 33708)
git-svn-id: trunk@38948 -
2018-05-08 07:27:05 +00:00
michael
f4d562ba11 * Patch from Graeme Geldenhuys to fix typos (bug ID 33708)
git-svn-id: trunk@38947 -
2018-05-08 07:25:09 +00:00
michael
48f7b40cf4 * Patch from Graeme Geldenhuys to fix bug ID #33356
git-svn-id: trunk@38946 -
2018-05-08 07:23:03 +00:00
svenbarth
a33bf83822 * regenaret msg*.inc after r38941 and r38942
git-svn-id: trunk@38945 -
2018-05-07 19:50:24 +00:00
svenbarth
576a50f690 * print used unit scopes
git-svn-id: trunk@38944 -
2018-05-07 19:48:26 +00:00
svenbarth
295ca4de4b * adjust WritePathList() to work with TCmdStrList instead of TSearchPathList (and rename it accordingly)
git-svn-id: trunk@38943 -
2018-05-07 19:48:23 +00:00
svenbarth
56f36e6509 + add a diagnostic mesage for the used unit scopes
git-svn-id: trunk@38942 -
2018-05-07 19:48:20 +00:00
svenbarth
aa38d6f831 * adjust text for -FN<x> to include both "namespace" and "unit scope"
git-svn-id: trunk@38941 -
2018-05-07 19:48:16 +00:00
Mattias Gaertner
d323bd087e pastojs: added option -FN<x>, marked -NS as obsolete
git-svn-id: trunk@38940 -
2018-05-07 07:17:32 +00:00
svenbarth
11f673a991 * also allow a ";"-separated list of namespaces for -FN
+ added test

git-svn-id: trunk@38939 -
2018-05-06 21:16:51 +00:00
nickysn
d9925f7074 - removed pocall_far16 from the supported calling conventions of the i8086
code generator

git-svn-id: trunk@38938 -
2018-05-06 15:14:40 +00:00
nickysn
eb95dcb85f - removed pocall_mwpascal from the supported calling conventions of the i8086
code generator

git-svn-id: trunk@38937 -
2018-05-06 14:40:08 +00:00
nickysn
4fbc658184 - removed check for system_i386_wince in i8086's cpupara
git-svn-id: trunk@38936 -
2018-05-06 14:30:05 +00:00
nickysn
0a12bc4697 - removed pocall_oldfpccall from the supported calling conventions of the i8086
code generator

git-svn-id: trunk@38935 -
2018-05-06 14:07:31 +00:00
nickysn
55ecc7feff - removed the check for pocall_oldfpccall from ncgutil.gen_save_used_regs and
gen_restore_used_regs. This is now handled by get_saved_registers_int in
  cpupara.

git-svn-id: trunk@38934 -
2018-05-06 12:41:40 +00:00
michael
d37b1b631e * Put elements that are not on any band on a null band
git-svn-id: trunk@38933 -
2018-05-06 10:05:03 +00:00
michael
af938981b3 * Convert barcode (parent needs to be set)
git-svn-id: trunk@38932 -
2018-05-06 09:54:37 +00:00
michael
925f7e7d7c * Convert barcode
git-svn-id: trunk@38931 -
2018-05-06 09:52:26 +00:00
michael
75e4be46f9 * Avoid AV acessing page if band not assigned
git-svn-id: trunk@38930 -
2018-05-06 09:52:10 +00:00
michael
7a3b96c1a5 * Use const for strings in fixupreference
git-svn-id: trunk@38929 -
2018-05-06 09:24:44 +00:00
michael
4296122898 * Fix some warnings and hints
git-svn-id: trunk@38928 -
2018-05-06 09:14:26 +00:00
michael
117f9f2c64 * Some improvements to lazreport converter, add diagnostic output, sample conversion program
git-svn-id: trunk@38927 -
2018-05-06 09:08:32 +00:00
michael
f836094e3d * Avoid XML memleak when an error occurs
git-svn-id: trunk@38926 -
2018-05-05 21:53:13 +00:00
michael
5c6918068e * Add lazreport stream converter, based on version of Christian Ulrich
git-svn-id: trunk@38925 -
2018-05-05 21:46:45 +00:00
michael
ef63bbfbad * Allow loading images from stream
git-svn-id: trunk@38924 -
2018-05-05 21:44:54 +00:00
michael
b169e1bfc3 * Adjust smMaxheight so it also applies when the band height changes.
git-svn-id: trunk@38923 -
2018-05-05 20:04:21 +00:00