Commit Graph

52293 Commits

Author SHA1 Message Date
Mattias Gaertner
a8f18c29fb fcl-js: test var a=1,b=2,c=3
git-svn-id: trunk@37766 -
2017-12-20 00:32:32 +00:00
Mattias Gaertner
effbafabd2 pas2js: fixed globbing * ignoring . and ..
git-svn-id: trunk@37765 -
2017-12-19 11:46:35 +00:00
svenbarth
88a9d07820 * extend test so that the methods and parameters of interfaces are checked as well
git-svn-id: trunk@37764 -
2017-12-18 21:37:50 +00:00
svenbarth
1ee24374f1 * implement GetDeclaredMethods() for interface types
git-svn-id: trunk@37763 -
2017-12-18 21:30:58 +00:00
svenbarth
16b20911bd + add methods to retrieve an array of methods of a type (both those only declared in the current type as well as all of the type's hierarchy)
git-svn-id: trunk@37762 -
2017-12-18 21:23:01 +00:00
svenbarth
f8c5272b8f + add method to query the method count of an interface
git-svn-id: trunk@37761 -
2017-12-18 21:05:43 +00:00
svenbarth
3e25e153e0 + add implementation class for methods of an interface
git-svn-id: trunk@37760 -
2017-12-18 20:56:02 +00:00
svenbarth
6c02433e1e + add methods to easily access a context token's AddObject() and GetByHandle() methods inside the Rtti unit
git-svn-id: trunk@37759 -
2017-12-18 20:55:21 +00:00
svenbarth
7ad3a0f12c + add implementation class for parameters of methods that belong to a VMT-based type
git-svn-id: trunk@37758 -
2017-12-18 20:42:29 +00:00
svenbarth
68c7308de3 - remove unused variable
git-svn-id: trunk@37757 -
2017-12-18 20:31:26 +00:00
svenbarth
28640ba350 + add base types for the RTTI of methods and parameters
git-svn-id: trunk@37756 -
2017-12-18 20:29:29 +00:00
Károly Balogh
f7478704cb fpmake's -sp shortcut for -skipcrossprograms changed to -scp in r34685 because it overlapped with -sp for searchpath causing havoc in crossbuilds. clean up some accidental leftovers of -sp in ide and utils directory
git-svn-id: trunk@37755 -
2017-12-18 14:48:41 +00:00
Mattias Gaertner
8d36c0d64e pas2js: added -i -iD -iSO -iSP -TO -iTP
git-svn-id: trunk@37754 -
2017-12-18 13:23:46 +00:00
marco
09dd6047f7 * comment spelling fix
git-svn-id: trunk@37753 -
2017-12-17 17:34:03 +00:00
michael
3496256179 * Added library version of pas2js
git-svn-id: trunk@37752 -
2017-12-17 08:27:27 +00:00
michael
3990686be3 * Some fixes for names when installing libraries
git-svn-id: trunk@37751 -
2017-12-17 08:23:43 +00:00
michael
024a92b2da * Support for shared libraries
git-svn-id: trunk@37750 -
2017-12-17 08:12:54 +00:00
michael
8342c502c5 * Initial check-in of pas2js changes
git-svn-id: trunk@37749 -
2017-12-16 15:55:10 +00:00
nickysn
5fd1d28f62 * changed the parameters to SetMouseXRange and SetMouseYRange (used internally
in the msdos mouse unit) to word instead of longint

git-svn-id: trunk@37748 -
2017-12-16 03:09:15 +00:00
nickysn
91a182081f * initialize regs.ax at once, instead of setting regs.ah and regs.al to two
separate constants in the vesamode units of msdos and go32v2

git-svn-id: trunk@37747 -
2017-12-16 02:52:13 +00:00
nickysn
9d4e9dc9c8 + zero out the TVESAInfoBLock structure before doing the VBE get information
call in the msdos vesamode unit

git-svn-id: trunk@37746 -
2017-12-16 02:50:37 +00:00
nickysn
4655e4a424 + ported the 'vesamode' unit to i8086-msdos
git-svn-id: trunk@37745 -
2017-12-16 02:04:49 +00:00
nickysn
aebc0a74f7 + enabled compilation of the 'fv' package for i8086-msdos
git-svn-id: trunk@37744 -
2017-12-16 01:04:15 +00:00
nickysn
a82740d7a7 + implemented the video and mouse units for i8086-msdos
git-svn-id: trunk@37743 -
2017-12-16 00:40:00 +00:00
nickysn
81b56c9d4b * use movedata() in the msdos crt unit
git-svn-id: trunk@37742 -
2017-12-15 21:57:30 +00:00
nickysn
29f307589e + added an i8086-specific procedure MoveData, that allows moving of far data,
regardless of the memory model; procedure interface is the same as a similar
  Turbo C (and DJGPP) function

git-svn-id: trunk@37741 -
2017-12-15 21:47:21 +00:00
Mattias Gaertner
53940cdfb2 pastojs: convert Assigned() to !=null, so that Assigned(undefined) gives false
git-svn-id: trunk@37740 -
2017-12-15 21:36:12 +00:00
nickysn
d8a2285a91 + enabled compilation of unit classes for win16; compiles only in the large
memory model for now (to be fixed later for the other memory models)

git-svn-id: trunk@37739 -
2017-12-15 19:56:30 +00:00
nickysn
572ec3b0d5 + enabled compilation of unit fgl for win16
git-svn-id: trunk@37738 -
2017-12-15 19:33:44 +00:00
nickysn
0b48943a1e + enabled compilation of unit typinfo for win16
git-svn-id: trunk@37737 -
2017-12-15 19:27:55 +00:00
nickysn
532ff65e87 + enabled compilation of unit types for win16
git-svn-id: trunk@37736 -
2017-12-15 17:55:29 +00:00
nickysn
b76bc68214 + enabled compilation of unit math for win16
git-svn-id: trunk@37735 -
2017-12-15 17:20:11 +00:00
nickysn
5409450195 + ported and enabled compilation of unit sysutils for win16
git-svn-id: trunk@37734 -
2017-12-15 16:58:49 +00:00
nickysn
7cc581d4c7 * replaced Intr($21,regs) with MsDos(regs) in the i8086-msdos sysutils unit
git-svn-id: trunk@37733 -
2017-12-15 14:58:26 +00:00
pierre
5780c608be Also generate FPC_HAS_FEATURE_XXX macros for programs, libraries and packages
git-svn-id: trunk@37732 -
2017-12-14 22:53:32 +00:00
marco
c0a6715db2 * fixes to fulltextsearch decoding. From Sergey Bodrov's repo, cleaned and
tested by Werner Pamler. Mantis #32814

git-svn-id: trunk@37731 -
2017-12-14 20:48:36 +00:00
nickysn
0119e7afb3 * changed the codepointer type in the i8086 small and compact memory models from
nearpointer to nearcspointer

git-svn-id: trunk@37730 -
2017-12-14 17:36:15 +00:00
Mattias Gaertner
082c17fd93 pastojs: added test for unit cycle
git-svn-id: trunk@37729 -
2017-12-14 12:33:00 +00:00
Mattias Gaertner
bf874485ae fcl-passrc: resolver/parser: detect unit cycle, stop parsing, continue parsing after used unit interfaces have finished
git-svn-id: trunk@37728 -
2017-12-14 12:32:26 +00:00
nickysn
ae52295232 * fixes for Seg(proc) for i8086
git-svn-id: trunk@37727 -
2017-12-13 16:56:01 +00:00
Mattias Gaertner
cde1941382 fcl-passrc: resolver: fixed not finding indirect units
git-svn-id: trunk@37726 -
2017-12-13 00:03:24 +00:00
svenbarth
0bf71958f2 * ensure that the correct RTTI data is written for "array of const" parameters as well
git-svn-id: trunk@37725 -
2017-12-12 19:55:24 +00:00
svenbarth
afa6d1bdb0 * extend test a little bit to ensure that nested Concat() calls for strings work correctly
git-svn-id: trunk@37724 -
2017-12-12 19:54:38 +00:00
svenbarth
916ff0b92c + extend Concat() with support for dynamic arrays
+ added test

git-svn-id: trunk@37723 -
2017-12-12 19:54:08 +00:00
Mattias Gaertner
24c634d38d pastojs: fixed check alias proc type
git-svn-id: trunk@37722 -
2017-12-12 19:05:41 +00:00
Mattias Gaertner
a423d6be91 fcl-passrc: resolver: emit nMethodHidesMethodOfBaseType only for virtuals
git-svn-id: trunk@37721 -
2017-12-12 13:10:02 +00:00
Mattias Gaertner
87d020c07b fcl-passrc: fixed parsing inherited name as
git-svn-id: trunk@37720 -
2017-12-12 12:45:52 +00:00
Károly Balogh
a3a7285df4 linux: an attempt to clean up and fix syscall calling conventions for ftruncate64, pread64 and pwrite64 on platforms which use aligned register pairs to pass the 64bit parameters
git-svn-id: trunk@37719 -
2017-12-12 02:39:45 +00:00
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