Commit Graph

31596 Commits

Author SHA1 Message Date
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
Joachim Seemer
fa1e6cf851 Changed bullet list to headings. Thanks Oscar Prego for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 18:17:38 +00:00
Axel Dörfler
9ba61ffd10 * Version all libbe symbols - while this enlarges all executables, and isn't
strictly necessary yet, it also makes the app_server test environment run
  under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 15:11:20 +00:00
Stephan Aßmus
23f83f8ccb BEntry and BDirectory also needed stat related symbols defined when compiling
the test environment for GCC4.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:32:49 +00:00
Stephan Aßmus
b671e9bbdb Added fixes for compiling on GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:21:58 +00:00
Stephan Aßmus
32bf3ca5f8 Added GetStat() symbol when compiling the test environment on GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:19:11 +00:00
Stephan Aßmus
7ad67e708f Optimized includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:18:24 +00:00
Stephan Aßmus
6aca882298 Automatic whitespace cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:15:37 +00:00
Stephan Aßmus
e55dd5f8ef * When compiling on Haiku as the host platform, set HOST_LIBSUPC correctly.
This is important when setting up the TARGET_LIB* constants later, in case
  the target platform is not "haiku". (i.e. libbe_test).
* Added TODO about HOST_GCC_BASE_FLAGS being wrong for GCC4. I couldn't find
  the proper fix, but it is important whan compiling libbe_test on Haiku.
  I worked around this by having the constant defined correctly for the
  problematic file. See the TODO comment.
* Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 10:14:07 +00:00
Stephan Aßmus
b04721f313 Applied patch by Matt Madia:
* Introduced "nightly-*" release build profile.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 09:02:31 +00:00
Stephan Aßmus
19b850b383 Fixed the build of the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 08:08:33 +00:00
Michael Lotz
c7980f8d06 Add a pseudo condvar implementation and two more functions, just enough to get
all the USB drivers working with this single compat header. Usefulness might
be questionable, but since I did the work anyway, why not check it in as well...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:39:03 +00:00
Michael Lotz
e65227c272 * Error out on the num events ioctl in case the device was removed, otherwise
the original BeOS input_server will fail to detect the error and never close
  the device.
* Remove the empty kernel_cpp header and use the one from kernel util instead.
* Add some missing headers for completeness.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 05:30:04 +00:00
Michael Lotz
ecd60dec1a Removing unused BeOS compatibility header.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:26:54 +00:00
Michael Lotz
8b6349fd32 * Add a missing result assign that would cause the synchronize ioctl to always
return an error.
* Properly use the name length instead of a hardcoded buffer size when composing
  the name of the raw device and ensure proper termination.
* Case new ioctls for Haiku as the target platform. Indeed this driver works
  fine on BeOS even though it was written natively for Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 02:16:47 +00:00
Michael Lotz
1393394ba6 We need to guarantee that when cancel returns that the callback won't be called
anymore. It could happen that the transfer was already in the process of being
finished, so wasn't in the list of pending transfers anymore. Cancel would then
return even though the callback wasn't called yet. This could lead to a callback
being called after a driver was already unloaded (even after it cleaned up the
pipes it used).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-23 01:59:05 +00:00
Michael Lotz
be71ca4f57 Some minor updates just in case someone really tries to build on BeOS (with an external build system, as natively building is not supported anymore).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 22:02:57 +00:00
Adrien Destugues
00293983b4 Internationalized and localized to french the CPU Frequency preflet. As always, translation open for improvement. I'm still waiting for people to start provide other languages too ! It's not that hard!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 21:30:57 +00:00
Jérôme Duval
53ef0850a7 patch from Fredrik Holmqvist:
* oshaiku.c is based on a different original from a stub, therefore it
looks like a lot of comment changes.
* achaiku.h is redone completely.
* dpc is added as boot module.
* acpi_busman.c now does all mandatory steps to init.
* style fixes
* added another acpi kernel settings to avoid full init for debugging.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 21:10:18 +00:00
Stefano Ceccherini
b1c4413c56 Turns out the selection sort algorithm was broken for more than... 2 entries,
if they were not already ordered. Or, to say id differently, it was completely
broken.
Luckily no one noticed....
Also disabled again printing the timers, since it could print not available ones.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 19:58:40 +00:00
Artur Wyszynski
bf2de2050d * Added double-buffering
* Resolved a vsync TODO


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 01:02:15 +00:00
Rene Gollent
bd61cb15e6 Needed for module to actually be loadable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-22 00:04:03 +00:00
Adrien Destugues
bef020d3b7 Localized Bluetooth preference panel. I hope I did not break anything. I don't have bluetooth devices to test. Feedback welcome, and suggestions on my fuzzy french translation too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 21:30:08 +00:00
Oliver Tappe
9e3d9284f8 * fix build of udf with gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 20:47:18 +00:00
Adrien Destugues
9ac21cc7b2 Fixed the language listing so the preflet allows you to select your preferred languages in a working way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 20:29:24 +00:00
Adrien Destugues
d36235a21f Finished localizing the appearance preference panel and translated it to french.
-The French translation is far from perfect. Comments and suggestions welcome.
-The color picker is an OS Widget but uses text (Red, Green, Blue). This is kind of an edge case, but may need a system-wide catalog. I will now translate other things and see if I encounter similar problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 19:43:41 +00:00
Joachim Seemer
e75600d1af UpdatedDiskUsage icon. Nice work, BTW, ZuMi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 18:54:39 +00:00
Jérôme Duval
ffd46c2940 it seems these ones are already included by the build system
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 18:47:18 +00:00
Jérôme Duval
92cf5d389a build fix on r1a1. hopefully doesn't break other build platforms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 18:20:35 +00:00
Stefano Ceccherini
7ddaf32ecc Second (or third) try at getting the timers ordered by priority, in
r33218 I had ordered the timers in the wrong order.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 14:44:11 +00:00
Stefano Ceccherini
ca7ba3eb23 pretty much reverted r33218.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 13:16:13 +00:00
Stefano Ceccherini
77a9df0a47 Disable tracing.
Wow! 4 commits for a simple thing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 10:21:57 +00:00
Stefano Ceccherini
249346009f Fix for the fix. The previous commit actually broke initalizing timers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 10:21:00 +00:00