Commit Graph

30882 Commits

Author SHA1 Message Date
Jonas Maebe
6c78ac9a78 * fixed powerpc compilation after r13760
git-svn-id: trunk@13761 -
2009-09-27 14:01:41 +00:00
Jonas Maebe
ec8fee45fe * do not access local data via the GOT on x86_64, because
a) it's unnecessary
   b) it's slower than "direct" RIP-relative accessing
   c) it's not supported on darwin/x86_64 in certain cases
  * never use absolute addressing on darwin/x86_64 (like on win64)
  * when not generating PIC, make sure that a_loadaddr_ref_reg on x86_64
    also uses RIP-relative addressing for darwin/x86_64 and win64

git-svn-id: trunk@13760 -
2009-09-27 13:43:56 +00:00
marco
9c0e066d25 * removed stale debug writeln
git-svn-id: trunk@13759 -
2009-09-25 21:34:45 +00:00
joost
1e3b13842e * Patch from Jesus Reyes to fix streaming of TDatabase.Params property, bug #14438
git-svn-id: trunk@13758 -
2009-09-25 16:59:00 +00:00
florian
39c1c4c199 * improved code generation by reducing the usage of unneeded temps due to incorrect
node processing, patch by Sergei Gorelkin

git-svn-id: trunk@13756 -
2009-09-22 19:24:25 +00:00
michael
12fcb19bf4 * Added comment in SysRelocateThreadVar, not working in Windows Vista
git-svn-id: trunk@13753 -
2009-09-21 09:34:53 +00:00
joost
45b20dac4e * Added the global variable CustomApplication. If this variable is set
when a Application-object is initialized, other units can access this
   Application-object without knowing its exact type or unit it is 
   defined in.

git-svn-id: trunk@13747 -
2009-09-20 12:42:25 +00:00
olivier
2e8a93da16 * tune new variable TerminalSupportsBold and TerminalSupportsHighIntensityColors
for BeOS and Haiku.
  * BeOS : the terminal is very limited. Disabling both give best result.
  * Haiku : Haiku's terminal claims to be xterm but has it's own problems.

git-svn-id: trunk@13741 -
2009-09-19 16:10:36 +00:00
andrew
5c64c75dd7 * fixed bug #14595
* small speed improvements

git-svn-id: trunk@13740 -
2009-09-19 01:19:35 +00:00
Jonas Maebe
2db72437e8 * fixed range check errors
git-svn-id: trunk@13736 -
2009-09-18 10:34:06 +00:00
joost
b52af4cd53 * Introduced TCustomWebApplication.DoHandleRequest
git-svn-id: trunk@13735 -
2009-09-18 09:34:05 +00:00
Jonas Maebe
5bda2aa648 + added warning that TImplementedInterface.getcopy is completely broken
git-svn-id: trunk@13732 -
2009-09-17 19:24:20 +00:00
sergei
fc34dc84ff domunit.pp:
+ Added TDOMTestBase.LoadStringData method, allows loading documents from string.
* Don't return empty string from GetResourceURI when file doesn't exist. Thus we can see the problematic filename in the test output.

+ Added extras.pp, contains a few tests not present in w3.org test suite.
+ Added extras2.pp, contains some tests ported by hand because no automatic conversion possible yet. It addresses namespace fixup during serialization and canonical-form issues.

README_DOM.txt: updated to reflect the added units.

git-svn-id: trunk@13729 -
2009-09-17 09:58:15 +00:00
marco
56e15073bb * sha1test demo + fpmake
git-svn-id: trunk@13728 -
2009-09-16 20:32:07 +00:00
florian
ce773b759d + sha1 unit by Sergei Gorelkin, resolves #14604
git-svn-id: trunk@13727 -
2009-09-16 20:24:40 +00:00
florian
07ef0c33df o another linux console patch by Nikolay Nikolov:
* disabled linux VCSA output in UTF-8 mode, because it does not do any translation 
  and assumes that the font is cp437, or similar, which looks horrible on fonts 
  (like fedora's default latarcyrheb-sun16), which are designed only for unicode 
  support and have no similarity at all to cp437. We already can display all the 
  cp437 characters in UTF-8 mode (including the low 32 characters), in case the 
  font is cp437, and the UTF-8 translation provides better approximation (e.g. 
  for the line drawing characters) if the font is not cp437.
* do not "restore" the linux system font in SysDoneVideo in UTF-8 mode, 
  since we didn't change the font on startup
* added try_grab_vcsa to try harder to open VCSA in the linux IDE user 
  screen restore code. While VCSA is no longer needed in the video unit on 
  UTF-8 systems, the IDE still needs it, because it's the only way to provide 
  the "restore user screen" functionality on the linux virtual console.

git-svn-id: trunk@13726 -
2009-09-16 19:58:42 +00:00
florian
24889df6ed * fixed breakage by r13718
git-svn-id: trunk@13725 -
2009-09-16 19:42:56 +00:00
ivost
d9099daa9c * fixed InitializeSqlite and ReleaseSqlite functions (segfault after a call
to ReleaseSqlite with refcount=0)
* changed all shortstrings to ansistrings ({$h+})

git-svn-id: trunk@13719 -
2009-09-16 08:50:42 +00:00
florian
daa5984212 * fix by Michael Vadymovitch Denisenko for r13712
git-svn-id: trunk@13718 -
2009-09-15 21:06:29 +00:00
marco
be6322be9e * note about location win32 dll
git-svn-id: trunk@13715 -
2009-09-15 11:10:34 +00:00
marco
4eeeb3298e * enabled gmp for Win32 after verification
git-svn-id: trunk@13714 -
2009-09-15 11:10:20 +00:00
marco
33d09f97e6 * gmp disabled for go32v2
git-svn-id: trunk@13713 -
2009-09-15 10:59:32 +00:00
florian
02eeb3dad6 o update by Michael Denisenko for case <string> of
* memory management fixed
  * idention fixed

git-svn-id: trunk@13712 -
2009-09-14 21:44:11 +00:00
Jonas Maebe
da7fdf76d5 * always put parameters in left-to-right order in rtti (Delphi-compatible)
* adapted test (and removed BOM)

git-svn-id: trunk@13708 -
2009-09-13 20:56:22 +00:00
marco
47e90bbdf3 * typo corrected as per #14578
git-svn-id: trunk@13707 -
2009-09-13 20:20:02 +00:00
Jonas Maebe
dac2903107 * prefetch next items in TLinkedList.clear, removes most l2 cache misses
git-svn-id: trunk@13706 -
2009-09-13 15:30:53 +00:00
marco
abda06eb20 * enabled gmp for Linux,FreeBSD and Darwin (Mischi tested)
git-svn-id: trunk@13704 -
2009-09-13 14:00:06 +00:00
Jonas Maebe
92ff07deaf * several fixes by Pierre Pede (parts of his patch to mantis #12492)
o fixed gprof under linux/i386
    o fixed pic-compilation of the linux/i386 rtl
    o initialisation of linux shared libraries is now possible with pic-code

git-svn-id: trunk@13703 -
2009-09-12 21:57:41 +00:00
Jonas Maebe
cc5aeb09de * fixed handling the result value of functions where the result type is
forced to something else by the compiler (internal rtl functions etc),
    necessary for the objc branch
  * fixed adding all used function result registers to the list of
    registers that may need to be saved before a function call

git-svn-id: trunk@13695 -
2009-09-12 12:21:34 +00:00
marco
66240c1204 * fixes that I though were committed
git-svn-id: trunk@13694 -
2009-09-12 11:13:19 +00:00
Jonas Maebe
1aa1686778 * fixed varbyref in variant conversion helpers (patch+test by Paul Ishenin,
mantis #14536)

git-svn-id: trunk@13687 -
2009-09-10 16:57:06 +00:00
marco
0e2f080f07 * binary toc on by default
git-svn-id: trunk@13682 -
2009-09-08 19:11:40 +00:00
joost
2f7875fb12 * Place stride in subrange-entry of array
git-svn-id: trunk@13680 -
2009-09-08 17:00:55 +00:00
Vincent Snijders
d0c608609e * fixed linking with libcairo on darwin in a similar way as done in r13674
git-svn-id: trunk@13675 -
2009-09-08 10:06:56 +00:00
paul
f9d5d01ab4 gtk2: fix compilation on OS X (by Vincent Snijders, issue #0014533)
git-svn-id: trunk@13674 -
2009-09-08 04:54:24 +00:00
andrew
76769d8e18 * Added reading and writing binary TOC for chms.
* Fixed a small bug in chmwriter where strings could have been written across blocks.
* Added a methon to TChmReader to get the toc sitemap. Will use binary toc first if available then text if not.

git-svn-id: trunk@13673 -
2009-09-08 02:35:27 +00:00
Jonas Maebe
40c5ed111c * copy/paste errors for building units shared fixed (patch by Pierre Pede,
part of mantis #12492)

git-svn-id: trunk@13672 -
2009-09-07 19:47:13 +00:00
marco
da9458587d * GMP initial version.
git-svn-id: trunk@13667 -
2009-09-07 13:50:31 +00:00
Jonas Maebe
1f6b55290e * fixed fpsignal for linux/x86_64 and possibly some other platforms as well
(patch by Nikolay Nikolov, mantis #14514)

git-svn-id: trunk@13666 -
2009-09-06 20:03:09 +00:00
Jonas Maebe
e8216ff397 * changed error about unsupported -Xr option into a warning, because the
Makefiles automatically pass it when cross compiling (mantis #14527)

git-svn-id: trunk@13665 -
2009-09-06 18:50:11 +00:00
Legolas
00a3dae729 * Enabled -Xm switch for NDS and GBA and switched from abi_default to abi_eabi
* Fixed NDS libfat linking

git-svn-id: trunk@13664 -
2009-09-06 18:47:22 +00:00
marco
1e5b89049a * Fix several minor html canonicalization problems. FB's chm still gpf's in the index load.
git-svn-id: trunk@13660 -
2009-09-06 17:06:36 +00:00
Jonas Maebe
9da0729d7c * fixed copy/paste error in r13645: fallback to /usr/lib/dylib1.o rather
than /usr/lib/bundle1.o when dylib1.o is not found

git-svn-id: trunk@13658 -
2009-09-06 09:38:19 +00:00
Jonas Maebe
8eb3a34633 * increased length of GCSectionsStr so it can contain the full new
smart linking string for Darwin
  * removed another -no_dead_strip_inits_and_terms that was hardcoded in all
    situations

git-svn-id: trunk@13657 -
2009-09-06 09:35:03 +00:00
marco
f60a4e31a2 * Two demoes for htmlhelp header.
git-svn-id: trunk@13656 -
2009-09-05 23:36:19 +00:00
Jonas Maebe
1503890756 * don't always pass -no_dead_strip_inits_and_terms, because it automatically
turns on dead code stripping (smart linking). Do specify it when smart
    linking is enabled though.

git-svn-id: trunk@13653 -
2009-09-05 20:19:12 +00:00
florian
1b04684d78 o more MingW support, see also discussion of #7412:
+ automatic detection of MingW libgdb
  + additional libraries

git-svn-id: trunk@13652 -
2009-09-05 17:05:26 +00:00
florian
a023c165da o patch by Nikolay Nikolov to make the text mode IDE look pretty under
modern Linuxes by a patch for UTF-8 console output. 
  Previously, only BeOS used UTF-8. Tested with:
   - the linux console
   - xterm
   - gnome-terminal
   - konsole
   - rxvt-unicode
  using Fedora 11.
  Tested with
   - gnome-terminal
   - xterm
   - konsole
  using Ubuntu 9.04
Known "features": 
  * high intensity colours were actually normal intensity, with a bold attribute set. 
    This worked fine under gnome-terminal, but xterm didn't have bold versions of all cp437 characters, 
    which screwed up the window borders in the IDE. And although konsole had them, I didn't like the font - 
    it converted all the double window borders to a very thick single-line border. 
    So I disabled the bolding of high intensity colours in all X11 terminals (TERM=xterm) 
    and replaced it with another ANSI attribute, that actually sets high intensity 
    colours, but is not (in theory) supported by all terminals. The linux console doesn't 
    support it - it actually wants a bold attribute, to set high intensity, 
    so that's why I enabled it only for X11 terminals. All the ones, 
    that I tried, worked fine (xterm, gnome-terminal, 
    konsole, rxvt-unicode, also the plain old rxvt, with a non-UTF-8 locale).
  * Fedora 11 by default uses a 512-characters font, called latarcyrheb-sun16 
    for the linux text mode console, which disables the high intensity colours, 
    effectively reducing the set of available colours to only 8. 
    This is a hardware limitation of the VGA hardware and can be avoided by 
    using a 256-character font. It does not need to be cp437, 
    but it has to have an unicode mapping.
  * I haven't tried other linux distros (and unix-like OSes, i.e. FreeBSD and Mac OS X) - 
    although they should work in theory, they might look bad, due to different fonts, etc. 

git-svn-id: trunk@13651 -
2009-09-05 14:54:22 +00:00
Jonas Maebe
eb84d329d4 * fixed incompatibility of resource strings with the data reordering done by
the Mac OS X 10.6 linker

git-svn-id: trunk@13650 -
2009-09-05 14:40:27 +00:00
florian
2f8e263560 * allow only one thread at a time to attach on a dll so the tls slot is allocated properly, resolves #12987
git-svn-id: trunk@13648 -
2009-09-05 13:41:09 +00:00