Commit Graph

31109 Commits

Author SHA1 Message Date
Axel Dörfler
8bfaf37fdb * Fixed the wrong translation of the prose to a table.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 07:29:53 +00:00
Stefano Ceccherini
cc9fa1ae39 some (disabled) debug stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 22:30:53 +00:00
Stefano Ceccherini
899d145454 ServerWindow needs only to call DirectWindowData::SetState() now, since it does all the work to sync with the client itself. Made DirectWindowData::SynchronizeWithClient() private and renamed it accordingly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 21:33:25 +00:00
Jonas Sundström
ec2f22d0d7 Add common Microsoft filetypes. We might never support them, but having them will likely help people navigate their folders, by recognizing enough files. They need icons for that to work though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 21:16:39 +00:00
Stefano Ceccherini
d3b6a35a30 Some server side debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 20:32:39 +00:00
Jonas Sundström
1a5adfc757 Add mime video/ogg as per http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 18:22:48 +00:00
Jonas Sundström
a4332fb9a1 Ogg audio mime as described here: http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 18:12:32 +00:00
Jérôme Duval
8ddc0909e1 added an id with reversed_eamp_polarity on
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 18:09:23 +00:00
Jonas Sundström
1bd2241222 Mime application/ogg is registered and supersedes application/x-ogg. Remove app's bitmap icons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 17:59:58 +00:00
Jonas Sundström
c08bdaad77 Update to mime as described at http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 17:55:26 +00:00
Jonas Sundström
63d5fc9366 Remove bitmap icons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 17:38:17 +00:00
Michael Lotz
46e94fad77 Initialize last part of byte to 0, just in case.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 17:20:20 +00:00
Jonas Sundström
7287923825 Correct preferred app's signature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 17:10:37 +00:00
Rudolf Cornelissen
d44a7fae51 fixed a typo in dump_edid.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 16:07:33 +00:00
Joachim Seemer
c6df4ad478 * Once again New e-mail-mailbox.png with vector icon in Deskbar.
* Switching Terminal tabs is done simply by SHIFT+CursorLeft/Right. Fixes #4319.
  Thanks for noticing, diver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 12:26:23 +00:00
Rudolf Cornelissen
efe3fb34a0 implemented haiku-specific hook GET_EDID_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Now working for digital connected screens.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 11:57:56 +00:00
Joachim Seemer
bb8e5b48f9 * Added a link to IRC channels to "Get in contact" and to haiku-3rdparty-dev
mailing list to welcome.hmtl
* Linked to HaikuPorts for BeZilla bug reports.
* Put Axel's tip how to move/send to back (didn't know that!) into a box-info.
  Minor changes to the text.
* Put Axel's "special functionality" of Workspaces into a nice table.
* Added new function to cycle thru windows with CTRL ~ to Twitcher.
* Added CTRL+SHIFT+CursorLeft/CursorRight to switch tabs to Terminals keyboard-
  shortcuts
* New e-mail-mailbox.png with vector icon in Deskbar.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 09:07:38 +00:00
Rudolf Cornelissen
9b53cf03cd implemented haiku-specific hook GET_ACCELERANT_DEVICE_INFO. Haiku's screen prefs panel now indicates the brand name of the screen and only offers fully compatible modes for a connected screen if I understand it correctly. Note: currently only working for analog connected screens, digital connected screens coming up next. Updated docs, bumped version to 0.96.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 08:48:58 +00:00
Joachim Seemer
5b9093e57c Forgot 'Nr. 5'. Thanks for noticing, Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 07:25:26 +00:00
Stefano Ceccherini
f6ad8d5abb More encapsulation of directwindow stuff into DirectWindowData.
I changed lot of code (while trying to fix ticket #4311), reverted some old
changes and probably messed up a lot. It's very much a work in progress.
Anyway, DirectWindowStars still work correctly, but Chart (and GLTeapot) do
not. I suspect a race condition between the DirectWindow creation and
the activation of the direct mode on the server, maybe exposed more easily 
by the changes in the scheduler.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 07:08:39 +00:00
Stefano Ceccherini
97cccf16b0 Use some debug output if something fails (since it definitely fails with Chart
and GLTeapot)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 06:55:18 +00:00
Jonas Sundström
9fbc65a94d Modified *jmp stubs for arch mipsel. Removed PowerPC asm.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 03:17:13 +00:00
Ryan Leavengood
19bce7226a Remove the forced resizing to preferred size when CenterIn is called, and
instead just check if the size limits need to be set. The code that previously
did this when processing the B_LAYOUT_WINDOW message was extracted into a
private method, which is called from both places.

This may be slightly wasteful in some cases (since the size limits may be set
multiple times), but it is definitely needed because without it both of the
current test apps (DiskProbe and Screenshot) did not have properly centered
windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 03:06:44 +00:00
Jonas Sundström
893988af82 Added and modified kernel stubs and headers for arch mipsel. Correctness not included.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 02:52:09 +00:00
Jonas Sundström
080f08465b Add stubbed out debug support functions for arch mipsel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-23 01:34:04 +00:00
Fredrik Modeen
f1a8ae14d2 Some more code styles fixes, thanks axe
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 19:44:45 +00:00
Jérôme Duval
12f728d9fe echo needs -e to interpret special escapes like \t
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 17:33:58 +00:00
Alexandre Deckner
569634e95b * Style fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 16:46:25 +00:00
Michael Lotz
b7f73c6e2a Update and enable the debugging device selection check. Might shed some light on
the problem in #4308.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 16:41:17 +00:00
Michael Lotz
7f5799140f Enlarge the timeout for data transfers. It was 2 seconds before and under a bit
of load, when using large enough block sizes or when simply having a slow device
this is by far not enough. It is now at 15 seconds, which should reduce timeout
problems to those cases where the device actually get's stuck (because of us
doing something wrong).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 16:12:36 +00:00
Ryan Leavengood
b0586d610a Remove useless BRect* version of CenterIn, make remaining version take a const
BRect reference.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 16:10:18 +00:00
Stefano Ceccherini
467c2e8cb5 Moved DirectWindow support classes into a separate DirectWindowSupport.h/cpp.
No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 16:00:28 +00:00
Ryan Leavengood
2ff62714d0 Finally implemented BWindow::CenterOnScreen, with associated CenterIn(BRect)
methods as well as Size(). To avoid the problem of centering the window before
it has been resized by the layout system, I force the resizing early. If there
is a better way to do this or some way to avoid doing it repeatedly, let me
know. But I figure the Center* methods should not be called that often.

Updated Screenshot and DiskProbe to use this new method as a test. It certainly
cleaned up DiskProbe. I will update other code over the next few days (if
anyone wants to help, please do :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 14:17:29 +00:00
Stefano Ceccherini
f277acc9cd Don't crash the app server if the user calls BScreen(BWindow *) supplying
an offscreen window (Magnify does that, and that's the cause of ticket #4304).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 14:14:17 +00:00
Jérôme Duval
a078b74cab added application/x-xz mime type for xz files.
added a sniff rule on ac3 mime type


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 14:13:30 +00:00
Alexandre Deckner
abd3d52b5d * Forgot to save that file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 13:46:01 +00:00
Alexandre Deckner
8e43b9e35e * A mouse shake detecting BMessageFilter that's easily integrated in any app.
* A test app for it. I added a src/test/kits/shared folder as i found it was the
 most logical place for it. Shake it up.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 13:43:21 +00:00
Fredrik Modeen
eb47b26534 Added Todo from #575 and fixed some code guidelines issues.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 13:40:24 +00:00
Jérôme Duval
99e369b76e add libswscale arch files, needed when INCLUDE_GPL_ADDONS is activated on x86
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 13:25:38 +00:00
Jérôme Duval
9a5d35d09d obviously forgot these
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 12:44:13 +00:00
Jérôme Duval
d44c1412ce * the ac3 frames detection doesn't work nice with big frames (1792) and buffer size of 2048
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 12:24:19 +00:00
Jérôme Duval
f0bdc7699c * synced with ffmpeg-r19678, keeping gcc2 compiler #ifdef we introduced, build only tested on Haiku gcc2
* activated ac3 audio file format support
* uses format metadata to keep the codec context extra data (now needed for flac)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 12:16:20 +00:00
Jérôme Duval
e0818886cf when using the = operator with media_format, check the area with B_BAD_VALUE.
Previously metadata weren't copied over the new format.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 09:42:38 +00:00
Michael Lotz
f1a7a3752f * Use the locked version of inherit_parent_user_and_group() by moving the call
into the scope of the lock. Saves an InterruptsSpinLocker.
* Use an InterruptsSpinLocker() as in other places.
* When creating/forking a team fails because the kernel thread cannot be spawned
  balance the already sent TEAM_ADDED notification by sending a TEAM_REMOVED one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 03:07:11 +00:00
Jonas Sundström
8e8130d1f0 Adding routerboard_mipsel platform stubs and linker script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 01:48:18 +00:00
Michael Lotz
b5172954bb Better watch your bools in C code. In C99, the bool type of the argument to
send_bit() causes a type conversion from the value handed in to 0 or 1. This
clashed with the usage in send_byte(), that hands over a shifted byte. The
argument was converted to true when it had any value other than 0, whereas
before (where a bool simply was an int) it would have just handed over the value
directly. Therefore the logic in send_bit() that simply masked off the lowest
bit of the value would now not work anymore.
This fixes EDID failing on GCC4 and therefore fixes #2275, the last issue of
#4084 and may also affect #2780.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-22 01:03:10 +00:00
Rene Gollent
c3350a57ff Squashed a TODO: When delivering signals, check if a) any threads were in fact enqueued, and b) if the scheduler's preemption hint indicates that a reschedule is desired. This prevents unnecessarily invoking the scheduler every single time a signal is delivered, regardless of result.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-21 23:48:42 +00:00
Bryce Groff
93134c5eb2 * Added parameter parsing to the userland side.
* Added support for logical partition headers in partitioning info.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-21 22:22:48 +00:00
Bryce Groff
d0f743e740 * Added parameter passing to/from the kernel to userland.
* Removed dependency on deprecated ep_validate_create_child()
* Removed hard coded sector size.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-21 22:19:47 +00:00
Jérôme Duval
1f5d96afb8 we now print a warning message in the log when the interrupt comes in the second half of a buffer: this should mean the interrupt comes earlier than expected.
Please report such warnings, they can help to investigate timing issues with some hda codecs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-21 21:55:40 +00:00