Commit Graph

31569 Commits

Author SHA1 Message Date
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
Stefano Ceccherini 9091ba579c Don't print an error if the initialization actually succeeded.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 10:18:56 +00:00
Stefano Ceccherini cb35a69347 Introduce the PIT commands as defines and used them in the pit timer
module. They should be used also in the bootloader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 10:14:15 +00:00
Stefano Ceccherini bf7902cb4b Fix build with tracing enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 09:50:30 +00:00
Stefano Ceccherini bed1c0d42e Sort timers by priority before initializing them, so we avoid initializing
timers which we will never use.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 09:49:41 +00:00
Ingo Weinhold 6e72ebfce3 * More work on retrieving local variable values. Address and compound types can
now be inspected. Still work in progress -- bit fields and arrays don't work
  correctly yet nor does type lookup beyond the current compilation unit.
* Made most of the debugger output configurable via a config header. By default
  it's much less noisy now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 04:39:40 +00:00
Ingo Weinhold 7a6825716a Nested WaitForJob()s didn't work correctly, when the job an outer
_ProcessJobs() loop waited for was processed by an inner one. Instead the loops
now check the state of the waiting job -- it will be changed from waiting as
soon as the job it waits for is done.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 04:34:55 +00:00
Ingo Weinhold 3bd94918ed Reordered Reference::SetTo() operation so that it is safe to reinitialize to
the same referenceable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 04:29:27 +00:00
Rene Gollent e4823008da Accidental edit left in place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 04:20:33 +00:00
Rene Gollent 20d8499530 Various changes to get this mostly compiling, with the exception of a template issue I don't yet completely understand.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-21 03:38:46 +00:00
Philippe Houdoin 47e4e5b32b WIP:
* Renamed StatusAddOn to InterfacesAddOn.
* Made the interfaces list a more self-contained InterfacesListView object
  Now watch for network notifications, but does nothing yet with those.
* Small style changes (but still not compliant). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 23:03:44 +00:00
Adrien Destugues e58942cfd7 ... and added the french catkeys for appearance. Still unfinished.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 22:17:00 +00:00
Adrien Destugues b254319360 -Started to localize the appearance preflet to find more locale kit bugs. It worked.
-MarkForTranslation was not scanned by collectcatkeys, improved the regexp to take it into account
-Some gristing was missing in jamrules, added a bit, still seem to miss some.
-Replaced $(var:B).ext with $(var:S=.ext) as it is the proper way in order not to loose grist and mess things up
-Removed icu include and replaced direct class nesting with pointer to avoid binary compatibility breakage on ICU updates.
-Fixed TimeFormatSettingsView to properly include needed icu things. Should not be there, actually. Needs cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 22:16:30 +00:00
Adrien Destugues 76065080e6 -Delete some old unused files
-Some style fixes (mostly whitespace)
-Switch to the short language list and make it build again. seems to have trouble with BStringByteSink and utf8, or is it just my build env having encoding problems ?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 17:57:06 +00:00
Stefano Ceccherini 36e4aeea57 If launching the media_addon_server via signature fails, try to launch it
from the current directory. The code was already there but commented out.
This fixes launching the media_addon_server from the liveCD. There was
a ticket, I think, but I can't find it right now.
Also reordered includes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 15:00:04 +00:00
Jonas Sundström 7914280cb8 Less hardcoding of paths. Adding shared private OpenWithTracker().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 14:50:01 +00:00
Rudolf Cornelissen 7629e48591 fixed default driversettings to be correct when an empty nvidia.settings file is provided. error reported by tigerdog in bug #2948.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 13:31:43 +00:00
David McPaul c3d1699fcd removed use of MMX registers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 11:15:13 +00:00
Jonas Sundström 2bd3d086c9 Restore the initial copyright year.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 10:28:50 +00:00
Jonas Sundström 1932021874 Restore the initial copyright year.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 10:24:43 +00:00
Philippe Houdoin 93bd4c0ea6 * Move initial devices scan again in a thread, to avoid deadlock.
* Check that path is indeed a file, not a directory
* Contrary to what BeBook say, we can't delete BLocalMidi* endpoints, 
  but only Release() them like all others endpoints. Avoid midi_server to 
  panic when a device is removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 10:18:11 +00:00
David McPaul 507cac021c C comments do not mix with assembly comments
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-20 02:11:34 +00:00
David McPaul 6bfbea62cd Added SSE2 yuv to rgb conversion code. This code needs to move into the media kit though
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 23:34:23 +00:00
Jonas Sundström 6a400ee80f Move mailbox symlink from ~/mail/mailbox to ~/config/settings/Mail/mailbox as requested in #4580. Create in/out/draft folders at build time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 23:33:20 +00:00
Stefano Ceccherini 4b115815dd Removed unused headers directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 22:28:31 +00:00
Jonas Sundström 0d0a9c0ebe Include mail-mbox utilities in image as per humdingers request in #4582.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 21:14:56 +00:00
Jonas Sundström fbc7a84a34 Renaming mbox utilities as per humdingers request in #4582. Final commit. Sorry about the svn move mayhem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 21:05:34 +00:00
Jonas Sundström 39d27bcb29 Renaming mail-mbox utilities as per humdingers request in #4582.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 21:00:23 +00:00