Commit Graph

7561 Commits

Author SHA1 Message Date
yury
29c19fa4e3 * Do not free invalid pointer in RegSetValueExA wrapper.
git-svn-id: trunk@10303 -
2008-02-11 18:43:37 +00:00
yury
518f21a99e * Import some functions by ordinal only to be compatible with older versions of wince.
git-svn-id: trunk@10301 -
2008-02-11 16:23:54 +00:00
Jonas Maebe
c35e0bf712 - removed fclex at the end of fpc_exp_real because it makes that routine 10+
times slower on P4/Athlon XP cpus, and removing it does not cause any test
    suite regressions

git-svn-id: trunk@10284 -
2008-02-10 21:49:52 +00:00
marco
4774f766e0 * second batch Lazarus' win32extra merging. Basic migration done, though a few discussion items remain open.
git-svn-id: trunk@10269 -
2008-02-10 14:17:11 +00:00
marco
c6c6bbd13a * first batch of lazarus' win32extra enhancements
git-svn-id: trunk@10268 -
2008-02-10 13:45:37 +00:00
marco
e9804d7002 * some more small updates.
git-svn-id: trunk@10258 -
2008-02-09 19:46:14 +00:00
marco
f8f4fc21a3 * More image_ structs from winnt.h
git-svn-id: trunk@10257 -
2008-02-09 18:55:59 +00:00
marco
bdf213a03a * ulong32 + 64 needed for imagehlp.pp
git-svn-id: trunk@10256 -
2008-02-09 12:31:20 +00:00
Jonas Maebe
4d9445749c * fixed buffer overflow in delete() for widestrings (patch by
Martin Schreiber, #10800)

git-svn-id: trunk@10255 -
2008-02-09 11:47:14 +00:00
marco
71a017aca0 * overload fix.
git-svn-id: trunk@10252 -
2008-02-08 19:58:51 +00:00
Jonas Maebe
521b5d88ff * fixed FindSectionMachO32PPC() return value
git-svn-id: trunk@10248 -
2008-02-08 14:06:31 +00:00
marco
fe7b1a7f2e * fixed smartlink like Jonas proposed dd 2008-01-06. Also relevant because of 10766
git-svn-id: trunk@10235 -
2008-02-07 09:56:51 +00:00
marco
51dc129916 * lfanew in dosheader aliased with union
git-svn-id: trunk@10229 -
2008-02-05 10:12:30 +00:00
Jonas Maebe
4b82b9b50e * set FunctionRelative to false for Mach-O so -gl works again
for stabs

git-svn-id: trunk@10202 -
2008-02-04 10:45:35 +00:00
marco
e7e430d2f5 * getfileinfoex + small delphi compat fix (tbstr)
git-svn-id: trunk@10195 -
2008-02-03 21:14:38 +00:00
marco
b527b5948a * TImageSectionHeader without underscores, per delphi compat
git-svn-id: trunk@10194 -
2008-02-03 20:37:13 +00:00
marco
5156dc33b2 * image_* related constants expanded.
git-svn-id: trunk@10193 -
2008-02-03 20:01:03 +00:00
marco
f2d6410812 * More small compat fixes and constants.
git-svn-id: trunk@10190 -
2008-02-03 17:57:56 +00:00
marco
a259154511 * propvariant and friends.
git-svn-id: trunk@10185 -
2008-02-03 17:18:45 +00:00
marco
fc2a1eb190 * minor delphi compat fixes for jcl
git-svn-id: trunk@10175 -
2008-02-03 10:59:39 +00:00
peter
60241db077 * extensions for ctypes, cwstring
git-svn-id: trunk@10164 -
2008-02-02 22:55:03 +00:00
marco
58b3208552 * fixed 16-bits types tgid/tpid/mode_t removed 1.0 compat ifdef
git-svn-id: trunk@10158 -
2008-02-02 17:39:27 +00:00
peter
cc710dc05f * remove objpas dependency, patch by Giulio
git-svn-id: trunk@10154 -
2008-02-02 16:16:21 +00:00
yury
0109c29e3f * Fixed bug #10716.
git-svn-id: trunk@10139 -
2008-02-01 19:59:12 +00:00
yury
617b59e1c0 * Fixed 3 warnings and 1 note.
git-svn-id: trunk@10135 -
2008-02-01 17:42:41 +00:00
yury
f040558e1c * Fixed wince compilation.
* Added some constants.

git-svn-id: trunk@10134 -
2008-02-01 17:39:02 +00:00
peter
517fd357c9 * DoDirSeperators pchar overload
git-svn-id: trunk@10133 -
2008-02-01 08:16:33 +00:00
peter
3ffcb2244e * FileSearch needs to check first the file in the
current dir

git-svn-id: trunk@10128 -
2008-02-01 07:03:30 +00:00
marco
07808fc80f * plresult for IContextMenu<x>
git-svn-id: trunk@10121 -
2008-01-30 22:50:51 +00:00
peter
e08570573f * fix and cleanup FileSearch
git-svn-id: trunk@10115 -
2008-01-30 11:57:23 +00:00
peter
69363bad5e * quote parameters with spaces
git-svn-id: trunk@10111 -
2008-01-30 00:15:22 +00:00
peter
8c0adc7f3d * fixed also ExtractFileName
git-svn-id: trunk@10108 -
2008-01-29 23:30:30 +00:00
peter
496212d5c4 * fixed ExtractFileExt broken after previous commit
git-svn-id: trunk@10107 -
2008-01-29 23:23:25 +00:00
peter
f4f3ae84d0 * AllowDirectorySeparators and AllowDriveSeparators typed constants
added to allow customization of path and directory parsing in the rtl
  * Use the new sets instead of the hardcoded / and \

git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
peter
3d319a99b8 * made forcedirectories consistent with other file handling
to accept both / and \ as spearators

git-svn-id: trunk@10104 -
2008-01-29 22:14:53 +00:00
marco
5eb8f7006b * interlockedincrement aliased for delphi compat
git-svn-id: trunk@10101 -
2008-01-29 21:02:13 +00:00
marco
66d08b2586 * Delphi compat overload reenabled.
git-svn-id: trunk@10098 -
2008-01-29 20:06:38 +00:00
marco
d7c9bb88d2 * remove some redundant pbyte definitions.
git-svn-id: trunk@10097 -
2008-01-29 19:37:41 +00:00
marco
66676be8e5 * pbyte killed, it is in systems nowadays
git-svn-id: trunk@10096 -
2008-01-29 19:35:01 +00:00
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