Commit Graph

122 Commits

Author SHA1 Message Date
yury
4662eb98fc * Fixed warnings.
git-svn-id: trunk@9102 -
2007-11-03 12:22:54 +00:00
florian
b2b0e749bb * win32 system unit doesn't depend anymore directly on the main program, this is necessary to be able to keep it in a dll
git-svn-id: trunk@9052 -
2007-11-01 21:59:43 +00:00
florian
4fa9516b58 * experimental patch to get the real reserved stack size from the executable
git-svn-id: trunk@9043 -
2007-11-01 15:26:55 +00:00
florian
78ca6925ba * don't care about __stklen anymore
git-svn-id: trunk@9028 -
2007-11-01 10:18:05 +00:00
florian
90af7ebf72 * use only windows exceptions for stack checking on win32/win64, resolves #9166
git-svn-id: trunk@9020 -
2007-10-31 23:19:48 +00:00
florian
7da7364ee7 * refactored SysResetFPU into SysInitFPU and SysResetFPU
git-svn-id: trunk@8966 -
2007-10-28 12:06:49 +00:00
Tomas Hajny
3b3849c02c + AllFilesMask constant added
git-svn-id: trunk@8492 -
2007-09-15 12:09:25 +00:00
Jonas Maebe
084f47708a * fixed CtrlZMarksEOF comment (#9475)
git-svn-id: trunk@8372 -
2007-09-03 18:36:45 +00:00
Jonas Maebe
815cd2b39d + support for widestring manager based widechar conversions
(widechar<->char, widechar<>*string), based on patch from
    Rimgaudas Laucius (mantis #7758)
  * no longer perform compile-time widechar/string->char/ansi/
    shortstring conversions if they would destroy information
    (they can't cope with widechars with ord>=128). This means
    that you can now properly constant widechars/widestrings
    in source code with a {$codepage } set without risking that
    the compiler will mangle everything afterwards
  * support ESysEINVAL return code from iconv (happens if last
    multibyte char is incomplete)
  * fixed writing of widechars (were converted to char -> lost
    information)

git-svn-id: trunk@8274 -
2007-08-12 20:01:08 +00:00
florian
80d55022e9 * tried to fix SSE OS support detection
git-svn-id: trunk@7553 -
2007-06-02 19:26:06 +00:00
florian
91cdcff845 * the cygwin1.dll messes with the console mode so store and restore the console mode if necessary
git-svn-id: trunk@7218 -
2007-04-30 20:02:36 +00:00
florian
c4ed4ed7c1 * fix gprof support for win32
git-svn-id: trunk@7003 -
2007-03-25 20:26:59 +00:00
florian
c6f8f550f9 * resource functions for win64, fixes #8304
git-svn-id: trunk@6540 -
2007-02-18 10:07:12 +00:00
florian
bcf65051e3 * detect sse properly on linux, fixes tmask*.pp in the testsuite with -Cfsse2
git-svn-id: trunk@6277 -
2007-01-31 21:51:47 +00:00
florian
ce6f6ee4bf * fixed compilation on i386
git-svn-id: trunk@5968 -
2007-01-14 13:56:11 +00:00
florian
e5dd51c95b * commented our sse hacking
git-svn-id: trunk@5936 -
2007-01-12 23:32:31 +00:00
micha
19cb1b6e34 fix win95: win32 sse support check, patch by florian
git-svn-id: trunk@5935 -
2007-01-12 23:07:01 +00:00
florian
21955282d0 + infrastructure for DispInterface call dispatching
git-svn-id: trunk@5793 -
2007-01-02 23:06:17 +00:00
florian
6e2187c606 + windows uses now sysinit units as well
git-svn-id: trunk@5191 -
2006-11-02 23:20:35 +00:00
Almindor
f29488cf16 * fixes argument parsing in win32 (bug #7536)
git-svn-id: trunk@4815 -
2006-10-06 17:24:04 +00:00
florian
d90dee5959 * beautified
git-svn-id: trunk@4563 -
2006-09-07 20:07:05 +00:00
florian
8573d3679e * use SysResetFPU instead of inline assembler
git-svn-id: trunk@4545 -
2006-09-03 20:35:16 +00:00
florian
d337c3ca6a * clean up heap at exit, fixes #7183
git-svn-id: trunk@4410 -
2006-08-11 22:09:29 +00:00
yury
5a49addb35 * fixed more warnings and notes while compiling RTL.
git-svn-id: trunk@4259 -
2006-07-19 19:10:02 +00:00
yury
1d58b572b5 * Changed Win32 DLL entry point names (removed @12 at the end).
git-svn-id: trunk@2770 -
2006-03-05 20:44:23 +00:00
peter
98bced6f63 * stacktop is a threadvar
git-svn-id: trunk@2698 -
2006-02-26 19:56:22 +00:00
peter
4c56a87d59 * integrate loaders in system unit
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
florian
0a21ae4b05 * reset fpu after sse detection
git-svn-id: trunk@2626 -
2006-02-19 13:54:10 +00:00
peter
1b9f2a8fa9 * use initialstkptr for setting stackbottom
git-svn-id: trunk@2268 -
2006-01-12 11:55:36 +00:00
florian
78447375dc * comment patch by Vincent Snijders
git-svn-id: trunk@2231 -
2006-01-08 16:28:32 +00:00
florian
af9d6344b8 * activated fastmove on win32
git-svn-id: trunk@2218 -
2006-01-08 10:10:28 +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
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
florian
b88fcfda62 + 64 bit fs support
git-svn-id: trunk@1793 -
2005-11-20 15:50:06 +00:00
tom_at_work
1b4b42fdd6 * added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
florian
1102cc2b95 * hopefully final fix for the hinstance problem of libraries
git-svn-id: trunk@1276 -
2005-10-03 21:10:19 +00:00
michael
c15d1b280f + Initial implementation of RTL resource support
git-svn-id: trunk@991 -
2005-08-31 15:54:30 +00:00
florian
a9a0e65eab * optimized exception handler routine from Yury Sidorov
git-svn-id: trunk@835 -
2005-08-09 19:14:04 +00:00
marco
90d0f399d7 * Patch from Vincent
git-svn-id: trunk@795 -
2005-08-05 12:59:58 +00:00
florian
ed95c19399 * reallocation of widestrings on windows fixed
* warnings in sstrings.inc fixed

git-svn-id: trunk@500 -
2005-06-26 08:17:21 +00:00
florian
13e3102954 * Patch from Vincent Snijders:
* 1. except.patch implements ExceptFrameCount and ExceptFrames
  * 2. arg.patch fixes a bug in the copying of the commandfilename to the arg array. The #0 character was not copied, so the pchar was not properly terminated.

git-svn-id: trunk@461 -
2005-06-21 12:55:45 +00:00
florian
07442c5693 * fixed passing of variant parameters for windows api
* widestrings need to be allocated by a special OS call on windows

git-svn-id: trunk@458 -
2005-06-20 19:56:36 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
peter
b68af1b0e3 * post 2.0.0 fixes from cvs
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
michael
2e48181661 + Added maxpathlen constant (maximum length of filename path) 2005-05-12 20:29:04 +00:00
Tomas Hajny
d3c103dfd7 * EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug #2453) 2005-04-03 21:10:59 +00:00