Commit Graph

26754 Commits

Author SHA1 Message Date
marco
6f9c7ede62 * fixed bug #9577 using short boolean eval. While fixing also fixed next IF.
git-svn-id: trunk@8357 -
2007-09-02 19:22:04 +00:00
michael
825ac6ebe4 * Allow Nil owner for TFieldDefs (.Update method)
* TFieldDef.Create override, initializes FFieldNo. 
  Fixes MemDS streaming issue.

git-svn-id: trunk@8356 -
2007-09-02 16:27:00 +00:00
michael
19f4e1e9f6 * Fixed access violation on destroy
git-svn-id: trunk@8355 -
2007-09-02 16:20:13 +00:00
Jonas Maebe
cadcfa76d8 * optimized TLinkedList.clear so it can use regvars for everything in
its loop (helps a lot on ppc)

git-svn-id: trunk@8354 -
2007-09-02 16:16:25 +00:00
Jonas Maebe
d9691d5c53 * disabled color correction and fiddled some more with the translation
transformation, so getpixel works even better (hopefully 100% now)
  * fixed usage of lineclipped when using native line drawing functions
  * window was one pixel less tall than the intended resolution,
    and clearviewport did not clear the entire offscreen buffer
  - commented out some debugging code

git-svn-id: trunk@8353 -
2007-09-02 14:57:01 +00:00
Jonas Maebe
7e5f13cc45 + { %opt=-ghl }
git-svn-id: trunk@8352 -
2007-09-02 07:50:17 +00:00
Jonas Maebe
c7a5b0cf33 * forgot to commit (-CF<x> support)
git-svn-id: trunk@8351 -
2007-09-02 07:49:50 +00:00
Jonas Maebe
31550b0153 * set HaltOnNotReleased to true in all testss using heaptrc so
they'll exit with an error code in case of a memory leak

git-svn-id: trunk@8350 -
2007-09-01 20:36:04 +00:00
Jonas Maebe
21abdd2f4e + support for specifying the minimal precision for floating point
constants. The default is currently 32 bits/single, which corresponds
    to the old behaviour (constants which cannot be exactly represented
    in the default/chosen precision will also still be automatically
    upgraded to higher precision). Supported constructs:
   * Command line switch -CF<x>
   * Compiler directive {$MINFPCONSTPREC <x>}
  whereby in both cases <x> can be default, 32 or 64. 80 is not supported
  because there is no generic way to figure out whether the current target
  actually supports 80 bit precision floating point calculations while
  parsing the command line switches (pbestreal can still change in case of
  win64 or -Cfsse2)

git-svn-id: trunk@8349 -
2007-09-01 19:38:27 +00:00
michael
93e58304f4 * Uninstall called sysinstall instead of sysuninstall
git-svn-id: trunk@8348 -
2007-09-01 18:47:28 +00:00
Jonas Maebe
12575526da * also generate an implicit exception frame in case only the function
result is refcounted, since it may need to be finalized in case of
    an exception (mantis #9385)

git-svn-id: trunk@8347 -
2007-09-01 14:18:09 +00:00
michael
2d8d8b1cac * Patch from Inoussa OUEDRAOGO to make it compilable with Delphi (WST has support for Delphi)
git-svn-id: trunk@8346 -
2007-08-31 23:18:34 +00:00
Jonas Maebe
a5ff6ec116 + {$linkframework Carbon}
* managed to completely disable anti-aliasing, and mostly fixed getpixel
    using least mean squares to find the closest palette entry

git-svn-id: trunk@8345 -
2007-08-31 20:15:33 +00:00
Jonas Maebe
c5b3180f5f * save/load LinkOtherFrameworks to/from ppu files
git-svn-id: trunk@8344 -
2007-08-31 17:03:33 +00:00
michael
169b04a237 * Fixed issue #9528 with patch from Sergei Gorelkin
git-svn-id: trunk@8343 -
2007-08-31 13:25:47 +00:00
marco
e034788320 * two semi colon's added and compilation checked
git-svn-id: trunk@8342 -
2007-08-30 20:09:35 +00:00
Jonas Maebe
ac22ff09da * detect division by zero in tmoddiv.simplify (mantis #9499)
git-svn-id: trunk@8341 -
2007-08-30 17:21:29 +00:00
Jonas Maebe
b1631b6918 * fixed wrong uninitialized warnings with passing array elements
as out-parameters

git-svn-id: trunk@8337 -
2007-08-29 20:23:59 +00:00
michael
1235b05908 * Added support for deprecated,platform and library hints
git-svn-id: trunk@8335 -
2007-08-29 17:25:51 +00:00
yury
ae90ae077a * Added missing TPM_BOTTOMALIGN constant.
git-svn-id: trunk@8334 -
2007-08-29 16:17:02 +00:00
Jonas Maebe
cce61fa602 * fixed compilation on 64 bit cpus
git-svn-id: trunk@8333 -
2007-08-29 14:31:17 +00:00
Jonas Maebe
a57f9e0672 + added QWord overloads for IntToHex, hexStr, OctStr, binStr
git-svn-id: trunk@8332 -
2007-08-29 12:06:54 +00:00
Almindor
6a327799f8 * fix typo with [T]SysInfo record
git-svn-id: trunk@8331 -
2007-08-29 11:59:47 +00:00
Almindor
89eeb8aa63 * fix linux sysinfo struct and function (bug 9523)
git-svn-id: trunk@8330 -
2007-08-29 10:08:02 +00:00
Almindor
9525a96db7 * update winsock2 to version 2.2 regarding SO_ and AF_ constants
git-svn-id: trunk@8329 -
2007-08-29 09:38:01 +00:00
Jonas Maebe
fc078fbc29 * more 64 bit overload choosing fixes
git-svn-id: trunk@8328 -
2007-08-29 06:57:36 +00:00
Jonas Maebe
e4487e628d * fixed overload choosing error on 64 bit
git-svn-id: trunk@8327 -
2007-08-29 06:30:38 +00:00
yury
a768c29b2d * Implemented GetTempDir for wince. Bug #9348.
git-svn-id: trunk@8326 -
2007-08-28 21:17:49 +00:00
yury
1159ee9744 * Small improvement to previous commit.
git-svn-id: trunk@8325 -
2007-08-28 21:06:15 +00:00
yury
614dbe6a8c * Fixed inclusion of multiple resource files with icons or cursors. Patch by Sergei Gorelkin modified by me to reduce memory usage. Bug #9459.
git-svn-id: trunk@8324 -
2007-08-28 20:54:32 +00:00
Jonas Maebe
5bc156efea * always demote type conversions which cannot represent part of the
source value to convert_l3, instead of only those with a destination
    type whose size is < source size (like Delphi) + test -> fixes
    toperator6 along with a host of wrong tordconst typeconversions in
    the compiler sources themselves (although most are harmless)

git-svn-id: trunk@8323 -
2007-08-28 19:38:40 +00:00
Jonas Maebe
ffbb833805 * fixed inttohex overload choosing
git-svn-id: trunk@8322 -
2007-08-28 19:30:56 +00:00
Jonas Maebe
9238ea2850 * fixed potential range errors
git-svn-id: trunk@8321 -
2007-08-28 19:01:49 +00:00
Jonas Maebe
ae364ab187 * fixed win32 compilation
git-svn-id: trunk@8320 -
2007-08-28 13:33:22 +00:00
yury
685810c18c * Fixed fpc_WideCharArray_To_WideStr in case if widechar array contains empty string.
+ Test.

git-svn-id: trunk@8317 -
2007-08-28 09:53:29 +00:00
peter
65afe53eb0 * fix settimeofday timeval parameter
git-svn-id: trunk@8315 -
2007-08-28 09:29:25 +00:00
Jonas Maebe
d73582cb85 * removed svn:executable properties
git-svn-id: trunk@8314 -
2007-08-26 19:24:36 +00:00
Jonas Maebe
cfd206f897 * more sdl/graph unit reordering (win32, freebsd)
* also compile sdlgraph for darwin/ppc and i386

git-svn-id: trunk@8313 -
2007-08-26 12:08:22 +00:00
Jonas Maebe
5d219560b0 + added initial sdlgraph unit by Evgeniy Ivanov and related changes:
* also compile sdl/logger unit
   + restored sdlutils unit, since it's required for SDL_putpixel etc
   * reordered graph unit in makefiles so it's compiled after sdl

git-svn-id: trunk@8312 -
2007-08-26 11:50:53 +00:00
Jonas Maebe
0bfce99477 * fixed bug in ppc jumptable generation for case statements with
negative cases caused by wrong automatic type conversion from
    longint to unsigned tconstexprint (+ test for such jump tables)
  * fixed darwin/ppc64 jumptables in case of jmptablenorange

git-svn-id: trunk@8311 -
2007-08-26 11:15:14 +00:00
Jonas Maebe
5fbf90b1e3 + generated Makefile
git-svn-id: trunk@8310 -
2007-08-26 09:09:01 +00:00
Jonas Maebe
7c9634e0fd * moved graph from packages/base to packages/extra so it can depend
on other packages such as sdl and univint

git-svn-id: trunk@8308 -
2007-08-25 18:49:30 +00:00
michael
287c262d10 * Added copy,length and setlength
git-svn-id: trunk@8306 -
2007-08-25 13:41:22 +00:00
michael
95c712faa1 * Escaped some TeX special characters in documentation
git-svn-id: trunk@8305 -
2007-08-25 13:33:46 +00:00
Jonas Maebe
399201ad7d * removed rodata support for ppc64 again because it doesn't work on
linux/ppc64. Added explanation why it doesn't work and what's needed

git-svn-id: trunk@8304 -
2007-08-24 17:19:52 +00:00
Jonas Maebe
9b76bb94d5 * depends on fcl-base
git-svn-id: trunk@8303 -
2007-08-23 09:57:51 +00:00
yury
3cbd1fb108 * Properly implement registry API ANSI wrappers for wince.
git-svn-id: trunk@8301 -
2007-08-22 22:13:59 +00:00
yury
2e75d6726a * Fixed internal Ansi<->Wide conversion routines.
git-svn-id: trunk@8300 -
2007-08-22 22:13:07 +00:00
michael
0cc51d458d * Patch from Darius Blaszijk
- replace MatchesMask function by IsWild function from StrUtils
  - fixed listsources command

git-svn-id: trunk@8299 -
2007-08-22 16:41:54 +00:00
Jonas Maebe
cb744d37ff - reverted change for avoiding recompilation of units in subdirs,
it breaks other things

git-svn-id: trunk@8298 -
2007-08-22 08:16:10 +00:00