Commit Graph

734 Commits

Author SHA1 Message Date
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
sg
1ce21b9e8e * Use linux unit under Linux 2000-03-17 13:28:54 +00:00
michael
54f9bbd99b + Added constants and types for Delphi compatibility 2000-03-14 10:20:18 +00:00
pierre
dafcbea824 + HandleErrorAddrFrame 2000-03-14 07:31:57 +00:00
peter
11d7a573df * concat free blocks in main freelist 2000-03-13 21:22:28 +00:00
pierre
4bbbb33cf1 * small fixes 2000-03-10 13:45:31 +00:00
pierre
6d213ac89b * avoid problems if sbrk returns negative values 2000-03-10 12:41:21 +00:00
Jonas Maebe
4cb3f54367 * writemode was not set to normalput during clearviewport (and it uses hline) 2000-03-08 14:20:14 +00:00
daniel
c711189ead + Added is_object method to Tobject. It is similar to the is operator. 2000-03-06 20:15:32 +00:00
Jonas Maebe
02ec1d0d3b * fixed rounding problem when writing out single/double type vars 2000-03-05 09:41:05 +00:00
Jonas Maebe
c535d675f5 * sign was not written in some cases 2000-03-02 07:35:57 +00:00
peter
66ea55dd7c * removed warnings/notes 2000-02-27 14:40:40 +00:00
Jonas Maebe
51bbb51a06 * fix for lost precision because sometimes the correction value was
larger than the number to be corrected
  * incompatibility with TP's output fixed
2000-02-26 18:53:11 +00:00
Jonas Maebe
0b02714817 + new str_real which is completely TP compatible regarding output
format and which should have no rounding errors anymore
2000-02-26 15:49:40 +00:00
florian
2eb62408ae * disabled FIXED data type per default 2000-02-15 14:36:57 +00:00
Jonas Maebe
ba7b10c01d + new, faster fillpoly from Thomas Schatzl
* some logging commands in vesa.inc disabled
2000-02-12 13:39:19 +00:00
peter
20105af42c * fixed bug with reallocmem to use the wrong size when copying the
data to the new allocated pointer
2000-02-10 13:59:35 +00:00
florian
17f8a06883 + helper routine for <int64> mod <in64> added 2000-02-09 22:19:24 +00:00
florian
e22cb380d4 + popsecondobjectstack added 2000-02-09 22:16:50 +00:00
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +00:00
peter
6c15031ffd * moved halt to system.inc
* syslinux doesn't use direct asm anymore
2000-02-09 12:17:51 +00:00
pierre
abfb61c7d0 * fix for directories included in stabsinfo 2000-02-08 15:23:02 +00:00
peter
06edc7aa14 * use backtracestrfunc() 2000-02-07 10:42:44 +00:00
florian
a8e85eb3a9 * small typo for go32 fixed 2000-02-06 22:13:42 +00:00
peter
0cf7314799 * linux elf support 2000-02-06 19:14:22 +00:00
peter
78cb6bfa89 * lineinfo unit added which uses stabs to get lineinfo for backtraces 2000-02-06 17:19:22 +00:00
florian
d3b00ca358 * popobjectstack is now a function 2000-02-06 17:17:57 +00:00
sg
4e5b164c36 * For Linux, "/" is added to the bgipath instead of "\" if this character
isn't already there.
2000-02-06 01:47:15 +00:00
peter
d19710a9ad * fixed tracereallocmem which supplied the wrong size for tryresize 2000-02-02 11:13:15 +00:00
peter
6bbb440811 * fixed internal_memavail counting for tryresizemem 2000-02-02 11:12:29 +00:00
peter
ba0b8a2e1b * reallocmem fixed for freemem() call when size=0 2000-01-31 23:41:30 +00:00
Jonas Maebe
e534908b2f * committed the rest of my fix :) 2000-01-31 12:11:53 +00:00
pierre
38fb93fcfc * Jonas' fix for bug811 2000-01-31 10:15:43 +00:00
florian
042cb265c0 * improved qword*qword code, if no overflow checking is done 2000-01-27 15:43:02 +00:00
peter
9be202fd38 * fixed reallocmem which didn't work anymore and thus broke a lot
of objfpc/delphi code
2000-01-24 23:56:10 +00:00
florian
46ba0d434c * int64/int64 and int64*int64 is now done by the fpu if possible 2000-01-23 12:27:39 +00:00
florian
0a05c8d0e0 * reading of 64 bit type implemented 2000-01-23 12:22:37 +00:00
Jonas Maebe
c834c996e4 * set FPUInt64 to false for i386, because comp mul and div code for int64 is
commented out in int64.inc
2000-01-21 15:32:07 +00:00
florian
7451fd5ab4 * writing of int64/qword fixed 2000-01-20 20:19:37 +00:00
Jonas Maebe
8095e34fae * finally fixed tracereallocmem completely 2000-01-20 14:25:51 +00:00
Jonas Maebe
adcc8f25b7 * another problme with realloc fixed (one left) 2000-01-20 13:17:11 +00:00
Jonas Maebe
2c25000f32 * fixed problem with reallocmem and heaptrc 2000-01-20 12:35:35 +00:00
peter
4f22717b61 * open with mode 2 in rewrite 2000-01-17 20:02:30 +00:00
Jonas Maebe
bc9c4771c0 + support for NaN's, cleaner support for Inf 2000-01-17 13:00:51 +00:00
peter
cea4495a20 * check handle for file closing 2000-01-16 22:25:38 +00:00
peter
c775ade1d6 * primitives added 2000-01-10 09:54:30 +00:00
Jonas Maebe
1c7978a96b + Mac linebreak (#13) support for readln 2000-01-08 17:08:36 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
Jonas Maebe
3fafebe811 * fixed bug in outTextXY for vertical text 2000-01-06 16:17:56 +00:00
Jonas Maebe
0eacfedcb8 * fixed traceReallocMem with nil pointer (simply calls traceGetMem now in
such a case)
2000-01-05 13:56:55 +00:00
peter
ca84c2bc26 * fixed reallocmem with p=nil 2000-01-03 19:37:52 +00:00
Jonas Maebe
39343bf688 * removed/commented out (inited but) unused vars and unused types 2000-01-02 19:02:39 +00:00
Jonas Maebe
0e4fe19488 * made floodfill a *LOT* faster (better DrawnPoints management) 2000-01-02 19:01:32 +00:00
Jonas Maebe
c2020897fd + by default, also attempt to install the fonts that come with TP7 1999-12-29 17:26:00 +00:00
Jonas Maebe
39d5e1c70a * XAspect and YAspect are now words instead of smallints, they
overflowed for resolutions > 640x480 otherwise
  * the number of pixels required for an ellipse in internalellipsedef
    is now calculated after the aspectratios have been taken into
    account
1999-12-26 10:33:06 +00:00
Jonas Maebe
0f13ce953c * setpallette only worked for colors 0-63, fixed 1999-12-25 22:22:56 +00:00
Jonas Maebe
c483ef813d * turn off IO checking when attempting to open a font file (to avoid RTE) 1999-12-23 16:48:13 +00:00
Jonas Maebe
802730bfb5 * changed vesa.inc do it doesn't try to use linear modes anymore (doesn't work
yet!!)
  * fixed mode detection so the low modenumber of a driver doesn't have to be zero
    anymore (so VESA autodetection now works)
1999-12-21 17:42:17 +00:00
pierre
bb70445e8a * some assembler functions translated to pascal
WARNING these are not yet TESTED !!!
   + FPC_CHARARRAY_TO_SHORTSTRING added
1999-12-21 11:12:16 +00:00
pierre
8b91888fc2 * allow v09912 to compile system 1999-12-21 11:10:22 +00:00
pierre
4bfe8086c4 + CloseGraph if errors 1999-12-21 09:16:48 +00:00
pierre
f3557f20ed + cinv in interface 1999-12-20 22:24:48 +00:00
peter
62bd7e53ee * integer -> smallint to overcome -S2 switch needed for ggi version 1999-12-20 11:22:35 +00:00
peter
fd5037b339 + smallint, maxsmallint
* integer is redefined as smallint
1999-12-20 11:20:14 +00:00
florian
3df732dfa0 + initial version 1999-12-18 14:55:53 +00:00
florian
89c403c529 * very basic widestring support 1999-12-18 14:54:34 +00:00
peter
a3c7cfd396 * fixed sysmemsize which did the and sizemask wrong 1999-12-16 19:11:49 +00:00
peter
a3749c8bf3 * fixed getmem call with wrong size from reallocmem 1999-12-13 21:04:46 +00:00
Jonas Maebe
91fca2d81f * putimage now performs the lipping itself and uses directputpixel
(note: this REQUIRES or/and/notput support in directputpixel,
    this is not yet the case in the assembler versions!)
  * YOffset addition moved in hlinevesa256 and vlinevesa256
    because it uses still putpixel afterwards
1999-12-12 13:34:19 +00:00
Jonas Maebe
047a68614f * remove "random(longint): longint" if cardinalmulfixed is defined 1999-12-12 13:29:34 +00:00
Jonas Maebe
4ebd215a8c * changed definition of getscanlineproc to "getscanline(x1,x2,y:
integer; var data);" so it can be used by getimage too
  * changed getimage so it uses getscanline
  * changed floodfill, getscanline16 and definitions in Linux
    include files so they use this new format
  + getscanlineVESA256 for 256 color VESA modes (banked)
1999-12-11 23:41:38 +00:00
Jonas Maebe
6c3f032c9f * avoid unwanted type conversion from cardinal to longint in val for
signed and unsigned 32bit int
1999-12-11 19:07:44 +00:00
peter
b1ce2dee62 * strnew is ofcourse also different between sysutils and strings, just
like stralloc/strdispose.
1999-12-10 15:02:12 +00:00
pierre
54874916af * SetBkColor like BP by changing Palette entry zero 1999-12-10 12:47:41 +00:00
peter
1d2da4c432 * fixed vmtptr crash in tstream.put 1999-12-06 18:25:30 +00:00
michael
514f0f9879 + Additional logging 1999-12-04 21:20:04 +00:00
peter
9138338d04 * public added to TObject 1999-12-02 19:28:53 +00:00
peter
42516d7f5e * read_int64 dummy added 1999-12-02 17:40:06 +00:00
peter
bf3e811517 * cmdline support 1999-12-01 22:57:30 +00:00
Jonas Maebe
7f899914bc + function random(longint): longint 1999-12-01 12:37:13 +00:00
michael
1eb4bfc435 + Removed charmessagehandler declaration, it is in graphh.inc 1999-11-30 08:57:46 +00:00
pierre
c1f893a1d1 * Infinite loop for infinite value problem fixed 1999-11-28 23:57:23 +00:00
Jonas Maebe
db5cdd7387 * corrected misplacement of call to initvars in initgraph
+ some extra debugging commands (for -dlogging) in the mode functions
1999-11-28 16:13:55 +00:00
Jonas Maebe
6ad29d29a6 * _GraphResult is now properly set to grOK by DetectGraph and
InitGraph if there are no errors
1999-11-28 12:19:59 +00:00
sg
87d0345efc * Fixed bug #722: If the start position of AnsiString Copy is less than 1,
it will be set to 1 (same behaviour as in Delphi)
1999-11-28 11:24:04 +00:00
Jonas Maebe
acabc4c7fa * fixed VlineVESA256 and re-enabled it in graph.inc
* added procedure detectgraph to interface of graph unit
1999-11-27 21:48:00 +00:00
pierre
926f82efc1 * memory corruption within GetImage removed 1999-11-25 17:44:14 +00:00
michael
65cd1cdbc7 + Added Ansistring setstring call 1999-11-25 13:34:57 +00:00
pierre
2719fb91e8 * PutImage used an integer index that became negative !!!!
* Default needed procedure now genrate a RTE 218 instead of a
    GPF by call to nil pointer !
1999-11-24 23:42:31 +00:00
florian
1736a7d64d * extgraph moved to win direcory 1999-11-24 22:12:06 +00:00
Jonas Maebe
5ffd2e21d4 * reinstated old random generator, but modified it so the integer
one now has a much longer period
1999-11-20 12:48:09 +00:00
peter
78d5e706ac * exception address fixes 1999-11-15 21:49:47 +00:00
peter
5fec122056 * removed warnings 1999-11-14 21:35:04 +00:00
peter
ddb0882789 * fixed reallocmem with a block at the end of an allocated memoryblock,
had to introduce a flag for such blocks.
  * flags are now stored in the first 4 bits instead of the highest bit,
    this could be done because the sizes of block are always >= 16
1999-11-14 21:34:21 +00:00
florian
254c43d6b7 * the writing of the default font was wrong when doing scaling:
the last colunm/row wasn't drawn
1999-11-11 22:29:21 +00:00
florian
3839c77a58 * the size was calculated wrong by imagesize 1999-11-11 17:55:07 +00:00
florian
2c4cddd82d * better looking font 1999-11-11 14:07:14 +00:00
michael
adb19684e1 + Fixed sysreallocmem 1999-11-10 22:29:51 +00:00
pierre
36912a7a2b + get also first BackTrace address with ' 0x' prefix 1999-11-09 22:40:12 +00:00
pierre
bd7d22c00f * several extra_size_info fixes 1999-11-09 22:32:23 +00:00
daniel
ec77ff77ee * Committed new random generator. 1999-11-09 20:14:12 +00:00
peter
79d331a978 * fpcmake support 1999-11-08 15:01:38 +00:00
peter
6dac8462c5 * move graph.inc to the target dir 1999-11-08 11:15:21 +00:00
peter
aa083c5b4d * truncated log 1999-11-06 14:35:38 +00:00
Jonas Maebe
887c7e173b * fixed pascal version of (direct)putpixelx 1999-11-05 12:18:23 +00:00
florian
707675a501 + first release of win32 gui support 1999-11-03 20:23:01 +00:00
peter
dd3688a927 * another fix for precision 1999-11-03 09:54:24 +00:00
pierre
955e7c0175 * problem of last commit for large d values corrected 1999-11-03 00:55:09 +00:00
peter
4c3df986f0 * fixed copy where size+index could be < 0 1999-11-02 23:57:54 +00:00
peter
1829357f4e * better precisio by dividing only once with a calculated longint
instead of multiple times by 10
1999-11-02 15:05:53 +00:00
peter
6a10b2661b * freemem,reallocmem now get var argument 1999-11-01 13:56:50 +00:00
peter
71d7f4ef38 * memorymanager expanded with allocmem/reallocmem 1999-10-30 17:39:05 +00:00
peter
6e241784e1 * use filemode for rewrite instead of mode 1 1999-10-28 09:52:50 +00:00
florian
326e64a39c * StringOfChar fixed, how can be a bug in two lines of code ????? 1999-10-27 14:27:49 +00:00
florian
093ad73c78 + StringOfChar 1999-10-27 14:17:20 +00:00
peter
6eafc25151 * *errorproc are not procvars instead of pointers which allows better
error checking for the parameters (shortstring<->ansistring)
1999-10-26 12:31:00 +00:00
peter
1a27ce8a2d * inoutres 103 for closed files, just like delphi 1999-10-26 12:25:19 +00:00
carl
f7e31f50f6 * Bugfix of mode m800x600x64k - wrong vide mode would be used.
+ TP compilable.
1999-10-24 15:51:22 +00:00
carl
3faddeae49 * Bugfix in TP mode SaveStateVESA 1999-10-24 15:50:23 +00:00
carl
28c0ca8f49 + GetPixVESA16 (not tested yet...) 1999-10-24 03:37:15 +00:00
carl
a3f4314a19 - Removed some old french comments.
* Bugfix of problems with register access in noasmmoded
  + GetPixVESA16
1999-10-24 03:34:37 +00:00
carl
ed837de14c - Removed Hercules mode
+ Added VGAMed and VGAhi modes.
1999-10-24 01:55:53 +00:00
sg
cb3d2ac4f3 * FreeMem(p) is ignored if p is NIL, instead of throwing an
runtime error 204. (Delphi ignores NIL FreeMem's, too)
1999-10-22 22:03:07 +00:00
Jonas Maebe
d6cb636d80 * fixed clipping for thickwidth lines (bug 659)
* fixed the faster internalellipsedefault, but it doesn't plot
    all pixels (there are gaps in the ellipses)
1999-10-17 10:20:13 +00:00
Jonas Maebe
0fa97f88ea * fixed set/getvgargbpalette for VGA 16 color modes 1999-10-08 14:28:18 +00:00
peter
2aca3b7908 * pos function speed up by a factor 40 :) 1999-10-04 20:48:18 +00:00
peter
60854f1f6c * read ansistring speedup (no length(s) calls anymore) 1999-10-04 20:42:45 +00:00
peter
1a777e609e * fixed memsize which forgot the sizemask 1999-10-01 07:55:54 +00:00
Jonas Maebe
85f0d28bf1 * fix for disposing font data because it can contain #0 chars 1999-09-28 15:07:46 +00:00
Jonas Maebe
03980540bd * reordered some local variables (first 4 byte vars, then 2 byte vars
etc)
  * font data is now disposed in exitproc, exitproc is now called
    GraphExitProc (was CleanModes) and resides in graph.pp instead of in
    modes.inc
1999-09-28 13:56:25 +00:00
peter
85c3b9ff3b * new graph unit is default for go32v2
* removed warnings/notes
1999-09-27 23:34:40 +00:00
Jonas Maebe
de09b385d3 * execute multiplications before divisions in lineclipped to avoid rounding errors 1999-09-27 12:35:27 +00:00
Jonas Maebe
aa5751acbc * changed name of modeinfo variable to vesamodeinfo and fixed
associated errors (fillchar(modeinfo,sizeof(tmodeinfo),#0) instead
    of sizeof(TVesamodeinfo) etc)
  * changed several sizeof(type) to sizeof(varname) to avoid similar
    errors in the future
1999-09-26 13:31:06 +00:00
Jonas Maebe
bd4d132c5b + detectgraph
* small change to internalellipsedefault so less pixels are
    calculated twice
  * some small corrections to graph.tex
1999-09-25 11:48:43 +00:00
Jonas Maebe
5f0cf70477 * optimized patternline a bit (always use hline when possible)
* isgraphmode stuff cleanup
  * vesainfo.modelist now gets disposed in cleanmode instead of in
    closegraph (required moving of some declarations from vesa.inc to
    new vesah.inc)
  * queryadapter gets no longer called from initgraph (is called from
    initialization of graph unit)
  * bugfix for notput in 32k and 64k vesa modes
  * a div replaced by / in fillpoly
1999-09-24 22:52:38 +00:00
Jonas Maebe
3e14491ff2 * floodfill uses scanline data from previous loop if line is adjacent 1999-09-24 14:23:08 +00:00
Jonas Maebe
c8541db634 + getscanline16 1999-09-24 14:22:38 +00:00
Jonas Maebe
cc0428dcda * fixed another typo :( 1999-09-24 11:31:38 +00:00
Jonas Maebe
5edf8b5488 * -dlogging no longer required to fuction correctly
* some typo's fixed
1999-09-23 14:00:41 +00:00
peter
b659954bc3 * best match for main freelist
* removed root field, saves 4 bytes per block
  * fixed crash in dumpblocks
1999-09-22 21:59:02 +00:00
Jonas Maebe
7e28f32cdc * changed ratios so font sizes on screen are the same as with TP
* SetUserCharSize must also use / instead of DIV
1999-09-22 14:54:11 +00:00
Jonas Maebe
cd377606a4 * changed org_to_cap, org_to_dec and org_to_base to shortints (from
Michael Knapp's gxtext unit, part of the GraphiX package)
  * in settextstyle, the calculation of the ratios must be done with /,
    not DIV!!
1999-09-22 13:30:52 +00:00
Jonas Maebe
47b14faf20 * renamed text.inc -> gtext.inc to avoid conflict with system unit
* fixed textwidth
  * isgraphmode now gets properly updated, so mode restoring works
    again
1999-09-22 13:13:34 +00:00
peter
c7d01df165 * fixed growheap freelist addition when heapend-heapptr<blocksize 1999-09-20 14:17:37 +00:00
florian
c9110d73e3 * conflicts solved 1999-09-20 09:34:30 +00:00
Jonas Maebe
4e43bad546 + hlinevesa256 and vlinevesa256
+ support for not/xor/or/andput in vesamodes with 32k/64k colors
  * lots of changes to avoid warnings under FPC
1999-09-18 22:21:09 +00:00
Jonas Maebe
cd47cbb67a * dump_stack now actually dumps its info to f (was still hardcoded
to stderr)
1999-09-18 16:05:12 +00:00
Jonas Maebe
34f074549c * graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
    RTE 204 with VESA enabled if you set exitproc to call closegraph
    and also called closegraph explicitely before exit, like bgidemo)
1999-09-18 16:03:36 +00:00
peter
88b7b037b2 + new heap manager supporting delphi freemem(pointer) 1999-09-17 17:14:11 +00:00
Jonas Maebe
e188d82aec * another fix for a case where internalellipsedefault went haywire
* sector() and pieslice() fully implemented!
* small change to prevent buffer overflow with floodfill
1999-09-17 13:58:31 +00:00
michael
f31460489f + Added goto on switch 1999-09-17 10:38:00 +00:00
florian
8e642be78a * fixed methodname/address: the loops must go from 0 to ...^.count-1 1999-09-15 20:28:35 +00:00
florian
af80c87ba9 + constants for math functions 1999-09-15 20:23:16 +00:00
Jonas Maebe
6ea818a303 * small change to internalellipsedef to be TP compatible
* fixed directputpixel for vga 320*200*256
1999-09-15 13:37:50 +00:00
Jonas Maebe
ecd28082fd * fixed PutPixVESA256 1999-09-15 11:40:30 +00:00
Jonas Maebe
66e28ab9c1 * fixed Arc: internallellipse went into an endless loop if StAngle =
EndAngle
  * FillEllipse is now much faster: no more floodfill,
    InternalEllipseDefault now draws the patternlines immediatety!
1999-09-13 12:49:08 +00:00
peter
244a1b5815 * fixed strlcat 1999-09-13 11:42:42 +00:00
Jonas Maebe
062f4e5991 * several changes to internalellipse to make it faster
and to make sure it updates the ArcCall correctly
    (not yet done for width = 3)
  * Arc mostly works now, only sometimes an endless loop, don't know
    why
1999-09-12 17:28:59 +00:00
florian
fcd9a97bcb + tobject.methodaddress und tobject.methodname durchsucht nun auch
die Elternklassen
1999-09-12 14:53:26 +00:00
florian
947db5dbe3 * fixed outtext(''), c was a byte, this leads to an underflow and
garbage was written
1999-09-12 08:02:22 +00:00
florian
73b01893ce + implementation of TObject.MethodName and TObject.MethodAddress (not
in the compiler yet)
1999-09-12 08:01:00 +00:00
Jonas Maebe
cb55fd4de2 * FloodFill: did not take into account current viewport settings
* GetScanLine: only get line inside viewport, data outside of it
    is not used anyway
  * InternalEllipseDefault: fix for when xradius or yradius = 0 and
    increase xradius and yradius always by one (TP does this too)
  * fixed conlict in vesa.inc from last update
  * some conditionals to avoid range check and overflow errors in
    places where it doesn't matter
1999-09-11 19:43:00 +00:00
peter
32603fd4b2 * fixed freeall 1999-09-10 17:15:13 +00:00
peter
62de5cdb72 * remove CR when reading one char less then size 1999-09-10 17:14:43 +00:00
peter
12e807b5bc * fixed missing var 1999-09-10 17:13:41 +00:00
peter
3b5373c08a * fixed do_open flags to be > $100, becuase filemode can be upto 255 1999-09-10 15:40:32 +00:00
peter
38a2727fb2 * pointer fixes 1999-09-08 16:14:41 +00:00
peter
c3a8983799 * fixed inoutres for diskfull 1999-09-08 16:12:24 +00:00
Tomas Hajny
78d16850ad * fixed problem with Close under OS/2 1999-09-07 15:54:18 +00:00
peter
1006d29317 * fixed array of char writing which didn't write the last char 1999-09-07 07:44:58 +00:00
peter
eea78419c8 * fixed return of strcat,strlcat 1999-09-01 09:25:10 +00:00
michael
d3d9e234bd + reverted to previous heap 1999-08-20 13:26:20 +00:00
michael
50ae4cf315 + Patch for heap allocation from Florian 1999-08-20 10:31:17 +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
0988042528 Removed the mode for objpas 1999-08-17 14:56:03 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +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
peter
a4b08bdef9 * small speed improvements 1999-08-03 21:58:44 +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
peter
00c8bda3b2 * fixed assert() to push/pop registers 1999-07-28 12:58:22 +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
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
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
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
peter
16a296c90a * merged 1999-07-10 10:33:50 +00:00
michael
32e36bc10b + + heaptrc now uses finalize instead of exitproc 1999-07-09 10:38:10 +00:00
michael
d753055cfe * Now ansistring of arbitrary length can be read 1999-07-08 15:18:14 +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
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
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
9540e26f9f * multiplication overflow checking fixed 1999-07-02 17:01:29 +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
florian
e0e9f4481e * fixed qword division 1999-06-28 22:25: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
46b98b77f1 + files created by splitting the linux sockets unit 1999-06-21 12:26:27 +00:00
peter
03e6ec96c5 * merged 1999-06-14 17:47:45 +00:00
peter
ec0a511cfa * merged 1999-06-14 00:43:35 +00:00
peter
dc8c1c62bd * random doesn't rte 200 with random(0) 1999-06-11 11:47:00 +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
michael
f627b90eaa Copy checks index now for negative values. 1999-06-05 20:48:56 +00:00
michael
2ffca0ba47 + AbstractErro should call HandleError, not runerror. 1999-06-05 20:45:12 +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
pierre
9a21e0d1e2 + generic.inc added 1999-05-31 21:59:58 +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
carl
b0bdd46ee1 * Bugfixes for RegisterBGIFont which can be called BEFORE
InitGraph.
1999-05-30 23:07:59 +00:00