Commit Graph

34822 Commits

Author SHA1 Message Date
paul
9e0ad7baae merge r17318 from cpstrnew branch by florian:
* compilation fix by Inoussa OUEDRAOGO, resolves #19160

git-svn-id: trunk@19104 -
2011-09-17 13:01:20 +00:00
paul
99dae8b97e merge r16256 from cpstrnew branch by marco:
* fix for cycling with 2.4.x

git-svn-id: trunk@19103 -
2011-09-17 12:53:58 +00:00
paul
091627883f merge r14347 from cpstrnew branch by florian:
* fixed bootstrapping with 2.4.0
* patches by Graeme Geldenhuys, resolve #15251, #15252, #15253

git-svn-id: trunk@19102 -
2011-09-17 12:00:06 +00:00
paul
eefa5dbf25 merge r14170 from cpstrnew branch by paul:
add a test wich fails at moment

git-svn-id: trunk@19101 -
2011-09-17 11:57:43 +00:00
paul
233004f72b merge r14144 from cpstrnew branch by paul:
call MultiByteToWideChar with dwFlags=0 for UTF8 code page

git-svn-id: trunk@19100 -
2011-09-17 11:56:16 +00:00
paul
55434fd1d8 merge r14143 from cpstrnew branch by paul:
use RawByteString instead of AnsiString for Pos()

git-svn-id: trunk@19099 -
2011-09-17 11:54:58 +00:00
paul
e9f8182370 merge r14142 from cpstrnew branch by paul:
eat {$stringchecks} directive without the warning

git-svn-id: trunk@19098 -
2011-09-17 11:53:36 +00:00
paul
5bff550a15 merge r14141 from cpstrnew branch by paul:
+ test

git-svn-id: trunk@19097 -
2011-09-17 11:52:05 +00:00
paul
8f3f583199 merge r14140 from cpstrnew branch by paul:
prefer exact string const matches

git-svn-id: trunk@19096 -
2011-09-17 11:48:18 +00:00
paul
ad8195e9ae merge r14136 from cpstrnew branch by paul:
- fix return type of StringCodePage functions from Word to TSystemCodePage
- add SetMultiByteConversionCodePage procedure (which just change the DefaultSystemCodePage constant)

git-svn-id: trunk@19095 -
2011-09-17 11:46:33 +00:00
paul
b3db8db481 merge r14133 from cpstrnew branch by paul except ptconst.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision):
make AnsiStr concatenation and copy work

git-svn-id: trunk@19094 -
2011-09-17 11:44:47 +00:00
paul
2162add8ac merge r14132 from cpstrnew branch by paul:
- a set of rtl changes from AnsiString to RawByteString to various conversion functions
- a test which proves output in cp1251 and cp866 codepages (standard for Russian windows)

git-svn-id: trunk@19093 -
2011-09-17 11:39:13 +00:00
paul
2023b618ac merge r14131 from cpstrnew branch by paul:
rtl: do WriteStr without codepage conversion

git-svn-id: trunk@19092 -
2011-09-17 11:36:44 +00:00
paul
848ca6b0c0 merge r14130 from cpstrnew branch by paul:
pass unicodestring to rawbytestring arguments with converting to default system code page

git-svn-id: trunk@19091 -
2011-09-17 11:34:42 +00:00
paul
067b863b1b merge r14129 from cpstrnew by paul (defcmp.pas is not merged because trunk already has this fix):
prefer widestring->unicodestring and vice versa conversions than widestring->ansistring

git-svn-id: trunk@19090 -
2011-09-17 11:32:44 +00:00
paul
afa559ab2e merge r14123 from cpstrnew branch by paul:
fix string ref count for empty strings

git-svn-id: trunk@19089 -
2011-09-17 11:27:05 +00:00
paul
5e9ee14ee7 merge r 14122 from cpstrnew branch by paul:
fix StringCodePage for empty unicode and ansi strings

git-svn-id: trunk@19088 -
2011-09-17 11:24:49 +00:00
paul
203ded84ec merge r14121 from cpstrnew branch by paul:
make tcpstr1 work

git-svn-id: trunk@19087 -
2011-09-17 11:23:02 +00:00
paul
27538f21a4 merge r13489 from cpstrnew branch by florian:
* made tcpstr1 work

git-svn-id: trunk@19086 -
2011-09-17 11:21:00 +00:00
paul
8cc22972a0 merge r13488 from cpstrnew branch by florian except ncgcon.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision):
* first batch of patches to make tcpstr1.pp work

git-svn-id: trunk@19085 -
2011-09-17 11:16:45 +00:00
paul
06af8f3e44 merge r13486 from cpstrnew branch by florian:
+ fpc_ansistr_to_ansistr implemented, rtl compiles again

git-svn-id: trunk@19084 -
2011-09-17 11:03:30 +00:00
paul
ae0d732c8f merge r13485 from cpstrnew branch by florian:
* fixed compilation of system unit after last changes

git-svn-id: trunk@19083 -
2011-09-17 11:01:42 +00:00
paul
28627482c5 merge r13483 from cpstrnew branch by florian:
+ Win32Unicode2AnsiMove and Win32Wide2AnsiMove support code page parameter
+ Win32Ansi2UnicodeMove and Win32Ansi2WideMove support code page parameter
+ code page parameter added for several compilerprocs
* unified more code between win32 and win64 (widestring conversion routines

git-svn-id: trunk@19082 -
2011-09-17 10:54:00 +00:00
paul
42832675d8 merge r13482 from cpstrnew branch by florian:
+ first tests for code page aware strings

git-svn-id: trunk@19081 -
2011-09-17 10:40:45 +00:00
paul
8a4634a7b1 merge r13481 from cpstrnew branch by florian
+ support parsing of strings with code page specification
+ added encoding and elementsize field to ansi- and unicodestring records
+ some basic rtl support routines for encoding aware strings
+ DefaultSystemCodePage
+ DefaultUnicodeCodePage
+ ppu writing/loading of code page aware strings

git-svn-id: trunk@19080 -
2011-09-17 10:37:36 +00:00
paul
a95512f0ec merge cpstrnew branch r13480 by florian:
* merged old cpstr branch

git-svn-id: trunk@19079 -
2011-09-17 10:03:59 +00:00
Jonas Maebe
6920c7a0c1 * fixed stat/fstat-related types for iphonesim platform
(mantis #20249)

git-svn-id: trunk@19078 -
2011-09-17 09:31:32 +00:00
pierre
ea6138cffa * Add Category and svn information
git-svn-id: trunk@19077 -
2011-09-16 16:07:48 +00:00
marco
44bd4470f9 * Patch from Mantis #20046 fixing an issue in rcmatchstring.
git-svn-id: trunk@19072 -
2011-09-15 20:19:25 +00:00
sergei
1365467b0d + Support classes for creating unwind bytecode for Win64.
git-svn-id: trunk@19071 -
2011-09-15 15:35:08 +00:00
sergei
6280ee2eed * Changed attributes of .pdata section so it is smart-linkable on x86_64.
* Changed alignment of .pdata section to 4.
+ Support saving RELOC_NONE relocations to .o files and reading them back on x86_64.

git-svn-id: trunk@19070 -
2011-09-15 15:22:03 +00:00
sergei
782cdd8e9a x86 external Intel assembler:
+ Write name of sec_threadvar
+ Also write actual section alignment instead of always using PARA.

git-svn-id: trunk@19069 -
2011-09-15 15:05:14 +00:00
Jonas Maebe
05c4c3ae25 + test for mantis #20257 (already fixed in 2.7.x)
git-svn-id: trunk@19068 -
2011-09-15 12:47:23 +00:00
pierre
874f27a105 * Remove useless local variable which prevents go32v2 compilation
git-svn-id: trunk@19067 -
2011-09-14 21:55:36 +00:00
pierre
30129a0363 * msg files regeneration after commit 19057
git-svn-id: trunk@19066 -
2011-09-14 13:38:46 +00:00
pierre
a5d2840980 + Fix commit 19061, by restoring cs_link_smart code and disabling
cs_create_smart if using dwarf information and external assembler
   debug information as this is not compatible.
 * Added a different message for cs_create_smart.

git-svn-id: trunk@19065 -
2011-09-14 13:38:15 +00:00
pierre
f9fbe661f0 * msg files regeneration after commit 19057
git-svn-id: trunk@19064 -
2011-09-14 12:21:43 +00:00
pierre
b5c4df8eb5 * exclude cs_create_smart if using external assembler and dwarf
debug information as this is not compatible.

git-svn-id: trunk@19063 -
2011-09-14 12:16:53 +00:00
pierre
0d15a427c2 * Consider cs_create_smart instead of cs_link_smart for
use of global labels for alt_dbgline type.

git-svn-id: trunk@19062 -
2011-09-14 12:14:52 +00:00
pierre
5d39f2208a * Consider cs_create_smart instead of cs_link_smart for disabling
smartlink creation if using external assembler and Dwarf debugging
 * Call CheckOptionsCompatibility again after setting currentt assembler

git-svn-id: trunk@19061 -
2011-09-14 12:13:05 +00:00
marco
1556751109 * also quote ftguid fields. Mantis 20219.
git-svn-id: trunk@19060 -
2011-09-14 07:48:24 +00:00
pierre
53d3d518fa Check warning for %es:0 in assmebler code
git-svn-id: trunk@19058 -
2011-09-13 16:21:31 +00:00
pierre
5a671336c7 Fix go32v2 rtl compilation error and add warning for %es:Const
git-svn-id: trunk@19057 -
2011-09-13 16:20:12 +00:00
paul
67008470ea tests: fix record helper test
git-svn-id: trunk@19056 -
2011-09-13 00:20:24 +00:00
vladob
863da422df doc update for fcl-stl
git-svn-id: trunk@19054 -
2011-09-12 10:15:17 +00:00
vladob
76b511bec5 new examples for fcl-stl
git-svn-id: trunk@19053 -
2011-09-12 08:46:05 +00:00
Jonas Maebe
fd908a70f1 * added missing { %fail }
git-svn-id: trunk@19051 -
2011-09-12 06:53:54 +00:00
michael
942cc99bfe * Better warnings
git-svn-id: trunk@19050 -
2011-09-11 17:39:17 +00:00
marco
2aebae2846 * commented a few left over "alias" debug msg
git-svn-id: trunk@19049 -
2011-09-11 15:05:45 +00:00
joost
89f3b4d838 * When TProcess is available, pipe compiler console output to log instead of stdout. So that GUI applications can show it
git-svn-id: trunk@19046 -
2011-09-11 08:53:46 +00:00