Commit Graph

28495 Commits

Author SHA1 Message Date
Stephan Aßmus
827c6cd4d6 Sorry, should have been part of last commit. Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:35:59 +00:00
Stephan Aßmus
89c9e2b980 Puh... big coding style cleanup. I probably missed a few issues too... but
should be much better now. There was like three different styles before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:35:01 +00:00
Axel Dörfler
4207450292 * Fixed broken operator=(). Thanks Stephan!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:17:44 +00:00
David McPaul
81ed336ed1 Add AC-3 support, fix audio seeking
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:02:12 +00:00
David McPaul
653dac15d2 performance improvements
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:00:06 +00:00
David McPaul
a1f8af1f44 Audio output buffer must now equal AVCODEC_MAX_AUDIO_FRAME_SIZE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 20:58:57 +00:00
Philippe Houdoin
b60892ce1c * As suggested by Axel, BMediaTrack::GetCodecInfo() don't anymore say
"Haiku Media Kit: ", as it's given for any caller of a Media Kit API ;-)
* This remove an systematic line feed in the codec pretty name returned;
* Updated MediaPlayer info window text layout to take this change into account.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 19:16:18 +00:00
Stephan Aßmus
6104360c70 Header indentation and *-style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 19:02:04 +00:00
Rene Gollent
f03b0a18cc gcc4 build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 17:59:23 +00:00
François Revol
f0cbfcafbe - make the form pass w3 validator,
- add serial port output, available as a telnet: url,
- add untested support for passing through a usb device like a webcam,
- add disabled SMP option,
- change port assignations
- lower sleep time for applet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 17:08:00 +00:00
Stephan Aßmus
d30acbf30b Patch by maxime.simon: Don't allow to enter sub-menus by the space bar anymore.
This allows to have the first item selected when entering a menu, since still
pressing space would not enter it unintentionally anymore, in case it's a sub-
menu again. Even though it makes some sense to have "Continue booting" selected
by default, it somehow feels more natural to have the first item always selected
instead. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 16:28:50 +00:00
François Revol
48bd26db93 The telnet command handles an alternative port just fine, so pass it if present.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 16:07:18 +00:00
Axel Dörfler
ac2bb4db91 * No longer highlight a character once dragging starts.
* Use correct alpha/blending mode for the letters.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:13:29 +00:00
Axel Dörfler
9a0dc161a5 * Selecting a font via its family didn't work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:07:20 +00:00
Axel Dörfler
aa3b737bf7 * Added CharacterMap to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 15:00:40 +00:00
Axel Dörfler
a664f9dec5 * Made the default window size a bit larger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:56:06 +00:00
Axel Dörfler
53d31fb972 * Removed unused MessageReceived() method.
* Made the standard character width a bit wider.
* When moving a character around, it was incorrectly centered in the bitmap
  (StringWidth() was called from the wrong view).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:50:58 +00:00
Axel Dörfler
beedda4c2c * Added a string view that shows the character's code on mouse over, the
character gets also highlighted.
* Added support for dragging a character. Holding shift (or option) while
  dragging will copy an UTF-8 hex string instead.
* Minor cleanup.
* Is there any reason BStringView restricts its maximum width?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:42:06 +00:00
Axel Dörfler
751c91b7e1 * Added Keymap::operator=().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:39:15 +00:00
Axel Dörfler
321e8a6464 * Now use a special character for the backspace key.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 14:38:44 +00:00
Stephan Aßmus
80aabca188 When the window is already full screen (ie, zoomed, not the full-screen mode
without any window border), do not enlarge or shrink the window when going from
or into tabbed mode. Fixes ticket #3646.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:37:04 +00:00
Stephan Aßmus
8222443084 For some reason I do not grasp right now, "c" needs to have uchar type or
the method is broken.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:35:31 +00:00
Stephan Aßmus
f247113640 Added DecoratorFrame() method, which returns the outer frame of the window
on screen (ie including the decorator border and tab). Plus the necessary
refactoring as well as some TODO notes about windows with the tab on the left
side.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:34:16 +00:00
Axel Dörfler
8d8da849c8 * Added missing MaxSize() implementation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 13:01:42 +00:00
Axel Dörfler
ee6a2e164f * Added hda driver to the image by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 12:53:29 +00:00
Axel Dörfler
f05dab29fd * CharacterView now accepts mouse wheel input (it did not forward the messages
to its superclass), and it also sets useful scroller steps.
* Improved layout a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 12:51:50 +00:00
Axel Dörfler
6722e2f797 * Temporarily removed the "Only Show Blocks Contained in Font" - Haiku does
not yet support this.
* Made sure the correct font is selected at start.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 11:55:59 +00:00
Axel Dörfler
b045287228 * Started an application showing the Unicode character map.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 10:45:34 +00:00
Stephan Aßmus
0562493379 Patch by Matt Madia to add UserBootscript.sample and UserSetupEnvironment.sample
files in /boot/home/config/boot. Thanks! Though eventually I'd like to have a
more intuitive method of adding start up applications.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 09:21:31 +00:00
Ingo Weinhold
a79773546f * Added minimal config.h.
* Added FUSE option parsing to the build -- small changes to get it building.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 23:18:14 +00:00
Ingo Weinhold
8553e89ea8 Copied from FUSE 2.7.4 vendor branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 23:14:13 +00:00
Philippe Houdoin
71ec08a773 Quick & dirty fix to align labels and contents.
Quick because a better option is use the layout feature.
Dirty because it's assert BMediaTrack::GetCodecInfo() return a two-lines pretty name.
BTW, why prefixing "Haiku Media Kit:\n" the codec name?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 20:55:54 +00:00
Ingo Weinhold
0feb2904db Moved AssembleNasm to MainBuildRules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 15:11:55 +00:00
Ingo Weinhold
328029e178 Patch by Alexander von Gluck (kallisti5) to get the PPC build going again
(mostly at least). Also disables -Werror for the binutils, but those should
be fixed eventually.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 15:00:10 +00:00
Ingo Weinhold
a9cd24f58e Fixed incorrect __HAIKU__ check introduced in r28305.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 14:48:57 +00:00
Axel Dörfler
ed33219ac8 * Made the color chooser only take up as much space as needed, ie. the list
view will now grow with the window.
* fDecorMenu will no longer be set.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 13:47:52 +00:00
Axel Dörfler
ebe98045d7 * Added ability to change modifier keys (per drag and drop).
* Added button to switch shortcut modifier keys.
* Added option to make the KeyboardLayoutView non-editable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 13:19:11 +00:00
David McPaul
91fbc75fd1 Fix coding style violation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 09:33:33 +00:00
David McPaul
e83fd628ae APE Reader from sources donated by SHINTA
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 06:55:56 +00:00
David McPaul
73734dbf97 Add nasm rule and action
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 06:52:51 +00:00
Ingo Weinhold
9ab8968af3 Added sections on checking access permissions, node monitoring, and caches.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-30 02:22:27 +00:00
Rene Gollent
4cabb4a077 Integer precision is good enough for us here. Thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 21:44:44 +00:00
Rene Gollent
a638252106 Use correct case for Preferences folder name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:42:42 +00:00
Rene Gollent
684409f06f Add symlink to config/be/Preferences when installing Bluetooth optional package.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:38:32 +00:00
Karsten Heimrich
52bc210d99 * add flurry to the image
* seems we hit a race during shutdown, thus the BGLView would already be delete
  by unload_add_on, crashing the screenblanker (tested with several GL saver)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:29:53 +00:00
Karsten Heimrich
420a34c45e * add documentation
* add some more operator
* adjust some functions to behave properly an invalid values



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 20:18:16 +00:00
Stephan Aßmus
79f3690f4a When embedded on the Desktop as a replicent, prevent the Desktop view from
painting over the workspaces view. The way this is currently handled in
app_server makes it flicker even in double buffered mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 18:21:24 +00:00
Stephan Aßmus
55a88f0c29 When a view has B_DRAW_ON_CHILDREN set, do not ignore the user clipping when
painting the background. The user may have set that on purpose. For regular
views, it doesn't really make sense to use the user clipping for painting the
background, since there is no way these parts could ever be painted at all.
In Draw() there will be a new view state on the stack, so the client has no
way to unset the clipping. On the other hand, there may be useful cases where
the user applied a clipping, and wants itself not drawing outside of it, but
does want the background painted. (For example BTextView::SetTextRect() may
use this in the future.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 18:20:00 +00:00
Rene Gollent
6ad5d4edc0 dump_run_queue() now outputs the average quantum usage for threads as well. Not quite formatted properly due to what appear to be limitations in kprintf's handling of float format specifiers. Need to investigate.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 18:11:28 +00:00
Axel Dörfler
b2e4e08493 * Looks like in BeOS the Alt Gr (alternate graphics) key is mapped to the right
option key, while there is no right command key in that case.
* The right option key is a dead key in BeOS, and we're copying that behaviour
  for now, although I guess we might want to change that.


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