Commit Graph

1983 Commits

Author SHA1 Message Date
peter
8b38902424 * exampleinstall target added 2000-07-01 23:03:18 +00:00
Jonas Maebe
964dd80cda * fixed reading past end-of-heap again (correctly this time I hope) 2000-07-01 10:52:12 +00:00
peter
98ec034eb2 * fixed truncate 2000-06-30 22:16:19 +00:00
peter
60f4bd98bf * removed unused var 2000-06-30 22:14:44 +00:00
peter
2e22b30f16 * removed obsolete crtlib code
* support EINTR for read/write to restart the syscall
2000-06-30 22:14:03 +00:00
Jonas Maebe
d0b7a84ef6 * strpas is again slightly slower, but won't crash anymore if a pchar
is passed to it that starts less than 4 bbytes from the heap end
2000-06-30 12:20:20 +00:00
Jonas Maebe
bfe30b974e * some optimizations suggested by Anton Rang in c.s.powerpc.misc 2000-06-30 10:32:43 +00:00
sg
e9d1212ea8 * Implemented TObject.FieldAddress 2000-06-29 16:32:50 +00:00
sg
d43360d5d6 * Bugfix for SetAStrProp (reference counter hasn't been increased)
* Implemented GetInt64Prop
2000-06-29 08:47:13 +00:00
Jonas Maebe
fdd1947370 * optimized several routines
+ implemented do_contains_sets
2000-06-29 08:42:03 +00:00
michael
8321fe29ab + Added ddecallack 2000-06-29 06:46:37 +00:00
Jonas Maebe
131fbc03c5 * inital version, everything not yet implemented 2000-06-28 13:43:29 +00:00
Jonas Maebe
8d2b35c5ef * released -dnewmodes 2000-06-27 13:37:04 +00:00
Jonas Maebe
900642bee9 * disabled libvga_imagesizeproc() because currently the default
getimage and putimage are used (so the default imagesize should
    be used too)
2000-06-25 13:38:30 +00:00
Jonas Maebe
71184303bd * setviewport was sometimes called with parameters from the previous
active mode, either directly from setgraphmode or from
    setbkcolor
2000-06-23 19:56:37 +00:00
Jonas Maebe
9aae9228e2 * fixed bug in strscan :( 2000-06-23 11:13:56 +00:00
peter
618dd3c91c * added tkint64,tkqword constants 2000-06-22 20:04:07 +00:00
peter
2260192c30 * qword,int64 rtti support basics 2000-06-22 20:02:51 +00:00
peter
aae7c24beb * moved islibrary,isconsole,ismulithread to systemh as they are
os independent
2000-06-22 18:39:14 +00:00
peter
6f23dbf6c6 * removed unused vars 2000-06-22 18:37:49 +00:00
peter
57c538267c * removed notes 2000-06-22 18:36:18 +00:00
michael
bc8a454afd + Modifications for exception support in sysutils. Mainly added
RaiseList function.
2000-06-22 18:05:56 +00:00
michael
b5ed343973 + Added ExceptObject, ExceptAddr,ExceptionErrorMessage
ShowException Abort; OutOfMemoryError; Beep;
2000-06-22 18:05:18 +00:00
Tomas Hajny
36216f2411 - useless - empty 2000-06-22 17:55:35 +00:00
Tomas Hajny
7b61aebb59 - useless - empty 2000-06-22 17:28:40 +00:00
Tomas Hajny
330e155c08 * cardinal redefinition removed 2000-06-22 17:26:16 +00:00
Tomas Hajny
6454e6d7d9 - useless now 2000-06-22 17:17:32 +00:00
Tomas Hajny
e926a64732 * translated to English 2000-06-22 17:13:11 +00:00
Tomas Hajny
022512a61d - doesn't work as it is 2000-06-22 17:00:04 +00:00
sg
5dbe89f57e * Fixed a small typo in my previous update 2000-06-22 15:31:09 +00:00
sg
d6ec03b275 * Added prototypes for GetInt64Prop and SetInt64Prop
* Added constants "BooleanIdents" and "DotSep"
2000-06-22 15:29:31 +00:00
pierre
9fd7ba963e * no bufpos reset on flush for fminput 2000-06-21 22:27:50 +00:00
pierre
989024b293 * use ioctlsocket in fdRead 2000-06-21 22:26:47 +00:00
pierre
4fa1eae43b * link smart and FIXXX const corrected 2000-06-21 22:26:08 +00:00
pierre
c518e56b09 * wrong overloads removed 2000-06-20 10:09:21 +00:00
Jonas Maebe
532a344a09 * crtread didn't set f.bufpos back to 0, so it failed if that wasn't
already the case on entry
  * crtread now makes sure it doesn't try to read mode characters than
    what fits in the read buffer
2000-06-20 08:52:16 +00:00
michael
9fee5cffce + Corrected GetSocketOptions 2000-06-19 13:31:46 +00:00
Jonas Maebe
206ea5435c * fixed newHighMode constant 2000-06-19 08:57:52 +00:00
carl
35c60dfa09 + added modes for Atari/Amiga and bit depth also 2000-06-19 01:18:49 +00:00
carl
4f6d5d6715 * bugfix of comments with tp.
+ Added Amiga/Atari graphics modes
2000-06-19 01:18:19 +00:00
peter
d87a8dd637 * detectmode between ifdef 2000-06-18 18:41:18 +00:00
Tomas Hajny
bc08a4e2bd * cdecl added 2000-06-18 18:37:17 +00:00
Tomas Hajny
298925a7f5 * necessary $I- added 2000-06-18 18:34:28 +00:00
peter
5efba7fdae * fixed decodetime which used trunc instead of round 2000-06-18 18:02:54 +00:00
Jonas Maebe
c0910ded8c * changed maxint -> maxsmallint (range error because of objpas mod
somewhere)
2000-06-18 14:59:39 +00:00
Jonas Maebe
2d01b922b6 * release memory of newmodeinfo in graphexitproc 2000-06-18 08:11:53 +00:00
Jonas Maebe
6cb27b64e6 + added missing detectMode stuff for -dnewmodes 2000-06-18 06:11:20 +00:00
Jonas Maebe
27186c9639 * new platform independent mode handling (between -dnewmodes) 2000-06-17 19:09:22 +00:00
sg
c5885249c7 * Added serial unit 2000-06-17 11:36:21 +00:00
sg
77a54d08b3 * First public version 2000-06-17 11:35:03 +00:00
sg
9475e81082 * The string translation is now deactivated by default on all platforms. 2000-06-17 11:16:07 +00:00
sg
de9fead4bd * The text functions can now convert the character sets of the given
strings. By default, for GO32V2 there is no conversion, and for all
  other platforms the strings are converted from ANSI to DOS-ASCII.
2000-06-16 17:06:08 +00:00
pierre
bf1989d01d * string line problems fixed 2000-06-16 14:30:16 +00:00
pierre
d91b15f817 * GetFullPathName was wrong 2000-06-16 13:35:07 +00:00
pierre
54e0870303 * fix for bug #969: missing DDE functions 2000-06-15 19:56:12 +00:00
pierre
92fd826876 * avoid lines longer than 255 chars
+ add smartlink on by default, if not version 0.99.14
  * some functions not present in win95 DLL's are now only inserted if
    smartlink is on.
2000-06-15 11:26:57 +00:00
michael
5910806f36 Corrected TGpmEvent 2000-06-15 06:17:35 +00:00
peter
04f409f667 * removed more var stuff which is now in redef 2000-06-14 19:24:58 +00:00
michael
b319315b4c + Fixed all constants so they match compiler defined constants 2000-06-14 08:52:05 +00:00
Jonas Maebe
771e0b2ed3 * newly generated from makefile.fpc 2000-06-13 13:58:34 +00:00
peter
11b7cb5637 * removed some declares which don't exists in dll 2000-06-12 19:54:25 +00:00
peter
91592c2c11 * change .align to .balign 2000-06-12 19:53:32 +00:00
Tomas Hajny
3f72e6ea7d * little mistyping in SetFileSize 2000-06-12 17:26:29 +00:00
Jonas Maebe
e714b0e188 * fixed typo :( 2000-06-12 13:17:56 +00:00
Jonas Maebe
93f4c7a312 * new fixed and faster strpas (previous version only returned the first
254 chars when the pchar was aligned on a 4 byte boundary and was >=
    255 chars)
2000-06-12 08:33:26 +00:00
Jonas Maebe
9cf6b9f89d * much faster strcopy and strscan procedures 2000-06-11 14:25:23 +00:00
Tomas Hajny
f0f4a1d74e * error handling and sharing corrected 2000-06-11 09:47:57 +00:00
peter
41fce946a7 + TSysCharSet 2000-06-11 07:07:23 +00:00
peter
3faa571532 * Windows unit has now more Delphi compatibile functions
* placed the external functions only in the interface
2000-06-11 07:04:58 +00:00
peter
b4c4d9d1a3 * UniqueAnsiString -> UniqueString for Delphi compatibility 2000-06-11 07:02:30 +00:00
Jonas Maebe
2689404afd * fixed web bug #983 (array name wasn't skipped in add/decref) 2000-06-07 08:55:30 +00:00
Jonas Maebe
c246def634 * always set SetupLinear to false at the start of the routine (there
were some "exit" statements which returned without the function
    result being set otherwise)
2000-06-07 07:41:44 +00:00
Jonas Maebe
7a5240c730 * calling a graph function when initgraph is not yet called now prints
a nice error message instead of giving a Run Time Error
2000-06-07 07:33:42 +00:00
Tomas Hajny
786681b1c6 * moving file ptr to the end in SetFileSize 2000-06-06 17:10:36 +00:00
Jonas Maebe
26a4cac9e9 * fixed linefeed problem with new crtread (I wrote #13 instead of #10 to
the screen, causing the cursor to jump to the start of the current
    line instead of to the next line)
2000-06-06 13:51:18 +00:00
sg
ab65042172 * Implemented "Sound" and "NoSound". Please notice that these normally only
work on Linux textmode console, as the sound is created using special
  Linux terminal IOCTLs.
2000-06-06 08:22:41 +00:00
Tomas Hajny
1809cb033f * handle number check added to FileClose 2000-06-05 18:57:38 +00:00
Tomas Hajny
aa7e3215ee * another SetFileSize correction 2000-06-05 18:55:54 +00:00
Tomas Hajny
85c76dc528 * FileHandleCount handling for OS/2 added 2000-06-05 18:53:30 +00:00
Tomas Hajny
0baf0745bc * SetDate, SetTime corrected 2000-06-05 18:50:55 +00:00
pierre
72c8dbfa43 * StabOfs for OS2 changed, hopefully correct now 2000-06-05 13:04:11 +00:00
Jonas Maebe
1c09fb3848 * in readkey, check if keypresses are waiting using sysKeyPressed instead
of simply checking if there are keys left in the ttyRecvChar buffer
  * CrtRead supports the backspace key when reading from a TTY.
    NOTE: you have to use ReadKey or ttyRecvChar in crtRead, because it's
    possible that when CrtRead starts, there are already keys waiting in
    the ttyRecvChar buffer which would be missed using an fdRead!
2000-06-05 08:35:28 +00:00
pierre
26e15a2e1d * some typo corrected ! 2000-06-05 06:20:44 +00:00
Tomas Hajny
a05ba0f12a * another bunch of corrections 2000-06-04 15:04:22 +00:00
Tomas Hajny
34b92b0d17 * asmmode fixed 2000-06-04 14:23:18 +00:00
Tomas Hajny
d475c74187 * FileSeek parameter name changed 2000-06-04 14:22:26 +00:00
Tomas Hajny
4de16b7014 * minor corrections 2000-06-04 14:22:02 +00:00
Tomas Hajny
86db440f1f * FileGetDate returns -1 on error, FileSeek parameter name changed 2000-06-04 14:19:04 +00:00
Tomas Hajny
d73a838c21 * SetFileSize fixed 2000-06-04 14:17:28 +00:00
Tomas Hajny
a1064939f4 * parameter name change in FileSeek 2000-06-04 14:16:54 +00:00
Tomas Hajny
89a79fa97b * FileHandleCount decreased upon unsuccessful increase attempt 2000-06-04 14:14:10 +00:00
Tomas Hajny
a1838b09bb * do_truncate corrected, do_open might work under W9x now 2000-06-04 14:14:01 +00:00
Jonas Maebe
8a114ce37e * fixed webbug 978 2000-06-04 13:49:57 +00:00
peter
d16e01cee8 * regenerated for libfullname 2000-06-02 20:12:42 +00:00
marco
9a4a837f04 * added some constants for getsocketoptions under a linux define.
Allows server example to work ok.
2000-06-02 17:30:43 +00:00
Tomas Hajny
9b8162972f * warning about SetDate added (TODO) 2000-06-01 18:38:46 +00:00
Tomas Hajny
8a68f96c56 * FileGetDate added 2000-06-01 18:36:50 +00:00
peter
b76e3e3e91 * library support including symlink of .so to .so.1.0 2000-06-01 12:35:03 +00:00
marco
03209882e6 * fixed in line 164 pointer(@buf) to buf 2000-05-30 06:45:53 +00:00
Jonas Maebe
3cd25fef47 * fixed compiling problem with formal expression passed as var
parameter
2000-05-30 04:41:05 +00:00
Tomas Hajny
37099d2db7 * FindClose implemented 2000-05-29 17:59:58 +00:00
Jonas Maebe
17c2136ba6 * should compile again 2000-05-29 05:32:50 +00:00
Tomas Hajny
307b889df8 * disk.inc status updated 2000-05-28 18:26:15 +00:00
Tomas Hajny
0f01fb7669 + implementation started 2000-05-28 18:22:58 +00:00
Tomas Hajny
b9c2b5a177 + initial implementation 2000-05-28 18:21:51 +00:00
Tomas Hajny
bbba28c00e * DiskFree/DiskSize updated 2000-05-28 18:20:16 +00:00
Tomas Hajny
70c2d1a1de do_isdevice corrected 2000-05-28 18:17:39 +00:00
Tomas Hajny
6b3d1072db + several units added 2000-05-28 08:47:09 +00:00
Tomas Hajny
8115723000 * FPK changed to FPC 2000-05-28 08:43:35 +00:00
peter
8e4522215a * smart,shared lib including for rpm/deb 2000-05-26 20:50:09 +00:00
peter
8dfc3a564d * fixed @ with var parameters 2000-05-26 18:21:04 +00:00
marco
f210e534e1 * added getlongname and getshortname 2000-05-26 12:03:13 +00:00
michael
a63c76249a + Linux unit also depends on linsysca file now. 2000-05-25 20:00:41 +00:00
michael
75d0a262a9 + Added munmap call 2000-05-25 19:59:57 +00:00
pierre
1f20a7e947 + DdeFreeStringHandle was missing 2000-05-25 12:57:22 +00:00
pierre
2f715a886a * disable check in Exit and Error code 2000-05-23 20:35:41 +00:00
pierre
ed2dab7b31 * avoid problems with Range Check 2000-05-23 20:34:26 +00:00
Jonas Maebe
d75d13eda1 * CloseSock is now a dummy (it called system.close, but this doesn't
make any sense since itself can only be called by system.close) This
    caused an endless loop with my last changes where the mode of a
    textrec is set to fmClosed only after the closeFunc() has been called.
2000-05-22 12:38:51 +00:00
michael
dd08c958b6 + AssignStream now always returns PID of spawned process 2000-05-21 17:10:13 +00:00
Tomas Hajny
8b07877e8a + FSearch and Find* reworked 2000-05-21 16:06:38 +00:00
Tomas Hajny
0cbc7b98ad + FileNameCaseSensitive added 2000-05-21 15:58:50 +00:00
Tomas Hajny
be82426e89 * int64 result for Disk* functions 2000-05-21 15:55:11 +00:00
Tomas Hajny
8891ba1be0 * Keyboard API status updated 2000-05-21 15:53:53 +00:00
pierre
f86765618d * avoid some Range Check errors 2000-05-19 13:20:37 +00:00
michael
72076e2e89 + Added more open constants from kernel sources 2000-05-18 20:06:31 +00:00
peter
bb008db4bc * use freemem without size 2000-05-18 17:04:48 +00:00
peter
0194d7a616 * fixed reallocmem with double removing from heap_mem_root list
* fixed reallocmem getmem/freemem count, now both are increased and
    the _size8 counts are also increased
2000-05-18 17:03:27 +00:00
michael
edd14ed266 + GetPropInfo now case insensitive 2000-05-18 09:42:17 +00:00
pierre
f4e01e9524 * Added default error value to GetInoOutRes function 2000-05-18 07:18:28 +00:00
pierre
ccba0443c7 * avoid FPU exception on startup if no coprocessor and loaded from another DPMI program 2000-05-18 06:40:52 +00:00
peter
1c327a3453 * fixed libname to include .so.1.0 2000-05-17 18:31:35 +00:00
peter
a98554df02 * added sigaction record from signal.inc 2000-05-17 17:11:44 +00:00
peter
d8925d6fcd * fixed string length 2000-05-17 17:11:16 +00:00
marco
ae061a565a * JCL alias for getstringsexa 2000-05-17 11:01:55 +00:00
marco
0611a7bbc2 * JCL alias 2000-05-17 11:00:29 +00:00
michael
b8e6272f62 + Fixed ClassNameIs so it is case insensitive 2000-05-16 08:06:14 +00:00
peter
01e98ff122 * int64 support for diskfree,disksize 2000-05-15 19:28:41 +00:00
florian
a319c0e73c * TVarRec with Int64/QWord stuff extended 2000-05-14 18:47:53 +00:00
florian
53b5415c5e * TVarRec with In64/QWord stuff extended 2000-05-14 18:46:54 +00:00
Jonas Maebe
0250b1238a * set some more procedures back to the defaults when using linear
VESA modes because they only work for windowed VESA modes
2000-05-13 14:08:42 +00:00
Jonas Maebe
b23035b4df * fixed bug in setvgargbpalette (now you can again pass values in the
range 0..255 instead of 0..63)
2000-05-12 08:52:09 +00:00
peter
d3da3ecba4 * changed order of fpustate checking to first check the more
specific states
2000-05-11 17:55:13 +00:00
Tomas Hajny
836b894ef9 * DosGetInfoBlocks updated again 2000-05-09 17:29:52 +00:00
pierre
bf20aa47d9 * fix ingnored assembler error in IndexDWord 2000-05-09 06:21:58 +00:00
Jonas Maebe
4d520d5b93 * fixed bug in getscanline16 (affects floodfil and getimage under VGA
640x480x16 (VGA/VGAHI)
2000-05-09 04:23:11 +00:00
sg
0f23f58148 * Changed CompareMem to CompareMemRange and added new (Delphi compatible)
CompareMem. (CompareMem needs a Boolean as result type, not Integer)
2000-05-08 17:03:02 +00:00
peter
e54b99663e * released newsignal
* newsignal gives now better backtraces using the sigcontext eip/ebp
    fields
2000-05-08 14:27:36 +00:00
peter
839699930b * vtchar support for %s
* define debug -> define fmtdebug
2000-05-08 13:26:42 +00:00
peter
cc216749d8 * defined filemode constants in windows unit 2000-05-08 13:25:34 +00:00
peter
a20f357c8f * removed hardcoded limit of 80 width 2000-05-08 13:24:27 +00:00