Commit Graph

27888 Commits

Author SHA1 Message Date
Jérôme Duval
a4797804ba * removed the background border
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 20:14:55 +00:00
Stephan Aßmus
195d11fe5b D'oh! The GlyphCache memory is already managed by the block allocator.
There was no leak before and r29047 freed the memory twice. Sorry about
that. Already feeling like getting old and there is proof left and
right...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 18:47:18 +00:00
Axel Dörfler
21b66fb888 * On i865, the i915_GTT_BASE is not available. For some reason, though, the
method FreeBSD and Linux are using does not work here; I didn't find out
  why, but I've added a fallback method to use the known GTT base then.
* This should fix #2764.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-27 17:35:13 +00:00
Michael Lotz
3bdbdcb23e The default include paths have been updated from be/ to os/ so copy correspondingly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:57:59 +00:00
Jérôme Duval
86bc2f8eac * removed the fancy border on the Installer background
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:35:12 +00:00
Jérôme Duval
3a383e67db added SSE again as support in Haiku seems OK. This can be reverted if needed.
Note this won't trigger a rebuild.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 23:20:42 +00:00
Jérôme Duval
e293302d3d * now init SSE on all CPUs, as I noted cr4 wasn't set correctly
* this fixes the use of SSE instructions here on a dual core.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 22:57:49 +00:00
Stephan Aßmus
edd0e35777 The glpyhs stored in a font cache entry were never freed upon
deletion of the entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 19:25:58 +00:00
Michael Lotz
73476a18af Add a prebuilt GCC 4.3.3 package to the Development optional package. It's
installed either when building with GCC4 or when making a hybrid. Can be
installed separatly as well. Have fun :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 07:33:08 +00:00
Michael Lotz
8ffb1d6966 Updating config for current GCC4 cross compiler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 05:15:41 +00:00
Michael Lotz
621e8eeb9e Fix usage of wrong port change values. The request numbers were compared with
the bitmap instead of the masks. Spotted by Mika Lindqvist (after 100 reboots),
thanks for tracking down such hard to spot errors!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-26 00:57:02 +00:00
Jérôme Duval
73161598d7 * BTextControl is kept navigable to be handled correctly by BControl::SetEnabled(). MakeFocus() transfers anyway the focus on its textview.
* BControl::SetEnabled() now calls SetFlags(), BTextControl::SetFlags() is then correctly called.
* BControl::SetEnabled() now uses fWantsNav to know if B_NAVIGABLE should be restored


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 22:18:44 +00:00
Michael Lotz
74a366707f When linking against libgcc already don't include these symbols. Otherwise we
get multiple definitions of them when building with GCC4 on a GCC4 host.
With that we can now build completely on a GCC4 host with native GCC 4.3.3.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:28:43 +00:00
Michael Lotz
3fcc6b3abe Temporary fix for compilation issue on bison 2.4. See ticket #3137.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 21:15:28 +00:00
Jérôme Duval
6504b22390 * calls BTextView hooks, this allows to select text (see bug #2497)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:57:21 +00:00
Jérôme Duval
280987e2cb Applied a tip from Stephan: pass the location to DrawString directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:43:41 +00:00
Michael Lotz
374c632c55 Rumour has it that we now have Haiku hosts with GCC > 2 as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:25:16 +00:00
Jérôme Duval
0cfe9ac0f7 * centers the text for the settings list item as done with BStringItem
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 19:12:58 +00:00
Michael Lotz
3c885c3390 Fix missing inclue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:14:46 +00:00
Jérôme Duval
d5a6891975 * Patch from Olivier Coursiere: restore sFreeHeapSize in case of resize_area failure
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:13:49 +00:00
Jérôme Duval
9509699116 BSoundPlayer changes:
* calls the notifier in Start() and Stop()
* calls SetHasData() with true in Start() like BeOS does
* starts the timesource if not running in Start()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 18:11:31 +00:00
Michael Lotz
d0a06a0995 Add missing mkdtemp prototype.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 17:11:22 +00:00
Rene Gollent
3486acdf1e Update Vision package - fixes a bug that would sometimes result in malformed drag and dropped clippings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 16:27:44 +00:00
Stephan Aßmus
5ade2c5acd Fixed coding style issues pointed out by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 12:17:02 +00:00
Jérôme Duval
b8d584b4b8 added French Apple keymap, as posted by Vincent Duvert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 11:57:47 +00:00
Stephan Aßmus
cee9364ac5 Applied patch by Clemens Zeidler which gives the Terminal a nice context
menu with additional options when dropping files from Tracker into the
Terminal. Thanks a lot, Clemens!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-25 11:29:39 +00:00
Bruno G. Albuquerque
ef93221da6 - Now NetBuffer and DynamicBuffer agree and the smallest buffer size posible.
- This means that buffers with a initial size of 0 work now.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 23:42:43 +00:00
Jérôme Duval
52e59b292b Improves the EULA alert look (bug #3321)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:29:18 +00:00
Michael Lotz
bfa2519c44 Explicit linking against libsupc++ doesn't seem to be necessary here (works with
GCC2) and produces multiple definitions with GCC4. Please yell if this breaks
cross-compiling.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 11:25:43 +00:00
Jérôme Duval
df08825316 Francisco Castro provided a Dvorak version of the Spanish keymap. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 10:32:27 +00:00
Michael Lotz
f14fe767bf * Rework the USB tracing mechanism. Cleaned it up and make it more convenient to
use. It will now print out the usb_ids of the objects that generate the trace
  messages. These IDs are unique compared to the device address used previously,
  because device addresses are per bus while usb_ids are global. This makes
  trace output from devices across multiple controllers distinguishable.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 01:28:31 +00:00
Jérôme Duval
b6b002b81e when renaming, check first with the newDirectory instead of starting at its parent. this should fix #3355
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-24 00:31:16 +00:00
Michael Lotz
569eafd85e Disable KDL enter key in usb_hid. It's not usable yet and hitting it by accident without a way back kinda sucks...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 23:23:30 +00:00
Stefano Ceccherini
6dcca60207 fix the build. Sorry for the trouble
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 21:54:34 +00:00
Oliver Ruiz Dorantes
c8ac5a7087 Do dot dump for the particular (major minor service) any header in the string output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 17:59:49 +00:00
Stefano Ceccherini
4a7ad412f6 revert r28970, since they cause crashes. Still looking into it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 14:05:12 +00:00
Stephan Aßmus
708f40e5a9 Fixed GCC version check according to Michael.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 12:36:36 +00:00
Michael Lotz
09a009d4af Move include directories for C++ headers to the beginning. This makes
include_next work properly with newer headers. GCC 4.3.2 has a <cstddef> in its
C++ headers for example that does an include_next of <stddef.h>. The latter is
located in the C headers. For this to work, the include directory for the C
headers needs to be specified later than the one of the C++ headers.
With that Haiku is now completely buildable with GCC 4.3.2.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:23:21 +00:00
Michael Lotz
bc840cd466 Remove this panic. This one is triggered when booting my GCC 4.3.2 built image
but I don't see why. If someone still knows why this was put there, please check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:15:35 +00:00
Michael Lotz
ce837badf2 Fix GCC2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:10:17 +00:00
Michael Lotz
fb3e35fcec Fixing all headers/namespaces/name lookup problems that hinder a GCC 4.3.2
build. I sure hope that this doesn't break the build for anyone else.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 03:05:15 +00:00
Michael Lotz
7e359a9b53 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 02:37:28 +00:00
Michael Lotz
0644703068 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 02:07:37 +00:00
Michael Lotz
aacebf533d Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:55:40 +00:00
Michael Lotz
f89856e548 Having the first argument to main() non-int is an error in GCC 4.3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:49:32 +00:00
Michael Lotz
ddb785a296 Better return B_ERROR when not compiling the actual call in.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:30:29 +00:00
Michael Lotz
c9c7eecd8e Comment out problematic inline asm statement for GCC 4. The direct reference
to sAPMBiosEntry generates undefined symbols and I'm not in a condition to fix
this right now. Added a TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:24:47 +00:00
Michael Lotz
eff61480cc Fix header and add std namespace to nothrow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:21:27 +00:00
François Revol
a0a4211e6d - fix typo, it's "dumb" terminal type :)
- move setting the terminal window title to COMMAND_PROMPT, it fixes issues like beeping when editting the command line.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 01:02:04 +00:00
Michael Lotz
64f7e20f9c Add -ffreestanding to kernel C/C++ flags. This means that ISO conventions like
the main() signature are not applied and do not generate errors when violated.
Our bootloader has a non-standard main() signature for example, which is of
course fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-23 00:40:41 +00:00