Commit Graph

52219 Commits

Author SHA1 Message Date
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
nickysn
bc8c1ea1bc * fixed get_caller_frame() for win16 (on that platform, bp is incremented by
one, before pushing, to indicate a far call, so it has to be aligned by 2
  again, after reading)

git-svn-id: trunk@37657 -
2017-12-01 23:00:47 +00:00
nickysn
06e025b779 + enable compilation of the free vision package for the win16 target
git-svn-id: trunk@37656 -
2017-12-01 21:04:57 +00:00
nickysn
f6d672d1b5 + fixed compilation of unit outline in the i8086 compact and medium memory models
git-svn-id: trunk@37655 -
2017-12-01 21:04:21 +00:00
nickysn
4d3cf7de6d * fixed compilation of unit views in the i8086 compact and medium memory models
git-svn-id: trunk@37654 -
2017-12-01 20:57:17 +00:00
nickysn
a6c878c256 * fixed compilation of unit drivers in the medium and compact memory models
git-svn-id: trunk@37653 -
2017-12-01 20:50:44 +00:00
nickysn
7af8cb4015 + fixed compilation of unit 'time' on win16
git-svn-id: trunk@37652 -
2017-12-01 20:42:41 +00:00
nickysn
f1b14555b1 + added i8086 memory model defines in free vision's platform.inc
git-svn-id: trunk@37651 -
2017-12-01 20:42:14 +00:00
nickysn
1b14212b47 * fixed compilation of unit 'editors' on i8086
git-svn-id: trunk@37650 -
2017-12-01 20:29:49 +00:00
nickysn
718eb04ef8 * redefine sw_integer and sw_word in unit objects to be 16-bit on i8086, so
that they match BP7 and FPC's FV units

git-svn-id: trunk@37649 -
2017-12-01 20:20:39 +00:00
nickysn
c4e036d647 + compilation of unit 'drivers' fixed for the win16 target
git-svn-id: trunk@37648 -
2017-12-01 19:58:15 +00:00
nickysn
48756d91b7 + win16 support in free vision's platform.inc
git-svn-id: trunk@37647 -
2017-12-01 19:57:44 +00:00
nickysn
2a852a490a + enabled compilation of unit 'objects' on win16
git-svn-id: trunk@37646 -
2017-12-01 19:46:46 +00:00
nickysn
6a1a31f5da + added diagnostic check when GetDC() fails in the win16 video unit
git-svn-id: trunk@37645 -
2017-12-01 17:09:05 +00:00
nickysn
d25c39396c + support the arrow keys and pgup/pgdn/home/end/ins/del keys in the win16
keyboard unit. fpctris is now playable on win16 :)

git-svn-id: trunk@37644 -
2017-12-01 17:07:52 +00:00
nickysn
ac82fc3072 + implemented crt.delay() for win16
git-svn-id: trunk@37643 -
2017-12-01 16:01:39 +00:00
nickysn
b6efaeb8fd * fixed bug in NewHeapBlock, which caused an infinite loop in GetMem, when more
than 2 blocks are needed

git-svn-id: trunk@37642 -
2017-12-01 15:31:06 +00:00
nickysn
ca7da11bb6 * fixed bug in TryBlockGetMem, caused by ambigous variable named 'Size' in with statement
git-svn-id: trunk@37641 -
2017-12-01 15:12:56 +00:00