Commit Graph

33651 Commits

Author SHA1 Message Date
sergei
37d5a6c354 * tcg.g_array_rtti_helper(): When converting 'high' to 'length', use an intermediate register to do the increment, so that the original value of 'high' parameter is preserved regardless of platform and optimization settings. Should fix regressions introduced by r17068.
git-svn-id: trunk@17071 -
2011-03-04 17:00:47 +00:00
sergei
54bc8efa0b * Fixed reference counting of open array parameters passed by value. RTTI of the array itself is useless in this case, as it does not provide correct element count. Now using dedicated helpers which take RTTI of array element and the element count. Resolves #18859.
git-svn-id: trunk@17068 -
2011-03-03 18:38:46 +00:00
Jonas Maebe
4be36c4b2b * fixed a number of missing label reference removals when deleting
instructions that reference them (patch by M.K., mantis #18858)

git-svn-id: trunk@17067 -
2011-03-03 17:11:53 +00:00
michael
70e9e5b478 * FreeNotification was not always set for session, sometimes leading to errors if fastcgi is terminated
git-svn-id: trunk@17066 -
2011-03-03 14:48:09 +00:00
michael
fb6095ebfe * SetTypedParam: Clear parameter if data is empty and not a string. Fixed bug with GetNewID - undid virtual, moved to DoGetNewID to correctly save Last inert ID
git-svn-id: trunk@17065 -
2011-03-03 09:39:39 +00:00
marco
f0fee289c9 * fix for older GAS assemblers that don't parse (rex64Z) "lock cmpxchg8b (%r8)" properly, as used on FreeBSD7 and up till 8.2.
git-svn-id: trunk@17060 -
2011-03-02 14:45:38 +00:00
Legolas
5d906a8f1d * Workaround for untranslated functions in libogc. Fixed a couple of Makefile.fpc
git-svn-id: trunk@17059 -
2011-02-28 21:41:58 +00:00
michael
95862b957f * GetNewID should be virtual so it can be overridden
git-svn-id: trunk@17058 -
2011-02-28 15:55:11 +00:00
michael
40a6490e2d * In some cases, a looking for a non-existing provider did not return Nil
git-svn-id: trunk@17057 -
2011-02-28 14:37:35 +00:00
michael
58905ec7d9 * Terminate when socket cannot be created/bound/accepted.
git-svn-id: trunk@17056 -
2011-02-28 13:23:29 +00:00
Jonas Maebe
42cfebd653 * fixed fcl-registry dependency of winunits-jedi (was missing all/release/...
suffixes)

git-svn-id: trunk@17053 -
2011-02-28 10:44:01 +00:00
marco
ee31bd0b62 * added getfsstat
git-svn-id: trunk@17038 -
2011-02-27 20:15:39 +00:00
marco
d9773a2ee0 * added alias for statsfs
git-svn-id: trunk@17037 -
2011-02-27 20:14:11 +00:00
Legolas
23d4e04c5c * Added Wii support to fpcmake
git-svn-id: trunk@17036 -
2011-02-27 19:28:42 +00:00
Legolas
5fc349eda7 * Fixed stacksize for Wii
git-svn-id: trunk@17035 -
2011-02-27 19:27:12 +00:00
Jonas Maebe
e78f195422 + new test that should fail to compile, but doesn't yet
git-svn-id: trunk@17034 -
2011-02-27 18:03:04 +00:00
tom_at_work
b0bd6a13ec Fixed argc/argv/envp for arm/linux shared libraries. They are by default in registers a1/a2/a3 as per ABI: the first arguments when calling a method (in this case the FPC_SHARED_LIB_START) are passed via registers, not on the stack.
git-svn-id: trunk@17033 -
2011-02-27 17:22:29 +00:00
florian
5abdfb6f7e * aint -> asizeint changes
git-svn-id: trunk@17018 -
2011-02-26 20:16:14 +00:00
florian
fcd3872d88 + introduction of tcgint
git-svn-id: trunk@17017 -
2011-02-26 20:15:53 +00:00
florian
ef699b1864 + avr flag and condition handling
git-svn-id: trunk@17016 -
2011-02-26 20:15:03 +00:00
florian
ca76476cfa * avr needs div helper
git-svn-id: trunk@17015 -
2011-02-26 20:14:18 +00:00
florian
db2600d40b + first primitive concatcopy implementation
+ implemented op_const_reg and load_const_reg
+ implemented op_reg_reg
* set register info values correctly

git-svn-id: trunk@17014 -
2011-02-26 20:13:19 +00:00
florian
4f82149dbd * aint -> asizeint change
git-svn-id: trunk@17013 -
2011-02-26 20:12:03 +00:00
florian
c2f04796b9 + only include softfpu if FPUNONE is not set
git-svn-id: trunk@17012 -
2011-02-26 20:10:49 +00:00
florian
26fbfaf5a7 + introduce the usage of asizeint/asizeuint for cpus with sizeof("alu")<>sizeof(pointer)
git-svn-id: trunk@17011 -
2011-02-26 20:10:03 +00:00
florian
fd97ce0109 * removed some arm overlefts
git-svn-id: trunk@17010 -
2011-02-26 20:09:21 +00:00
florian
26ce3cef00 * compilation fixes
* completed a_load_ref_reg
+ implemented procedure entry/exit code generation
+ implemented a_load_reg_ref

git-svn-id: trunk@17009 -
2011-02-26 20:08:23 +00:00
florian
8b245369e1 + implemented normalize_ref
git-svn-id: trunk@17008 -
2011-02-26 20:03:39 +00:00
florian
4cfc5693c5 * fix compilation for avr
* some ideas for avr register management
+ initial implementation of a_load_reg_reg

git-svn-id: trunk@17007 -
2011-02-26 20:02:45 +00:00
sergei
b7e26ed986 * sax_html.pp, ignore markup in STYLE and SCRIPT elements, Mantis #18826
git-svn-id: trunk@17003 -
2011-02-26 16:59:57 +00:00
Legolas
08fdb5af54 + Added sd card handling to libogc
git-svn-id: trunk@17002 -
2011-02-25 21:36:57 +00:00
Jonas Maebe
b8e9fd5c00 * use blx also for ARMv5, since it works on non-T variants and is required
for correct operation on T-variants (patch by Dejan Boras, mantis #18819)

git-svn-id: trunk@17001 -
2011-02-25 19:46:35 +00:00
joost
366a8dd966 * Added test for ftTime fields
* Fixed problem with ftTime field values that exceed 24 hours (odbc)

git-svn-id: trunk@17000 -
2011-02-24 22:15:46 +00:00
florian
f8b01f76a4 * update of german message files by Karl-Michael Schindler, resolves #18815
git-svn-id: trunk@16995 -
2011-02-24 12:48:40 +00:00
ivost
d4cde5eaa2 * added syscall_nr_futex = 142 for sparc architecture
git-svn-id: trunk@16994 -
2011-02-24 10:51:54 +00:00
sergei
7b948b1e38 * Type of lParam argument of EnumResourceNames, EnumResourceTypes, EnumResourceLanguages and corresponding callbacks must be LONG_PTR. Mantis #18816.
* Also assigned meaningful names to callback arguments.

git-svn-id: trunk@16993 -
2011-02-24 06:08:33 +00:00
sergei
41aeb9a22b * Rework TStream.CopyFrom (see Mantis #17980):
a) Use significantly larger buffer (128k instead of 1k)
b) When Count=0, do not try to determine the source size. Just copy until the source can be read. This should improve performance with limited seek capability sources (e.g. a decompression stream will be decompressed once rather than twice).
c) Use ReadBuffer/WriteBuffer, so an exception is raised when something goes wrong. This conforms to Delphi behavior.

git-svn-id: trunk@16992 -
2011-02-24 03:25:40 +00:00
Legolas
41c946032e * libogc for Wii needs cmem and libc statically linked
git-svn-id: trunk@16991 -
2011-02-23 22:10:19 +00:00
Legolas
4e6953163d * Added lib for Wii (forgot to commit...)
git-svn-id: trunk@16990 -
2011-02-23 22:01:41 +00:00
Legolas
645744bf51 + Added libogc binding and examples for Wii
git-svn-id: trunk@16989 -
2011-02-23 21:59:42 +00:00
joost
83b0940628 * TFieldDef.Size for strings should contain the max. number of bytes in the string, without the trailing zero. Bug #17268
git-svn-id: trunk@16988 -
2011-02-23 21:40:37 +00:00
sergei
884ec3abb3 * Cleanup ParseContent()
- XMLVersion property has been made available in TDOMDocument, removed inheritance check.
* Improved parsing the content model a bit
* Cleanup comments

git-svn-id: trunk@16987 -
2011-02-23 15:55:18 +00:00
Jonas Maebe
a11709658c - removed outdated versions (superceded by the ones under
utils/uikit-skel/src)

git-svn-id: trunk@16986 -
2011-02-23 12:34:35 +00:00
tom_at_work
a8bf34d3fc Correctly return to caller in ARM/Linux shared library startup code instead of fall-through to system exit.
git-svn-id: trunk@16982 -
2011-02-23 09:41:19 +00:00
tom_at_work
56d30e7da0 Set up environment variables and call Pascal initialization in arm/linux shared library initialization
git-svn-id: trunk@16981 -
2011-02-22 22:32:44 +00:00
joost
a3ebc51add * BCD-Variant support is now implemented, use it.
git-svn-id: trunk@16980 -
2011-02-22 21:46:41 +00:00
joost
979fd9b854 * Better fix for r16952 from Ladislav Karrach from bug report 18388
git-svn-id: trunk@16979 -
2011-02-22 21:28:39 +00:00
Jonas Maebe
e8ca4b8b84 - removed icons and aedatamodel units (they're not supported on iOS nor
required for compilation)

git-svn-id: trunk@16978 -
2011-02-22 18:23:38 +00:00
Jonas Maebe
9d033909df * forgot to commit (part of r16923)
git-svn-id: trunk@16977 -
2011-02-22 17:49:12 +00:00
sergei
e46c51e1bf * xmlread.pp: split handling of node and validation stacks. Validation stack is now maintained only in validation mode.
git-svn-id: trunk@16973 -
2011-02-22 13:14:31 +00:00