florian
df75368d0b
--- Merging r19281 into '.':
...
U compiler\pdecsub.pas
U compiler\symdef.pas
U compiler\pdecobj.pas
U compiler\htypechk.pas
U compiler\ncal.pas
U compiler\symtable.pas
--- Recording mergeinfo for merge of r19281 into '.':
U .
--- Merging r19282 into '.':
A tests\webtbf\tw19975.pp
--- Recording mergeinfo for merge of r19282 into '.':
G .
git-svn-id: trunk@19343 -
2011-10-03 20:43:19 +00:00
florian
94adf3992d
--- Merging r19292 into '.':
...
U rtl\nativent\system.pp
--- Recording mergeinfo for merge of r19292 into '.':
U .
git-svn-id: trunk@19342 -
2011-10-03 20:17:51 +00:00
florian
c6a0cafdb0
* don't generate implicit exception frames for pure assembler routines, resolves #20075
...
git-svn-id: trunk@19341 -
2011-10-03 20:09:07 +00:00
Tomas Hajny
f35aa5db26
* fix for breakage under Unix platforms - see also bug #20400
...
git-svn-id: trunk@19340 -
2011-10-03 19:46:50 +00:00
Legolas
fe84a76d0a
* Updated libogcfpc to ver.1.8.8
...
git-svn-id: trunk@19339 -
2011-10-03 19:40:59 +00:00
florian
7bb1c642dd
* fix division by zero in alignment code, should resolve #20265 an #20240
...
git-svn-id: trunk@19338 -
2011-10-03 16:53:42 +00:00
florian
77c3477b91
* modified patch by LacaK2 to add overloaded versions of string handling routines, which works with WideChar null terminated strings, resolves #19989
...
git-svn-id: trunk@19337 -
2011-10-03 16:11:46 +00:00
sekelsenmat
5e55e13570
Ops, fixing wrong previous commit
...
git-svn-id: trunk@19334 -
2011-10-03 12:38:30 +00:00
sekelsenmat
c35cf265c0
Disables compiling fpvectorial
...
git-svn-id: trunk@19333 -
2011-10-03 12:37:52 +00:00
paul
6384fa2a19
rtl: revert r19330. We probably need to create a separate encoding<->codepage table.
...
git-svn-id: trunk@19332 -
2011-10-03 10:28:14 +00:00
pierre
24d489f7f7
* Lowercase CompilerCPU and CompilerTarget
...
at startup to avoid need of constant use of lowercase function.
+ Added RemoteShell, RemoteShellBase and RemoteShellNeedsExport to
be able to set LD_LIBRARY_PATH on remote connections.
(Other checks might be necessary to avoid use of wrong environment
settings for other shells).
+ TargetIsUnix: New variable, based on UNIX presence within
target_info.extadefines field.
+ SpliTFileBase: New function returning only base part.
+ LibraryExists: New function to see if a library was created,
Library name is also constructed based on target_info fields.
* ExecuteRemote,ExecuteEmulated: moved to global scope to allow use at start
to check type of shell used.
* RunExecutable: Adapted to set env. varaible LD_LIBRARY_PATH for remote
connections.
+ MaybeCopyFiles: New function to separate file copy operations.
+ SetRemoteConfiguration: New function to set RemoteShellXXX variables.
* RunTest: Use LibraryExists to avoid running a library
and possibly copy library to remote.
git-svn-id: trunk@19331 -
2011-10-03 06:23:38 +00:00
paul
a0e7196ae9
rtl: move winiconv.inc into general inc directory and rename it to wincodepages.inc, also rename win2iconv, iconv2win to CodePageToCodePageName, CodePageNameToCodePage.
...
This change is required since CodePage to CodePage name conversions are required in other parts of RTL. Moreover those codepage identifiers are windows codepage identifiers and thus must be compatible with codepage identifiers used by delphi.
git-svn-id: trunk@19330 -
2011-10-03 03:35:45 +00:00
paul
c4fcdfce29
tests: fix tstrutils2 by Alexander Shishkin (mantis #0020390 )
...
git-svn-id: trunk@19329 -
2011-10-03 01:30:49 +00:00
paul
33a67704ac
compiler: allow type conversions for ordinal types inside type declarations e.g inside enumerations like: Byte(0)..Byte(15)
...
git-svn-id: trunk@19328 -
2011-10-03 01:27:21 +00:00
Tomas Hajny
3bce487e30
* uses and resourcestrings moved to platform specific includes
...
git-svn-id: trunk@19327 -
2011-10-02 22:05:24 +00:00
joost
853f35757d
* Use the same logic for Dwarf-3 and Dwarf-2 output regarding symbol names. Solves problems resolving self in gdb and Dwarf-3.
...
git-svn-id: trunk@19326 -
2011-10-02 16:08:56 +00:00
joost
cd0b2e5288
* Use DW_OP_deref instead of DW_OP_push_object_deref. The latter is not recognized properly by gdb
...
git-svn-id: trunk@19325 -
2011-10-02 08:41:57 +00:00
Tomas Hajny
67612af07d
* fixes for Exec - execution of different application types, fixed memory leak and avoided queue name collisions
...
git-svn-id: trunk@19324 -
2011-10-02 01:43:18 +00:00
Tomas Hajny
f13c5fae05
* additional fixes for ExecuteProcess - running of DOS programs in current directory and proper closing of the created queue
...
git-svn-id: trunk@19323 -
2011-10-02 01:41:56 +00:00
Tomas Hajny
ceecda9d2e
* SysUtils do not depend on Dos any longer
...
git-svn-id: trunk@19322 -
2011-10-02 01:33:26 +00:00
Tomas Hajny
348268c3e5
* SysUtils do not depend on Dos any longer
...
git-svn-id: trunk@19321 -
2011-10-02 01:33:19 +00:00
Jonas Maebe
591230104b
* prevent the internal windows code page number -> iconv name and vice versa
...
conversion routines from resulting in any code page conversions themselves
git-svn-id: trunk@19320 -
2011-10-01 23:26:12 +00:00
Tomas Hajny
e9f6afe5e0
* fix for ExecuteProcess - starting of different executable types works properly now; dependency on unit Dos removed; redefinitions of imports from DosCalls removed also - unit DosCalls used directly now
...
git-svn-id: trunk@19319 -
2011-10-01 23:10:22 +00:00
michael
908f9865d4
* Fixed ExcludeLeadingPathDelimiter
...
git-svn-id: trunk@19316 -
2011-10-01 21:47:58 +00:00
michael
c0995c2ffd
* Moved string constant to sysconst
...
git-svn-id: trunk@19315 -
2011-10-01 14:42:54 +00:00
sergei
394c9022b8
* Fixed test for 64-bit targets
...
git-svn-id: trunk@19314 -
2011-10-01 08:32:05 +00:00
marco
64c8cebac2
* removed tests, moving them to integrated testsuite.
...
git-svn-id: trunk@19306 -
2011-09-30 16:01:48 +00:00
marco
e36183cbc8
* removing a temporary workaround in the db testsuite and a minor cleanup
...
git-svn-id: trunk@19305 -
2011-09-30 15:59:42 +00:00
marco
c1814c4328
* ftfmtbcd fields for Oracle. Mantis #19341
...
git-svn-id: trunk@19304 -
2011-09-30 15:46:55 +00:00
marco
aa9df955ee
* Improve support for returnvalues of calling statements.
...
git-svn-id: trunk@19303 -
2011-09-30 15:41:38 +00:00
paul
ff3791d1f3
compiler: emit constants of encoding 0 in CP_NONE/DefaultSystemCodePage encoding (depends on modes witch)
...
git-svn-id: trunk@19302 -
2011-09-30 14:14:58 +00:00
paul
d7ca7a0cba
compiler: emit resource strings in ansistring encoding
...
git-svn-id: trunk@19301 -
2011-09-30 14:14:03 +00:00
marco
1670560575
* fix for returned value is bigger than previous returned value in
...
oracle. Fix from Mantis #19341 for earlier issue related to Mantis #18133
git-svn-id: trunk@19298 -
2011-09-30 12:04:13 +00:00
paul
31afa4bd14
rtl: remove fpc_ansistr_append_xxx routines which are no longer used by the compiler
...
git-svn-id: trunk@19294 -
2011-09-30 09:08:21 +00:00
paul
7a74d2c2f8
compiler: reduce amount of hints and notes
...
git-svn-id: trunk@19293 -
2011-09-30 08:56:05 +00:00
paul
451e48a033
rtl: replace PChar -> PAnsiChar, Char -> AnsiChar in astrings.inc routines
...
git-svn-id: trunk@19291 -
2011-09-30 08:15:17 +00:00
paul
bcb0317209
rtl: eat $ffff encoding in more routines, fix Insert() procedure to preserve destination string codepage
...
git-svn-id: trunk@19289 -
2011-09-30 06:10:24 +00:00
paul
36851c86de
rtl: replace AnsiString to RawByteString arguments for Val() functions
...
git-svn-id: trunk@19288 -
2011-09-30 03:31:37 +00:00
paul
485695d4e6
compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage
...
git-svn-id: trunk@19287 -
2011-09-30 03:26:34 +00:00
paul
647218fd13
rtl: patch from Inoussa to complete TCharacter class implementation (mantis #0020302 ):
...
* ToLower is functional for all characters including those outside of the BMP
* ToUpper is functional for all characters including those outside of the BMP
* Other methods using "const AString : UnicodeString; AIndex : Integer" are
functional for all characters including those outside of the BMP
git-svn-id: trunk@19286 -
2011-09-30 00:15:37 +00:00
florian
9d31a0e2f8
* don't evaluate sizeof(<type param>) as a constant to avoid arithmetic errors in constant folding, resolves #20192
...
git-svn-id: trunk@19285 -
2011-09-29 21:17:44 +00:00
paul
6f185f2184
compiler: replace {$ifdef FPC_FULLVERSION<20700} with {$ifdef VER2_4} for including ccharset as in other compiler places
...
git-svn-id: trunk@19284 -
2011-09-29 14:15:09 +00:00
paul
a769ef0ad2
compiler: don't return te_eual when we convert from RawByteString to another codepage
...
git-svn-id: trunk@19283 -
2011-09-29 12:03:11 +00:00
michael
d766e671a9
* Remove using reverse search, speed up free
...
git-svn-id: trunk@19280 -
2011-09-29 07:59:10 +00:00
michael
4a8914cbb0
* Implemented IndexOfItem, reversed search again in IndexOf
...
git-svn-id: trunk@19279 -
2011-09-29 07:50:24 +00:00
pierre
05c83ab538
* Also default to PIC code using -Cg option for x86_64 BSD targets
...
git-svn-id: trunk@19277 -
2011-09-28 23:12:52 +00:00
pierre
33604a6a49
* Shared library dllrpt0.as init code for i386 and x86_64 CPUs
...
git-svn-id: trunk@19276 -
2011-09-28 23:07:39 +00:00
sergei
d5b8210359
* typo ($ifdef window -> $ifdef windows)
...
git-svn-id: trunk@19275 -
2011-09-28 22:10:22 +00:00
florian
b93f4b8096
* whitespace fixes
...
* implicitly add PC as base register for symbols
git-svn-id: trunk@19274 -
2011-09-28 20:36:44 +00:00
joost
0bc58de578
* Forgot to commit file in r19272.
...
git-svn-id: trunk@19273 -
2011-09-28 19:52:37 +00:00