Commit Graph

15712 Commits

Author SHA1 Message Date
Stefano Ceccherini
61ba5a32c1 Added some code to draw "empty" in empty menus. Not working for the
moment, but committing since it's too late to continue working, and at 
least the window is resized correctly...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 22:27:46 +00:00
Axel Dörfler
8a1f6775b9 * You can now specify a thread when using the "unreal" debugger command.
* Added a thread priority column to the thread list.
* Added "realtime" command that lists all real-time threads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 19:50:00 +00:00
Axel Dörfler
1ee28f024a Too more FreeBSD build fixes by Alexander Deynichenko.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 17:45:52 +00:00
Axel Dörfler
c08ce938f3 Added way to enter the kernel debugger in case keyboard is disabled - couldn't
test it, though, as I couldn't reproduce the problem since then.
Fixed indentation in ps2_keyboard.c.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 15:53:37 +00:00
Axel Dörfler
5da68569d0 The APM now successfully shuts down my IBM ThinkPad T40. It's still disabled
for more testing on other machines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 15:51:33 +00:00
Axel Dörfler
fd9772def6 Fixed build on BeOS: MimeType.h doesn't exist; we need to use Mime.h.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 14:25:27 +00:00
Ingo Weinhold
1ae42108ec Improved the window_quit_loop() situation:
* We no longer try to dynamic_cast<>() a BLooper* into a BWindow* in
  an unsafe context (i.e. without the looper or the looper list being
  locked).
* We no longer try to quit windows that haven't been run yet (e.g.
  bitmap's offscreen windows). Those windows conceptually still belong
  to their creator. In the best case trying to lock such a window
  simply failed (e.g. when the creator was another window that had been
  told to quit earlier and deleted the window in question just not too
  early). In worse cases we would dead-lock (when the owner has not
  been told to quit (or refuses to do so)), cause "locker must be
  locked" debugger calls or die painfully when accessing an already
  deleted object.

BTW, I doubt, that the whole window quitting procedure is as it should
be. There's still a huge race condition: When a window is created after
we capture the window list at the beginning of window_quit_loop() that
completely escapes us.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 01:54:33 +00:00
Ingo Weinhold
7baddcf950 Added TODOs regarding gdb blocking in some situations (e.g. on
"info threads" when one of the team's threads is waiting
uninterruptably on a semaphore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-29 00:58:09 +00:00
Ingo Weinhold
9ff556c32a Even better use the type guaranteed to be the correct one for the platform.
Thanks to John Drinkwater for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:51:09 +00:00
Ingo Weinhold
b4598d95e6 Fixed nasty bug in BAppFileInfo::_ReadData(). When an attribute
or resource to be read did not exist and the method was told to
allocate a buffer, it would try to allocate the buffer with an
uninitialized size value. This basically concerned SetSupportedTypes()
and methods using that one (IsSupportedType(), Supports()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:34:36 +00:00
Ingo Weinhold
7aa7880955 Build mimeset for the build platform and use it for the apps we build.
This fixes bug #74.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:02:48 +00:00
Ingo Weinhold
15285cb04d Good deal of hackery to get update_mime_info() to work on the host
platform to the extend we need it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 22:00:16 +00:00
Ingo Weinhold
58b53fd940 Added BApplication dummy class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:57:02 +00:00
Ingo Weinhold
e9bd9044fd Dummy BApplication class. So we don't have to #ifdef it out in tools we
to build for the build platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:56:38 +00:00
Ingo Weinhold
9c2d48f374 Fixed bug already fixed in the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:55:29 +00:00
Ingo Weinhold
de3b6032e7 There's even a constant for the ELF executable type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 21:05:54 +00:00
Ingo Weinhold
0b537029e3 Synchronized the MIME stuff in the build platform support libbe with
the current Haiku libbe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 20:20:27 +00:00
Ingo Weinhold
15424f3d37 Finally fixed update_mime_info(). As Be's version it understands two
different "force" levels now and updates the app file info attributes
for shared object files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:41:07 +00:00
Ingo Weinhold
1ee5d15ef8 MIME DB entry for ELF executable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 19:28:58 +00:00
Axel Dörfler
036b999b54 Unbroke the build (ps2.h was suddenly missing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:48:50 +00:00
Axel Dörfler
afd6dfc8b4 Implemented first basic APM driver. Only tested with QEMU so far, that's why
it's currently disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 18:11:20 +00:00
Marcus Overhagen
bfb4078864 unbreak build and image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 14:05:43 +00:00
Marcus Overhagen
769346f0a3 finishing integration of ps2_hid into ps2 bus manager, delete old files, add new ps2_hid driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:54:21 +00:00
Marcus Overhagen
59d1757d4d added ps2 busmanager to build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:46:02 +00:00
Marcus Overhagen
44eb1c732e improved debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-28 13:41:58 +00:00
Rudolf Cornelissen
7933070063 volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:09:19 +00:00
Rudolf Cornelissen
12676c3a1d volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:06:26 +00:00
Rudolf Cornelissen
eab3aa0c2d same for cursor clear and define functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:02:49 +00:00
Rudolf Cornelissen
716c61f301 updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 20:56:36 +00:00
Rudolf Cornelissen
e2b583a0e4 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:13:20 +00:00
Rudolf Cornelissen
5af5d0c6ef fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:12:51 +00:00
Axel Dörfler
1bb74eb185 This fixes the work-around made in r16105, and some more:
* cached_block::parent_data can be NULL in a sub transaction in case the
  block wasn't part of the parent transaction (but not in low memory
  situations). cache_abort_sub_transaction() and cache_detach_sub_transaction()
  didn't account for this, though, ie. the block data could end up
  corrupted.
* Renamed cached_block::original in original_data.
* Renamed cached_block::data in current_data.
* Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 21:02:53 +00:00
Jérôme Duval
2e7cc04b06 gawk build is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 17:13:09 +00:00
Jérôme Duval
e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval
2e5ac35292 fixed some traces
cache_abort_sub_transaction now doesn't crash if parent_cache is NULL (happens in low memory situations)
Axel, please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:42:12 +00:00
Rudolf Cornelissen
421b932509 moved check for TVout adaptor cable from Setmode to Proposemode where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:53:57 +00:00
Rudolf Cornelissen
032c5ae268 updated docs: the G550 PCIe x1 is supported fully, without any modification :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:31:12 +00:00
Ingo Weinhold
906b28a9ac Added some PPC support to the PCI bus manager. We scan the Open Firmware
device tree for PCI controllers and make them known to the bus manager,
if we know how to talk with them. ATM we support only the UniNorth chip,
which can be found in G4 Macs (code ported from FreeBSD).
As far as I can judge it, all attached devices are identified correctly
on all three host bridges of my Mac mini.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:21:31 +00:00
Ingo Weinhold
f602da2b72 * Turned the kernel platform support from a library into an object.
* Moved the Open Firmware function platform_get_next_device() from
  the boot loader into the kernel (renamed to of_get_next_device()).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:06:59 +00:00
Rudolf Cornelissen
f970e0066a reverting to 16021, removing that panel hack solution. Let's forget about that for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:03:01 +00:00
Ingo Weinhold
6cdd45a94b Added enum to PPCPlatform to identify the platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:59:16 +00:00
Rudolf Cornelissen
5ef2e83614 reverting to version 16074, removing the partly setup coldstart panel hack 'solution' which isn't going to work this way: I took a wrong turn here. Turns out this should be done via temporary files containing the hack info. Don't know yet if I'll do that though (real panel coldstart is the best solution anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:56:40 +00:00
Ingo Weinhold
22a572905c pci_controller.c -> pci_controller.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:27:09 +00:00
Axel Dörfler
c43a6c505a Moved _kern_shutdown() to the registrar's R5Compatiblity.cpp where it belongs.
(but maybe that file should be moved into libhaikucompat.a?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:14:03 +00:00
Axel Dörfler
5da7839924 * _kern_remove_dir() didn't even compile... (test environment (of which
LibBeAdapter is a part of) isn't part of the build.
* Added _kern_shutdown() function, so that the registrar still compiles
  even though __HAIKU__ is now defined for the target libbe_test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:04:44 +00:00
Axel Dörfler
f9cf8b6073 Added __HAIKU__ for target libbe_test.
Fixed FreeBSD host platform define.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 23:55:14 +00:00
Jérôme Duval
18505d40c2 added blank installer init and finish scripts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:43:58 +00:00
Jérôme Duval
79ea00d63e added checks for null pointers in pcihdr.h structs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:29:26 +00:00
Axel Dörfler
a268fbfe48 Added some hacks to get the boot loader to work on the Pegasos.
Doesn't come far yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 20:05:11 +00:00
Axel Dörfler
818feababe Fixed fputc() for the PPC platform (would only write null bytes due to
big endian).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 19:45:10 +00:00