Ingo Weinhold
061c5fe806
Added AddZeroBits() method.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:10:40 +00:00
Ingo Weinhold
7dde9c1dab
* Added operators == and !=.
...
* Added "bool* _isSigned" parameter to IsInteger().
* Added static TypeIs{Number,Integer,Float}() operating on type codes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:08:45 +00:00
Philippe Houdoin
5daa1139f6
No wonder acpi_thermal didn't load: _TZ_ (thermalzone), along _PR_ (processor),
...
_SB_ (System Busses) and _SI_ (System Info) root nodes wasn't published
as device manager nodes, only their subnodes, if any.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 00:42:45 +00:00
Philippe Houdoin
2226913b43
Fix header guard name.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 23:44:16 +00:00
Philippe Houdoin
db893a372a
Add usb_asix driver to image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 23:17:59 +00:00
Rene Gollent
34c986c2d0
Patch by Matt Madia: add Icons screen saver to image. Closes ticket #4643 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 18:51:47 +00:00
Stephan Aßmus
8ac8a808e4
Patch by idefix:
...
* Use the correct interface index for the control transfer that sets a Wacom
tablet into tablet mode.
* Check if the mode is indeed setup correctly.
* Retry switching the mode up to five times, as done in the Linux driver.
Thanks a bunch! As Michael has proposed in ticket #3744 , the whole Wacom
driver should be merged into the existing HID driver framework (eventually).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 10:33:18 +00:00
Philippe Houdoin
6411e0d21f
Removed duplicate kernel_cpp.h, now using the one in headers/private/kernel/util.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 08:14:22 +00:00
Michael Lotz
38a1d67039
Fix copy&paste typos. Thanks Urias for spotting!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 00:18:17 +00:00
Michael Lotz
04aa141beb
Adding a VMWare mouse input server filter add-on. It supports the same io port
...
based protocol as the X vmmouse driver does. It yields proper absolute pointer
positions under both the normal VMWare console and using the builtin VNC server.
Therefore "fixes" the issue seen in #4630 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-26 00:09:13 +00:00
Philippe Houdoin
d0f3c92bb2
Fix usb_asix build under gcc4.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 17:03:14 +00:00
Philippe Houdoin
a0556a1df2
Added Fredrik Holmqvist (tqh) to our contributors.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 16:56:55 +00:00
Rene Gollent
4e79886a59
Fix gcc4 build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 14:36:26 +00:00
Stefano Ceccherini
6dc4fd11a2
Uncommented the hpet timer from the timers list.
...
Lowered its priority of hpet timer so it doesn't get picked up first
(yet)
Changed the debug output to be conditional.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 10:48:37 +00:00
Stefano Ceccherini
6d92e80531
- Moved timer conversion to a method, and added LL to the conversion
...
factor to avoid compiler issues.
- Removed some useless and commented debug stuff.
- Now prints also the global HPET configuration.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 10:36:39 +00:00
Stefano Ceccherini
4687d95b68
Renamed x86_hpet.c to x86_hpet.cpp and fixed the compile errors.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:50:32 +00:00
Stefano Ceccherini
8626c1aa5f
the HPET timers resolution is REALLY high. The time conversion was off by
...
1000. XenServer boots correctly and in reasonable time,
now (meaning hpet timers work). I guess on real hw the bios doesn't
correctly program the hpet timers, so we'll need a bit more work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:49:02 +00:00
David McPaul
4966c05232
register another xvid fourcc
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 09:26:00 +00:00
Stefano Ceccherini
9ea40f7802
Cosmetics.
...
XenServer actually boots (but slow as hell) with hpet timers enabled, real hardware does
not.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 08:29:42 +00:00
Stefano Ceccherini
dd9b76727d
Enable hpet_init() in the boot loader. All it does is searching the hpet
...
table and mapping it if needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 07:06:58 +00:00
Stefano Ceccherini
d54e62b2c8
Added dumping the timer configuration, and the possibility to use any of
...
the hpet timer, not just the first 3.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 05:08:22 +00:00
Philippe Houdoin
c82b73bd02
Forgot to fix those, too. Maybe because they're useless, to say the
...
least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 03:14:38 +00:00
Philippe Houdoin
e609e7d3eb
Ooops, forgot this one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 02:08:13 +00:00
Philippe Houdoin
62f9de87b0
Moved Mesa libs (mesa, glu & glut) under src/libs/mesa, where it should have
...
been since long already.
This should help aljen reintegrate his gallium branch sooner than later,
which after the speed improvment on softpipe made last days will
be welcomed, I'll bet ;-)
Maybe it's possible to even have both current Mesa Software Renderer add-on
*and* Gallium-based SoftPipe one. Will need to actually support renderer
selection (in OpenGL preference panel or via a missing OpenGL Kit API),
as today the first add-on found is the only one ever selected...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-25 01:50:30 +00:00
Philippe Houdoin
46b4cc5651
Unbreak acpi_thermal driver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 23:47:10 +00:00
François Revol
49546fa993
Small script using hey to dump the BView hierarchy of a window of an app...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:43:58 +00:00
Jérôme Duval
b964c116d7
* handles correctly failures during setup
...
* style fixes
* fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:41:12 +00:00
Jérôme Duval
430889581a
* handles correctly failures during setup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:40:33 +00:00
Jérôme Duval
b5929aa12e
* handles correctly failures during setup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:59 +00:00
Jérôme Duval
65c7c7c383
* handles correctly failures during setup
...
* style fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:39:38 +00:00
Jérôme Duval
b5d916002b
* handles correctly failures during setup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:38:11 +00:00
Stefano Ceccherini
cd1352fe63
Fix endianess problem: the period and capabilities bits were reversed in the hpet registers
...
struct definition.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 22:06:02 +00:00
Philippe Houdoin
a9e916dc25
Install default address space handlers too during startup.
...
Without them, embedded controler may have issue accessing some addresses before
installing his own handlers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:45:44 +00:00
Jonas Sundström
0d62f09d74
Explicitly allow not giving a relative path.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:35:10 +00:00
Philippe Houdoin
904acde1c2
Added Vincent Duvert to Contributors for his Icons screensaver.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:09:12 +00:00
Adrien Destugues
875e7244d7
Patch by Michael Weirauch to fix bluetooth apps signatures.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:07:18 +00:00
Adrien Destugues
93647add85
Public headers should not hold commiter names in the licence header. Removed them.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:57 +00:00
Philippe Houdoin
32b3986c09
Added a very nice Icons screensaver, by Vincent Duvert.
...
Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 21:03:51 +00:00
Jonas Sundström
99c8538b8b
Code style fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 20:44:41 +00:00
Philippe Houdoin
ba4b45f760
Coding style cleanup. Hope I got it right...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 17:53:49 +00:00
Philippe Houdoin
f2f265930d
* Made DPC an ACPI module dependency
...
* Moved DPC queue creation / deletion before/after ACPI subsystem
init/shutdown repectively, as AcpiInitializeObjects() would
eventually trigger some AcpiOsExecute() call, which need DPC to be ready.
* Still missing: a DPC queue that run each call in its own thread, not sequentially...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 17:36:49 +00:00
Michael Lotz
eea7b7309f
When writing a fresh MBR on initialization, also write boot code to it. It uses
...
the combined PMBR/MBR bootloader from FreeBSD done by André Braga. It will
chainload either a Haiku GUID partition or fallback to the partition marked
active in the MBR.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 15:24:46 +00:00
David McPaul
cf78cd8986
improve workaround
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 11:43:41 +00:00
David McPaul
d88759d47a
Add workaround for some broken avi files with 0 length chunks. See issue 4620
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 10:13:20 +00:00
Ryan Leavengood
e9503e26f5
Fix typo spotted by Joel Cox: thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-24 05:47:32 +00:00
Adrien Destugues
fb421f7d1c
The app signature of the bluetooth preflet used a lowercase haiku instead of the usual Haiku, making the locale kit not find the catalogs. I can't see this change in the compiled image, however, which file should I delete for this to be uodated ?
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 20:56:11 +00:00
Philippe Houdoin
c6989ed912
* check if the device path is already known first.
...
* check the path is NOT a directory or a symlink to a directory.
regular or char/block device are considered both valid path to read
from and write to.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 20:55:08 +00:00
Adrien Destugues
4cbc2061fd
Should make the bluetooth preflet compile and run better.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:40:38 +00:00
Rudolf Cornelissen
51e7cfd2bb
modified head selection code for most NV40 architecture cards since their BIOSes behave differently. This should fix black or disabled screens if the secondary connector has a VGA screen while the first one is disconnected. verified on NV43, NV44, G71 and G72 over here. Bumped version to 1.05.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:17:35 +00:00
Jérôme Duval
d46c72cd75
add a grist to the test truncate command.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 19:07:38 +00:00