Commit Graph

31287 Commits

Author SHA1 Message Date
Ingo Weinhold
03e8d9bdf3 * Fixed attribute name mapping in both directions. One direction was appending
a '\n', the other cutting off the last char.
* *getxattr() is supposed to return the attribute size when a 0 sized buffer
  is supplied. Otherwise, if the buffer is too short, it needs to fail with
  ERANGE.
* *listxattr(): The buffer pointer wasn't adjusted after each iteration.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 01:07:46 +00:00
Ingo Weinhold
2fb48fb46b Added missing ENOATTR text.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 01:01:43 +00:00
Michael Lotz
12f584636c Fix subtle but important error in transfer length calculation. That calculation
does calculate the remaining bytes, not the transferred ones, so obviously that
number has to be subtracted from the expected buffer size! Albeit severe, this
wasn't hit that often, because this calculation will only be used when the
transferred size doesn't match the handed in buffer size exactly. So things like
HID or mass storage, that mostly know the exact transfer size weren't affected.
But it could very well explain #4101 where the size isn't previously know.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 00:06:15 +00:00
Ingo Weinhold
b02c147c05 Implemented seekdir() and telldir(). They were declared in <dirent.h> already.
So either +alphabranch or remove the declarations from <dirent.h>.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 22:16:40 +00:00
Jonas Sundström
28563f792b Also add .ogm extension to video/ogg mime as in Fredrik's patch. It might not be official, but its being used.
+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 22:15:55 +00:00
Jonas Sundström
6199266476 Patch by Fredrik Ekdahl, slightly modified. Added Fredrik to list of Contributors.
+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 22:05:47 +00:00
Jérôme Duval
1f8cd31c70 added a basic icon for XZ archives
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 21:38:47 +00:00
Jonas Sundström
cd6aaca4ca Shortened the short description and added a long description.
+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 21:25:57 +00:00
Ingo Weinhold
fb7c02c215 Under Linux use BLKGETSIZE64 to get the device size, now, and only when that
fails fall back to HDIO_GETGEO. This hopefully fixes #3122, as I suspect
HDIO_GETGEO returned an incorrect size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 20:31:21 +00:00
Jonas Sundström
33a4f0109b Make the application supertype use the Generic File icon, as on BeOS. The icon of Be Application makes little sense for most of the application subtypes.
+alphabranch

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 20:18:14 +00:00
Axel Dörfler
8b581b3f23 * Changed trunk to some version behind the alpha.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 18:16:14 +00:00
Stephan Aßmus
d89b690d3b * Finished rewriting the header.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-25 14:13:59 +00:00
Ingo Weinhold
f1f6eacd46 On Linux, FreeBSD, and friends print the partition map, if we could parse it,
but failed to get the specified partition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 21:38:44 +00:00
François Revol
cf02b29e4e - added missing licence,
- added setting to hide the applet controls, on by default,
- added (unimplemented) setting to use session-generated passwords.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 20:18:25 +00:00
Alexandre Deckner
ea1a27d61a * Reworked my fix for #3617. We now check again for a double click if the pose
was not freshly selected.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 19:15:12 +00:00
Stefano Ceccherini
a632bfec28 fix gcc4 warnings (+alphabranch)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 18:49:36 +00:00
Stefano Ceccherini
230fd426a9 fix gcc4 warnings (+alphabranch)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 18:48:57 +00:00
Oliver Ruiz Dorantes
e1466b6996 Change message code as suggested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 18:16:00 +00:00
Ryan Leavengood
9aad8c7d4b Fix #4185 by making the border and title settings in the context menu positive
settings ("Show x"). This required changing various logic, some of which I
think was also wrong in the negative settings case. Now if you turn off the
border when the title is on, the title will come back when the border is turned
back on. But any changes in the title setting force the border back on. When
loading the settings the border setting takes precedence.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 17:38:10 +00:00
Axel Dörfler
e15498973c * The read/write routines were pretty much broken. This was the cause of #4317.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 15:49:08 +00:00
Joachim Seemer
99daadc1c2 CSS issue was resolved by Simon Kennedy. Thanks! +alphabranch (is the user guide exempt from this branching business? I swaer, I won't break anything... :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 15:42:05 +00:00
Axel Dörfler
fe9c291b29 * Since ServerWindow::Window() can also be NULL in case the window hadn't been
added to the Desktop yet, we better make sure in AS_GET_SCREEN_ID_FROM_WINDOW
  that this is not the case.
* Removed the now superfluous ServerWindow::IsOffscreen() again.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 15:22:34 +00:00
Axel Dörfler
4693495cf0 * ntohl(), and htonl() should return an uint32_t, so better cast the return
value we get from __swap_int32().
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 14:11:09 +00:00
Joachim Seemer
d616e43574 * Typo in keyboard-shortcuts.html
* Changes on all pages and CSS for
  - min/max width
  - topic title to the left under the logo
  - a new logo (thanks Jorge)
  - refurbished navi bar
  - some more printing tweaks

There are a few CSS issues where I can use some help. I'll post about it on the
documentation mailing list.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 12:41:43 +00:00
Axel Dörfler
d62eae6e2e * Do not allow a menu window to be movable. This fixes bug #4314.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 11:03:20 +00:00
Axel Dörfler
9a9aa3e021 * The Ctrl-Alt-window modifier patch was pretty broken. Also, I've disabled
window moving for windows without a decorator at all, at least that's what I
  would assume they intend (we might want to force them to set B_NOT_MOVABLE,
  too, though).
* This also fixes the crashing bug as described in ticket #4314.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 11:02:32 +00:00
Stefano Ceccherini
56c60d4bbc Revert this, it was only done for testing purposes. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 07:39:05 +00:00
Axel Dörfler
711af2ac88 * My text wasn't correct 100% either (as #4320 shows).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-24 07:31:49 +00:00
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