paul
|
2fa739f729
compiler: remove unneeded push/pop to symtablestack
|
12 سال پیش |
nickysn
|
6aae88578c
+ getting the address of a label now returns a far pointer in i8086 far code memory models; this fixes the call to fpc_raiseexception in the raise node
|
12 سال پیش |
nickysn
|
fccbbd92b2
* Classes unit functions related to exceptions and stacktraces updated to use CodePointer
|
12 سال پیش |
nickysn
|
5e09b7a56f
* SysUtils functions related to exceptions and stacktraces updated to use CodePointer
|
12 سال پیش |
nickysn
|
5973b231ec
* traisenode.pass_typecheck: in the case of 'raise X at addr,frame' require 'addr' to be a far pointer in i8086 far code memory models
|
12 سال پیش |
nickysn
|
c1b0fb81f1
* updated all the RTL helper functions related to exceptions and stack traces to use codepointer instead of pointer
|
12 سال پیش |
nickysn
|
b688b79a0d
* fixed the order of parameters in the first call to get_caller_frame in PushExceptObject
|
12 سال پیش |
svenbarth
|
fbceb574eb
Fix for Mantis #25041 . Correctly set CurrentThreadVar for those tthread.inc incarnations that don't use the default ThreadProc in classes.inc (this should be changed in the future though...). In addition to Unix systems as described by the bug report this also involved BeOS and Netware LibC.
|
12 سال پیش |
svenbarth
|
900afaddea
This test was clearly intended differently...
|
12 سال پیش |
svenbarth
|
2da06b004e
Added test for Mantis #24458 which was fixed in revision 24628.
|
12 سال پیش |
lacak
|
baa700925c
fcl-db: bufdataset: make TFpcBinaryDatapacketReader more flexible hence descendant can override version preset in constructor and write in old format.
|
12 سال پیش |
nickysn
|
129fddf800
* fixed compilation of unit crt on linux
|
12 سال پیش |
nickysn
|
96c7a9325a
* CrtOpen, CrtClose, CrtRead, CrtWrite and CrtReturn changed to procedures, instead of functions
|
12 سال پیش |
paul
|
5aa919c2a8
compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477)
|
12 سال پیش |
nickysn
|
4d369654e0
* fixed test cg/taddr2.pp for i8086 medium memory model
|
12 سال پیش |
nickysn
|
8608969eb8
* tx86casenode.genjumptable: explicitly emit near pointers in the case jump table on i8086, regardless of the memory model
|
12 سال پیش |
nickysn
|
3bc89a50ed
+ added i8086-specific methods tai_const.Create_sym_near and tai_const.Create_sym_far, which allow creating explicitly a near or far ptr const, regardless of current memory model's defaults
|
12 سال پیش |
nickysn
|
5b9341df76
* fixed compilation of unit keyboard in i8086 medium memory model
|
12 سال پیش |
nickysn
|
a5284881f5
+ support 6-byte records in registers in thlcgcpu.location_force_mem on the i8086; this fixes the handling of methodpointers typecasted to record (TMethod) in medium and compact memory models
|
12 سال پیش |
sergei
|
dac8cbcefc
* Handle assigned(x) expressions entirely in first pass by converting them to "x<>nil", indicate that procedure variables should not be called by setting nf_load_procvar flag (which is already used with typeconvnode for exactly the same purpose). This allows to generate better code when assigned(x) is used on right side of assigments. Mantis #24572.
|
12 سال پیش |
svenbarth
|
4ea89d01ea
Somewhat a fix for Mantis #25025 : added generic variants of the TEnumerable/TEnumerator interfaces. Added to unit ObjPas, because mode ObjFPC does not allow overloading of types with generics (which would be the case in unit System). Also the two interfaces are not completely Delphi compatible on purpose! In Delphi they inherit from corresponding non generic interfaces, but this leads in FPC as well as in Delphi to problems.
|
12 سال پیش |
paul
|
0d8ad2a932
compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030
|
12 سال پیش |
michael
|
1449fbb9ff
* Added Read/Write of int64
|
12 سال پیش |
michael
|
3ffae89e12
* Null stream implementation
|
12 سال پیش |
paul
|
99dadf2998
compiler: allow comparative operators to have result other than Boolean. Reasons:
|
12 سال پیش |
paul
|
93f1ba4493
compiler: don't allow to access an enum members through the enum member. It should be only possible throught the enum type name. Fixes issue #0025029
|
12 سال پیش |
paul
|
9577aa1d0b
packages: fixed syntax error in fpmake.pp
|
12 سال پیش |
nickysn
|
408f53fbda
+ detect whether CGA snow checking is required and initialize the CheckSnow variable accordingly
|
12 سال پیش |
nickysn
|
d2c2193505
+ 83/84-key keyboard support added to unit keyboard for i8086-msdos
|
12 سال پیش |
nickysn
|
034f9c6b71
+ added and implemented unit keyboard for i8086-msdos, based on the go32v2 version of the unit
|
12 سال پیش |