Commit Graph

52245 Commits

Author SHA1 Message Date
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
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