marco
22f98e3259
* aspell enabled for windows, patch from Barlone, Mantis #20521
...
git-svn-id: trunk@19518 -
2011-10-19 20:31:20 +00:00
sergei
e2d43fcb30
- tcgonnode: don't store exception object in temp if it is not used.
...
- tcgtryexceptnode: don't generate code to decrease/compare exception reason if not necessary.
git-svn-id: trunk@19517 -
2011-10-19 20:28:41 +00:00
marco
047cff3944
* Initial (var)binary field support for mysql and sqlite, patch by Lacak2,
...
Mantis #20513
git-svn-id: trunk@19516 -
2011-10-19 15:11:08 +00:00
marco
4703b63c19
* IShellFolder2.columnstart -> IShellFolder2.columnstate, as per Mantis #20519
...
git-svn-id: trunk@19515 -
2011-10-19 14:59:59 +00:00
sergei
964eb8772a
* Fixed tcallnode.expectloc for x87 floating-point results
...
git-svn-id: trunk@19514 -
2011-10-19 11:42:02 +00:00
sergei
f4023ef49e
- Removed outdated VER2_0 defines
...
git-svn-id: trunk@19513 -
2011-10-19 11:39:59 +00:00
pierre
d3e50e9aa8
* Values outside signed 32-bit can only be assigned to a 64-bit register in one instruction, not to memory
...
git-svn-id: trunk@19512 -
2011-10-19 10:16:08 +00:00
paul
f5d2c3a446
tests: fix test for unixes
...
git-svn-id: trunk@19511 -
2011-10-19 06:42:51 +00:00
paul
c6ca9e5091
compiler:
...
- add helper function getansistringcodepage which returns explicitly set codepage or 0 in other case
- add helper function getansistringdef which return a def with explicitly set codepage or cansistringtype in other case
- change tstoreddef.createnai constructor to allow set codepage in constructor
- don't convert string constants to rawbytestring. if string constant already has a codepage - preserve it or convert to ansistring codepage (delphi compatible)
- don't perform string conversion from ansistring to strings with explicitly set codepage (by directive or by compiler switch) and vice versa (delphi compatible)
+ test which covers most of the cases
git-svn-id: trunk@19510 -
2011-10-19 02:45:52 +00:00
paul
212b14a46b
rtl: set string codepage for all cases in fpc_AnsiStr_Concat
...
git-svn-id: trunk@19509 -
2011-10-19 01:06:04 +00:00
marco
94e03df0e1
* Applied patch from Lacak2 that improved compare() functionality for
...
values with inequal length. Mantis #20505
git-svn-id: trunk@19508 -
2011-10-18 20:21:34 +00:00
marco
5955d90a40
* pass fieldnamequotechars to proxy, mantis #20507
...
git-svn-id: trunk@19507 -
2011-10-18 15:58:16 +00:00
sergei
a32fdc3ae6
+ Added a simple helper tcg.g_call, intended to replace allocallcpuregisters+a_call_name+deallocallcpuregisters sequence which is used all over the place.
...
* Refactored code generation for tcgonnonde and tcgtryexceptnode, simplifying both compiler and generated code. Merged compilerprocs called in sequence into larger ones (fpc_popobjectstack+fpc_destroyexception -> fpc_doneexception, fpc_popsecondobjectstack+fpc_destroyexception+fpc_reraise -> fpc_raise_nested).
git-svn-id: trunk@19506 -
2011-10-18 15:46:15 +00:00
pierre
95ea87d797
* Fix tar option for OpenBSD
...
git-svn-id: trunk@19505 -
2011-10-17 09:24:19 +00:00
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