Commit Graph

26746 Commits

Author SHA1 Message Date
Jonas Maebe
b02fd37fbe * removed some unused variables
git-svn-id: trunk@8399 -
2007-09-08 08:45:12 +00:00
florian
bd2b81da73 * packages part of Olivier Coursiere's BeOS patch
git-svn-id: trunk@8398 -
2007-09-07 19:30:36 +00:00
florian
834ea1bec1 * tests part of Olivier Coursier's BeOS patch
git-svn-id: trunk@8397 -
2007-09-07 19:27:06 +00:00
florian
bcd5fc555a * rtl part of Olivier Coursier's BeOS patch
git-svn-id: trunk@8396 -
2007-09-07 19:25:05 +00:00
Jonas Maebe
9bd4fe433b * fixed buffer overflows in int_str() + test
git-svn-id: trunk@8395 -
2007-09-07 14:06:08 +00:00
Jonas Maebe
bd0532f158 * removed unused variable from fpc_shortstr_enum and reformatted
its declarations

git-svn-id: trunk@8394 -
2007-09-07 11:54:00 +00:00
Jonas Maebe
2fa5d998c3 * disabled long double testing again for non-FPC_HAS_TYPE_EXTENDED, since
no one is working on long double support for non-x86 and having this test
    fail all the time can mask the introduction of other (more important)
    cdecl bugs

git-svn-id: trunk@8393 -
2007-09-07 10:53:31 +00:00
Jonas Maebe
b546309ca0 * enabled assembler test for ppc64
git-svn-id: trunk@8392 -
2007-09-07 10:48:32 +00:00
Jonas Maebe
666d156e8e * disabled inlining when passing a refcounted parameter typecasted to
a non-refcounted type to a procedure, as this is incompatible with
    the inlining process

git-svn-id: trunk@8391 -
2007-09-07 10:40:26 +00:00
Jonas Maebe
3b37a7de81 * added cwstring unit for unix
git-svn-id: trunk@8390 -
2007-09-07 09:44:13 +00:00
Jonas Maebe
22f616d6af * treat procvardef parameters the same as records (fixes webtbs/tw9141)
* fixed some issues with 16 byte parameters on both ppc and ppc64

git-svn-id: trunk@8389 -
2007-09-06 17:35:50 +00:00
Jonas Maebe
f70894607f * removed explicit refcounting checks and replaced with memory leak check
git-svn-id: trunk@8388 -
2007-09-06 11:08:22 +00:00
Jonas Maebe
48980ccbe8 * regenerated with up-to-date fpcmake so darwin/ppc64 compiles again
git-svn-id: trunk@8387 -
2007-09-06 09:28:52 +00:00
Almindor
e12748d8be * remove aspell from windows for now (need some registry crap and I have no idea how to do it)
git-svn-id: trunk@8386 -
2007-09-05 13:43:34 +00:00
Jonas Maebe
e1aefdbac5 * Improved escape analysis so the improved tretopt no longer fails.
The downside is that because it is context-insensitive, several
    (correct) optimizations which were performed in the past no longer
    are now (and while some new ones are done now, the downside is bigger
    -- but at least the code should be correct in all cases now)

git-svn-id: trunk@8385 -
2007-09-05 13:29:22 +00:00
peter
0a9b94ca92 * save and restore aktobjectdef
git-svn-id: trunk@8384 -
2007-09-04 18:31:20 +00:00
peter
b513ebe9c6 * missing not
git-svn-id: trunk@8383 -
2007-09-04 18:30:57 +00:00
peter
8c24a15e26 * allow -l-
git-svn-id: trunk@8382 -
2007-09-04 18:29:58 +00:00
Jonas Maebe
fdf8980856 * improved test
git-svn-id: trunk@8381 -
2007-09-04 17:33:59 +00:00
Jonas Maebe
e66eee6d22 * dynamic for darwin
git-svn-id: trunk@8380 -
2007-09-04 15:15:27 +00:00
Jonas Maebe
d47377a95d * fixed darwin compilation
git-svn-id: trunk@8379 -
2007-09-04 15:13:52 +00:00
Almindor
3f123fa0aa * add an example for the SpellCheck()
git-svn-id: trunk@8378 -
2007-09-04 13:09:07 +00:00
Almindor
b5992b6744 * add encoding support to the SpellCheck()
git-svn-id: trunk@8377 -
2007-09-04 13:00:18 +00:00
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