Commit Graph

7522 Commits

Author SHA1 Message Date
michael
6d5c3bbee6 * Patch from Giuliano Colla to fix tbits.size
git-svn-id: trunk@10095 -
2008-01-29 13:08:54 +00:00
michael
d87768dc0c * Implemented Loading, as per Graeme Geldenhuys request
git-svn-id: trunk@10094 -
2008-01-29 12:31:24 +00:00
marco
d28e21c4ac * Remove some BSD warnings. Still get warnings for cwstrings and ctypes, but
they are in inc/ ?

git-svn-id: trunk@10093 -
2008-01-29 09:10:29 +00:00
Jonas Maebe
76b7bfedd8 * fix for (w)chararray to ansi/widestring conversions after
ansi/widestring function handling change in r9718 (patch by
    Sergei Gorelkin)

git-svn-id: trunk@10073 -
2008-01-27 22:06:07 +00:00
peter
95d0ce1270 * VendorName function added to allow an extra subdirectory
to group multiple products
  * OnGetVendorName hook, like OnGetApplicationName
  * use COMMON_APPPATH for global config files under windows

git-svn-id: trunk@10072 -
2008-01-27 21:40:55 +00:00
peter
50a9dcd5f9 * global appconfig dir needs to be common_appdata directory
git-svn-id: trunk@10068 -
2008-01-27 19:55:05 +00:00
Jonas Maebe
8349cde7db * changed byte/word/longbool to be Delphi-compatible (+ similar changes
for qwordbool) + test:
    o assigning true to such a variable now sets them to $ff/$ffff/$ffffffff
    o these types are now all signed
    o converting an integer type to a byte/word/long/qwordbool using an
      explicit type cast keeps the integer's original value stored in the
      bool, instead of forcing it to ord(true)/ord(false)
    (mantis #10233 and #10613, implemented for all architectures, testsuite
     tested for ppc32, sparc and x86)
  * fixed some places where the rtl depended on longbool(true) having the
    value 1
  * extended several boolean tests (and adapted some to no longer assume
    that byte/word/long/qwordbool(true)=1)
  + support for converting to qwordbool in second_int_to_bool for x86, ppc
    and sparc

git-svn-id: trunk@9898 -
2008-01-24 21:30:55 +00:00
Jonas Maebe
200f1e5643 * fixed webtbs/tw10519.pp for CPUs which don't support extended
git-svn-id: trunk@9893 -
2008-01-24 10:33:14 +00:00
peter
5df1907f03 * windows support
git-svn-id: trunk@9888 -
2008-01-23 23:03:54 +00:00
peter
d77af6d31c * linux rtl can be built as package
git-svn-id: trunk@9883 -
2008-01-23 17:43:55 +00:00
peter
545d27e888 * go32v2 fixed
* moved all targets using the same executbale structure together so
    the reuse of the generic functions is more clear

git-svn-id: trunk@9881 -
2008-01-23 15:59:20 +00:00
peter
73871b64ce * BeOS/Haiku updates from Olivier Coursière
git-svn-id: trunk@9880 -
2008-01-23 15:37:25 +00:00
peter
ff4b5fcb59 * add all linux units, still need to finish dependencies
git-svn-id: trunk@9877 -
2008-01-23 00:24:05 +00:00
peter
a738629e94 * completed linux system include deps
git-svn-id: trunk@9859 -
2008-01-21 18:16:08 +00:00
Jonas Maebe
1d88e3eb11 * replace strpcopy with its own code because unix no longer
depends on the strings unit (patch from Peter)

git-svn-id: trunk@9851 -
2008-01-21 14:45:40 +00:00
peter
4f72209bc0 * more unix units added
git-svn-id: trunk@9833 -
2008-01-20 22:12:31 +00:00
marco
bbe4dfce00 * fix for 10292. Higher baudrates and new utf constant
git-svn-id: trunk@9828 -
2008-01-20 21:58:26 +00:00
peter
1aa548426b * remove uses strings
git-svn-id: trunk@9827 -
2008-01-20 21:27:01 +00:00
peter
37e509f290 * remove uses strings, strlen/strpas are in system unit
git-svn-id: trunk@9826 -
2008-01-20 21:07:08 +00:00
daniel
0d78460e2e * Disable int_str again.
git-svn-id: trunk@9816 -
2008-01-20 14:47:48 +00:00
florian
b9fd8f0fc3 * build lnfdwarf on win64
git-svn-id: trunk@9815 -
2008-01-20 14:43:22 +00:00
peter
482ad1334b * support .gnu_debuglink section to have the debug info in an
external file

git-svn-id: trunk@9813 -
2008-01-20 13:13:55 +00:00
florian
f7a891248a * win64 compilation fix
git-svn-id: trunk@9812 -
2008-01-20 13:04:21 +00:00
Tomas Hajny
03de80785d * StabsFunctionRelative initialization hopefully fixed
git-svn-id: trunk@9810 -
2008-01-20 12:12:01 +00:00
Tomas Hajny
51b230d501 * one more change from FileSize (F) to E.Size, although it's in not yet adapted BEOS section
git-svn-id: trunk@9808 -
2008-01-20 12:06:28 +00:00
Tomas Hajny
8c9099b5e5 * E.Size changed to int64 for consistency with FileSize result
git-svn-id: trunk@9807 -
2008-01-20 11:57:47 +00:00
Tomas Hajny
00b342301a * partial fix for Win64 (CoffSymbol not resolved yet - is it equal in PE32 and PE32PLUS?)
git-svn-id: trunk@9806 -
2008-01-20 11:49:41 +00:00
Jonas Maebe
c743711f40 * fixed darwin/stabs code
git-svn-id: trunk@9805 -
2008-01-20 11:26:31 +00:00
Tomas Hajny
7d22198d43 * fix OS/2 compilation after exeinfo creation
git-svn-id: trunk@9803 -
2008-01-20 01:55:48 +00:00
Tomas Hajny
4b46ccdf4b * fix OS/2 compilation after exeinfo creation
git-svn-id: trunk@9802 -
2008-01-20 01:55:27 +00:00
peter
a504c974ab * use exeinfo unit to find .debug_line section
git-svn-id: trunk@9801 -
2008-01-19 22:09:58 +00:00
peter
c553583486 * cache filesize
* fix result setting for elf 

git-svn-id: trunk@9800 -
2008-01-19 22:09:42 +00:00
peter
2a479654f1 * remove asm for simple math functions so the generic inlined function is
taken. This generates smaller optimized code

git-svn-id: trunk@9796 -
2008-01-19 20:23:27 +00:00
daniel
624bb8e7e1 * Add win32 workaround suggested by Peter.
git-svn-id: trunk@9795 -
2008-01-19 19:32:03 +00:00
peter
1561d97465 * optimize write loop in int_str
git-svn-id: trunk@9794 -
2008-01-19 16:48:12 +00:00
peter
f70219cdd8 * add align directives to int_str
git-svn-id: trunk@9793 -
2008-01-19 16:32:39 +00:00
daniel
d12e107800 * Use fpc_geteipasebx.
git-svn-id: trunk@9792 -
2008-01-19 15:24:36 +00:00
yury
68f340eb9c * Fixed THREAD_PRIORITY constants.
git-svn-id: trunk@9790 -
2008-01-19 13:15:05 +00:00
daniel
220565fb94 * Remove unused lea from skip loop.
git-svn-id: trunk@9789 -
2008-01-19 08:33:48 +00:00
Jonas Maebe
8c45c66e13 * removed accidentally committed global disable of assembler int_str
* fixed compilation of int_str on darwin/pic
  * disabled int_str for darwin because it crashes

git-svn-id: trunk@9785 -
2008-01-18 23:09:37 +00:00
Jonas Maebe
95c991872b + added exeinfo to implicit units so make install works again
git-svn-id: trunk@9784 -
2008-01-18 23:03:38 +00:00
daniel
b8fdbb1055 * Some final tweaks to asm int_str.
git-svn-id: trunk@9782 -
2008-01-18 22:21:49 +00:00
daniel
f94d457429 * Add Darwin PIC support to assembler int_str again.
* Make it respect the open string boundary
  * Activate it again

git-svn-id: trunk@9781 -
2008-01-18 22:12:16 +00:00
peter
3befb1f832 * refactor executable loading into exeinfo unit so
it can be reused also for lnfodwrf

git-svn-id: trunk@9780 -
2008-01-17 23:47:42 +00:00
michael
41cce2fe42 * Fixed IsEmptyStr
git-svn-id: trunk@9775 -
2008-01-16 16:15:05 +00:00
joost
3852af4afb * Moved StringsReplace from sqldb to strutils
* Removed unused NotYetImplemented procedure from strutils

git-svn-id: trunk@9771 -
2008-01-15 22:13:47 +00:00
peter
923aac0390 * give range error if setlength value < 0 and the array is not filled
git-svn-id: trunk@9758 -
2008-01-14 18:05:48 +00:00
micha
a9972548b0 + add arm-linux/uclibc startup code
git-svn-id: trunk@9725 -
2008-01-12 17:08:43 +00:00
Jonas Maebe
cdfb7c8f26 * patch from Sergei Gorelkin to return ansi/widestrings by reference
in an invisible parameter (Delphi compatible, faster/smaller code)

git-svn-id: trunk@9718 -
2008-01-11 22:36:50 +00:00
Jonas Maebe
eb83213f10 * Only start recycling oschunks once MaxKeptOSChunks chuncks have
been allocated. E.g. allocate 100 blocks of 80 bytes and free them
    all, then the same with blocks of 96, 112, 128, 144, 160 and 176
    bytes, after which again 80 bytes -> previously, regardless of
    the value of MaxKeptOSChunks, the empty block for 80 bytes was
    reformatted for those of 96 bytes, then for 112 bytes etc. Now,
    if MaxKeptOSChunks is set to 7, none will ever be reformatted
    because enough chunks will be allocated from the OS.

git-svn-id: trunk@9696 -
2008-01-09 20:39:59 +00:00