Commit Graph

92 Commits

Author SHA1 Message Date
peter
9a2f05820a * fixed ignorespaces which was broken by the previous commit
when a line started with spaces
2002-11-29 16:26:52 +00:00
peter
bc3943ca4f * fix for tw1896 2002-11-29 15:50:27 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
peter
71a1ae2136 * sLineBreak changed to normal constant like Kylix 2002-07-01 16:29:05 +00:00
Jonas Maebe
d8a3bfb576 * fixed writing of empty ansistring with specified width (merged) 2001-11-21 14:51:33 +00:00
Jonas Maebe
c98f73e0d5 * fixed seekeof() so that it doesn't move the current possition in the
file anymore (merged)
  * seekeof() now only regards #26 as EOF marker if EOF_CTRLZ is defined
    (just like eof()) (merged)
  * very tiny optimization to read_array_as_pchar
2001-09-25 16:34:59 +00:00
Jonas Maebe
a6cfe4083a + tempcreate/ref/delete nodes (allows the use of temps in the
resulttype and first pass)
  * made handling of read(ln)/write(ln) processor independent
  * moved processor independent handling for str and reset/rewrite-typed
    from firstpass to resulttype pass
  * changed names of helpers in text.inc to be generic for use as
    compilerprocs + added "iocheck" directive for most of them
  * reading of ordinals is done by procedures instead of functions
    because otherwise FPC_IOCHECK overwrote the result before it could
    be stored elsewhere (range checking still works)
  * compilerprocs can now be used in the system unit before they are
    implemented
  * added note to errore.msg that booleans can't be read using read/readln
2001-08-23 14:28:35 +00:00
peter
b34e51e7f6 * regenerated 2001-08-22 20:49:14 +00:00
peter
0b4ee7574f * read_array fix merged 2001-08-19 11:23:10 +00:00
Jonas Maebe
9ab14207f7 * really fixed write_array this time :/ (merged) 2001-07-21 15:53:28 +00:00
Jonas Maebe
0ea2e80af9 * correctly fixed potential buffer overrun in write_array 2001-07-16 13:53:21 +00:00
peter
ca8d604964 * various widestring updates, it works now mostly without charset
mapping supported
2001-07-08 21:00:14 +00:00
peter
49481a0c63 * v10 merges 2001-06-27 21:37:36 +00:00
peter
741d455ab7 * Formal const to var fixes
* Hexstr(int64) added
2001-06-04 11:43:51 +00:00
Jonas Maebe
faad9460c8 * fixed potential buffer overflow in FPC_WRITE_TEXT_PCHAR_AS_ARRAY (merged) 2001-04-08 13:21:30 +00:00
florian
1f91d1d88e + sLineBreak and misc. stuff for Kylix compatiblity 2001-03-21 23:29:40 +00:00
Jonas Maebe
de0a78a66e * fix for web bug #1210 from Peter (merged) 2000-11-23 13:14:02 +00:00
michael
586c4cea50 + Conditionals fixed 2000-07-14 10:33:09 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +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
peter
9920510f64 * length check for readnumeric 2000-03-19 08:36:41 +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
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +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
0a05c8d0e0 * reading of 64 bit type implemented 2000-01-23 12:22:37 +00:00
florian
7451fd5ab4 * writing of int64/qword fixed 2000-01-20 20:19:37 +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
peter
42516d7f5e * read_int64 dummy added 1999-12-02 17:40:06 +00:00
peter
aa083c5b4d * truncated log 1999-11-06 14:35:38 +00:00
peter
1a27ce8a2d * inoutres 103 for closed files, just like delphi 1999-10-26 12:25:19 +00:00
peter
60854f1f6c * read ansistring speedup (no length(s) calls anymore) 1999-10-04 20:42:45 +00:00
peter
62de5cdb72 * remove CR when reading one char less then size 1999-09-10 17:14:43 +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
c3a8983799 * fixed inoutres for diskfull 1999-09-08 16:12:24 +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
4557f11bac * settextbuf size is now longint 1999-08-19 11:16:13 +00:00
peter
a4b08bdef9 * small speed improvements 1999-08-03 21:58:44 +00:00
florian
b7a267613b + write helper routine for in64 implemented 1999-07-26 09:43:24 +00:00
michael
d753055cfe * Now ansistring of arbitrary length can be read 1999-07-08 15:18:14 +00:00
peter
ebd738f2f5 * removed temp defines 1999-07-05 20:04:21 +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
peter
458a7be587 * generic write_float str_float 1999-05-06 09:05:11 +00:00
peter
6da9dfae21 * fixed write array
* read array with maxlen
1999-04-26 18:27:26 +00:00
peter
dda7bf2bc9 + subrange checking for readln() 1999-04-08 15:57:44 +00:00
peter
d028279366 * fixed bug with readln where it sometime didn't read until eol 1999-04-07 22:05:18 +00:00