Commit Graph

31300 Commits

Author SHA1 Message Date
Stephan Aßmus
2d6e435398 * Updated indentation style
* Added warning about this being experimental API.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 11:10:23 +00:00
Stefano Ceccherini
d913595783 Disabled BDirectWindow mode for the time being. +alphabranch
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 11:08:51 +00:00
Stefano Ceccherini
fb984c136f Disabled BDirectWindow window mode, for the time being (at least until
we fix it). +alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 11:08:22 +00:00
Stefano Ceccherini
8c52a155f0 Reapplied some old fixes (which don't help at all, I had already tried).
Some (disabled) syslog output.
Renamed buffer_info to fBufferInfo and made it private.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:59:28 +00:00
Stephan Aßmus
97e88fa432 Indentation cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:58:22 +00:00
Stephan Aßmus
aaa6b1228a Updated indentation style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:45:36 +00:00
Stephan Aßmus
87ba0eaa2b Fixed for 80 char limit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:32:41 +00:00
Stephan Aßmus
a3840a518d One more little cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:31:03 +00:00
Stephan Aßmus
c5c20344eb * Cleaned up the header
* Reordered methods to group them logically
* Use nothrow version of new when instantiating BCheckBox from archive.

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 10:30:27 +00:00
Axel Dörfler
49473fc52e * Added links to the Installer on the Desktop, and the Deskbar's Applications
list when booting from CD. Both are removed from the target in the
  InstallerFinishScript. This closes ticket #4342.
* Make Installer start in safemode as well.
* Are there any objections to always have the Installer link in the Deskbar?
  I see no real reason to leave it out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:58:26 +00:00
Axel Dörfler
89294b5084 * Added option for enabling serial debug output.
* Moved device_manager/settings.cpp to debug/safemode_settings.cpp.
* Removed the somewhat hacky concatenation of kernel settings and safemode
  settings in the boot loader. Instead, get_safemode_option() will now fall
  back to the kernel settings, if it couldn't spot a setting in the safemode
  settings. This allows for more control, and also makes enabling serial
  debug output actually work (ie. overriding the kernel settings via safemode
  options).
* Adjusted debug_init_post_vm(), and smp_init_other_cpus() to use
  get_safemode_boolean().
* Therefore, I added safemode_settings.cpp to the boot loader as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:47:54 +00:00
Axel Dörfler
e17f8de82d * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:27:54 +00:00
Axel Dörfler
f8ebd1a328 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-26 08:05:22 +00:00
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