Commit Graph

46790 Commits

Author SHA1 Message Date
nickysn
e5153db532 + added the win16api drawing functions
git-svn-id: trunk@31621 -
2015-09-12 15:47:23 +00:00
nickysn
48a28c1256 + added the win16api clipping support functions
git-svn-id: trunk@31620 -
2015-09-12 14:33:27 +00:00
nickysn
5900db62ce + added the win16api palette functions
git-svn-id: trunk@31619 -
2015-09-12 14:05:38 +00:00
nickysn
df0ae96738 + added the win16api gdi region support functions
git-svn-id: trunk@31618 -
2015-09-12 13:13:07 +00:00
nickysn
5738869120 + added the win16api brush gdi functions
git-svn-id: trunk@31617 -
2015-09-12 12:46:45 +00:00
nickysn
c0a63ea0ab + added the win16api pen support functions
git-svn-id: trunk@31616 -
2015-09-12 12:27:54 +00:00
nickysn
1181eb0ddb * fixed compilation of the compiler with -dEXTDEBUG after r31588
git-svn-id: trunk@31615 -
2015-09-12 11:55:54 +00:00
nickysn
3a8acd3f33 + initial implementation of win16 file support, based on the msdos rtl
git-svn-id: trunk@31614 -
2015-09-12 00:17:11 +00:00
nickysn
d579c45656 * pass the option "dosseg" to wlink when compiling for win16 to ensure the
proper segment ordering

git-svn-id: trunk@31613 -
2015-09-12 00:08:23 +00:00
nickysn
04cb0cf615 + check for LFN support at startup on win16
git-svn-id: trunk@31612 -
2015-09-11 22:03:50 +00:00
nickysn
181ee0b4d2 + init exceptions and the unicode string manager in the win16 system unit startup
git-svn-id: trunk@31611 -
2015-09-11 21:54:40 +00:00
nickysn
9997ee54fb + initialize IsConsole and IsLibrary in the win16 system unit startup code
git-svn-id: trunk@31610 -
2015-09-11 21:48:20 +00:00
nickysn
694d93d011 + ported the MsDos() routine from the msdos rtl to win16
git-svn-id: trunk@31609 -
2015-09-11 21:29:45 +00:00
florian
fbda104d54 * do not use a_call_ref for procedures allocating all registers since it break spilling, see also issue #28639, resolves issue #28639
git-svn-id: trunk@31608 -
2015-09-11 20:56:05 +00:00
marcus
8096ad3d1b Amiga, AROS, MorphOS: MUI/Zune corrections, Escape sequences, Macros
git-svn-id: trunk@31607 -
2015-09-11 20:50:42 +00:00
marcus
5e94e3ab9e Amiga, AROS, MorphOS: Overloads for some var parameter/pointer as return value functions, set all filehandle, locks to BPTR (as defined in the SDKs)
git-svn-id: trunk@31606 -
2015-09-11 20:17:51 +00:00
nickysn
182dffcbd8 * fixed i8086 compilation after r31593
git-svn-id: trunk@31605 -
2015-09-11 16:20:50 +00:00
nickysn
f3a4d00a9e + added the gdi object support win16api functions
git-svn-id: trunk@31604 -
2015-09-11 15:56:41 +00:00
svenbarth
2cf8cdd885 Fix for Mantis #28650.
rtl/objpas/sysutils/sysstrh.inc:
  * forward PString to ObjPas.PString to avoid potential type conflicts

+ added test

git-svn-id: trunk@31603 -
2015-09-11 15:38:59 +00:00
nickysn
c65af63459 + added the win16api color functions
git-svn-id: trunk@31602 -
2015-09-11 15:33:09 +00:00
svenbarth
00f776ef76 pgenutil.pas, parse_generic_specialization_types_internal:
* in case of an inline specialization inside a generic function's/method's parameter list using type parameters of the generic function/method itself fulltypename of the generic type parameter must not be used as the procdef is not yet owned by anyone; this is no problem for non-generic functions/methods or specializations with type parameters that don't belong to the generic function/method, because they don't have the generic, ownerless procdef as owner => use a name that provides sufficient uniqueness

git-svn-id: trunk@31601 -
2015-09-11 15:18:44 +00:00
marcus
5a77040787 AROS, Amiga: Exec.library AllocMem renamed to ExecAllocMem (unification with MorphOS)
git-svn-id: trunk@31600 -
2015-09-11 15:08:31 +00:00
nickysn
c9a1ee5c8f + added the win16api coordinate transformation functions
git-svn-id: trunk@31599 -
2015-09-11 15:00:07 +00:00
nickysn
b8846771bf + added the win16api getdevicecaps function and its constants
git-svn-id: trunk@31596 -
2015-09-11 14:14:20 +00:00
svenbarth
6eef28fd03 pdecsub.pas, proc_add_definition:
* special handling for matching generic procdefs with their forward declarations

git-svn-id: trunk@31595 -
2015-09-11 14:13:54 +00:00
svenbarth
8fbd57080b defcmp.pas, compare_paras:
+ new flag cpo_generic to allow a declaration of a generic function in the interface to be matched to its implementation as for each new undefined defs for the type parameters will be created

git-svn-id: trunk@31594 -
2015-09-11 13:42:51 +00:00
svenbarth
65c37df999 + extend tprocdef with the possiblity to create it as unregistered
* for now all procdefs are created as registered
Note: an additional parameter instead of an overload is used for tprocdef.create as otherwise both constructors would need to be overridden in potential descendant CPU-specific classes...

git-svn-id: trunk@31593 -
2015-09-11 13:36:00 +00:00
svenbarth
84b9d9839c + extend tobjectdef with the possiblity to create it as unregistered
* for now all objectdefs are created as registered
Note: an additional parameter instead of an overload is used for tobjectdef.create as otherwise both constructors would need to be overridden in potential descendant CPU-specific classes...

git-svn-id: trunk@31592 -
2015-09-11 13:28:49 +00:00
svenbarth
d45c275ef3 + extend ttypesym with the possiblity to create it as unregistered
* for now all typesyms are created as registered
Note: an additional parameter instead of an overload is used for ttypesym.create as otherwise both constructors would need to be overridden in potential descendant CPU-specific classes...

git-svn-id: trunk@31591 -
2015-09-11 13:22:12 +00:00
nickysn
6bac838fce + added the win16api basic gdi types
git-svn-id: trunk@31590 -
2015-09-11 13:10:36 +00:00
svenbarth
6fb71e55fd symtable.pas, tparasymtable:
* checkduplicate: also ensure that the owner of the procdef is assigned before using it

git-svn-id: trunk@31589 -
2015-09-11 13:09:17 +00:00
svenbarth
4f5fc66298 + new parser-only node class to handle Delphi-mode inline specializations
git-svn-id: trunk@31588 -
2015-09-11 12:58:25 +00:00
nickysn
09a4efe5d3 + added the win16api keyboard functions
git-svn-id: trunk@31587 -
2015-09-11 12:47:09 +00:00
nickysn
afcc5a9e11 + added the win16api string functions
git-svn-id: trunk@31586 -
2015-09-11 12:38:01 +00:00
nickysn
6567700025 + added the win.ini win16api functions
git-svn-id: trunk@31585 -
2015-09-11 12:00:36 +00:00
nickysn
f4b4cced38 + added the win16 api atom management functions
git-svn-id: trunk@31584 -
2015-09-11 11:47:57 +00:00
sergei
e542800ea9 * Win64 SEH: Track control flow out of unwind-protected regions in a more precise way and don't generate expensive calls to __fpc_local_unwind when not necessary.
git-svn-id: trunk@31582 -
2015-09-09 18:43:46 +00:00
nickysn
5f3c45d370 + added the win16 api resource functions
git-svn-id: trunk@31581 -
2015-09-09 00:35:45 +00:00
nickysn
386c459534 + converted the win16 network api functions
git-svn-id: trunk@31580 -
2015-09-08 22:42:46 +00:00
nickysn
024ebb287e + implemented set_jmp and long_jmp on win16 via the Catch and Throw winapi
functions, which provide the same functionality, but are safe to use in all
  windows modes (e.g. they include the magic for handling jumps to discarded
  or moved code segments in real mode)

git-svn-id: trunk@31579 -
2015-09-08 16:03:50 +00:00
nickysn
600d2cfbc6 + implemented a win16 heap manager for the near data memory models using the
windows local heap

git-svn-id: trunk@31578 -
2015-09-08 14:22:16 +00:00
nickysn
a9069dc16d - removed some debug and commented out code from the win16 system unit
git-svn-id: trunk@31577 -
2015-09-07 22:28:42 +00:00
nickysn
e323a08b20 + also write the omf special segment attributes in the nasm writer for the win16 target
+ enabled the internal omf obj writer for the win16 target

git-svn-id: trunk@31576 -
2015-09-07 22:26:14 +00:00
nickysn
1344d391d3 * use call instead of jmp to PASCALMAIN, because it sets up a stack frame and
all stack frames must be preceded with a valid return address in win16

git-svn-id: trunk@31575 -
2015-09-07 22:12:43 +00:00
Jeppe Johansen
3cb9be73bc Moved tcontrollerdatatype out into cpuinfo.
Added cputype and fputype info to tcontrollerdatatype arrays.

git-svn-id: trunk@31574 -
2015-09-07 20:36:54 +00:00
Jeppe Johansen
53fd543440 Fix fillchar for >ARMv3
git-svn-id: trunk@31573 -
2015-09-07 20:25:03 +00:00
florian
4d349c9c71 * take care of limited offsets of stf/ldf, resolves issue #23620
git-svn-id: trunk@31572 -
2015-09-07 20:14:27 +00:00
florian
a645de74d7 * fix warning
git-svn-id: trunk@31571 -
2015-09-07 20:06:07 +00:00
nickysn
253793ab9d + added the 'farprocspushoddbp' target switch to the help screen
git-svn-id: trunk@31570 -
2015-09-07 19:23:25 +00:00
nickysn
bdfd23cc2e + new target switch "FarProcsPushOddBP", which causes the i8086 compiler to push
odd values of BP if the procedure is far. Enabled this by default for Win16.

git-svn-id: trunk@31569 -
2015-09-07 19:05:18 +00:00