paul
7817f5017d
rtl: add TBytesStream class for compatibility with delphi (TStringStream is a descendant of TBytesStream) + test
...
git-svn-id: trunk@19389 -
2011-10-06 04:41:10 +00:00
sergei
85f7914906
* Don't generate .seh_endprologue if SEH directives are present in the text of (pure assembler) procedure, as it results in duplicate .seh_endprologue.
...
* Added checks for .seh_endprologue presence and correct position.
git-svn-id: trunk@19388 -
2011-10-06 03:29:35 +00:00
paul
aa666d38ed
rtl: check arguments in some TEncoding functions which uses array/string access and raise EEncodingError in case of wrong indexes or string/arrays
...
git-svn-id: trunk@19387 -
2011-10-06 01:14:51 +00:00
pierre
1eee6cd514
* Fix syscall_nr_exit value
...
git-svn-id: trunk@19386 -
2011-10-05 21:04:26 +00:00
florian
111d05c68f
o patch by Alexander Shishkin, resolves #20409
...
* eliminate warnings in compiler (i386 & i368->x86_64) and minor refactorings
- comment out unused vars and types
- comment out unneeded comparisons (Longword <=> 0)
- suppress some "comparison always true|false" warnings
- tweak visiblity sections
git-svn-id: trunk@19385 -
2011-10-05 20:11:09 +00:00
marco
cb832a5656
* Preserve existing param values when changing sql text.
...
Patch by Lacak2, Mantis #19456
git-svn-id: trunk@19384 -
2011-10-05 11:41:36 +00:00
marco
5ee619276f
* updated test with patch from Lacak2.
...
git-svn-id: trunk@19383 -
2011-10-05 08:53:48 +00:00
marco
1014e1d1d8
* integrated test as substitute for separate test deleted by r19306.
...
Patch by Lacak2.
git-svn-id: trunk@19382 -
2011-10-05 08:29:49 +00:00
marco
0da4c6a310
* updated comment as advised in Mantis #20392
...
git-svn-id: trunk@19381 -
2011-10-05 08:23:59 +00:00
michael
c1ff89a7c2
* Fixed bug in ExeSearch, noted by Tomas
...
git-svn-id: trunk@19380 -
2011-10-05 07:06:57 +00:00
paul
38a706dd28
rtl: improve CodePageToCodePageName - return official name instead of one of the labels, use binary search
...
git-svn-id: trunk@19379 -
2011-10-05 05:57:03 +00:00
Tomas Hajny
a3813ce176
+ working (although very limited) generic TProcess implementation based on SysUtils.CreteProcess for use with GO32v2, etc.
...
git-svn-id: trunk@19378 -
2011-10-05 00:32:12 +00:00
pierre
4a8b37016a
i386-OpenBSD 4.9 has no underscore prefix
...
git-svn-id: trunk@19377 -
2011-10-04 22:33:13 +00:00
pierre
e6939ef5b5
+ Add FPC OpenBSD target support
...
git-svn-id: trunk@19376 -
2011-10-04 22:26:55 +00:00
pierre
ef40c9f3cc
+ Add FPC OpenBSD target support
...
git-svn-id: trunk@19375 -
2011-10-04 22:26:04 +00:00
pierre
6957c5e8da
* Add openbsd directory for openbsd source
...
git-svn-id: trunk@19374 -
2011-10-04 22:25:12 +00:00
pierre
034c51c2e1
+ All several units also compiled on freebsd
...
git-svn-id: trunk@19373 -
2011-10-04 22:24:01 +00:00
pierre
c0ef3d935b
* Updated using freebsd version (not verified)
...
git-svn-id: trunk@19372 -
2011-10-04 22:23:19 +00:00
pierre
1e9d5fb24b
* Updated using freebsd version (not verified)
...
git-svn-id: trunk@19371 -
2011-10-04 22:23:00 +00:00
pierre
3a4831d924
* Fix linking problems
...
git-svn-id: trunk@19370 -
2011-10-04 22:21:41 +00:00
pierre
dbd3df9ddf
+ Added OpenBSD CODESET and LC_ALL values
...
git-svn-id: trunk@19369 -
2011-10-04 22:20:41 +00:00
Tomas Hajny
49a7b48fe0
* proper support for ExecInheritsHandles in Flags
...
git-svn-id: trunk@19368 -
2011-10-04 22:10:21 +00:00
Tomas Hajny
fca1ea8757
* correction of whitespace definition
...
git-svn-id: trunk@19367 -
2011-10-04 20:15:48 +00:00
sergei
0db44ae108
+ Support SEH directives in x86_64 AT&T asmreader.
...
git-svn-id: trunk@19366 -
2011-10-04 12:26:41 +00:00
sergei
9eb451756b
+ Support .seh_handler directive
...
git-svn-id: trunk@19365 -
2011-10-04 12:19:24 +00:00
sergei
89c0663c56
+ AT&T asmreader: added methods that can be overridden in descendant readers to handle target-specific directives.
...
git-svn-id: trunk@19364 -
2011-10-04 12:12:06 +00:00
sergei
c6d382fe18
* Moved procedure genlinearlist from ti386casenode to tx86casenode. This optimization works well on x86_64, resulting in approximately twice less instructions than when using generic code.
...
git-svn-id: trunk@19363 -
2011-10-04 11:48:33 +00:00
marco
c7a82a0c1a
* treat transform as select and exec as execute. Mantis #17050 , patch by Lacak2
...
git-svn-id: trunk@19362 -
2011-10-04 11:27:56 +00:00
marco
0f79033143
* synchronized properties between sqlconnector and sqlconnection.
...
Charset and role now passed on. Mantis #20398 .
git-svn-id: trunk@19361 -
2011-10-04 11:09:34 +00:00
paul
e0fecf5332
compiler: revert r19358. As stated by Florian, compiler should be able to compile with the latest RTL.
...
git-svn-id: trunk@19360 -
2011-10-04 10:12:49 +00:00
sergei
9e74315d18
* Test contains assembler, restrict to i386.
...
git-svn-id: trunk@19359 -
2011-10-04 08:16:32 +00:00
paul
ee2e0a0c1d
compiler: remove CP_xxx constants since they are present in the system unit now
...
git-svn-id: trunk@19358 -
2011-10-04 06:03:03 +00:00
paul
a068e0cae2
tests: add test for TEncoding class
...
git-svn-id: trunk@19357 -
2011-10-04 05:08:17 +00:00
paul
09fa98a564
rtl: forgotten files
...
git-svn-id: trunk@19356 -
2011-10-04 05:07:22 +00:00
paul
abf9816a09
rtl: add basic implementation of TEncoding class
...
git-svn-id: trunk@19355 -
2011-10-04 05:06:32 +00:00
paul
836889fc64
rtl: move some CP_xxx constants from syswin into systemh for generic use, redeclare UTF8Sting, RawByteString using constant identifiers instead of pure numbers. replace comparison with $ffff codepage to CP_NONE
...
git-svn-id: trunk@19354 -
2011-10-04 05:05:14 +00:00
paul
0bfb83b06c
rtl: add HashName function based on implementation of Hash() from objpas. It uses case case-insensitive hash generation. This function is added for compatibility with delphi (although it generates different hash in delphi and fpc for same strings). It is also needed for codepage search in hash array.
...
git-svn-id: trunk@19353 -
2011-10-04 04:54:42 +00:00
paul
8fc6af7fde
rtl: cleanup
...
git-svn-id: trunk@19352 -
2011-10-04 03:42:53 +00:00
pierre
7654fe6aba
* Try to update i386/openbsd port
...
git-svn-id: trunk@19351 -
2011-10-03 23:24:05 +00:00
pierre
7f69e6426d
* Try to update i386/openbsd port
...
git-svn-id: trunk@19350 -
2011-10-03 23:22:28 +00:00
pierre
7e87ca4c3c
* Comment about mingw tlssup.c added
...
git-svn-id: trunk@19349 -
2011-10-03 22:03:02 +00:00
pierre
82fc72ea8d
* New code to handle zip file containing longlog instead of invidual comp/execute log/elg files
...
git-svn-id: trunk@19348 -
2011-10-03 21:51:17 +00:00
pierre
732adeaa66
* Added TU_CATEGORY_FK and Svn revs to RunOverview
...
git-svn-id: trunk@19347 -
2011-10-03 21:48:53 +00:00
pierre
68a8746f8e
* Add some macros to support compilation by old Borland C compiler
...
git-svn-id: trunk@19346 -
2011-10-03 21:37:17 +00:00
pierre
537217b2a2
+ Added CPUs supported by darwin OS target
...
git-svn-id: trunk@19345 -
2011-10-03 21:35:39 +00:00
pierre
85e343a2ad
+ Added some comment about unneeded cdecl modifier
...
git-svn-id: trunk@19344 -
2011-10-03 21:34:57 +00:00
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