Commit Graph

52207 Commits

Author SHA1 Message Date
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
nickysn
ea8fc43f52 * free the old block in win16 global heap reallocmem
git-svn-id: trunk@37639 -
2017-12-01 14:51:50 +00:00
nickysn
d3d60568e7 * fix invalid pointer access in the handling of WM_PAINT before InitVideo has
allocated videobuf in the win16 video unit

git-svn-id: trunk@37638 -
2017-12-01 14:35:50 +00:00
nickysn
87846323c2 + destroy the win16 video unit window in DoneVideo
git-svn-id: trunk@37637 -
2017-12-01 13:59:46 +00:00
nickysn
163ee92ef5 * handle gracefully freeing a subblock that is located at the end of its block
(with no free space after it) in the win16 global heap manager

git-svn-id: trunk@37636 -
2017-12-01 13:39:20 +00:00
nickysn
87d5cc014f * merge with both the previous and next adjacent free blocks in the win16 global
heap manager, when freeing a block, adjacent to free space on both sizes

git-svn-id: trunk@37635 -
2017-12-01 13:32:10 +00:00
nickysn
6228fc2748 + initial implementation of a win16 global heap manager that does support suballocation for small blocks
git-svn-id: trunk@37634 -
2017-11-30 17:54:20 +00:00
marco
2cf1d1d51d * enhmetafileproc/enummetafileproc fix. Reported by Oleg, mantis #32751
git-svn-id: trunk@37633 -
2017-11-29 10:13:34 +00:00
joost
19db86cafa * Fixed mem-leak in TWebHandler
git-svn-id: trunk@37632 -
2017-11-28 17:27:45 +00:00
nickysn
7763942907 * fixed the 'Unsupported fixup location type' error messages in the MZ internal
linker

git-svn-id: trunk@37631 -
2017-11-28 02:29:28 +00:00
nickysn
07c18c8689 * fixed snapshot building of win16-i8086 in the medium memory model, via the use of FarAddr()
git-svn-id: trunk@37630 -
2017-11-28 00:03:19 +00:00
nickysn
b571f48735 * fixed the return type of FarAddr(), so that it is assignment compatible to
typed far pointers as well

git-svn-id: trunk@37629 -
2017-11-27 19:42:36 +00:00
nickysn
78e0f6c68b + added an i8086-specific FarAddr() function, similar to Addr(), but always
returns a far pointer, regardless of the current memory model

git-svn-id: trunk@37628 -
2017-11-27 16:41:48 +00:00