Commit Graph

47182 Commits

Author SHA1 Message Date
michael
94ff51c67e * Applied patch from Mattias Gaertner, fixing bug ID #28773
git-svn-id: trunk@31942 -
2015-10-04 08:56:45 +00:00
michael
aa3a7b7eb8 * Exit find if not sorted (bug id 28774)
git-svn-id: trunk@31941 -
2015-10-04 08:07:51 +00:00
Tomas Hajny
08817204a8 * updates/fixes by Ondrej Pokorny
git-svn-id: trunk@31940 -
2015-10-03 21:26:39 +00:00
Tomas Hajny
8b522e0ff3 * example for unit advancedipc by Ondrej Pokorny added
git-svn-id: trunk@31939 -
2015-10-03 21:25:53 +00:00
Tomas Hajny
8746c68a29 * hard-coded '*' replaced by reference to AllFilesMask constant
git-svn-id: trunk@31925 -
2015-10-03 17:08:31 +00:00
nickysn
11eb1a4179 + added some i8086 memory model specific defines in strings.inc and
stringss.inc, used by the assembler routines (they are already defined in
  the system unit, but these includes are included in units, other than system)

git-svn-id: trunk@31922 -
2015-10-03 09:30:57 +00:00
nickysn
8cfc0d8881 * fixed i8086 strpcopy after r31915
git-svn-id: trunk@31921 -
2015-10-03 01:18:25 +00:00
Jonas Maebe
95927665ce - removed variable notification support, it's not used and superceded by
DFA

git-svn-id: trunk@31916 -
2015-10-02 17:00:25 +00:00
nickysn
7fb2418287 + added an i8086 asm optimized strpcopy routine
git-svn-id: trunk@31915 -
2015-10-02 16:42:25 +00:00
svenbarth
3afc18f277 Fix for Mantis #28766.
ncgrtti.pas, write_persistent_type_info:
  * do not generate RTTI information for generics

git-svn-id: trunk@31911 -
2015-10-02 13:06:51 +00:00
svenbarth
c25e7491e7 Fix for Mantis #28674.
ptype.pas, resolve_forward_types:
  * fix an access violation in case of inline pointer declarations
  * fix the check whether it's a valid use of a generic (parse_generic is useless here...)

+ added test

git-svn-id: trunk@31910 -
2015-10-02 12:46:13 +00:00
Jonas Maebe
e8f2f23444 * mention support for .rsj extension in help text (based on patch by
Jani Matyas, mantis #28768)

git-svn-id: trunk@31909 -
2015-10-02 08:20:18 +00:00
Jonas Maebe
e0f3296bbb * fixed case of ppuext in r31775, causing the unix unit to be rebuilt all the
time (mantis #28764)

git-svn-id: trunk@31908 -
2015-10-02 05:49:10 +00:00
joost
5f46057eea * Fix for resolving libc-path on non-english Linux
git-svn-id: trunk@31906 -
2015-10-01 20:14:47 +00:00
nickysn
239fc27c38 + implemented sysutils.diskfree and sysutils.disksize for i8086-msdos
git-svn-id: trunk@31905 -
2015-10-01 15:25:13 +00:00
nickysn
12f49eb280 * fixed getting the current locale's ansi upper case table under i8086-msdos
git-svn-id: trunk@31904 -
2015-10-01 15:05:33 +00:00
nickysn
cc448b94ba + added the sysconst and rtlconsts units to the win16 rtl
git-svn-id: trunk@31903 -
2015-10-01 14:04:14 +00:00
nickysn
17951c7bee + added unit iso7185 to the win16 rtl
git-svn-id: trunk@31902 -
2015-10-01 13:23:24 +00:00
nickysn
c9b3279e3c + added unit dynlibs to the win16 rtl
git-svn-id: trunk@31901 -
2015-10-01 13:10:40 +00:00
nickysn
48d9daadb9 + init the dynlibs manager in the win16 system unit startup code
git-svn-id: trunk@31900 -
2015-10-01 12:37:30 +00:00
nickysn
8728cc0238 * updated the source dependencies of the win16 system unit in Makefile.fpc
git-svn-id: trunk@31899 -
2015-10-01 12:33:40 +00:00
joost
79dba1d74d * Fixed resolving files for all targets on creation of a source-archive
git-svn-id: trunk@31895 -
2015-09-30 18:02:46 +00:00
florian
c40240990e * popt386 uses now also all routines of aoptx86
git-svn-id: trunk@31894 -
2015-09-29 19:31:33 +00:00
nickysn
01257267b8 + win16 implementation of a dynlib manager in the system unit
git-svn-id: trunk@31893 -
2015-09-29 16:31:17 +00:00
nickysn
4b61981ad9 * changed the return type of GetProcAddress in the generic dynlibs interface to
FarPointer on i8086

git-svn-id: trunk@31892 -
2015-09-29 16:30:27 +00:00
nickysn
9955597bf1 * use the GetDOSEnvironment win16api function to obtain a pointer to the
environment in the win16 dos unit

git-svn-id: trunk@31891 -
2015-09-29 14:10:58 +00:00
michael
35a46aa5be * Applied patch from Ondrej to bring it in sync with bugreport version
git-svn-id: trunk@31890 -
2015-09-29 13:38:16 +00:00
nickysn
8aa5a6e63b + added a dos unit implementation for win16
git-svn-id: trunk@31889 -
2015-09-29 13:17:55 +00:00
nickysn
7f086bb154 * use a farpointer on i8086 in the getintvec and setintvec generic "do nothing"
implementation to match the interface declaration in dosh.inc

git-svn-id: trunk@31888 -
2015-09-29 13:16:56 +00:00
svenbarth
114dfe41a3 Fix for Mantis #28741.
pexpr.pas:
  * initialize srsym in the classrefdef case; it should not have let to problems, because it's only used if erroroutp1 is false which is only the case if the symbol is assigned, but better save then sorry...

git-svn-id: trunk@31887 -
2015-09-29 12:56:01 +00:00
yury
99615264c5 * typos.
git-svn-id: trunk@31886 -
2015-09-29 12:31:55 +00:00
michael
221ce7a44a * Added AdvandedIPC from Ondrey Pokorny
git-svn-id: trunk@31885 -
2015-09-29 10:48:09 +00:00
Jonas Maebe
2b01a7e2c6 * initialize errorp1 for classrefdef after r31856 (mantis #28741, but this
doesn't fix it as there are more problems)

git-svn-id: trunk@31884 -
2015-09-29 07:59:59 +00:00
Jonas Maebe
e25c5b809e * use cextended instead of clongdouble, so that the tests keeps compiling
for platforms where we don't support the "long double" type

git-svn-id: trunk@31883 -
2015-09-29 07:44:07 +00:00
Jonas Maebe
525685617c * unicode2ascii: give an internalerror when trying to convert to UTF-8, as
this routine does not support this (and isn't/shouldn't be used for that
    purpose in the compiler)

git-svn-id: trunk@31882 -
2015-09-28 22:15:00 +00:00
Jonas Maebe
05bf826342 + support UTF-8 in ascii2unicode(), this fixes the UTF-16 output of
resourcestring data .rsj files in case the source file is interpreted as
    UTF-8. Previously, the individual UTF-8 bytes were each stored in a
    separate widechar in the Json file (mantis #28717)

  * due to the fact that rstconv didn't use the cwstring unit on Unix, rstconv
    until now just concatenated the bytes stored in the widechars of the Json
    file on those platforms, i.e., the strings put in the resource file were
    byte for byte equal to what was in the source file. On Windows, these bytes
    were interpreted as individual widechars, converted to the
    DefaultSystemCodePage and then written. This means that for anything but
    ISO-8859-1 (where every widechar from #0000 to #0255 maps to #0 to #255),
    the output got corrupted.

    In order to keep compatibility with the old behaviour whereby rstconv wrote
    the resource strings using the same encoding as in the source file (except
    if the data got completely corrupted, in which case compatibility is
    useless), we now store all resourcestrings twice in the .rsj file: once as
    the exact byte sequence from the source file, and once (properly) encoded
    in UTF-16.

    By default, rstconv will use the byte string and just write that one to the
    resource file. Additionally, there is a new -p option that accepts a code
    page name (see rstconv -h for the list of supported names), which can be
    used to make rstconv use the UTF-16 version and convert that to the desired
    code page (as long as the system on which rstconv runs supports that
    codepage).

    And this also finally resolves mantis #6477.

git-svn-id: trunk@31881 -
2015-09-28 22:14:56 +00:00
Jonas Maebe
a1ed7cc162 * addending to r31831: disable cs_systemcodepage if the source file code page
is set via an UTF-8 BOM

git-svn-id: trunk@31880 -
2015-09-28 22:14:53 +00:00
Jonas Maebe
0ebee6a825 * enabled assembling via a pipe for clang
git-svn-id: trunk@31879 -
2015-09-28 22:14:50 +00:00
Jonas Maebe
fdf76bc606 * ascii2unicode: consistently use the cp parameter
git-svn-id: trunk@31878 -
2015-09-28 22:14:44 +00:00
blikblum
da66980766 Call inherited method in InternalPost (check for required fields)
git-svn-id: trunk@31877 -
2015-09-28 18:39:00 +00:00
blikblum
d4a8b7881b Use FieldValues in Lookup, allowing to retrieve multiple field values
git-svn-id: trunk@31876 -
2015-09-28 18:38:52 +00:00
svenbarth
e2be6f400f Fix for Mantis #28738.
pexpr.pas:
  * the gettypedef() overload should not have been commented... Note to self: don't test things during commits

git-svn-id: trunk@31875 -
2015-09-28 09:25:07 +00:00
nickysn
5f0905d9c7 - removed unnecessary zero fill of regs in CheckLFN in the win16 system unit
git-svn-id: trunk@31874 -
2015-09-28 00:17:53 +00:00
nickysn
25573b5927 + implemented randomize for win16
git-svn-id: trunk@31873 -
2015-09-28 00:12:59 +00:00
nickysn
2574c6304d + zero seg regs prior to use in the win16 system unit dir functions as well
git-svn-id: trunk@31872 -
2015-09-27 23:57:57 +00:00
nickysn
2f32a7b718 * only clear DS and ES instead of fillchar-ing the whole Registers record in
various places in the win16 rtl where int 21h is called

git-svn-id: trunk@31871 -
2015-09-27 23:52:33 +00:00
nickysn
eaf719a623 * win16 do_open: zero fill regs before attempting to open the file a second time
git-svn-id: trunk@31870 -
2015-09-27 23:42:22 +00:00
nickysn
bed89062d0 + dummy win16 mouse unit implementation
git-svn-id: trunk@31869 -
2015-09-27 23:35:57 +00:00
nickysn
f436987ca4 + implemented keyboard input in the win16 crt unit
git-svn-id: trunk@31868 -
2015-09-27 23:11:47 +00:00
nickysn
80333e8da6 * don't dequeue the key event in SysPollKeyEvent for win16
git-svn-id: trunk@31867 -
2015-09-27 23:00:39 +00:00