Commit Graph

1278 Commits

Author SHA1 Message Date
michael
d525b426d8 fixed Formaterror, added missing raise 1999-08-25 13:13:58 +00:00
michael
5c3df528ab * changed resourcestrings to new mechanism 1999-08-24 22:42:56 +00:00
peter
7b01515f82 * Removeline fixed 1999-08-24 13:15:44 +00:00
peter
2adb97a929 * disposestr allocstr compatible with delphi 1999-08-24 13:14:50 +00:00
peter
98fb19f0b0 * fixed DeleteFile() 1999-08-24 13:14:28 +00:00
michael
9a440f2721 + Changed external var for resourcestrings 1999-08-24 12:02:29 +00:00
michael
e999954220 + Fixed setfilepos and openfile 1999-08-24 08:44:43 +00:00
michael
d3d9e234bd + reverted to previous heap 1999-08-20 13:26:20 +00:00
michael
eb5bc7aff7 + Fixed memory leak 1999-08-20 10:50:55 +00:00
michael
50ae4cf315 + Patch for heap allocation from Florian 1999-08-20 10:31:17 +00:00
michael
452213952b * Fixed freemem bug; reported by Sebastian Guenther 1999-08-19 19:52:26 +00:00
pierre
d63e0e23e8 * use sysgetmem for startup and debug allocations 1999-08-19 14:03:16 +00:00
pierre
89279cc0f0 * bug in country info code fixed 1999-08-19 14:00:08 +00:00
pierre
7efee9b639 * changes for fail support 1999-08-19 12:50:08 +00:00
peter
4557f11bac * settextbuf size is now longint 1999-08-19 11:16:13 +00:00
peter
8da59d4757 * objfpc mode for 0.99.12 1999-08-18 12:03:16 +00:00
michael
b52b8d7d34 * Fixed reallocmem bug #535 1999-08-18 11:28:24 +00:00
pierre
a0e69fbd00 + VMT reset to -1 if getmem called, neede for fail 1999-08-18 10:43:31 +00:00
pierre
e33295ceb0 * loading of esp value corrected 1999-08-18 10:42:13 +00:00
michael
2a03e0ab6c * Fixed bug #533, in findmatch 1999-08-18 08:38:42 +00:00
michael
0988042528 Removed the mode for objpas 1999-08-17 14:56:03 +00:00
peter
b29395f75e * fixed newstr/disposestr 1999-08-16 22:38:53 +00:00
michael
1ebb362a0d + Pass hash also for speed reasons. 1999-08-15 21:28:57 +00:00
michael
77f10694a1 + Changed resource string mechanism to use names. 1999-08-15 21:02:56 +00:00
michael
2a851006a5 + Delphi-style getmem and freemem 1999-08-15 18:56:13 +00:00
peter
83567b0795 * fsearch checks first if the specified file exists and returns that
if it was found
1999-08-13 21:23:15 +00:00
peter
1644842941 * dependencies for crt fixed 1999-08-13 15:36:38 +00:00
michael
9160bc7ca5 Fixed win32finddata size; searchrec.excludeattr was overwritten. 1999-08-12 09:24:14 +00:00
peter
ec88b5888d * removed old integer versions of localtoepoch and epochtolocal, you
need to use the word versions instead else you got an overloaded bug
1999-08-11 22:02:25 +00:00
peter
edd62da064 * fixed formatdatetime('c',...)
* fixed strtodate
  * dateencode/decode is now delphi compatible
1999-08-11 21:53:04 +00:00
Tomas Hajny
b52543426b * PM samples 1999-08-10 14:33:51 +00:00
Tomas Hajny
796eb74580 * compatibility updates 1999-08-10 14:20:52 +00:00
Tomas Hajny
c22c7ffa66 * corrected characters >127 broken by DBCS editor 1999-08-10 14:18:40 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +00:00
daniel
7b5b7f9b11 * Bug fix in Tfilefindbuf 1999-08-07 11:44:19 +00:00
michael
7cc244b309 * Patch from Sebastian Guenther 1999-08-06 13:21:40 +00:00
peter
c5faa84f92 * saveregister is now working and used for assert and iocheck (which has
been moved to system.inc because it's now system independent)
1999-08-05 23:45:09 +00:00
Tomas Hajny
46b6598b8c * 'solution' for a compiler problem 1999-08-05 07:37:27 +00:00
Tomas Hajny
fd8a4f6827 * merging changes by RB and DM :-( 1999-08-04 15:51:05 +00:00
michael
acb80bde47 * moved gettext to fcl 1999-08-04 11:30:05 +00:00
michael
8e54ea14a0 * moved to fcl, since it needs classes 1999-08-04 11:28:11 +00:00
peter
a4b08bdef9 * small speed improvements 1999-08-03 21:58:44 +00:00
peter
f3079dff58 + more types
+ objpas unit
1999-08-03 20:25:40 +00:00
florian
f429eb7622 * initial revision 1999-08-03 16:12:57 +00:00
florian
b032977c3b * typo fixed 1999-08-02 21:59:10 +00:00
florian
465e3f2bb1 * initial release 1999-08-02 21:58:45 +00:00
florian
c5ec9f220b *** empty log message *** 1999-08-02 21:57:51 +00:00
florian
4caefb23ce * initial revision 1999-08-02 21:54:37 +00:00
Jonas Maebe
bee7f62011 * removed and/or/xorput support from vesaputpix256 (not in TP either)
* added notput support to directputpix256
1999-08-01 14:51:07 +00:00
Jonas Maebe
51cc22f9c6 * fixed hline16 and vline16 for notput (also TP supports copy, and, or, xor and
notput for lines!!)
  * fixed directputpixel16 to support all the different put types
1999-08-01 14:50:51 +00:00
michael
ebf75d6d04 + FCNTL patch from Sebastian Guenther 1999-07-31 23:55:04 +00:00
michael
344a35fec1 Object finalization data fixed 1999-07-31 22:27:28 +00:00
michael
56215a0b16 + Yet more Fixes to assignstream with rerouting of stderr 1999-07-29 16:33:24 +00:00
michael
636cb90714 + Fixes to assignstream with rerouting of stderr, by Sebastian Guenther 1999-07-29 15:55:54 +00:00
michael
caa6ed2597 + Added assignstream with rerouting of stderr, by Sebastian Guenther 1999-07-29 15:53:55 +00:00
peter
00359789cd * shared lib units fixed 1999-07-29 01:39:09 +00:00
peter
f434ea3131 * closedir fixes, which now disposes the pdir itself 1999-07-28 23:18:35 +00:00
michael
cb52b0ac0a * forgot ; 1999-07-28 17:37:06 +00:00
peter
00c8bda3b2 * fixed assert() to push/pop registers 1999-07-28 12:58:22 +00:00
michael
9ef6024cda * Memory leak fixed in CloseDir, by Sebastian Guenther 1999-07-28 12:15:16 +00:00
michael
8beed6a350 * Memory leak fixed in CloseDir, by Sebastian Guenther 1999-07-28 12:14:37 +00:00
peter
0c5da5b022 + filerec,textrec declarations 1999-07-27 13:01:12 +00:00
florian
95b0c00463 * catch doesn't call popaddrstack anymore, this is done now by the compiler 1999-07-27 08:14:15 +00:00
florian
7d90aed73f * reraise doesn't call popaddrstack anymode 1999-07-26 12:11:28 +00:00
florian
b7a267613b + write helper routine for in64 implemented 1999-07-26 09:43:24 +00:00
florian
49f7b705a6 * bar: y2 can be less y1, fixed
* settextstyle: charsize can be 0, must be changed into 1
1999-07-26 09:38:41 +00:00
michael
4c2cc46a25 + Initial implementation from Sebastian Guenther 1999-07-25 16:23:31 +00:00
peter
190df10130 * fixed encode/decode date/time 1999-07-24 11:21:14 +00:00
peter
6fe4c6e7d4 * fixed getfattr which didn't reset doserror 1999-07-24 11:18:11 +00:00
peter
ea34cb18fa * array[cardinal] is buggy, use array[word]
* small fix in getresourcestring
1999-07-23 23:13:54 +00:00
michael
f2243fa982 * Added HasResourceStrings check 1999-07-23 22:51:11 +00:00
michael
1035a30a91 + Implemented resource stuff 1999-07-22 20:30:13 +00:00
michael
7c95eb4053 + Small fix from Michael Baikov in setup_params 1999-07-19 07:57:49 +00:00
michael
d47e0e0e11 + Fixed bug in format, reported by Romio Pedchecko 1999-07-18 17:27:28 +00:00
Jonas Maebe
c023f717f1 + xor-, and and- orput support for VESA256 modes
* compile with -dlogging if you wnt some info to be logged to grlog.txt
1999-07-18 15:07:19 +00:00
michael
8b4062e37e + Added ansistring version of shell() 1999-07-15 20:00:31 +00:00
florian
ddf0f0389b * cosmetic changes 1999-07-14 18:18:02 +00:00
florian
0014fa54a3 * HLine16 and VLine16 implemented 1999-07-14 18:16:23 +00:00
Jonas Maebe
a1e0551898 * fixed initialization of bankshift var ('64 shr banshift' instead of shl) 1999-07-14 15:21:49 +00:00
florian
7821e9580a * small VGA detection problem solved 1999-07-14 14:32:12 +00:00
Jonas Maebe
3f127e3afc * bugfix in getmodeinfo (SizeOf(TModeInfo) -> SizeOf(TVESAModeInfo))
* as the result of the above bugfix, the graph unit doesn't crash
    anymore under FPC if compiler with -dsupportVESA, but it doesn't
    work yet either...
1999-07-14 13:17:29 +00:00
michael
727d5d3100 * faster En/Decodedate routines from Frank Reichert
* Fixed FormatDateTime with short/longtimeformat.
1999-07-14 08:47:54 +00:00
florian
45233bf8bb * some fixes (KEY_EVENT_STRUCT was wrong) 1999-07-14 08:46:26 +00:00
Jonas Maebe
d6f11f2061 * fixed procvar syntax error and ceil and floor functions 1999-07-12 14:52:52 +00:00
Jonas Maebe
8c70a5f38a * forgot log tag in previous commit 1999-07-12 13:28:33 +00:00
Jonas Maebe
d045295cd4 + added Log and Id tags
* added first FPC support, only VGA works to some extend for now
  * use -dasmgraph to use assembler routines, otherwise Pascal
    equivalents are used
  * use -dsupportVESA to support VESA (crashes under FPC for now)
  * only dispose vesainfo at closegrph if a vesa card was detected
  * changed int32 to longint (int32 is not declared under FPC)
  * changed the declaration of almost every procedure in graph.inc to
    "far;" becquse otherwise you can't assign them to procvars under TP
    real mode (but unexplainable "data segnment too large" errors prevent
    it from working under real mode anyway)
1999-07-12 13:27:06 +00:00
michael
244f38f14a + Adaptes Dispatch(STr) to cope with empty/non-existent message tables 1999-07-11 14:10:48 +00:00
michael
47fca5d07f + Added 1999-07-11 14:05:50 +00:00
pierre
3e20cee9c7 merged from fixes branch 1999-07-10 23:17:15 +00:00
peter
16a296c90a * merged 1999-07-10 10:33:50 +00:00
michael
b4a3ab20ec Fix in HKEY_DYN_DATA 1999-07-09 21:12:23 +00:00
michael
32e36bc10b + + heaptrc now uses finalize instead of exitproc 1999-07-09 10:38:10 +00:00
peter
55f2e55333 * merged 1999-07-09 10:06:34 +00:00
michael
6a6ff18554 + Freed exception classes in finalization code 1999-07-08 19:32:36 +00:00
michael
d753055cfe * Now ansistring of arbitrary length can be read 1999-07-08 15:18:14 +00:00
michael
8d19cb94db + Small edit in paramstr 1999-07-07 10:04:43 +00:00
michael
74c446f9f3 + Paramstr now returns cmdline args >255 chars in ansistring objpas.pp 1999-07-07 10:04:04 +00:00
michael
5dd3badc3e Better construction of commandline argv 1999-07-07 09:43:16 +00:00
florian
42780da22f + implemented a paramstr function which returns an ansistring, nevertheless
it is limited to 255 chars because it maps to the system.paramstr, maybe
    we should use cmdline instead
1999-07-06 22:44:22 +00:00
florian
f3ab1ad437 * some fixes to compile ddraw units from the jedi project 1999-07-06 22:44:09 +00:00
peter
aedeaf9b7e * removed temp defines 1999-07-06 15:35:59 +00:00
peter
82c6138188 * removed temp defines 1999-07-06 10:53:52 +00:00
peter
b4a852e74b * merged 1999-07-05 20:22:08 +00:00
peter
ebd738f2f5 * removed temp defines 1999-07-05 20:04:21 +00:00
florian
6ae5a15b57 * some more functions fixed to get them work 1999-07-05 14:47:42 +00:00
michael
b3a81afd51 + Fixed declarations of chars to pchars 1999-07-05 14:01:40 +00:00
florian
f29122d706 + str routines added 1999-07-04 16:34:45 +00:00
michael
06c7d3233f + Fixed Connect call 1999-07-03 15:16:45 +00:00
florian
b49d48c4e0 * int_new_class returned with zero flag=1, if at the entrance eax was zero
and newinstance wasn't called, fixed
1999-07-03 09:03:47 +00:00
peter
a3bcef25cc * $ifdef int64 1999-07-03 01:24:19 +00:00
florian
01aceb4f07 + qword/int64: lo/hi/swap 1999-07-02 18:06:40 +00:00
florian
5ba784880e + added some runtime->excpetin wrappers: eintoverflow, eoverflow, eunderflow, einvalidop 1999-07-02 17:03:22 +00:00
florian
9540e26f9f * multiplication overflow checking fixed 1999-07-02 17:01:29 +00:00
peter
6d3f27253d + gpm unit 1999-07-01 19:39:42 +00:00
florian
404cffaad4 + qword/int64 type released 1999-07-01 15:39:50 +00:00
florian
aaef13ac01 + fpuint64 to system unit interface added: if it is true, the rtl
uses the fpu to do int64 operations, if possible
1999-06-30 22:17:22 +00:00
florian
02b83c15a5 * qword div/mod fixed
+ int64 mod/div/* fully implemented
  * int_str(qword) fixed
  + dummies for read/write(qword)
1999-06-30 22:12:40 +00:00
peter
b76ae32223 * merged 1999-06-30 15:44:26 +00:00
michael
17c05e64c3 + Fixed PServEnt 1999-06-30 07:50:39 +00:00
florian
e0e9f4481e * fixed qword division 1999-06-28 22:25:25 +00:00
michael
6a15aaffb9 + Updated to Florians system independent sockets unit 1999-06-27 16:04:25 +00:00
carl
cedb198a59 * Bugfix of palette setting under VESA (Thanks Tom) 1999-06-26 02:34:07 +00:00
carl
c3929d7354 + Hardware pages 1999-06-26 02:33:33 +00:00
carl
88c2f7a274 + Hardware pages for VESA modes 1999-06-26 02:33:16 +00:00
carl
2b0159828c + Added support for hardware paging
* Bugfix of palrec under FPC
1999-06-26 02:32:30 +00:00
pierre
3d445a8421 * qword one was wrong ! 1999-06-25 12:24:44 +00:00
florian
eed51e6bd5 * minor typos in winsock.pp fixed
+ makefile for sockets.pp updated
1999-06-21 12:41:33 +00:00
florian
eea0e30b06 + initial revision, derieved from the linux version 1999-06-21 12:40:48 +00:00
florian
46b98b77f1 + files created by splitting the linux sockets unit 1999-06-21 12:26:27 +00:00
michael
aae9265b5c Implemented strtofloat 1999-06-19 07:39:43 +00:00
florian
e6da269609 * changes for the winsock unit 1999-06-18 13:59:49 +00:00
florian
e8172b7192 + initial revision, should be completly compatible with the delphi
winsock unit
1999-06-18 13:58:59 +00:00
Tomas Hajny
3864bcaf25 * 'cardinal=longint' removed 1999-06-15 13:11:23 +00:00
peter
03e6ec96c5 * merged 1999-06-14 17:47:45 +00:00
peter
ec0a511cfa * merged 1999-06-14 00:43:35 +00:00
michael
3c33678c4e + Fixed paramstr(0) 1999-06-11 16:26:40 +00:00
daniel
4674146d94 * Layout and copyright updates. 1999-06-11 13:16:19 +00:00
peter
dc8c1c62bd * random doesn't rte 200 with random(0) 1999-06-11 11:47:00 +00:00
peter
e5ba3f9d49 * last fixes for 0.99.12 release 1999-06-10 15:02:08 +00:00
peter
e1b6682670 * small ansistring fixes
* val_ansistr_sint destsize changed to longint
  * don't write low/hi ascii with -al
1999-06-09 23:00:11 +00:00
peter
78aebb31d3 * fixed fullwin,textbackground 1999-06-09 16:46:08 +00:00
michael
7626d18762 + Beter return values for connect and accept 1999-06-08 18:35:24 +00:00
michael
84476f7771 + Fixes for connect calls 1999-06-08 18:19:24 +00:00
michael
c8b95531b3 + completed (hopefully) Fix by stian (my_wave@ypsilonia.net) 1999-06-08 16:08:33 +00:00
michael
1bd6ade6d2 + Fix by stian (my_wave@ypsilonia.net) 1999-06-08 16:05:08 +00:00
michael
f627b90eaa Copy checks index now for negative values. 1999-06-05 20:48:56 +00:00
michael
7ed5f5cc10 + Final fixes: RightStr 1999-06-05 20:47:03 +00:00
michael
2ffca0ba47 + AbstractErro should call HandleError, not runerror. 1999-06-05 20:45:12 +00:00
michael
fe46d024db * Fix by Sebastian Guenther. 1999-06-04 12:48:37 +00:00
Jonas Maebe
54e89e660d * Ceil and Floor are now really fixed :) 1999-06-04 08:44:34 +00:00
Jonas Maebe
efb2475890 * fixed ceil function 1999-06-03 16:22:57 +00:00
Jonas Maebe
ffd5f2618d * fixed floor function 1999-06-03 13:37:30 +00:00
peter
67eb0c83da * first things for sharedlib to work again 1999-06-03 09:36:31 +00:00
Tomas Hajny
395ddade10 * changes by Ramon Bosque 1999-06-02 16:01:29 +00:00
florian
7f33063179 * multiplication fixed 1999-06-02 10:13:16 +00:00
carl
a4c889ced7 + up to SetUserCharSize added. 1999-06-02 01:50:53 +00:00
peter
7458f82e60 * renamed delete -> service_delete 1999-06-01 19:23:11 +00:00
peter
f7812b9f34 * fixes to work with the new makefile
* os2 compiles now correct under linux
1999-06-01 13:23:07 +00:00
pierre
13b4e5f347 * added $define FPC_SYSTEM_HAS_... for use with generic.inc 1999-05-31 22:03:37 +00:00
pierre
9a21e0d1e2 + generic.inc added 1999-05-31 21:59:58 +00:00
peter
3db89ed4f1 * removed warnings 1999-05-31 20:50:44 +00:00
peter
157011cc0a * fixed decr_ansistr which didn't set s to nil 1999-05-31 20:37:39 +00:00
peter
e161a3e489 * growing is now 256k or 1mb 1999-05-31 20:36:34 +00:00
peter
03535bc427 * smaller sptr function 1999-05-31 12:49:19 +00:00
carl
b0bdd46ee1 * Bugfixes for RegisterBGIFont which can be called BEFORE
InitGraph.
1999-05-30 23:07:59 +00:00
carl
dcc1d5f92b * RegisterBGIFont would not return a FONT number! 1999-05-30 23:07:14 +00:00
carl
a998ce5455 - I have no idea :(... 1999-05-30 23:06:04 +00:00
carl
a890a867af + ImageSize() to Sector() documentation reviewed and updated. 1999-05-30 23:04:50 +00:00
peter
db1f0403f4 * clone function like the libc version
+ sigraise, exitprocess
1999-05-30 11:37:27 +00:00
michael
0e29b158e6 + Small fix. Delete not recognised without system in front of it ? 1999-05-30 07:53:15 +00:00
michael
a51e21da0f * too may fixes to list 1999-05-28 20:08:20 +00:00
peter
1cdd3f5bf1 * ipc unit can be compiled with 0.99.10 again 1999-05-28 11:28:30 +00:00
peter
f62a47d3cd * moved fpc_version check so it works correct 1999-05-28 11:21:06 +00:00
peter
3f95d8ac14 * log inserted 1999-05-27 21:38:31 +00:00
carl
1bca153f22 * getVESAInfo (real mode) would always return TRUE, this would crash
windowed VESA modes.
  * getVESAInfo (protected mode) would still continue on with
      setting up the VESA structure, even if VESA was not
      detected!
1999-05-27 01:15:42 +00:00
michael
e451211716 + PSemid_ds fixed 1999-05-26 13:20:00 +00:00
michael
7548fe8c26 * fcntl needs file as Var argument 1999-05-26 11:05:24 +00:00
florian
7e183613ef * some bugs removed 1999-05-25 20:36:41 +00:00
carl
7fc8c21520 + Reference for routines: Arc through ImageSize
+ Introduction
1999-05-24 13:48:14 +00:00
carl
672beecbc7 + x86 DOS routines (NOT PART OF OFFICIAL FPC RTL! Test only) 1999-05-24 13:47:22 +00:00
carl
5fbeb2c6dc + VESA support (NOT PART OF FPC RTL - test file only!) 1999-05-24 13:46:37 +00:00
carl
26445ed1ce + TEST FILE!!! NOT OFFICIALLY PART OF FPC!
(Implements DPMI server real mode interrupt)
1999-05-24 13:45:53 +00:00
carl
3ff2cdf4a9 + Added some color constants
+ Added DirectColor support
1999-05-24 13:44:59 +00:00
carl
1f74328581 + Added checking and exit when in DirectColor mode 1999-05-24 13:44:20 +00:00
carl
0b1a558a5a + Added DirectColor support 1999-05-24 13:43:50 +00:00
florian
15c8428f64 * fixed a couple of syntax errors 1999-05-24 08:43:46 +00:00
florian
d2b5850095 + routines for qword div and mod 1999-05-23 20:27:27 +00:00
pierre
f664777328 * support for heap allocated before TraceGetMem is used in
FPC_CHECKPOINTER
  * faster CHECKPOINTER routine (list of valid blocks only !)
1999-05-23 00:07:17 +00:00
carl
695a38934e + Default RGB color tables
* NOTE: The palette routine currently do not work in 24 bpp and
    32 bpp modes, and there is currently NO error checking for that!
1999-05-22 21:29:18 +00:00
carl
66da57e934 * EGAxxxx color constants
+ SetRGBPalette, GetRGBPalette
1999-05-22 17:13:46 +00:00
carl
a4d8838546 + SetAllPalette
+ SetPalette
  + GetPalette
  + GetDefaultPalette
1999-05-22 17:11:50 +00:00
carl
bd452e05a9 + Added SetRGBPalette
+ Added GetRGBPalette
1999-05-22 17:10:40 +00:00
peter
803a987e17 * more fixed from Maarten Bekkers 1999-05-22 14:01:01 +00:00
pierre
7de70e2804 * closes all handles >+ 5 1999-05-19 16:54:21 +00:00
peter
26284d4013 * fixed left crt bugs 1999-05-19 16:22:02 +00:00
peter
f3f2a33a2a * fixed dispatchstr 1999-05-19 13:20:09 +00:00
peter
425a9f41dd + objpas 1999-05-19 13:19:54 +00:00
florian
b5e9c9c73f * the set/get procedures must be called with call %edi instead call (%edi)
* handling of extended and string properties fixed
1999-05-19 12:03:23 +00:00
peter
3bb12ce5aa * remove utils 1999-05-19 10:59:48 +00:00
pierre
28c391a3a2 * allow for .bss section below heaporg in go32v2 code 1999-05-18 22:15:55 +00:00