Commit Graph

563 Commits

Author SHA1 Message Date
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
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
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
michael
b319315b4c + Fixed all constants so they match compiler defined constants 2000-06-14 08:52:05 +00:00
peter
b4c4d9d1a3 * UniqueAnsiString -> UniqueString for Delphi compatibility 2000-06-11 07:02:30 +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
pierre
72c8dbfa43 * StabOfs for OS2 changed, hopefully correct now 2000-06-05 13:04:11 +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
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
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
b8e6272f62 + Fixed ClassNameIs so it is case insensitive 2000-05-16 08:06:14 +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
peter
2c081cf333 * export function so ppl can use it in their own programs 2000-05-08 13:23:46 +00:00
pierre
3930cc5818 * Use saveregisters for PushExcept.. 2000-05-04 12:25:53 +00:00
pierre
a3434cc825 * fix for bug report 929 2000-04-27 15:35:50 +00:00
peter
ebbf2e578f * backtraces for exceptions are now only generated from the place of the
exception
  * frame is also pushed for exceptions
  * raise statement enhanced with [,<frame>]
2000-04-24 11:11:50 +00:00
pierre
e574245b0e fix for heap problem 2000-04-20 15:29:15 +00:00
pierre
ab1254da22 * disable stack check in lineinfo 2000-04-20 13:03:41 +00:00
Jonas Maebe
b02682c7c5 * fixed registerbgifont (webbug 847) 2000-04-16 08:45:48 +00:00
pierre
f1ab3ebad2 + get longer backtrace when redirected to file 2000-04-14 12:17:12 +00:00
pierre
addf7fc302 * reset funcstab when changing object 2000-04-12 11:15:06 +00:00
pierre
e9f1439f5a + ReturnNilIfGrowHeapFails used in objects unit
to handle TMemoryStream out of memory properly
    as MaxAvail is not a good test anymore.
2000-04-07 21:10:35 +00:00
pierre
062604c406 * fix for extended constants 2000-04-06 11:51:47 +00:00
florian
b8faf9a8a3 * some more procedures can be now hooked by the OS specific implementation 2000-04-02 12:13:36 +00:00
florian
548f14e16d * halt in the finalization statement of a unit lead to an endless loop; fixed 2000-04-02 09:39:25 +00:00
Jonas Maebe
d9c608a373 + $maxfpuregisters 0 for i386 in systemh (to avoid requiring too much
empty FPU registers for sysstem routines
  * fixed bug in str_real when using 0
  * str_real now doesn't call exp() anymore at runtime, so it should
    require less free FPU registers now (and be slightly faster)
2000-03-26 11:36:28 +00:00
florian
fe462795f6 * introduce a DrawBitmapCharHoriz procedure variable to accelerate output on
win32
2000-03-24 18:16:32 +00:00
florian
8a700b7568 * ClearViewPort fixed 2000-03-24 13:01:15 +00:00
Jonas Maebe
17c623dc25 * changed a lot of "if fm.mode = fmClosed then" to case statements,
because if f is not yet initialized, the mode is invalid and can
    contain another value even though the file is closed
  + check if a file is open in writeln_end (caused crash if used on
    not opened files)
2000-03-24 10:26:18 +00:00
pierre
799ed3311f * fix for OS/2 hopefully 2000-03-23 22:00:08 +00:00
Jonas Maebe
7e63fc9d28 * fixed more bugs due to inexact nature of FPU 2000-03-21 12:00:30 +00:00
alex
043d981e00 * added os_types unit 2000-03-20 18:39:13 +00:00
alex
cb860d32dc added central unit for OS dependent types. 2000-03-20 15:50:13 +00:00
Tomas Hajny
a61493db4c + added support for EMX 2000-03-19 18:10:41 +00:00
peter
2d6a92f17e * graph unit include is now independent and the dependent part
is now in graph.pp
  * ggigraph unit for linux added
2000-03-19 11:20:12 +00:00
peter
2a4b2adc65 * strdispose uses freemem(pointer) and resets pointer to nil 2000-03-19 08:40:14 +00:00
peter
9920510f64 * length check for readnumeric 2000-03-19 08:36:41 +00:00
Jonas Maebe
f62ff5df66 * strdispose now uses dispose instead of freemem(strlen()+1) 2000-03-18 15:43:05 +00:00
sg
65506db2eb * Fix for ClearViewportDefault: The width and the height of the rectangle
it filled has been one pixel too high.
2000-03-18 10:45:07 +00:00
Jonas Maebe
49b6de7c9e * fixed declaration of val_int64 (removed destsize parameter)
* fixed val_int64 and val_qword so they reject invalid input
    (u >= base)
  * when reading a number, invalid input is removed from the input
    buffer (+ it should be faster as well)
2000-03-17 21:27:56 +00:00
Jonas Maebe
df004d997b * fixed rounding bugs with certain formatting parameters in str_real
* fixed tbs0218 so it compares both results only until max precision
2000-03-17 20:20:33 +00:00