Commit Graph

39451 Commits

Author SHA1 Message Date
florian
c2baf7b4c0 Merge r23058
git-svn-id: trunk@23776 -
2013-03-10 16:37:57 +00:00
florian
c0d4f189e9 * and takes three operands
git-svn-id: trunk@23775 -
2013-03-10 16:16:50 +00:00
florian
be81b89147 * fix bugs in previous commit
git-svn-id: trunk@23774 -
2013-03-10 14:33:10 +00:00
florian
086ae4b999 Merge r22905 and r22906
git-svn-id: trunk@23773 -
2013-03-10 10:45:34 +00:00
Jonas Maebe
51cdef698f * fixed definition of GLHandleARB for Darwin (patch by lks, mantis #23975)
git-svn-id: trunk@23772 -
2013-03-10 10:29:08 +00:00
Jonas Maebe
f00d9f6f84 * correct dlopen flag values for Darwin (patch by lks, mantis #23979)
git-svn-id: trunk@23771 -
2013-03-10 10:22:43 +00:00
paul
d51da3ad58 rtl: enable collations building for win64
git-svn-id: trunk@23770 -
2013-03-10 09:56:01 +00:00
paul
8c0234f871 utils: enable unicode utils build for win64 target
git-svn-id: trunk@23769 -
2013-03-10 09:52:41 +00:00
paul
23c9578137 rtl: setup DefaultSystemCodepage when fpwidestring is included on unixes
git-svn-id: trunk@23768 -
2013-03-10 06:42:50 +00:00
paul
02e0269764 rtl: a patch to cleanup a fixes to key forming functions from Inoussa (mantis #0022909)
git-svn-id: trunk@23767 -
2013-03-10 06:27:03 +00:00
sergei
5e46732bc8 + One more missing call to unget_para (MIPS-specific)
git-svn-id: trunk@23766 -
2013-03-10 04:08:43 +00:00
marco
fc02f5c7f7 * another minor problem found with -CR
git-svn-id: trunk@23765 -
2013-03-09 23:54:13 +00:00
marco
cb55b2d2cf * another small bug caught by -CROriot
git-svn-id: trunk@23763 -
2013-03-09 23:37:59 +00:00
marco
39670e3454 * fixed 3 problems in fcl-passrc found when searching why fcl.chm
didn't build for 2.6.2
   1. The nested function in findmemberancestors didn't set result.
       Possibily sleeping bug triggered by -gttt
   2. TPasmodule.Getelement crashed for some classes loaded from .xct
         (code assuming they were pasmodule derivatives)
         This probably touches a deeper lying problem where the 
	 (new) classtree doesn't validate nodetypes properly, and loaded
	 classes end up as modules in one or the other overview
   3. *Visibility functions had an out parameter that was not set
	 in all cases. Changed to VAR. (see mail fpc-devel from today).
         Another -gttt sleeper bug.
    
  (2) probably was the main problem of the initial crash.

git-svn-id: trunk@23760 -
2013-03-09 22:07:33 +00:00
florian
21c154d60a Merged r22903
git-svn-id: trunk@23757 -
2013-03-09 20:56:07 +00:00
florian
08bf826334 Merges 22828,22829
git-svn-id: trunk@23756 -
2013-03-09 20:49:57 +00:00
paul
fe8503b8c1 utils: enable unicode utils compilation on linux
git-svn-id: trunk@23752 -
2013-03-09 17:48:38 +00:00
paul
ce6b3b7ee3 utils: add parse-collations.sh script
git-svn-id: trunk@23750 -
2013-03-09 16:53:14 +00:00
paul
087510b775 utils: fix dependencies of unicode utils, enable compilation on darwin
git-svn-id: trunk@23749 -
2013-03-09 16:39:07 +00:00
paul
ab8c293a36 utils: add unicode utils from Inoussa (part of mantis #0022909)
git-svn-id: trunk@23748 -
2013-03-09 15:53:44 +00:00
svenbarth
364a874623 Addendum to 23746: use FPC_FULLVERSION instead of FPC_VERSION/FPC_RELEASE
git-svn-id: trunk@23747 -
2013-03-09 15:45:24 +00:00
svenbarth
b298483bb8 Allow compilation of the compiler with 2.6.x again on Unix systems.
compiler.pas:
	check for "FPC_VERSION>2 or FPC_RELEASE>6" before using unixcp

git-svn-id: trunk@23746 -
2013-03-09 15:33:13 +00:00
Jonas Maebe
1244cdff70 * don't treat bitpacked arrays of subranges of char that can be represented
using less than 8 bits per element the same as regular char arrays as far
    as automatic type conversions are concerned (they have to be explicitly
    packed/unpacked) (mantis #24013)

git-svn-id: trunk@23739 -
2013-03-09 10:37:30 +00:00
reiniero
76e6fff302 * sqldb: Firebird/Interbase: now Win64 SEH is enabled (r23732),
revert BLOB workaround in r20633 as it slows down blob handling
  (for all platforms even).

git-svn-id: trunk@23738 -
2013-03-09 07:41:35 +00:00
marco
48a8509097 * fix for #23915, use inheritsfrom instead of classtype = xxx because
more types now have derivatives. As suggested by Daniel Gaspary.

git-svn-id: trunk@23734 -
2013-03-08 22:38:34 +00:00
marco
744d45714d * added missing baudrates that were in 7.x already. Patch by Graeme, Mantis #23992
git-svn-id: trunk@23733 -
2013-03-08 22:26:40 +00:00
sergei
2caa05ccd1 * Make Win64 SEH support enabled by default. If necessary to disable, compiler should be cycled with OPT=-dDISABLE_WIN64_SEH. Mantis #24012.
git-svn-id: trunk@23732 -
2013-03-08 16:58:05 +00:00
paul
b9a33b2b0a rtl: enabled collations building for win32 target
git-svn-id: trunk@23731 -
2013-03-08 15:25:49 +00:00
paul
7a0b112e56 rtl: add FPC Independent Unicode String Manager from Inoussa (mantis #0022909)
git-svn-id: trunk@23730 -
2013-03-08 15:23:20 +00:00
paul
fc0bab5844 rtl: possible fix compilation of charset.pp on 64 bit
git-svn-id: trunk@23729 -
2013-03-08 13:50:21 +00:00
ludob
bb735aa7e5 sqldb: implemented TCustomConnection.Close(ForceClose : Boolean = False);
git-svn-id: trunk@23728 -
2013-03-08 13:15:53 +00:00
paul
43e0116f61 compiler: update charset, cruemap and cpXXX.pas files from Inoussa (part of issue #0022909)
git-svn-id: trunk@23727 -
2013-03-08 13:10:39 +00:00
paul
1481a6a066 compiler: rename cp1252, cp1253 pp files to pas for consistency
git-svn-id: trunk@23726 -
2013-03-08 12:25:18 +00:00
marco
9f53738142 * fill in purpose of the unit in comment, updated copyright
git-svn-id: trunk@23725 -
2013-03-08 09:18:26 +00:00
lacak
1533aff2cc fcl-db: bufdataset: when index is added set IndexDefs.Updated to false to signal, that FIndexDefs and FIndexes are not synchronized. This allow next call to IndexDefs.Update (which tests Updated) do synchronization.
git-svn-id: trunk@23723 -
2013-03-08 07:34:23 +00:00
svenbarth
c7f1569156 Up to now TSQLite3Connection used the variable SQLiteLibraryName to control the name of the SQLite library to use. The sqlite3dyn unit also contains a variable to control the library to use: SQLiteDefaultLibrary. To avoid potential confusion the variable from sqlite3dyn will be used from now on.
packages/fcl-db/src/sqldb/sqlite3/sqlite3conn.pp:
	* Declare SQLiteLibraryName as an absolute alias for SQLiteDefaultLibrary and deprecate it with an approbiate hint
	* TSQLite3Connection.DoInternalConnect & GetConnectionInfo: use SQLiteDefaultLibrary instead of SQLiteLibraryName

git-svn-id: trunk@23708 -
2013-03-07 21:11:40 +00:00
svenbarth
da7b24e242 Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell.
rtl/objpas/classes/classes.inc, TThread.GetCurrentThread:
	* instead of checking CurrentThreadVar and reading it again afterwards we read it first into Result and check this value; this way we have one read access in the normal case and one read and one write access in the worst case

git-svn-id: trunk@23706 -
2013-03-07 20:15:32 +00:00
Jonas Maebe
3cde2b2d84 * fixed check for bitpacked accesses (mantis #24007)
git-svn-id: trunk@23705 -
2013-03-07 15:44:41 +00:00
pierre
eeae77bfc2 Fix wrong cursor pos for 64 bit systems, hopefully fixes bug report 23957
git-svn-id: trunk@23704 -
2013-03-07 13:55:55 +00:00
lacak
2cfcf32725 fcl-db: odbc: enable 64bit support (use SQLLEN, SQLULEN instead of SQLINTEGER, SQLUINTEGER) after ODBC header file was updated for 64 bit support in rev.23702
git-svn-id: trunk@23703 -
2013-03-07 09:17:52 +00:00
michael
94e021157b * Windows 64-bit patches from Laco
git-svn-id: trunk@23702 -
2013-03-07 08:57:18 +00:00
pierre
d9758e5d0e Avoid TARGET_DIRS_TARGET_DIRS garbage by explicitly setting result of string function in AddTargetDefines method to empty at startup
git-svn-id: trunk@23701 -
2013-03-06 16:40:04 +00:00
Jonas Maebe
5d628b29bb * set the subregsize of OS_M64 SSE registers to R_SUBQ so we can
differentiate between 64 bit and 128 bit (R_SUBMMWHOLE) SSE vector regs,
    and support spilling/assembling for R_SUBQ SSE registers (8 bytes)
    (mantis #23962)

    We currently never use the full 128 bit of an SSE register, and
    spilling for those hasn't been implemented yet either (R_SUBMMWHOLE
    SSE regs are spilled into a 4-byte temp currently -> can overwrite data)

git-svn-id: trunk@23700 -
2013-03-06 12:42:46 +00:00
michael
02f64db373 * Fixes for typos from Reinier Olislagers (bug 23895)
git-svn-id: trunk@23699 -
2013-03-06 08:34:20 +00:00
sergei
823e3ea398 MIPS: reworked PIC/call code:
+ Favor 'weak' parameter in a_call_name of both thlcgmips and TCGMIPS.
* make_simple_ref and a_loadaddr_ref_reg: require input references to be 'raw' (no refaddr=addr_pic, etc) and do not use GP as base/index. If it's not true, raise an internal error. When addr_pic_call16 or so needs to be generated, it must be done without calling the mentioned methods.
* thlcgmips.a_call_name: generate PIC sequence for procedures declared as 'external', instead of 'cdecl', this is more correct because ABI has only one calling convention.
- make_simple_ref_fpu removed, there's no reason to handle references to floating-point data in different way.
- a_loadaddr_ref_cgpara override also removed, generic method does the job just well.
- thlcgmips.a_call_ref and a_call_reg overrides removed because indirect calls are now always done using $t9.

git-svn-id: trunk@23698 -
2013-03-05 19:31:20 +00:00
sergei
a1b50f643e - removed never used function.
git-svn-id: trunk@23697 -
2013-03-05 18:05:52 +00:00
pierre
f4b6625145 + Use __setlocale_mb_len_max_32 for netbsd as suggested by linker warning
git-svn-id: trunk@23696 -
2013-03-05 11:40:24 +00:00
yury
5bf237afc1 * Turn off assigning UnixGetModuleByAddrHook for Android, since dladdr() function is not available on old (1.x) Android versions.
git-svn-id: trunk@23695 -
2013-03-05 00:00:02 +00:00
yury
5d061a7efa * Do not use persistent register r5 in the library init code. It fixes crash during library load on some versions of Android. Issue #23974.
* Made the startup code Thumb-safe.

git-svn-id: trunk@23694 -
2013-03-04 23:49:41 +00:00
yury
63d1c3aa94 * Set default CPU armv5t for arm-android. Issue #23973.
git-svn-id: trunk@23693 -
2013-03-04 21:46:36 +00:00