nickysn
d8a2285a91
+ enabled compilation of unit classes for win16; compiles only in the large
...
memory model for now (to be fixed later for the other memory models)
git-svn-id: trunk@37739 -
2017-12-15 19:56:30 +00:00
nickysn
572ec3b0d5
+ enabled compilation of unit fgl for win16
...
git-svn-id: trunk@37738 -
2017-12-15 19:33:44 +00:00
nickysn
0b48943a1e
+ enabled compilation of unit typinfo for win16
...
git-svn-id: trunk@37737 -
2017-12-15 19:27:55 +00:00
nickysn
532ff65e87
+ enabled compilation of unit types for win16
...
git-svn-id: trunk@37736 -
2017-12-15 17:55:29 +00:00
nickysn
b76bc68214
+ enabled compilation of unit math for win16
...
git-svn-id: trunk@37735 -
2017-12-15 17:20:11 +00:00
nickysn
5409450195
+ ported and enabled compilation of unit sysutils for win16
...
git-svn-id: trunk@37734 -
2017-12-15 16:58:49 +00:00
nickysn
7cc581d4c7
* replaced Intr($21,regs) with MsDos(regs) in the i8086-msdos sysutils unit
...
git-svn-id: trunk@37733 -
2017-12-15 14:58:26 +00:00
pierre
5780c608be
Also generate FPC_HAS_FEATURE_XXX macros for programs, libraries and packages
...
git-svn-id: trunk@37732 -
2017-12-14 22:53:32 +00:00
marco
c0a6715db2
* fixes to fulltextsearch decoding. From Sergey Bodrov's repo, cleaned and
...
tested by Werner Pamler. Mantis #32814
git-svn-id: trunk@37731 -
2017-12-14 20:48:36 +00:00
nickysn
0119e7afb3
* changed the codepointer type in the i8086 small and compact memory models from
...
nearpointer to nearcspointer
git-svn-id: trunk@37730 -
2017-12-14 17:36:15 +00:00
Mattias Gaertner
082c17fd93
pastojs: added test for unit cycle
...
git-svn-id: trunk@37729 -
2017-12-14 12:33:00 +00:00
Mattias Gaertner
bf874485ae
fcl-passrc: resolver/parser: detect unit cycle, stop parsing, continue parsing after used unit interfaces have finished
...
git-svn-id: trunk@37728 -
2017-12-14 12:32:26 +00:00
nickysn
ae52295232
* fixes for Seg(proc) for i8086
...
git-svn-id: trunk@37727 -
2017-12-13 16:56:01 +00:00
Mattias Gaertner
cde1941382
fcl-passrc: resolver: fixed not finding indirect units
...
git-svn-id: trunk@37726 -
2017-12-13 00:03:24 +00:00
svenbarth
0bf71958f2
* ensure that the correct RTTI data is written for "array of const" parameters as well
...
git-svn-id: trunk@37725 -
2017-12-12 19:55:24 +00:00
svenbarth
afa6d1bdb0
* extend test a little bit to ensure that nested Concat() calls for strings work correctly
...
git-svn-id: trunk@37724 -
2017-12-12 19:54:38 +00:00
svenbarth
916ff0b92c
+ extend Concat() with support for dynamic arrays
...
+ added test
git-svn-id: trunk@37723 -
2017-12-12 19:54:08 +00:00
Mattias Gaertner
24c634d38d
pastojs: fixed check alias proc type
...
git-svn-id: trunk@37722 -
2017-12-12 19:05:41 +00:00
Mattias Gaertner
a423d6be91
fcl-passrc: resolver: emit nMethodHidesMethodOfBaseType only for virtuals
...
git-svn-id: trunk@37721 -
2017-12-12 13:10:02 +00:00
Mattias Gaertner
87d020c07b
fcl-passrc: fixed parsing inherited name as
...
git-svn-id: trunk@37720 -
2017-12-12 12:45:52 +00:00
Károly Balogh
a3a7285df4
linux: an attempt to clean up and fix syscall calling conventions for ftruncate64, pread64 and pwrite64 on platforms which use aligned register pairs to pass the 64bit parameters
...
git-svn-id: trunk@37719 -
2017-12-12 02:39:45 +00:00
Károly Balogh
961757934a
linux: removed some old junk which was commented out over a decade ago
...
git-svn-id: trunk@37718 -
2017-12-12 02:24:40 +00:00
Károly Balogh
ee37c507d0
tabs to spaces. no functional changes
...
git-svn-id: trunk@37717 -
2017-12-12 02:03:34 +00:00
marco
073867302b
* patch from Sergey B, cleaned up by WP. Call inherited TCHMSearchWriter.
...
git-svn-id: trunk@37716 -
2017-12-11 21:38:53 +00:00
nickysn
8d18dafe34
* in the i8086 load node, when generating static/global var access to variables
...
in the default data segment, set their treference.segment to NR_DS, in order
to avoid creating redundant segment relocations to the default data segment
(which is a problem with win16 multiple instance applications). Redundant
segment overrides are stripped later anyway, so it doesn't hurt the generated
code.
git-svn-id: trunk@37715 -
2017-12-11 20:06:42 +00:00
marco
b41dafa618
* lowercase extension before comparison
...
git-svn-id: trunk@37714 -
2017-12-11 19:51:24 +00:00
nickysn
04f0029b77
- don't generate addr_seg relocations for the Seg() directive on i8086, if the
...
load node didn't fill the segment value in the treference record; instead,
just use the default segment for the reference
git-svn-id: trunk@37713 -
2017-12-11 17:18:07 +00:00
nickysn
4cdfe1b025
* in the win16 video unit, don't ever try to update the window, after it has
...
received a WM_DESTROY message
git-svn-id: trunk@37712 -
2017-12-11 16:54:32 +00:00
nickysn
0f8c31a374
+ enable smart callbacks in the win16 video unit
...
git-svn-id: trunk@37711 -
2017-12-11 16:36:28 +00:00
nickysn
ed4a5acb31
+ added -Twin16 (the 16-bit windows target) to the i8086 crosscompiler help screen
...
git-svn-id: trunk@37710 -
2017-12-11 14:11:25 +00:00
Tomas Hajny
f4b0a46620
* fix for wrong behaviour of SetSafeCPSwitching
...
git-svn-id: trunk@37709 -
2017-12-10 21:55:19 +00:00
florian
b41cb26727
+ write selected features in ppu of the system unit and load them further on
...
* ppu version update
* -Sf might be used only during system unit compilation
* loadsystemunit factored out so the system unit can be loaded earlier than other units to get features set
git-svn-id: trunk@37708 -
2017-12-10 16:32:56 +00:00
svenbarth
c07e723d37
+ add some Delphi-compatible type kind aliases
...
git-svn-id: trunk@37707 -
2017-12-09 16:18:19 +00:00
svenbarth
c15bcc693d
* also check the base types of interfaces
...
git-svn-id: trunk@37706 -
2017-12-08 23:01:25 +00:00
svenbarth
b1029a218a
* also implement TRttiType's GetBaseType in TRttiInterfaceType
...
git-svn-id: trunk@37705 -
2017-12-08 22:58:58 +00:00
svenbarth
1cb4514526
+ add support for interface types (both reference counted and raw ones)
...
git-svn-id: trunk@37704 -
2017-12-08 22:52:26 +00:00
nickysn
794ac7d332
+ implemented dos.exec() for win16
...
git-svn-id: trunk@37703 -
2017-12-08 17:40:07 +00:00
Károly Balogh
0d15323c29
also add solaris-sparc64 to ppudump, fix build breakage after r37701
...
git-svn-id: trunk@37702 -
2017-12-08 17:16:32 +00:00
pierre
ce13d8a698
Fix fullcycle on x86_64-solaris machine by adding system_sparc64_solaris system constant
...
git-svn-id: trunk@37701 -
2017-12-08 16:53:37 +00:00
svenbarth
0954572af9
* only check result if the call itself succeeded (e.g. didn't fail due to the invoke manager not supporting the calling convention)
...
git-svn-id: trunk@37700 -
2017-12-08 14:56:48 +00:00
nickysn
eaf878e106
- removed commented out code for keep() from the win16 dos unit, since keep()
...
and TSRs aren't supported for win16 applications
git-svn-id: trunk@37699 -
2017-12-07 17:33:06 +00:00
nickysn
0fced4fdf9
+ implemented GetIntVec and SetIntVec for win16
...
git-svn-id: trunk@37698 -
2017-12-07 17:29:40 +00:00
nickysn
9e6209db3a
* fixed compilation of win16 in medium memory model
...
git-svn-id: trunk@37697 -
2017-12-07 17:29:06 +00:00
nickysn
08062a2eb4
* fixed ParamStr(0) for the win16 target
...
* fixed ParamStr and ParamCount in objfpc mode
git-svn-id: trunk@37696 -
2017-12-07 16:27:48 +00:00
pierre
901f7ba81c
handle system_i386_netbsd for default_target_set
...
git-svn-id: trunk@37695 -
2017-12-07 16:27:26 +00:00
Mattias Gaertner
41586014b2
pastojs: test high(),length() of const array
...
git-svn-id: trunk@37694 -
2017-12-06 19:04:30 +00:00
Mattias Gaertner
bfcda2af79
fcl-passrc: resolver: length(simple const array)
...
git-svn-id: trunk@37693 -
2017-12-06 19:03:50 +00:00
nickysn
6337ae7530
+ implemented MaxAvail for the win16 local heap as well
...
git-svn-id: trunk@37692 -
2017-12-06 15:58:02 +00:00
nickysn
46db6a6174
+ implemented MemAvail and MaxAvail for the win16 global heap
...
git-svn-id: trunk@37691 -
2017-12-06 15:05:37 +00:00
marco
52f81da69c
* some aliases for newer delphi versions, patch by Silvio.
...
utf8char, putf8char and marshal*
git-svn-id: trunk@37689 -
2017-12-06 10:49:35 +00:00