Commit Graph

27851 Commits

Author SHA1 Message Date
Stephan Aßmus
a1a5c7b1d1 If this flag would already work on the real app_server, one could test it in
the libbe_test environment... the classical chicken & egg problem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:25:58 +00:00
Axel Dörfler
c0f44af061 * Fixed PXE boot loader build again (hey mmu_man!).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:25:35 +00:00
Stephan Aßmus
936c6d6c7d Sorry, missed this from the GCC4 fixes for libbe_test.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:22:10 +00:00
Stephan Aßmus
b7b32111a0 Leave out the cool new remote screen feature from the libbe_test app_server.
Otherwise libnetwork.so needs to be dragged in, which has some issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:21:16 +00:00
Stephan Aßmus
50de4a5e00 GCC4 fixes when compiling the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:19:57 +00:00
Stephan Aßmus
1fc35b4f46 * Small cleanups
* Declaring the structs doesn't work so well for the libbe_test target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:18:47 +00:00
Axel Dörfler
3bf4730590 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:56:18 +00:00
Stephan Aßmus
902738e735 * Fonts is definitely not BeOS compatible anymore.
* Remove Fonts from the app_server test environment build, since liblocal.so
  is not yet part of that target platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:54:27 +00:00
Axel Dörfler
a8e3e8b563 * Added missing license headers.
* Coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:19:49 +00:00
Axel Dörfler
ede7c33d8c * Removed some superfluous parenthesis.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 07:52:09 +00:00
Axel Dörfler
f229f56702 * Made the ps2_synactics.h header stand-alone.
* Coding style cleanup.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 07:47:53 +00:00
Axel Dörfler
9bc8c04496 * Improved spacing between the check boxen and the "Edit menu..." button.
* Simplified BBox labels (yes, there is a SetLabel(const char*) version :-))
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 18:22:43 +00:00
Axel Dörfler
b4a7d0bcc6 * Do not forward the Command-~ to the apps, like with the other workspace
switching keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 16:16:36 +00:00
Axel Dörfler
32ebacf299 * Build fix... sorry, I could have sworn I compiled it before committing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 14:18:32 +00:00
Michael Lotz
81c431d23d Include the terminating 0 byte when adding as string type. Otherwise someone
reading the message as an actual string will run into problems.
Should fix #4697.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:38:27 +00:00
Axel Dörfler
821b62c231 * Fixed app signature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:27:39 +00:00
Axel Dörfler
cc592ed1fa * Fixed coding style.
* Fixed bug introduced with the last change: since the mbox is dumped to
  stdout, it's not a good idea to print status messages there as well.
* In the long run, I think we should replace the two conversion tools with a
  (better usable) single one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:27:21 +00:00
Stephan Aßmus
7a842ef77c Check negative out-of-bounds index in BTextView::OffsetAt(). According to
#4707, this is the BeOS behavior. I have not checked myself and the BeBook is
very brief on this, but similar methods do trim indices to be in range.
Another alternative would be returning an index indicating an error (-1).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 12:46:26 +00:00
Axel Dörfler
08c63a2d6b * Print the actual command name, not a hardcoded obsolete one. Fixes ticket
#4719.
* Added license header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 12:32:07 +00:00
Bruno G. Albuquerque
b69dfc85c8 BnetEndPoint::Send() should use BytesRemaining() as the amount of data to be sent, not
Size(). This fixes #4724.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 10:31:47 +00:00
Ingo Weinhold
8a71915a9d Made the {debug,user}_{mem,strl}cpy() and user_memset() functions deal with
address overflows. Apparently at least the x86 string instructions generate
a general protection fault instead of a page fault, and we only use the fault
handler in the latter case (maybe we should change that, too). Fixes #4714.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 09:54:40 +00:00
Ingo Weinhold
4401e83384 Use correct tracing macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:13:20 +00:00
Ingo Weinhold
e10cb2838b * ArrayIndexPath::SetTo(): Changed return type from bool to status_t.
* Finished support for retrieving and displaying array element values.
* Added work-around for pointer types, if the base type isn't specified in the
  debug info (as it should per specification).
* Added support for unspecified types, function types, and pointer to member
  types. All types relevant for C++ should be supported now. There are still
  quite a few TODOs, though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:12:16 +00:00
Ingo Weinhold
bdfb434cba * Introduced common base class DIEArrayIndexType for enumeration and subrange
types.
* Added/fixed some accessors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:11:41 +00:00
Ingo Weinhold
9cad16b96e Fixed drawing of the marker line backgrounds. They were off by the font
descent.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:11:04 +00:00
Ryan Leavengood
d159cdcf4e Apply patch from Caitlin Shaw to allow for smaller screensaver tick times that 50 ms.
This fixes #4628.

I added the TODO because I think this code is getting hairy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 01:01:35 +00:00
Philippe Houdoin
a02fe27649 Added OpenGL classical gears.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 22:00:35 +00:00
Ryan Leavengood
7d9b05f10d - Move Scott McCreary to current maintainers list.
- Add Caitlin Shaw to contributors list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 21:29:16 +00:00
Ryan Leavengood
0d77a112bc A patch from Caitlin Shaw (aka rogueeve) to fix #4715, some Terminal
improvements:

* fixed text for "Use Text" radio button in Find dialog being cut off
* more user friendly error messages for Find dialog:
   "no search string" becomes "No search string was entered.", or "Nothing is
   selected." as appropriate.
* Preferences dialog opens unacceptably slow when a larger number of fonts are
installed due to AppearPrefView's "IsFontUsuable" routine. But was able to
cut opening time by about half with a minor optimization to the loop.

* Fixed an ugly word-wrap of Takashi Murai's name in About dialog


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 21:21:40 +00:00
Ryan Leavengood
0eab14cd22 Apply patch from Caitlin Shaw, aka rogueeve, to fix Tracker's replace behavior
for the case of 1 file.

Fixes #4717.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 20:52:04 +00:00
Clemens Zeidler
2e49589d67 Remove unused includes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 20:20:19 +00:00
Clemens Zeidler
3e1f071c14 Use the new CenterOnScreen function to center the window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 19:48:03 +00:00
Adrien Destugues
14235a805c Updated de.catkeys for locale preflet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 18:23:55 +00:00
Adrien Destugues
9204b55593 Fixed russian translation of locale, again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 16:18:13 +00:00
Adrien Destugues
a201a0b03e Fixed russian catalog for locale...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:47:44 +00:00
Adrien Destugues
e95e93008f Fixed russian catalog for bluetooth.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:28:36 +00:00
Jonas Sundström
026fe75255 Fix bug in order of count entry fields. Change to 2x2 grid view.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 15:15:03 +00:00
Adrien Destugues
1300ae7029 Fixed tabs in the ru.catkeys for font. Sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:37:04 +00:00
Michael Lotz
b3901807e8 Adding RemoteDesktop client. It wraps a port forwarding ssh call to provide
security and compression for the session. This allows to keep these layers
separate from the actual protocol. This needs to be run from the command line,
as it will request ssh auth there. After connecting it will export the needed
env variable and run the specified shell (Terminal by default) on the remote
host to make it connect to the local client app.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:21:01 +00:00
Michael Lotz
68667bf48a * Adding a remote desktop interface that operates on app_server drawing
primitives by providing a RemoteDrawingEngine and a RemoteHWInterface.
  Not really optimized yet, still a bit WIP.
* Adding corresponding infrastructure like a blocking ring buffer and network
  sender/receiver that are attached to the buffers to feed/drain them as well
  as a RemoteMessage helper that provides a message based interface.  
* Adding target screen concept to request an app to be run on a specific screen.
  It's controlled by the TARGET_SCREEN environment variable which is added on
  the app side and sent to the app_server.
* Right now only remote target screens are supported, in which case a new
  RemoteHWInterface is created that tries to connect to the given host:port.
* Fix shape bounds when drawing, they need to be translated by the pen position
  and converted to screen like the points as well. Wasn't visible though as the
  bounds weren't used in the normal DrawingEngine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 14:15:17 +00:00
Adrien Destugues
e40d2817aa Updated russian translations for appearance, locale, bluetooth.
New russian translation for fonts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:48:41 +00:00
Adrien Destugues
0709efef4d Improvements to cpufrequency german translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:33:49 +00:00
Adrien Destugues
d474e23337 Add missing localization strings in locale preflet. ("12 Hour" and "24 Hour")
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-04 13:30:32 +00:00
Adrien Destugues
52312b15b8 Improved bluetooth catalog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 15:46:09 +00:00
Adrien Destugues
b0ca26e475 Fix CPUFrequency replicant localization to no longer crash. Sorry about that :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 15:31:41 +00:00
Jonas Sundström
9e0985f930 Screen space diet to make the prefs panel fit on 640x480 like most of the other prefs panels, when using the current default font. Looks a bit cramped. Tabs may be a better idea.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-02 08:36:35 +00:00
Jonas Sundström
33eed03081 Simplified use of CenterOnScreen().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 23:03:48 +00:00
Ryan Leavengood
edbcbaa631 Updated the screensavers Haiku, Icons and Message to use the new default
settings view function.
Also some clean-up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:49:15 +00:00
Ryan Leavengood
5d4dc64e6f Appropriately based on the name, DebugNow was full of bugs:
- The text was not centered because it was not taking into account the left
  offset of the text rendering, which can be gotten from the left value of the
  rect returned by GetBoundingBoxesForStrings. I'm pretty sure this was 0 on
  BeOS, so there might be problems with our GetBoundingBoxesForStrings. It
  doesn't make sense for flat edged glyphs like D and N to be offset. But
  nonetheless taking into account that left offset centers the text in this
  screensaver. This fixes #4261.
- The text rendering also could look weird because the low color was not set to
  blue. Again I'm pretty sure this was not a problem on BeOS, but could be
  related to the new subpixel AA rendering. Setting the low color fixes this
  and therefore fixes #4252.
- To avoid any weird repaint issues in the ScreenSaver preferences preview
  view, the whole background is painted every frame now.
- I also added an escapement_delta member which is used for both the
  GetBoundingBoxesForStrings call and the eventual text rendering. This may be
  pointless, but it is probably more consistent.

Other changes:
- This now makes use of the new settings view private function.
- I made the coding style compliant with our latest guidelines (I think I got
  most of the big ones at least.)
- Removed the references to the old BeOS screen saver kit stuff from the
  Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 21:03:44 +00:00
Ryan Leavengood
1c5a1e55c1 Suggestion from Rene:
- Make the BuildScreenSaverDefaultSettingsView function be built into
libscreensaver.so and under the BPrivate namespace. This avoids the repetition
of the compiled code in each screen saver that uses it.
- Updated the ScreenSaver preferences to use this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:48:14 +00:00
Ryan Leavengood
db9feb346e - Reordered headers to match coding guidelines.
- Added use of the new BuildScreenSaverDefaultSettingsView function (this is
basically the same code.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:22:30 +00:00
Adrien Destugues
0007a867cf -Internationalization and french locale for Fonts preflet
-Added grist to the sourcecode files sent to collectcatkeys to avoid mixups


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 20:05:56 +00:00
Adrien Destugues
fdd05057a9 Improved german localization for cpufrequency preflet, done by Colin. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:35:57 +00:00
Adrien Destugues
d02410e19b Patch by Colin: improve the appearance german localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:29:47 +00:00
Adrien Destugues
6a1c5d17f4 German localization for bluetooth preflet, done by svend. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 17:26:12 +00:00
Ingo Weinhold
7326886515 Added support for displaying arrays. Their element's values aren't retrieved
yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:41:49 +00:00
Ingo Weinhold
9e4a5c5fdc Since arrays can be multi-dimensional, a single index does not suffice to
identify an element. We use the name string of the TypeComponent as index path.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:40:41 +00:00
Ingo Weinhold
84153f2c57 * Fixed typos in comparisons.
* Some more output on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:38:31 +00:00
Ingo Weinhold
4fc4757d3d Added ArrayIndexPath, a small class storing a index list for identifying an
element in a multi-dimensional array, featuring conversion from and to string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:37:24 +00:00
Ingo Weinhold
8ad4a2e971 Improved comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:31:20 +00:00
Ingo Weinhold
d815bfef61 Fixed build with tracing enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 09:30:46 +00:00
Philippe Houdoin
32be844cec We can't use OpenGL logo before we obtains a license from SGI.
Meanwhile, let's replace it with a classical glgears one.

BTW, we need an icon for this preflet, currently it's the Network preflet one!
People more fluent with Icon-O-Matic than me (aka everybody) are welcome. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 07:45:06 +00:00
Ingo Weinhold
37e6de5d4c Don't destroy tracing entries. This is not necessary and even harmful, if the
code is no longer loaded, e.g. when the module has been unloaded or the tracing
buffer was reattached from a previous session.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 04:38:19 +00:00
Ingo Weinhold
c37a305de6 Implemented a "vmdk" partitioning system. It allows to access the contents of
monolithic vmware images as produced by the build system (by registering such
an image via the "diskimage" tool).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:09:18 +00:00
Ingo Weinhold
7f16b78c41 Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to
vmdk.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:08:46 +00:00
Ingo Weinhold
d6778355ee * <DiskDeviceTypes.h>: Removed kPartitionTypeIntel{Primary,Logical} constants.
* Added new header headers/private/system/disk_device_types.h, which defines
  the <DiskDeviceTypes.h> constants as macros and which can be used where the
  constants cannot be used. The constants are defined using the macros, so now
  there's only one place where the string literals should be specified.
* Use the macros in the partitioning systems. I was too lazy to also adjust the
  file systems -- most of them seem to hard-code the string literal yet.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:07:42 +00:00
Ingo Weinhold
a9689e8492 * VFS:
- Fixed vfs_get_vnode_from_fd() return type.
  - Added vfs_open_vnode().
  - Added a "bool traverseLeafLink" parameter to vfs_get_fs_node_from_path().
    It was always resolving symlinks.
* device manager/devfs:
  - devfs: get_node_for_path() no longer resolves leaf symlinks. That still
    doesn't help with file disk devices, as creating partition wouldn't work
    anyway.
  - Pulled the module-related implementation part of BaseDevice into new class
    AbstractModuleDevice and made all methods of BaseDevice virtual. Small
    adjustments to devfs to be happy with the new BaseDevice interface.
  - Added BaseDevice subclass FileDevice, which maps the interface to a file's
    file descriptor. Still got a few TODOs, but should basically work.
  - Use FileDevice for publishing file disk devices in devfs. Now those do
    actually work, though there's some BFS trouble with one of the images I
    tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:06:34 +00:00
Ingo Weinhold
6cc1f01511 Implemented small tool diskimage, which allows to register/unregister files
as disk devices. It also demonstrates that the respective devfs functionality
is utterly broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:05:06 +00:00
Ingo Weinhold
3c4721f516 The B_DISK_DEVICE_IS_FILE flag is cleared by KDiskDevice and needs to be reset.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:04:32 +00:00
Ingo Weinhold
80ea5e3508 Fixed incorrect return value of _user_get_file_disk_device_path().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:03:56 +00:00
Ingo Weinhold
c51d6579e4 Fixed incorrect uses of user_{strl,mem}cpy() in the kernel debugger. This could
break stack traces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:03:16 +00:00
Ingo Weinhold
be51dd0f4c Added debug_strlcpy() for use in the kernel debugger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 03:02:34 +00:00
Jonas Sundström
e9953d08dd Standardize on BWindow::CenterOnScreen().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 00:14:40 +00:00
Jonas Sundström
941098a211 Standardizing on BWindow::CenterOnScreen()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-01 00:03:00 +00:00
Jonas Sundström
71bd3ba59c Removing ifdefs and code for non-Haiku build targets. Partial clean-up. Enforcing the 80-char limit, renaming constants, newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 23:32:37 +00:00
Adrien Destugues
aee7417ca1 -Added german translation of cpufrequency.
-Fixed appearance and bluetooth style violation :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 21:44:53 +00:00
Adrien Destugues
f7d6177ab8 -Fixed bluetooth and appearance preflet. The catalog need to stay in memory as it can be used after the window construction.
-Re enabled the translation of the About alert in bluetooth, as it now works fine. This means you have to update the bluetooth cataogs...
-Updated the french bluetooth catalog accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 21:03:20 +00:00
Adrien Destugues
691922477c Patch by StoroZ Gneva : fix all russian translations (used the wrong encoding the first time)
Patch by titer : fix build on PPC host by not messing up the fingerprint endianness


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 20:26:42 +00:00
Jonas Sundström
7cb2cbf17b Clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 18:37:57 +00:00
Ingo Weinhold
268335a069 After creating a userland thread we didn't set up the breakpoints for it.
Fixes #4665.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 08:40:55 +00:00
Stefano Ceccherini
fee1bc8eed Back to timer 2, since timer 0 doesn't work at all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-30 06:34:15 +00:00
Jonas Sundström
290c903985 Partial clean-up. Asterisks and k-prefix constants.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 23:42:31 +00:00
Jonas Sundström
e36a1b58e6 Set Tracker preferences background app flag, to avoid flashing by in Deskbar. (It quits right after having asked Tracker to shows its settings window.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 22:05:31 +00:00
Jonas Sundström
21f3e082b1 Moving Deskbar options to a dedicated preferences window. Adding a preference application that simply tells Deskbar to open that window. Adjusting default settings Recent Folders from off to 10, and Auto-raise from on to off.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:47:45 +00:00
Adrien Destugues
920de8e31b Added russian locales done by Gneva StoroZ. I hope I did not mess the encoding conversions (can't check, I don't know russiant :)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 21:36:48 +00:00
Adrien Destugues
408d098332 Patch by Colin Günther to improve german translation. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 20:52:02 +00:00
Oliver Tappe
f2a4cb29e1 * fixed a couple of warnings about TR_CONTEXT being redefined.
It is good practive to #undef this before every definition,
  due to how the ExtractCatalogEntries jam-rule works.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:58:51 +00:00
Stephan Aßmus
0d77f605b5 Updated comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:39:37 +00:00
Stephan Aßmus
bf38341488 * Use the block-alignment from the codec context as the buffer size suggestion.
The audio decoding in AVDecoder needs this to work at all.
* Set the infoBuffer and infoSize correctly in GetStreamInfo(). At least this
  is what I extract from what the AVDecoder expects.
* Use a slightly more precise timeStamp calculation in the Seek() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:37:22 +00:00
Rudolf Cornelissen
cc04faa6c1 DAC2 load detection isn't available on G73. Also fixed a comment typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:36:44 +00:00
Stephan Aßmus
967fcd2c41 Sorry, this was supposed to be part of the last commit...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:32:41 +00:00
Stephan Aßmus
ed4313bca9 * Improvements in tracing.
* Added TODO about a probable mix-up to use the media_format meta data
  because the FFmpeg Reader plug-in forgot to set the info-buffer correctly
  from GetStreamInfo().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:31:52 +00:00
Stephan Aßmus
bcc4e4bb37 We should only swap the FOURCCs on little endian machines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 19:29:05 +00:00
Michael Lotz
c91bc0e189 Style cleanups, spacing, pointer style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 14:12:08 +00:00
Michael Lotz
49714746f2 Space indent -> tab indent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 14:08:39 +00:00
Oliver Tappe
73ce611089 fix build of Locale preflet:
* fixed typo and "correction" in de.catkeys (it is not
  possible to change the english base text this way - it
  will corrupt the catalog instead, as the fingerprint
  will no longer match)
* fixed typo in LocaleWindow.cpp and adjusted the existing
  catkeys accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 13:45:06 +00:00
François Revol
858a20cab8 Patch by Vincent Duvert:
Remove the 4 cores limit at boot, and fix the allocator to handle 8 cores.
There are still performance problems, but this allows booting with 8 cores.
WARNING: since this changes x86 platform kernel args, you really don't want to update haiku_loader and kernel_x86 separately!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 13:07:10 +00:00
Adrien Destugues
90a4f23370 Added german locale for locale preflet. Done by Leszek. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 11:48:21 +00:00
David McPaul
3ee503c218 increase default buffer frames to fix ticket 4656
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 10:40:19 +00:00
Stephan Aßmus
885513f0a0 Apparantly, FFmpeg has lock management now, and from the tracing, it is indeed
used. Spotted this on the libav*-user mailing list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 09:04:05 +00:00
Stefano Ceccherini
ea40a61a84 Some big changes, still not working on my laptop, since hpet interrupts
aren't routed correctly over the 8259, it seems.
- Removed passing the hpet_regs around, since there's a static variable.
- Added lots of debug dprintfs.
- Fixed setting the timer interrupt to edge
- Timer is initialized once.
- Use the timer 0 instead of 2.
- Renamed register definitions to be more readable
- Use 64 bits registers and unions where applicable.
- Other things I don't remember


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 08:36:36 +00:00
Rene Gollent
02c89a146b Fix some more style violations.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 02:07:33 +00:00
Philippe Houdoin
b501083349 Update theora to latest v1.1, which improve performance and quality.
Untested yet...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-29 00:37:35 +00:00
Philippe Houdoin
ebbc6d886d Add 0x07d1 / 0x30c5 as an alternate vendor id/device id pair for D-Link DUB-E100
hw rev B1, as some early versions use D-Link System vendor ID (0x07d1), 
others use D-Link Corp. vendor ID (0x2001)...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 23:02:30 +00:00
Adrien Destugues
6bf3fe1f2e Fixed handling of \xNN in strings. This way it is possible to translate a string even if there is a B_UTF8_ELLIPSIS or some other weird char in it. Improves the bluetooth preflet translation :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 21:39:49 +00:00
Adrien Destugues
e6b7213cc2 -Fingerprint checking now use a simple sum of the hash values, instead of the adler32 algorithm. This allows to match a catalog even if, due to the hashmap instanciation, it is not iterated in the same order. Updated all the existing catkeys files to match this new system.
-As the fingerprint is now fully working, all catkeys fingerprints are now checked, and if they don't match, the build will fail.
-This helped find an error in the Locale Preflet french catalog. It now works again.
-Usual set of cleanups and small style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 20:08:53 +00:00
Adrien Destugues
6e970433e5 Added german localization file for appearance panel, done by svend. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:55:36 +00:00
Stephan Aßmus
8a5e590d5e Work based on a patch by Joshua R. Elsasser:
* Some key-sequences cause \0 chars in the "bytes" data which is supposed to
  be passed to BView::KeyDown() and BView::KeyUp(). Therefor, one cannot use
  string methods for adding/extracting the data to/from the events. For
  example, Control-Space now works in the Terminal.

Thanks a lot for the original patch, Joshua!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:13:31 +00:00
Rudolf Cornelissen
1973e58137 added recognition for GeForce 6100Go (id 0x0247). This hopefully fixes bug #4670.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 17:03:17 +00:00
Rene Gollent
fede65ad8d Fix style violation. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 14:24:28 +00:00
Stephan Aßmus
6a662d0602 Fixed a GCC 4 warning, and I think it pointed out a mistake indeed, probably
rebooting via pressing Ctr-Alt-Del twice did not work. (But I didn't test)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 14:19:53 +00:00
Stefano Ceccherini
8593bcad87 Use the hpet defines in the source.
Also shortened some defines using "TN" instead of "TIMER". It's also
the same scheme used in the specs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 13:14:16 +00:00
Stefano Ceccherini
1d958a301e Moved the "disable APIC" menu(s) to smp.cpp.
Also only enable them if there's an APIC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 09:42:59 +00:00
Rudolf Cornelissen
1c750281d6 verified that load detection doesn't work on dac2 on G71: so disabled this there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 08:22:09 +00:00
Ingo Weinhold
ac106be534 Inherit the disable_debugger() flag to a fork()ed child. load_image() doesn't
-- I'm undecided whether it should, too. Fixes #4642.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 02:54:38 +00:00
Ingo Weinhold
23338ed551 Added -f/--fork option to test inheritance of disable_debugger().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-28 02:51:56 +00:00
Rene Gollent
fd09bcb070 Add Joshua R. Elsasser to contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:30:38 +00:00
Rene Gollent
77ad96c013 Patch by Joshua R. Elsasser:
Implements DA, reporting that the terminal is a VT102.
	Implements DEXREQTPARM, reporting the same parameters that xterm does.
	Fixes DSR 6 to actually report the position of the cursor.

Resolves ticket #4659. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:30:17 +00:00
Rene Gollent
630426d679 Patch by Joshua R. Elsasser:
Implement correctly handling tab stop escape sequences.

Resolves ticket #4657. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:23:45 +00:00
Rene Gollent
138343f4f8 Patch by Joshua R. Elsasser:
Implement DECALN escape sequence.

Resolves ticket #4658. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:20:19 +00:00
Rene Gollent
4c8f11fed4 Patch by Joshua R. Elsasser:
Fix another pair of Terminal scrolling bugs.

Resolves ticket #4655. Thanks!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 23:03:57 +00:00
Adrien Destugues
08fc7d6e1c -Removed the two translations in the "About" alert as they make the locale kit crash in some way. I'll try ot reproduce that, but for now, it makes the bluetooth preflet more stable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 21:46:22 +00:00
Adrien Destugues
0a255c0c6a Cleanup of the locale kit tools :
-Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically)
-Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build
-Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again.
-Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked.
-Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 21:19:52 +00:00
Oliver Ruiz Dorantes
61da62d0e3 Implement/Fake a temporal SDP server, to allow pairing of devices
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 19:09:13 +00:00
Oliver Ruiz Dorantes
a58b3b3235 Implement a bit further the sockets interface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 19:07:24 +00:00
Rene Gollent
ae29b1c3c2 Patch by Joshua R. Elsasser:
Implement origin mode.
    Save origin mode and text attributes when saving the cursor.
    Have RI respect the scroll region.
    When erasing the screen actually erase the screen, not just the scroll region.
    Implement all three variants of the EL (erase line) sequence.

    Thanks! Resolves ticket #4652.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 15:54:02 +00:00
Stephan Aßmus
8ea060d47f patch by Joshua R. Elsasser: (ticket #4651)
* Fixed upward scrolling of a partial screen which is anchored at line 0.

Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 09:26:01 +00:00
Stephan Aßmus
8560c5b0f7 Patch by Joshua R. Elsasser: (ticket #4650)
* In _InsertGap(), be sure not to set a line's length longer than the space
  allocated for it.

Nice catch, thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 09:17:18 +00:00
Stephan Aßmus
df3a6fbd86 Patch by Joshua R. Elsasser: (ticket #4647)
Fix fgetln() in libbsd to actually return the length of the string.
Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 07:54:17 +00:00
Ingo Weinhold
e82b494112 * ValueLocation:
- Changed the bit{Offset,Size} semantics. It's now more or less
    aligned with the semantics of the respective DWARF DIE attributes.
    DwarfStackFrameDebugInfo does now correctly translate the ValueLocations
    returned by the DWARF layer (the bit piece location expression semantics is
    different for some reason).
  - ValueLocation is now aware of the target's endianess. The SetTo() method
    needs that information to correctly meddle with the pieces.
  - Support normalizing the pieces.
* Fixed retrieving the values of bit fields in various places. We still don't
  handle the bit offset/size attributes of types correctly, but I haven't seen
  those in actual debug info yet.
* Added support for enumerations. The variable view shows the enumerator names,
  when available.
* Added partial support for subrange types. C++ doesn't have those -- we only
  need them for array dimensions.
* Started adding support for array types. Still work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:52:43 +00:00
Ingo Weinhold
7d82c6dd73 * Clarified the location expression evaluation semantics -- the ValueLocations
returned by the DWARF layer need to be translated to be usable in the generic
  code.
* DwarfFile::EvaluateDynamicValue(): Added optional parameter to return the type
  of the evaluated value, if available.
* Added source language info attribute to CompilationUnit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:25:23 +00:00
Ingo Weinhold
796f1b412c Added GetDIEByPredicate() template method simplifying the task of check an
entry, its abstract origin and specification for something.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:18:56 +00:00
Ingo Weinhold
569ac88d9c Added several accessors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:17:10 +00:00
Ingo Weinhold
8fa563df31 Added subrangeLowerBound field to SourceLanguageInfo specifying the default
lower subrange type bound for the source language.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-27 04:15:58 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Jonas Sundström
667176ab4f Renaming mail-mbox utilities as per humdingers request in #4582.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 20:59:04 +00:00
Jonas Sundström
bd8c660962 Renaming mbox utilities as per humdingers request in #4582. Part 1/2.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 20:54:02 +00:00
Jonas Sundström
03187b607b Resource clean-up. Removing bitmap icons. Updating copyright dates. Removing dead code and redundant comments. Ending files in a newline.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 20:02:46 +00:00
Rene Gollent
b25f8906fb Fix build on Haiku. Some tools were missing libstdc++ and beos-compatible build platforms weren't setting the host compat lib dir at all, resulting in the icu build libs not being found.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 19:52:30 +00:00
Jonas Sundström
8362330647 Resource clean-up. Removing bitmap icons. Updating copyright dates. Removing dead code and redundant comments. Ending files in a newline.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 19:08:43 +00:00
Jonas Sundström
eef66737ce Ending the Shutdown menu superitem label with an ellipsis hints that a dialog will follow. It also helps show that the superitem is actually selectable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 14:58:30 +00:00
Jonas Sundström
95a67fecbd Language nit: 'setup' != 'set up'
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 14:28:08 +00:00
Adrien Destugues
fb581e32d1 Fixed licence headers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 12:19:46 +00:00
Rene Gollent
669d9ea11c Build fixes for haiku-gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 03:39:01 +00:00
Rene Gollent
ecf8923a9d Fix missing subdir directive. Modify GeneratePackageList to not rely on any OS-specific find extensions. This gets things building again on a FreeBSD host. Review welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 03:02:00 +00:00
Rene Gollent
605527d76a Fix build of icu tools on FreeBSD host (math symbols were not found).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-19 02:32:04 +00:00
Rene Gollent
dcf2d82498 Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 23:29:32 +00:00
Oliver Tappe
75f1522155 * reintegrated gsoc-locale-kit branch into trunk - there's more
work to do, but it's about time to give this code more exposure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 22:23:34 +00:00
Philippe Houdoin
e7443fd575 Set interface name as title.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 22:22:55 +00:00
Fredrik Modeen
0d96800e44 Added some missing files :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 17:40:37 +00:00
Stephan Aßmus
2291f75684 Fixed bugs in reference counting. The transform boxen need to acquire refs to
the objects they transform. Fixes ticket #4536.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 10:05:27 +00:00
Stephan Aßmus
3b56969814 Added tool tips to the non-obvious buttons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 09:54:29 +00:00
Stephan Aßmus
224c9ca6d7 Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 09:53:52 +00:00
Stephan Aßmus
9368e58be4 * Re-enabled tool tips as those are now supported in Haiku.
* Make sure settings are saved rightaway whenever they change. (Solves a
  ticket which I cannot seem to find right now.)
* Some improvements to the NamePanel layout/size (when setting descriptions).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 09:53:19 +00:00
Stephan Aßmus
92c015e696 Make sure tool tips are not displayed outside of the screen bounds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 09:46:09 +00:00
Stephan Aßmus
0210dcd7b8 Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 09:45:34 +00:00
Philippe Houdoin
8936b5e96b Fix a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 02:14:02 +00:00
Philippe Houdoin
4b36ef9c54 Now showing icons, as advertized long ago in the screenshot taken in 2004 :-)
Vector icons welcomed !


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-18 02:05:29 +00:00