Commit Graph

1540 Commits

Author SHA1 Message Date
Vincent Snijders
cfcbd77133 * write caller address, even if no caller frame was found
git-svn-id: trunk@2897 -
2006-03-12 21:30:06 +00:00
Tomas Hajny
88a8aa31d9 * Slight optimization (constant instead of variable in assignment)
git-svn-id: trunk@2747 -
2006-03-04 23:09:06 +00:00
Tomas Hajny
ccbc7717cc * Fix to allow / instead of " fexpand.inc
git-svn-id: trunk@2746 -
2006-03-04 23:05:24 +00:00
peter
9566255122 * allow out file parameters
* assign has out file

git-svn-id: trunk@2717 -
2006-03-01 10:18:47 +00:00
peter
4c56a87d59 * integrate loaders in system unit
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
marco
4509209df7 * socketerror
git-svn-id: trunk@2687 -
2006-02-26 00:51:19 +00:00
peter
9cd5a800af * check for nil in concat_multi
git-svn-id: trunk@2658 -
2006-02-20 17:15:05 +00:00
peter
4b7f51b0aa * fixed uninitialized var
git-svn-id: trunk@2654 -
2006-02-20 11:24:38 +00:00
Jonas Maebe
9455dea30b + slice constant
git-svn-id: trunk@2651 -
2006-02-20 10:59:42 +00:00
peter
a77f503a30 * optimize multiple concats for ansi/widestring
git-svn-id: trunk@2650 -
2006-02-20 10:58:28 +00:00
peter
340cf721b5 * faster int_str
* removed i386 int_str since the generic implementation is faster

git-svn-id: trunk@2646 -
2006-02-20 08:31:20 +00:00
florian
0f55bd3d42 * small speed improvements
git-svn-id: trunk@2634 -
2006-02-19 16:59:19 +00:00
florian
0cc2b9b16b * small speed improvements
git-svn-id: trunk@2633 -
2006-02-19 16:59:03 +00:00
florian
0089de9428 * improved exception handling code
git-svn-id: trunk@2632 -
2006-02-19 15:48:15 +00:00
florian
e2e51d6757 * improved SetLength(<ansistring>,...);
git-svn-id: trunk@2628 -
2006-02-19 14:37:48 +00:00
daniel
3a60adb3a1 * var back to out
git-svn-id: trunk@2607 -
2006-02-16 08:03:13 +00:00
daniel
b2202654ca * It could be done even better.
git-svn-id: trunk@2606 -
2006-02-16 00:18:21 +00:00
daniel
3adcaaad36 * Faster and more compact integer str routines
git-svn-id: trunk@2605 -
2006-02-15 23:43:27 +00:00
Jonas Maebe
718d697498 * ifdef powerpc -> ifdef cpupowerpc
git-svn-id: trunk@2593 -
2006-02-15 11:48:26 +00:00
tom_at_work
f86ee115d8 * more fixes for 64 bit compilation after Peter's changes
* updated and added a warning notice about changing structures in this file to objpash.inc

git-svn-id: trunk@2547 -
2006-02-12 20:33:33 +00:00
peter
d7692a588e * fix alignments in vmt, remove all explicit 16 and 32 bit values
git-svn-id: trunk@2521 -
2006-02-11 20:46:28 +00:00
Jonas Maebe
79403454c5 * fixed netware compilation
git-svn-id: trunk@2514 -
2006-02-11 08:50:46 +00:00
florian
a9198b7300 * ensure always 16 byte aligned memory blocks
git-svn-id: trunk@2511 -
2006-02-10 19:08:43 +00:00
Jonas Maebe
0e2a5dde24 * the pointer parameter of fpc_Read_Text_PChar_As_Pointer is not an
out parameter, but a const (the pointer is const and must be
    valid already)

git-svn-id: trunk@2486 -
2006-02-08 20:32:32 +00:00
Jonas Maebe
1e47e5a2db * initialise processaddress for darwin
git-svn-id: trunk@2485 -
2006-02-08 20:31:45 +00:00
florian
0c8c95c334 * older Solaris doesn't have trunc in libc
git-svn-id: trunk@2473 -
2006-02-07 21:40:19 +00:00
Jonas Maebe
1bcde3436d * random(int64(0)) now return 0 instead of division by zero
* random(negative_longint) now returns values between -l+1 and 0
    instead of between -l and 0

git-svn-id: trunk@2422 -
2006-02-03 20:57:32 +00:00
daniel
d19c95db8f * various bugfixes
- Disable shared linking for now since it since it simply breaks
    svn. (Already disabled in Makefile itself, likely accidentally
    done with an old FPCMake, but it "fixed" svn to compile.)

git-svn-id: trunk@2401 -
2006-02-02 08:22:35 +00:00
daniel
56d3bf1403 + Keyboard unit overhaul
+ Shift+arrow keys now working in xterm
     + Keyboard restored when vt-switching away from application on Linux
       console
     + Escape key remapped on Linux console so it works instantly.
     + Try to use Linux console more aggressively
     + Linux specific code now only executed on Linux terminals and not
       on xterm, FreeBSD etc.

git-svn-id: trunk@2383 -
2006-01-31 10:26:25 +00:00
daniel
45d159eaad * Another libc dependency less
git-svn-id: trunk@2348 -
2006-01-26 22:14:46 +00:00
Vincent Snijders
32fc7668cc write pointer values using 16 hexadecimal digits on 64 bits platforms
git-svn-id: trunk@2293 -
2006-01-15 14:12:42 +00:00
florian
e9b718a0a2 * cleanup
git-svn-id: trunk@2282 -
2006-01-14 12:55:26 +00:00
peter
94f2b1d941 * add initialstkptr to get the stackpointer at startup before
PASCALMAIN is called so the main body framepointer is seen as
    a valid pointer with backtracing

git-svn-id: trunk@2266 -
2006-01-12 09:29:57 +00:00
Jonas Maebe
a67f42a3e7 * also return 0 when reading an unsigned integer at the end of a file
git-svn-id: trunk@2156 -
2006-01-04 12:07:21 +00:00
Jonas Maebe
58381ff7b6 * made chararray handling 98% TP-compatible, fixes web bugs 3012
and 4080. The compatibility differences are:
      a) writing a chararray which is zero-based but not zero-
         terminated does not cause a buffer overflow
      b) non-zero-based chararrays can also be read

    The difference was that previously, all chararrays were treated
    as pchars. In TP/Delphi (and now also in FPC), this is only done
    for zero-based chararrays. For non-zero-based ones, the entire
    contents of the array should always be used (including #0's).

    The default parameters in the system unit for the chararray
    helpers are to avoid having to use a define for bootstrapping.

git-svn-id: trunk@2152 -
2006-01-04 10:05:10 +00:00
florian
da18dca277 * graph and ggigraph unit moved to packages/base
git-svn-id: trunk@2071 -
2005-12-29 14:36:22 +00:00
Jonas Maebe
640ddd2e26 - removed unused local conflicting type definition
git-svn-id: trunk@2056 -
2005-12-26 16:01:13 +00:00
Jonas Maebe
b08eccdbf0 - reverted ansi2wide and wide2ansi changes, because they affect
third party sources too much

git-svn-id: trunk@2046 -
2005-12-24 01:40:23 +00:00
Jonas Maebe
5b9f58ef73 * reverted r2037 because of braindead "out" semantics for refcounted
types

git-svn-id: trunk@2045 -
2005-12-24 01:06:05 +00:00
Jonas Maebe
9a08cdccf0 * several changes of var parameters into out parameters to avoid
useless warnings: code parameter of val(), destination of str(),
    destinations of ansi2wide and wide2ansi

git-svn-id: trunk@2041 -
2005-12-23 22:25:26 +00:00
Jonas Maebe
4c3fb9ae00 * frexp has out instead of var parameter
git-svn-id: trunk@2040 -
2005-12-23 22:03:21 +00:00
Jonas Maebe
84aab46550 * changed formal "var" paramters of move, movechar0 and fill* into
"out" parameters to avoid wrong "uninitialized" warnings

git-svn-id: trunk@2037 -
2005-12-23 20:59:08 +00:00
peter
767291ca5f * refactor reading and setting of parent classes
git-svn-id: trunk@1992 -
2005-12-19 12:24:45 +00:00
peter
9d817056ce * optimize by removing expensive calculations
git-svn-id: trunk@1973 -
2005-12-16 17:19:37 +00:00
florian
398cafb1a0 * fixed cases
git-svn-id: trunk@1969 -
2005-12-15 22:55:43 +00:00
florian
da9469c550 * avoid unique call in ansistr_append
git-svn-id: trunk@1968 -
2005-12-15 22:55:20 +00:00
florian
e2a4dac215 + i386 assembler versions of decr_ansistring and unique_ansistring
git-svn-id: trunk@1963 -
2005-12-15 19:51:57 +00:00
Jonas Maebe
50ebeaad5e * fixed fpc_ansistr_append_ansistring() in case it's called to append a
string to itself

git-svn-id: trunk@1961 -
2005-12-15 15:22:35 +00:00
peter
198aa2e72a * change value to const string to remvoe implicit exception stack:
git-svn-id: trunk@1949 -
2005-12-14 17:23:32 +00:00
Jonas Maebe
9b9dd342c5 * fixed strpos() in case source or target is nil
+ added test for this

git-svn-id: trunk@1907 -
2005-12-09 14:57:10 +00:00