Commit Graph

52336 Commits

Author SHA1 Message Date
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
marco
a5487d327f * intmean, patch by Bart. Bug #32661
git-svn-id: trunk@37688 -
2017-12-06 10:30:02 +00:00
maciej-izak
919cc7f307 fcl-res: #0 as terminator is still needed (anyway toread is still needed - for some resource generator this value can be 0 and #0 terminator doesn't exist).
git-svn-id: trunk@37687 -
2017-12-06 10:19:52 +00:00
maciej-izak
d4acc80ba6 fcl-res: "Read version resource" fix. Last #0 char is special and should be excluded (#0 is implicitly added for string), even for toread<>-1 (TVersionResource.ReadWideString). Fix for bug #32603
git-svn-id: trunk@37685 -
2017-12-06 08:46:01 +00:00
florian
4029783abb * forgotten space added
git-svn-id: trunk@37684 -
2017-12-05 21:06:13 +00:00
Mattias Gaertner
2b1630a5dd pastojs: fixed renaming overload of override
git-svn-id: trunk@37683 -
2017-12-05 17:36:49 +00:00
Mattias Gaertner
0bbf072b1a fcl-passrc: added test overload override
git-svn-id: trunk@37682 -
2017-12-05 17:36:28 +00:00
nickysn
3ca4d94226 + also check the heap block ID when freeing a suballocated memory block from the
win16 global heap

git-svn-id: trunk@37681 -
2017-12-05 15:45:30 +00:00
nickysn
e3a1051dfc + check the pointer offset alignment, when freeing a suballocated block from the
win16 global heap manager

git-svn-id: trunk@37680 -
2017-12-05 15:40:06 +00:00
nickysn
68121a7858 * win16 global heap block ID field made a constant
git-svn-id: trunk@37679 -
2017-12-05 15:29:38 +00:00
nickysn
d7b966c7eb * cleared TODO from the win16 global heap, regarding the value of FirstFreeOfs,
when TotalFreeSpaceInBlock becomes 0. There's no new code needed to handle
  this in BP7 compatible way; added comment, which explains why.

git-svn-id: trunk@37678 -
2017-12-05 15:22:50 +00:00
Mattias Gaertner
4e4a4a465b fcl-js: fixed writing brackets around binary B
git-svn-id: trunk@37677 -
2017-12-05 15:22:15 +00:00
michael
5d5e38ec84 * Do not continue if visible=false for elements
git-svn-id: trunk@37676 -
2017-12-05 12:54:59 +00:00
michael
2dfa1254d2 * Refactor expression variables
git-svn-id: trunk@37675 -
2017-12-05 12:50:26 +00:00
Tomas Hajny
9002d22168 * second part of patch by James Richters from bug #32558 - changes in RemapScanCodes in order to comply to the respective Windows API definitions
git-svn-id: trunk@37674 -
2017-12-05 01:02:08 +00:00
Tomas Hajny
8ba90e3d00 * modified version of patch by James Richters from bug #32558 - allow use of OEM coodepage, e.g. to support semigraphic symbols as available in TP/BP
git-svn-id: trunk@37673 -
2017-12-05 01:00:09 +00:00
Tomas Hajny
350b9c0556 * allow using 3.0.2 and 3.0.4 as starting compilers for trunk
git-svn-id: trunk@37672 -
2017-12-05 00:38:11 +00:00
nickysn
03d4b861ed * changed the result of go32.get_segment_base_address to dword, instead of longint
* changed FrameBufferLinearAddress in the go32v2 graph unit to dword, instead of longint

git-svn-id: trunk@37671 -
2017-12-04 15:59:04 +00:00
florian
c08bdf3f85 * patch by Anton Kavalenka: heaptrc prints exe/dll binary name where it is linked, resolves #32707
git-svn-id: trunk@37670 -
2017-12-03 18:07:41 +00:00
nickysn
1c8b607d92 - disable threading on win16
git-svn-id: trunk@37669 -
2017-12-03 15:37:50 +00:00
nickysn
ef6cc202cd * corrected check for f_variants, introduced in r37660 (it was incorrectly
checking for f_threading instead)

git-svn-id: trunk@37668 -
2017-12-03 15:20:45 +00:00
michael
9b219e5a6e * Small refactoring, moving processaggregates to where it belongs
git-svn-id: trunk@37667 -
2017-12-03 11:23:46 +00:00
michael
4467ff81a6 * Second grouping demo, showing fieldkind for user data loop and simple aggregates
git-svn-id: trunk@37666 -
2017-12-03 10:25:05 +00:00
michael
cc08fe73df * Second grouping demo, showing fieldkind for user data loop and simple aggregates
git-svn-id: trunk@37665 -
2017-12-03 10:24:42 +00:00
michael
f0ad28ae4a * Second grouping demo, showing fieldkind for user data loop and simple aggregates
git-svn-id: trunk@37664 -
2017-12-03 10:24:34 +00:00
michael
cec9667eb3 * Refactor band prepare, move element specific stuff to actual elements
git-svn-id: trunk@37663 -
2017-12-03 09:58:58 +00:00
michael
7be8f05079 * Restore handling of simple aggregates in memos
git-svn-id: trunk@37662 -
2017-12-03 09:45:12 +00:00
florian
0b10193660 * use dwarf-3 for avr-embedded by default as it makes the size of DW_FORM_ref_addr target indepented
git-svn-id: trunk@37661 -
2017-12-02 17:37:11 +00:00
florian
0725bfcdf0 * do not generate references to the variant type, if the variants feature is not available
git-svn-id: trunk@37660 -
2017-12-02 17:16:32 +00:00
nickysn
d8b71457f7 + handle more keys in the win16 keyboard unit
git-svn-id: trunk@37659 -
2017-12-02 00:23:02 +00:00
nickysn
0e6bb08efa * fixed the CallVoidLocal, CallPointerLocal, CallVoidMethodLocal and CallPointerMethodLocal
functions on i8086 (parentfp is always word-sized on i8086, regardless of the memory
  model)

git-svn-id: trunk@37658 -
2017-12-01 23:10:13 +00:00