pierre
5f77ff8a18
* Do not define FPC_HAS_UNDERSCORE_PREFIX for i386 OpenBSD anymore
...
git-svn-id: trunk@19504 -
2011-10-17 09:11:12 +00:00
sergei
9b2614684e
* Return values of get_caller_addr and get_caller_frame was undefined for nil argument.
...
Moreover, these function have nothing to do with assembler at all.
git-svn-id: trunk@19502 -
2011-10-16 13:18:21 +00:00
sergei
8e41ecfd54
* Made a stupid mistake in r19460: restoring rbp from rbp-relative reference will obviously crash. This went unnoticed however, because PASCALMAIN does not return and wrong code is never executed. Fixed by storing rbp in non-volatile register instead of local var.
...
git-svn-id: trunk@19501 -
2011-10-16 12:38:47 +00:00
florian
80b5100bf6
* don't check array ranges for being constant in generic declarations, resolves #20028
...
git-svn-id: trunk@19500 -
2011-10-15 21:28:19 +00:00
florian
2887065c9d
* forgotten test for last commit
...
git-svn-id: trunk@19499 -
2011-10-15 20:30:17 +00:00
florian
3323f1b3ea
* use sra instead of srl when doing overflow checking on sparc, resolves #20396
...
git-svn-id: trunk@19498 -
2011-10-15 20:26:59 +00:00
florian
ace6bfd4e9
* check environment variable LOCALAPPDATA on windows as a possible cache location for instantfpc
...
git-svn-id: trunk@19497 -
2011-10-15 17:43:12 +00:00
marco
f005d71110
* propagate ixDescending in bufdataset. Patch by Hert van Zwietering, Mantis #20043
...
git-svn-id: trunk@19496 -
2011-10-15 16:20:12 +00:00
marco
43e9ffca3b
* add bufdataset to test framework, Mantis #20081 , patch by bigchimp
...
git-svn-id: trunk@19495 -
2011-10-15 16:09:54 +00:00
Jonas Maebe
293f09e41d
* corrected test (only "overload" differences between interface/
...
implementation should cause compilation to fail)
git-svn-id: trunk@19494 -
2011-10-15 15:46:34 +00:00
Jonas Maebe
2423105956
* mark dbf unit as deprecated because abandoned by maintainer, along with a
...
deprecation message that mentions the sourceforge forum where help may
still be found
git-svn-id: trunk@19493 -
2011-10-15 15:00:54 +00:00
Jonas Maebe
d8b008b0b0
* require that "overload" is present in the interface if it's used in the
...
implementation (Delphi-compatible in case multiple overloads exist in
the current unit, and in other cases avoids compiler crashes in case
of circular implementation dependencies)
* ignore other symbol options (deprecated, legacy, platform, ...) as far as
the interface crc is concerned to avoid trouble in case they appear in the
implementation but not in the interface (to prevent compiler crashes)
git-svn-id: trunk@19492 -
2011-10-15 14:47:45 +00:00
florian
73a084d662
* fixes bootstrapping with 2.6.0
...
git-svn-id: trunk@19491 -
2011-10-15 12:42:33 +00:00
Jonas Maebe
5122411409
* mark strcopy/strlcopy as "overload" in the interface of the strings unit
...
for overloading with sysutils versions (fixes r19488)
git-svn-id: trunk@19490 -
2011-10-15 12:32:21 +00:00
marco
91f8ee8b89
* improve mapping of db type char to relative new ftfixedchar fieldtype. + tests. Mantis #20483 , patch by Lacak2
...
git-svn-id: trunk@19489 -
2011-10-15 12:06:19 +00:00
Jonas Maebe
c7b83717cb
- removed stray "overload" modifiers in the implementation for strcopy and
...
strlcopy (only existed for generic and i386 versions)
git-svn-id: trunk@19488 -
2011-10-15 11:40:16 +00:00
marco
e13a6d9999
* added patch from mantis #19226 as far as not already committed as part of
...
#20451 . This commit only adds ftfixedchar to the case, but since its
behaviour is the same as default, no noticable differences.
git-svn-id: trunk@19487 -
2011-10-15 11:25:17 +00:00
Jonas Maebe
f2823a1d68
* r17629 changed the condition for generating safecall code on x64 and ARM
...
platforms from testing for a Windows target into testing to the
tf_safecall_exceptions target flag. However, this flag was not set for
non-i386 Windows platforms (mantis #20385 )
git-svn-id: trunk@19486 -
2011-10-14 16:11:46 +00:00
Tomas Hajny
5a5d6668a0
* fpunits.conf -> fpunits.cfg
...
git-svn-id: trunk@19485 -
2011-10-13 21:04:24 +00:00
marco
98ac246990
* fix for leaking handles in parameter buffers, Mantis #17260 , patch by Ludo Brands.
...
git-svn-id: trunk@19484 -
2011-10-13 20:09:13 +00:00
sergei
018fdaf839
- Removed unnecessary operations: SetLength before widestringmanager calls (widestringmanager does the allocation) and zero-termination after SetLength (SetLength does zero-termination).
...
git-svn-id: trunk@19483 -
2011-10-13 17:10:12 +00:00
sergei
b36a930f26
- Cleaned out REGCALL defines
...
git-svn-id: trunk@19482 -
2011-10-13 17:02:23 +00:00
joost
bbbc85bbf6
* Use DW_TAG_class_type for classes instead of DW_TAG_structure_type
...
git-svn-id: trunk@19481 -
2011-10-13 16:21:49 +00:00
paul
89416ab0f5
tests: remove UTF8 bom from 2 test units which does not expect to get UTF8 encoded strings
...
git-svn-id: trunk@19480 -
2011-10-13 12:14:20 +00:00
sergei
0d3fa2d2db
- Cleaned out VER2_2 defines
...
git-svn-id: trunk@19479 -
2011-10-13 10:19:13 +00:00
sergei
ea571ba1a3
* Use variables instead of direct indexing into stack, eliminates warnings at compilation.
...
git-svn-id: trunk@19478 -
2011-10-13 08:19:09 +00:00
pierre
e366c013e3
* fix -rpath passing to linker for Windows OS by
...
avoiding use of single quotes.
* Use 'ulimit -t ' instead of timeout for bash shells.
git-svn-id: trunk@19477 -
2011-10-12 12:33:24 +00:00
paul
37432368e5
tests: test tw7758 assumes that all conversions are made in UTF8 codepage. this change is needed to prevent conversion to system codepage (which also happens while testing with delphi).
...
git-svn-id: trunk@19476 -
2011-10-12 08:19:59 +00:00
paul
56ecf146be
compiler: fix error in length retrieving during the unicode to utf8 conversion
...
git-svn-id: trunk@19475 -
2011-10-12 08:13:48 +00:00
Tomas Hajny
39b5babdeb
* added support for ufppkg
...
git-svn-id: trunk@19474 -
2011-10-12 06:15:48 +00:00
paul
85c2f195d6
compiler: convert string constants from and to codepage 0. use compiler codepage during the conversion + test
...
git-svn-id: trunk@19473 -
2011-10-12 06:10:36 +00:00
sergei
0b16c3565a
* Don't reject IMAGE_REL_ARM_SECREL relocations, Mantis #20467
...
git-svn-id: trunk@19472 -
2011-10-12 06:01:14 +00:00
paul
5bf39cd1c1
rtl: remove ver2_2 define
...
git-svn-id: trunk@19471 -
2011-10-12 01:55:46 +00:00
paul
6131a9188c
rtl: fix wince compilation, reimplement WinCEWide2AnsiMove, WinCEAnsi2WideMove by copying win32 code
...
git-svn-id: trunk@19470 -
2011-10-12 01:50:14 +00:00
paul
e4abb1731c
tests: apply Inoussa patches to fix errors in his tests
...
git-svn-id: trunk@19469 -
2011-10-12 00:53:14 +00:00
pierre
216113e80d
Fix compilation error introduced in my last patch for non-openbsd systems
...
git-svn-id: trunk@19468 -
2011-10-11 23:07:20 +00:00
pierre
6bf4bf8043
* Correct StatFS record to fix crash in test/units/dos/tdos.pp test
...
git-svn-id: trunk@19467 -
2011-10-11 22:38:54 +00:00
marco
eea81b4ef4
* Better support for required in the case of "not null", default value or auto increment colomns
...
Patch for mysql and odbc, mantis #20429 . Related to still open postgres bugreport #19872
git-svn-id: trunk@19466 -
2011-10-11 15:11:39 +00:00
sergei
369725f2c4
* Get8087CW: Make sure that high bits of result are clear.
...
git-svn-id: trunk@19465 -
2011-10-11 10:34:52 +00:00
sergei
9df8be501a
- Removed outdated FPC_HAS_RIP_RELATIVE defines, these seem to be the last ones in RTL.
...
git-svn-id: trunk@19464 -
2011-10-11 09:11:32 +00:00
sergei
4a3c7f7ef4
* Get8087CW: use fixed stack.
...
* Set8087CW: updated to i386 version, eliminates need of PIC code in assembler.
* GetSSECSR: updated similar to Get8087CW, it is somewhat shorter that way.
git-svn-id: trunk@19463 -
2011-10-11 09:08:09 +00:00
paul
21ac5dfb3b
compiler: output ansistring constants in explicit codepage if codepage is explicitly defined using either $codepage directive or compiler switch or for SystemCodepage modeswitch
...
git-svn-id: trunk@19462 -
2011-10-11 08:58:56 +00:00
paul
6ec879219e
compiler: fix tstringconstnode.changestringtype() for case of unicode to ansi conversion. remove hackish and incorrect change of ansistring def
...
git-svn-id: trunk@19461 -
2011-10-11 08:56:29 +00:00
sergei
1404b7397a
- Win64, EXE_Entry: removed messing with gs:[0], it won't work anyway.
...
- Also don't modify rsp in the middle of procedure, x86_64 targets use fixed stack.
- Cleaned outdated FPC_HAS_RIP_RELATIVE and VER2_2 defines.
git-svn-id: trunk@19460 -
2011-10-11 08:38:10 +00:00
paul
b1b0b2bb1f
compiler: move ansistring codepage number replacement code from the asm generator to one level up. output both 0 and CP_NONE ansistring constants as constants with codepage 0. codepage 0 means CP_ACP and it will be properly understood of RTL routines while codepage CP_NONE means no codepage. For delphi unicode mode output them in compiler codepage as before.
...
git-svn-id: trunk@19459 -
2011-10-11 07:22:49 +00:00
paul
9bc540e1c2
compiler: cleanup old code
...
git-svn-id: trunk@19458 -
2011-10-11 03:58:13 +00:00
paul
a99ffb3097
compiler: apply patches from Inoussa and Jonas:
...
defcmp: Address code paged' string type comparison taking care of the code page
ncnv: Remove un-needed code page comparison to CP_UTF8, some fixes regarding shortstrings and wide char/string
ncon: For the case of tstringconstnode.changestringtype (ncon.pas) where the code page are of CP_NONE or 0 no translation is done as :
* CP_NONE is compatible to all
* For 0 the raw bytes are just copied.
My changes:
- change ascii2unicode to allow pass source codepage,
- convert in both cases when source or destination is UTF8
git-svn-id: trunk@19457 -
2011-10-11 01:21:07 +00:00
Tomas Hajny
cf81d39682
* fixed wrong dependency of fppkg on fcl-web for all targets
...
git-svn-id: trunk@19456 -
2011-10-10 23:06:10 +00:00
Tomas Hajny
f10fbba180
* /etc/ location hardcoded only for Unix targets, support for retrieval from the environment added for platforms using it
...
git-svn-id: trunk@19455 -
2011-10-10 22:50:34 +00:00
pierre
0bc02701bd
* Fix missing pkgwget unit for OpenBSD due to a typing error
...
git-svn-id: trunk@19454 -
2011-10-10 22:38:47 +00:00