Commit Graph

26673 Commits

Author SHA1 Message Date
Almindor
1606ec996f * add also the simplifier scheck unit with SpellCheck function to aspell package
git-svn-id: trunk@8376 -
2007-09-04 12:45:12 +00:00
yury
ebfd2b6b20 * Fix for tres.pp test by Sergei Gorelkin.
git-svn-id: trunk@8375 -
2007-09-04 12:28:14 +00:00
Almindor
3df93c5391 * adds aspell library translation by Pavel Kanzelsberger
git-svn-id: trunk@8374 -
2007-09-04 12:07:35 +00:00
Jonas Maebe
2f98eaeb0a * set correct aspect ratios for standard vga resolutions (although they
are probably no longer correct when running in a window on a higher
    resolutions, because everything's now 4:3 I guess) (mantis #5190)
  * fixed aspect ratio logic for circle/ellipse (only circle gets adjusted)
    (mantis #5190)
  * clear window to black when initing graphics mode on Mac OS X

git-svn-id: trunk@8373 -
2007-09-03 20:58:56 +00:00
Jonas Maebe
084f47708a * fixed CtrlZMarksEOF comment (#9475)
git-svn-id: trunk@8372 -
2007-09-03 18:36:45 +00:00
Jonas Maebe
11cb2a5614 * moved the setting of many target-specific defines to
TOption.TargetDefines and call it before parsing the config file,
    so extra defines like UNIX and WINDOWS are already defined while
    parsing the config file (mantis #9450)

git-svn-id: trunk@8371 -
2007-09-03 18:24:07 +00:00
Jonas Maebe
c10b375615 * give an error for high(ansistring) and high(widestring)
(mantis #9579)

git-svn-id: trunk@8370 -
2007-09-03 16:37:24 +00:00
Jonas Maebe
1ee8207ffa * fixed mantis #9522: no longer allow typecasting ordinal constants
to complex types (caused a lot of internal errors later on, and
    was also Delphi-incompatible)

git-svn-id: trunk@8369 -
2007-09-03 15:55:26 +00:00
yury
498da17875 * Patch from Sergei Gorelkin (Mantis #9558):
- Enables support for resource types;
  - Enables support for numeric resource IDs;
  - Removes initialization and runtime resource info. That initialization only did two pointer additions per resource, but required use of ansistrings and memory manager. I believe that positive impact on resource usage overweights performance impact from inlining the pointer additions...

git-svn-id: trunk@8368 -
2007-09-03 13:41:38 +00:00
yury
fa0f25c986 * Patch from Sergei Gorelkin (Mantis #9547). Fixed .fpc.resspare section processing in fpcres. Also remove hardcoded section name offsets (and 3 kBytes of code, too :).
git-svn-id: trunk@8367 -
2007-09-03 13:35:54 +00:00
marco
d539d9c54d * fix for 9588
git-svn-id: trunk@8366 -
2007-09-03 13:24:26 +00:00
Almindor
b8c3dc960d * fix x86 -> cpu86 define
* add tee() function

git-svn-id: trunk@8365 -
2007-09-03 10:54:44 +00:00
Almindor
6fd901181a * update sysnr.inc for x86 and x86_64 to latest kernel
* add splice syscall to linux unit for x86 and x86_64

git-svn-id: trunk@8364 -
2007-09-02 22:06:04 +00:00
michael
3ed12b0229 * Small patch from Inoussa OUEDRAOGO so it compiles with Delphi
git-svn-id: trunk@8363 -
2007-09-02 21:57:51 +00:00
Jonas Maebe
e6df979bf7 * don't compile sdlutils for 64 bit platforms for now, as it needs to
be (heavily) changed for that -> also don't compile sdlgraph for
    those platforms

git-svn-id: trunk@8362 -
2007-09-02 21:34:49 +00:00
Jonas Maebe
df84ca49b4 * fixed tests/cg/opt/tretopt, and also in more cases
perform the transformation of x:=f(hiddencomplexresult, ..)
    -> f(x, ...) (the compiler now performs some very
    conservative escape analysis for such types)

git-svn-id: trunk@8361 -
2007-09-02 21:27:37 +00:00
Jonas Maebe
f908846dab * only compile unixutil for linux/i386, since it depends on
packages/base/libc, which is also only compiled for that
    target

git-svn-id: trunk@8360 -
2007-09-02 21:10:38 +00:00
Jonas Maebe
cc0bd74ea0 - removed unused variable after div-by-zero simplify patch
git-svn-id: trunk@8359 -
2007-09-02 21:06:50 +00:00
Jonas Maebe
30e618ccb6 * fixed typecast error in last char/widechar/widestring patch
git-svn-id: trunk@8358 -
2007-09-02 20:29:26 +00:00
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