Commit Graph

675 Commits

Author SHA1 Message Date
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
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
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
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
f3f2a33a2a * fixed dispatchstr 1999-05-19 13:20:09 +00:00
peter
425a9f41dd + objpas 1999-05-19 13:19:54 +00:00
pierre
28c391a3a2 * allow for .bss section below heaporg in go32v2 code 1999-05-18 22:15:55 +00:00
florian
85916705f2 * small fixes for the new ansistring temp. management 1999-05-17 22:41:24 +00:00
florian
e905aeea04 * most of the Object Pascal stuff moved to the system unit 1999-05-17 21:52:33 +00:00
pierre
cfc811c376 * allow nil pointer in FPC_CHECKPOINTER !! 1999-05-16 23:56:09 +00:00
florian
fd074a2629 * more memory leaks fixed:
- exceptaddrobject is now properly disposed
       - after the end of the on ... do block the exception
         class instance is disposed
1999-05-13 18:38:26 +00:00
florian
f0093ed32d * popaddrstack didn't release any memory, fixed 1999-05-13 16:30:18 +00:00
pierre
c4ee11532a + with EXTRA memory is filled with $F0 and checked at end 1999-05-12 16:49:29 +00:00
pierre
132f4cf015 + extra's with -dEXTRA, uses a CRC check for released memory 1999-05-11 12:52:42 +00:00
carl
93438c3ba4 * Correction of documentation 1999-05-09 23:16:12 +00:00
carl
5ba476e64a + More error checking 1999-05-09 23:15:27 +00:00
carl
8e45cea1c3 + VESA Driver name 1999-05-09 22:24:38 +00:00
peter
458a7be587 * generic write_float str_float 1999-05-06 09:05:11 +00:00
carl
040fa666a8 + SetActivePage
+ SetVisualPage
  * Some bugfixes
  * Experimentation with new method for arc/ellipse
1999-05-05 02:16:40 +00:00
carl
32195301c8 * GetViewSettings was not returning correct values 1999-05-02 21:26:45 +00:00
peter
6da9dfae21 * fixed write array
* read array with maxlen
1999-04-26 18:27:26 +00:00
carl
417eb205d6 * longint -> Integer would not compile. 1999-04-25 02:29:23 +00:00
carl
23c364f842 + Fully implemented clipping
* PatternnLine now calls HLine if the lines to draw are
      non-patterned (10-15% speedv improvement)
1999-04-25 02:28:54 +00:00
carl
a6a9da360d * ClearViewPort was wrong ,and is now 75% faster
* Some clipping added by replacing DirectPutPixel -> PutPixel
1999-04-25 00:31:37 +00:00
carl
28f657b4db * DirectPutPixel -> PutPixel to enable clipping 1999-04-25 00:29:58 +00:00
carl
aa8128e317 + RestoreCRTMode
* GetModeRange returned one mode too much
  + Some cleanup
1999-04-24 18:56:13 +00:00
carl
1a45ac6847 + Some cleanup
* Bugfix of Detect in InitGraph
1999-04-24 18:55:21 +00:00
carl
be5b9b5f6e + SetGraphMode()
+ InitGraph() is now device independant
  + Mode management and some mode constants
1999-04-23 03:06:35 +00:00
carl
8d2d8a5279 + Mode management helper routines 1999-04-23 03:05:06 +00:00
peter
de533ed2cc * fixed pchar 2 ansi 1999-04-22 10:51:17 +00:00
pierre
9e3e3d9415 * error 204 if trying to free too much memory of heap top ! 1999-04-19 11:53:13 +00:00
pierre
ffc582a561 * wrong statement in freemem removed : corrupted memavail result 1999-04-19 11:11:39 +00:00
carl
3249707b22 + Initial revision (still uncompilable though) 1999-04-19 02:50:31 +00:00
carl
d4fc7066ab + Initial revision (still uncompilable) 1999-04-19 02:49:01 +00:00
carl
b67ce16a85 + Initial revision (still unworking under FPC) 1999-04-19 02:48:14 +00:00
peter
dc1f9b5bbb * addr() internal 1999-04-17 13:10:23 +00:00
peter
6120616a20 + finalization support 1999-04-15 12:19:59 +00:00
michael
77d45d20af + 1 byte too much allocated in new_ansiStringastrings.inc 1999-04-13 09:02:06 +00:00
michael
66bb181cf5 * More fixes and optimizing for ansistr_concat 1999-04-09 07:33:15 +00:00
peter
dda7bf2bc9 + subrange checking for readln() 1999-04-08 15:57:44 +00:00
peter
17f26f6577 * removed warnings 1999-04-08 11:30:57 +00:00
peter
e3836e3e31 * fixed concat when s1 or s2 was nil 1999-04-08 10:19:55 +00:00
peter
d028279366 * fixed bug with readln where it sometime didn't read until eol 1999-04-07 22:05:18 +00:00
peter
29d632520b * fixed insert on last char
* saver chararray 2 ansi
1999-04-06 11:23:58 +00:00
michael
b149cc5681 * Fixed chararray to ansistring conversion 1999-04-06 10:06:51 +00:00
michael
d864c6d8c3 + Fixed insert with char. length byte wrapped around in some cases. 1999-04-05 12:28:27 +00:00
peter
79abf0ac4f * fixed '1.' parsing of val 1999-04-01 22:11:50 +00:00
peter
8d5ffc3b09 * universal names for str/val (ansistr instead of stransi)
* '1.' support for val() this is compatible with tp7
1999-04-01 22:00:48 +00:00
peter
a8a60d933a * show also allocation stack for a wrong size 1999-03-26 19:10:34 +00:00
peter
c5db6f3dfe * last para changed to long for easier pushing with 4 byte aligns 1999-03-26 00:24:15 +00:00
peter
55fbeb959d * memavail fixed for too big freemem calls 1999-03-18 11:21:16 +00:00
Jonas Maebe
228829bd86 * changes for internal Val code (do a "make cycle OPT=-dvalintern" to test)
* in text.inc: changed RTE 106 when read integer values are out of bounds to RTE 201
  * in systemh.inc: disabled "support_fixed" for the i386 because it gave internal errors,
1999-03-16 17:49:36 +00:00
florian
67c66987e5 + system.cmdline variable for go32v2 and win32 added 1999-03-10 22:15:28 +00:00
florian
d10d8cb5fd * str and val for extended use now int constants to minimize
rounding error
1999-03-10 21:49:02 +00:00
michael
5b750c0345 + Added setstring for Delphi compatibility 1999-03-03 15:23:57 +00:00
peter
80a48282e6 * function names cleanup
+ chararray -> ansistring
1999-03-02 18:24:51 +00:00
peter
554f02687b * changed so handlerror() -> inoutres:= to have $I- support 1999-03-02 18:23:37 +00:00
peter
af8a04a5af * use external names
* removed all direct assembler modes
1999-03-01 15:40:48 +00:00
peter
1d98d7c4a4 + SetStr() function 1999-02-25 21:25:26 +00:00
michael
82d08fba5d + Added header and log 1999-02-25 10:05:07 +00:00
michael
7865673a04 * Joined strings and sysutils 1999-02-25 07:39:17 +00:00
peter
755df28476 * fixed typecasting in firstthat 1999-02-22 15:04:45 +00:00
florian
54adf4622c * tpcompatible flags for tstream introduced, thanks to Matthias Koeppe 1999-02-21 23:13:01 +00:00
peter
a868c2a6cc * when error when opening a file, then reset the mode to fmclosed 1999-02-17 10:13:29 +00:00
pierre
710ab457d7 * no heap dump if program has an heap error ! 1999-02-16 17:20:26 +00:00
peter
bbb1d23607 * fixed rounding when correct+f < 0 1999-02-16 00:49:20 +00:00
carl
8773fe80ba * oops... wrong filename 1999-02-12 17:14:04 +00:00
carl
52d673755d + updated to reflect files in directory 1999-02-12 16:15:25 +00:00
florian
e7dacebccc * fixed small things regarding TEMPHEAP 1999-02-08 09:31:39 +00:00
michael
734889c0b6 * Fixed pos 1999-02-04 14:55:42 +00:00
florian
4d9e0a3b11 + routines for range checking added 1999-02-04 10:49:21 +00:00
peter
9f444c9461 * fixed ansi2short 1999-02-02 11:37:34 +00:00
florian
e207d78d70 + functions lo/hi for DWord type implemented 1999-02-01 00:05:14 +00:00
pierre
1cd9b0fb0e * Fillchar(..,..,boolean) added 1999-01-29 09:23:09 +00:00
peter
96ac1855a8 * fixed readln(ansistring) 1999-01-28 19:38:19 +00:00
peter
06e8a03894 * fixed insert to support again the max string length 1999-01-25 20:24:28 +00:00
pierre
ab763cd69c + added text arg for dump_stack 1999-01-22 12:39:19 +00:00
peter
54ee5f39ac + prect=^trect 1999-01-22 10:21:55 +00:00
pierre
33aac9b556 + system_exit procedure added 1999-01-18 10:05:47 +00:00
peter
8e645c448e * fixed TColletcion.AtInsert 1999-01-12 14:21:50 +00:00
Jonas Maebe
f7b137cdef * made inster(string,string,index) a bit faster
+ overloaded insert(char,string,index)
1999-01-11 19:26:53 +00:00
michael
b2ac51a11b + Implemented more str() functions 1999-01-06 14:48:43 +00:00
peter
eb3e1984e6 * fixed str() and made it working 1999-01-06 13:03:39 +00:00
florian
8bf6ef4b56 * naming for str(...) routines inserted
* don't know what in int64 changed
1999-01-06 12:25:02 +00:00
daniel
1ae82e5987 * Removed on more handle:=-1 statement 1999-01-06 10:11:06 +00:00
peter
cb4cbe4f2a * reinserted old version, because daniel skipped 3 versions !! 1998-12-30 10:26:16 +00:00
peter
f11d46a93e + stdout, which is needed when you write something in the system unit
to the screen. Like the runtime error
1998-12-28 15:50:42 +00:00
michael
c7bfc215e2 removed CR characters 1998-12-23 20:30:45 +00:00
daniel
6da995b775 + invalidhandle constant 1998-12-23 13:31:48 +00:00
pierre
02a46a6547 * HandleError -> HandleErrorFrame to avoid problem in
assembler code in i386.inc
    (call to overloaded function in assembler block !)
1998-12-21 14:28:20 +00:00
peter
4eeae4e425 * fixed io-error handling 1998-12-18 17:21:32 +00:00
peter
3bda8b840d * fixed firstthat,lastthat 1998-12-18 17:21:28 +00:00
peter
10d267e9fc * fixed currentframe,previousframe
+ testcall to test the callspec unit
1998-12-16 21:57:20 +00:00
peter
efaf241dba * more temp symbols removed 1998-12-16 00:22:24 +00:00
michael
f5eeedee0b + Removed underscores in heaptrc unit 1998-12-15 23:49:51 +00:00
peter
516958a67b * removed temp symbols 1998-12-15 22:42:49 +00:00
florian
d04f52d903 + first implementation 1998-12-12 12:15:41 +00:00
peter
39c8939bcc * fixed read(char) with empty buffer 1998-12-11 18:07:39 +00:00
peter
f2b6d631e5 * removed warnign 1998-12-10 23:59:56 +00:00
peter
376efda4cc * tpoint contains now sw_integer (needed to support 64k files in the
editor)
1998-12-08 10:11:27 +00:00
pierre
67dba7efc3 + added conversion from exceptions into run time error
(only if syswin32 compiled with -ddebug for now !)
  * added HandleError(errno,frame)
    where you specify the frame
    needed for win32 exception handling
1998-12-01 14:00:08 +00:00
peter
b32111a3e2 * also check fmInput,fmOutput 1998-11-29 23:10:12 +00:00
peter
97bbe41037 + io-error 103 added 1998-11-29 22:28:09 +00:00
peter
a41f61713d + open strings, $P switch support 1998-11-27 14:50:30 +00:00
Jonas Maebe
5271ef0830 * changed RandSeed and OldRandSeed to Cardinal to avoid negative random numbers 1998-11-26 23:16:13 +00:00
michael
5d9dc4f800 + Fixed TREsourcefile.init 1998-11-26 14:41:22 +00:00
peter
741fe89a50 * fixed length(char)
- removed obsolete version.inc
1998-11-24 17:12:42 +00:00
peter
007c60c127 * made a real fpc only version, no platform.inc
* applied fixes from the mailinglist
  + included some routines from callspec
1998-11-24 17:11:22 +00:00
michael
7c71c739bc + Fixed pchar2ansi 1998-11-18 10:56:46 +00:00
michael
cc415c9cd4 + Fixed copy. Now reference count is correct 1998-11-17 12:16:07 +00:00
peter
c8d3ad6484 + several checks for empty string 1998-11-17 11:33:22 +00:00
michael
ef9ef167a1 + added astrings to dependencies 1998-11-17 10:37:14 +00:00
michael
62952be3eb + renamed astrings.pp to astrings.inc 1998-11-17 10:36:07 +00:00
michael
71482c66e4 + renamed from astrings.pp to astrings.inc 1998-11-17 10:34:18 +00:00
michael
af08ecf3e2 - renamed to astrings.inc 1998-11-17 10:33:33 +00:00
peter
7aeb09d89d * renamed string functions 1998-11-17 00:41:08 +00:00
peter
78546bab43 + char2ansi 1998-11-16 15:42:04 +00:00
peter
a990cb8ab6 * fixes for 0.99.8 1998-11-16 12:21:47 +00:00
peter
c7875f8dd9 * write extra info also for wrong size 1998-11-16 12:20:13 +00:00
michael
0b1f401935 + Fix for Insert and Delete functions 1998-11-16 11:11:47 +00:00
peter
dbbdb79dfe * fixes for H+ 1998-11-16 10:21:24 +00:00
michael
f1e7a93398 + Insert procedure corrected 1998-11-13 14:37:11 +00:00
peter
9c5cf4f161 * fixed for 0.99.8 1998-11-12 11:54:50 +00:00
peter
3acf610a1d + released object registration 1998-11-12 11:45:09 +00:00
pierre
47f406fc04 * size is now also checked
+ added halt_on_error variable (default true)
    to stop at first error in getmem/freemem
1998-11-06 08:46:01 +00:00
peter
c21642499c * removed warnings 1998-11-05 14:20:36 +00:00
pierre
c1b6f90bcf * fix for length(char) in const expressions 1998-11-05 10:29:34 +00:00
michael
233c8c8c79 + Removed ifdef useansistrings 1998-11-04 20:34:01 +00:00
michael
478b404136 + Small fixes to assign and add 1998-11-04 15:39:44 +00:00
peter
5727090134 * ansistring fixes 1998-11-04 10:20:48 +00:00
michael
9a38bce562 + Fix for assign of null string 1998-11-02 09:46:12 +00:00
michael
869769c502 Fixed assignment of NIL string. 1998-10-30 21:42:48 +00:00
michael
5d55395676 Long options NEED -- as starting char 1998-10-30 09:18:22 +00:00
peter
d52f2bdd94 + OptSpecifier 1998-10-29 23:06:55 +00:00
pierre
4844858fa6 * vmtlink type changed to pointer 1998-10-23 16:51:18 +00:00
peter
525f478bae * write(pchar) has check for nil 1998-10-23 00:03:29 +00:00
peter
0ffc0f5586 + check for < 0 which otherwise segfaulted 1998-10-22 23:50:45 +00:00
peter
adcc76d18d + packed record for conversion records 1998-10-22 18:23:55 +00:00
michael
a643c03805 + AssignAnsistring no longer copies constant ansistrings;
+ CompareAnsiString is now faster (1 call to length less)
+ UniqueAnsiString is fixed.
1998-10-22 11:32:23 +00:00
michael
8648324256 + Some more corrections 1998-10-21 23:01:54 +00:00
michael
1a9987cfe5 + more fixes so it compiles 1998-10-21 09:03:11 +00:00
michael
0ee1ca0246 + Fix so it compiles 1998-10-21 08:56:58 +00:00
florian
b70ee498ad * ansistringconcat fixed 1998-10-21 08:38:46 +00:00
peter
0a51bba5f7 * fixed maxlen which was not correct after my read_string update 1998-10-20 14:37:45 +00:00