Commit Graph

37140 Commits

Author SHA1 Message Date
sergei
901eb84b3d * xmlwrite.pp, started implementing the streaming API.
git-svn-id: trunk@20924 -
2012-04-19 00:21:55 +00:00
pierre
3d17ae49af Corrected NetBSD system errors
git-svn-id: trunk@20923 -
2012-04-18 16:04:01 +00:00
pierre
94c8a75efd syscall 280 is __NR_tee for sparc CPU
git-svn-id: trunk@20922 -
2012-04-18 15:54:34 +00:00
pierre
1592f98a69 Avoid inappropriate file name expansion
git-svn-id: trunk@20921 -
2012-04-18 15:43:47 +00:00
pierre
80838aa2dd EDEADLOCK is same as EDEADLK, error number 58 does not exist in Linux
git-svn-id: trunk@20920 -
2012-04-18 15:39:12 +00:00
marco
86ec9c367c * Patch from Lacak2 for #16842. Fix parsing of FROM (mysql show..from)
git-svn-id: trunk@20919 -
2012-04-18 13:31:35 +00:00
pierre
6568de7e0f Avoid \t which is not supported properly on NetBSD and accept negative values
git-svn-id: trunk@20918 -
2012-04-18 10:50:16 +00:00
marco
304db43604 * Patch from Lacak2 (Mantis #14519) that fixes "Check Table" having a
resultset (folding it onto select)

git-svn-id: trunk@20917 -
2012-04-18 10:45:21 +00:00
pierre
c4288ea2c0 * Fix missing echo command
git-svn-id: trunk@20916 -
2012-04-18 10:35:47 +00:00
pierre
8e25bedde3 Use separate sparc include and add missing error numbers
git-svn-id: trunk@20915 -
2012-04-18 10:32:32 +00:00
pierre
eb90a60afe New test for sysnr.inc system error numbers
git-svn-id: trunk@20914 -
2012-04-18 10:31:29 +00:00
pierre
90f12d0e4d Improve check for Linux
git-svn-id: trunk@20913 -
2012-04-18 10:30:19 +00:00
pierre
75ca260090 Separate sparc specific system error numbers into new include file
git-svn-id: trunk@20912 -
2012-04-18 10:29:10 +00:00
pierre
b3f3e0d2a1 Move check_sys.sh to unix/scripts directory
git-svn-id: trunk@20911 -
2012-04-18 10:24:34 +00:00
pierre
11fe796ac3 Add script directory
git-svn-id: trunk@20910 -
2012-04-18 10:10:03 +00:00
pierre
6ce33d3aef Add script directory
git-svn-id: trunk@20909 -
2012-04-18 10:09:41 +00:00
paul
e05121ff0d tests: modified test to be more informative
git-svn-id: trunk@20908 -
2012-04-18 09:19:38 +00:00
paul
b80e7c8fba compiler: change candidates search preference for variant arguments based on testing delphi XE + fixing tests
before the change order was (from better to worse): shortstring, ansistring, widestring, unicodestring
now the order is (from better to worse): widestring, unicodestring, ansistring, shortstring

git-svn-id: trunk@20907 -
2012-04-18 09:13:24 +00:00
pierre
6244671000 Add neednostdlib=1 for netbsd to avoid use of incompatble system libraries
git-svn-id: trunk@20906 -
2012-04-18 07:57:48 +00:00
pierre
7d82ed4459 + Add ACCEPT_646 for systems that return '646' for nl_langinfo(CODESET) call
git-svn-id: trunk@20905 -
2012-04-17 15:28:28 +00:00
pierre
8750b10113 correct TStatFs for netbsd
git-svn-id: trunk@20904 -
2012-04-17 15:25:29 +00:00
Jonas Maebe
8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it
* created separate version of fpc_AnsiStr_Concat_multi() after all
    because it contains a punicodechar(unicodestring) typecast, which
    can't be supported on the JVM target (and splitting it out in the
    generic code seems like a bit overkill), and restored original
    generic version of fpc_AnsiStr_Concat_multi() (slightly faster
    than version partially adapted for jvm)

git-svn-id: branches/jvmbackend@20903 -
2012-04-16 20:51:51 +00:00
Jonas Maebe
1efee1d2eb * set destination codepage in widestringmanager.Unicode2AnsiMoveProc() like
on other platforms, rather than explicitly setting it afterwards
    everywhere

git-svn-id: branches/jvmbackend@20902 -
2012-04-16 20:51:46 +00:00
Jonas Maebe
02413c8a57 * moved maybequoted() from cutils to cfileutl and let its behaviour vary
based on the actual target platform rather than always on the host
    platform
  * on Unix, use single rather than double quotes for quoting, so it also
    properly handles $, ! and `, which keep their special meaning when
    appearing in scripts inside double quotes
  * since sysutils.executeprocess() can only deal with double-quoted
    strings in parameters, re-quote parameters on Unix when they turn
    out not to be for scripts but for direct execution (which is most
    of the time, but unfortunately doing the reverse is not possible
    because parameters used in scripts sometimes contain script-specific
    code that must not be quoted, such as `cat link.res`)
   -> always use cfileutl.RequotedExecuteProcess() rather than
    sysutils.ExecuteProcess() in the compiler (added a bunch of dummy
    ExecuteProcess string constants to common units to prevent accidental
    usage)

git-svn-id: branches/jvmbackend@20901 -
2012-04-16 19:52:36 +00:00
pierre
e3aabfec79 * OpenBSD uses a special sigprocmask syscall
git-svn-id: trunk@20900 -
2012-04-16 15:43:44 +00:00
marco
a680c4f1d6 * Patch from Ludo that fixes that Event handlers were only created for the first CoClass that used the shared events
Mantis #21779

git-svn-id: trunk@20899 -
2012-04-16 07:47:11 +00:00
Jonas Maebe
ac419e1cb4 + passthrough hlcgpu for AVR
git-svn-id: branches/jvmbackend@20898 -
2012-04-15 21:43:57 +00:00
Tomas Hajny
0afee490e2 + FileNameCasePreserving added - see #18066 in Mantis
git-svn-id: trunk@20897 -
2012-04-15 21:29:14 +00:00
Tomas Hajny
27403b542b + FileNameCasePreserving added - see #18066 in Mantis
git-svn-id: trunk@20896 -
2012-04-15 21:21:53 +00:00
Jonas Maebe
cdefb6720f * fixed compilation after r20801
git-svn-id: trunk@20895 -
2012-04-15 21:11:10 +00:00
Tomas Hajny
d442d14e0c + FileNameCasePreserving added - see #18066 in Mantis
git-svn-id: trunk@20894 -
2012-04-15 20:56:13 +00:00
Jonas Maebe
fb73001389 * don't give an internalerror when setting the mangledbasename in case the
regular mangledname has already been set (just like we don't internalerror
    when changing the regular mangledname even if it has already been set);
    this happens e.g. when specifying the external name of some interface
    variables, such as in the Win32 system unit

git-svn-id: branches/jvmbackend@20893 -
2012-04-15 20:49:40 +00:00
florian
fc673340fe + implemented x86-64 mov optimization to test register usage tracking framework
git-svn-id: trunk@20892 -
2012-04-15 20:30:45 +00:00
florian
3c33bf4e6d * completed framework for register usage tracking
git-svn-id: trunk@20891 -
2012-04-15 20:29:35 +00:00
Tomas Hajny
225cc1c1e0 * fix FileExists/DirectoryExists wrongly accepting non-existing entries with wrong path due to path normalization using ExpandFileName (correctly) accepting also non-existing paths
git-svn-id: trunk@20890 -
2012-04-15 19:46:33 +00:00
Jonas Maebe
25f9c15290 * force -vw switch, because if it's not active then -Sew won't do anything
git-svn-id: trunk@20889 -
2012-04-15 16:09:29 +00:00
Jonas Maebe
9c311fa6bb + test object files for AIX/PowerPC
git-svn-id: trunk@20888 -
2012-04-15 16:06:46 +00:00
Jonas Maebe
aee5380ae0 * merged trunk up to r20882
o support for the new codepage-aware ansistrings in the jvm branch
   o empty ansistrings are now always represented by a nil pointer rather than
     by an empty string, because an empty string also has a code page which
     can confuse code (although this will make ansistrings harder to use
     in Java code)
   o more string helpers code shared between the general and jvm rtl
   o support for indexbyte/word in the jvm rtl (warning: first parameter
     is an open array rather than an untyped parameter there, so
     indexchar(pcharvar^,10,0) will be equivalent to
     indexchar[pcharvar^],10,0) there, which is different from what is
     intended; changing it to an untyped parameter wouldn't help though)
   o default() support is not yet complete
   o calling fpcres is currently broken due to limitations in
     sysutils.executeprocess() regarding handling unix quoting and
     the compiler using the same command lines for scripts and directly
     calling external programs
   o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
     to the make command line

git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
florian
2a6a4831ea * basics for generic register usage information
git-svn-id: trunk@20886 -
2012-04-15 14:20:47 +00:00
michael
3d366bca44 * Reverse erronous commit of unchecked patch
git-svn-id: trunk@20885 -
2012-04-15 14:02:16 +00:00
michael
b2ce6b2cab * Reinstated SetFound
git-svn-id: trunk@20884 -
2012-04-15 14:00:06 +00:00
florian
9e105677db * optimize mov/and sequences on x86-64
git-svn-id: trunk@20883 -
2012-04-15 12:58:02 +00:00
michael
86c8b19336 * Patch and testcase from Luiz Americo to fix ExtractFieldName (bug 21777)
git-svn-id: trunk@20882 -
2012-04-15 11:52:15 +00:00
michael
5219b118d8 * Fix checkconstraints initialization and property setter (by Luiz Americo)
git-svn-id: trunk@20881 -
2012-04-15 09:34:09 +00:00
michael
fcb4bf4854 * Solved name conflict parser.inc is used in classes unit
git-svn-id: trunk@20880 -
2012-04-15 09:27:53 +00:00
sergei
86f0a4177d * SAX cleanup: removed {$ifdef UseDynArrays}, left variant without dynarrays, they don't provide any significant advantage.
* Changed TList to TFPList, removed redundant FLength field.

git-svn-id: trunk@20879 -
2012-04-14 22:44:45 +00:00
Jonas Maebe
f0b7ce8afe * fix building for Haiku/BeOS after r20839 (patch by Olivier Coursière)
git-svn-id: trunk@20878 -
2012-04-14 20:36:02 +00:00
florian
ceb1becfa1 * align cmp byte loop
git-svn-id: trunk@20877 -
2012-04-14 20:09:51 +00:00
florian
4b7748ad11 * better suitable on x86_64-linux
git-svn-id: trunk@20876 -
2012-04-14 20:09:31 +00:00
florian
39ab9eceba * fix OpsEqual
git-svn-id: trunk@20875 -
2012-04-14 20:08:56 +00:00