Commit Graph

28515 Commits

Author SHA1 Message Date
Axel Dörfler
cdc7175bfd * Fixed warning I just introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 09:09:46 +00:00
Axel Dörfler
56ab1944d5 * Fixed Stippi's favourite typo ("appearantly" does not exist).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 09:05:49 +00:00
Axel Dörfler
969f8de530 * agg::rendering_buffer::row_ptr() crashes when passing an out of bounds index.
* This fixes bug #2316.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 09:04:00 +00:00
Axel Dörfler
65e2393c21 * Fixed warnings.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 08:18:29 +00:00
Axel Dörfler
c79e9de0f6 * Fixed build in DEBUG mode.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 08:18:07 +00:00
Rene Gollent
14df3c2bed Various tweaks - 1) while enqueued, keep track of which run queue a thread is in on the scheduler data structure, and use this information so that set_thread_priority doesn't have to search every CPU to find the thread. Also slightly tweak the enqueue and steal operations to take advantage of some of the stats we're now tracking, and experiment with variable quantum sizes for low priority CPU bound threads. Still lots of work to do with respect to balancing and/or affinity though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 03:13:55 +00:00
Rene Gollent
0ae9a91575 gcc4 build fix - thanks to Artur Wyszynski for submitting. Closes ticket #3652.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-02 03:03:16 +00:00
Stephan Aßmus
1f7211f99b Integrate a BColumnListView...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 19:53:14 +00:00
Stephan Aßmus
db9de5de43 As Michael correctly pointed out, there is no reason for the window to be
not resizable, since it will even nicely relayout itself on size changes.
Some pages can be resized too small, but anyways, that can be improved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 17:55:04 +00:00
Stephan Aßmus
49b582efd6 Fixed a few more coding style issues, thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 16:02:08 +00:00
Axel Dörfler
a9fcf35b98 * Added support for copying characters into the clipboard via Command-C, and
a popup menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 15:53:53 +00:00
Axel Dörfler
7e5ffaa223 * Now accepts only the first character that is dropped on a key.
* Also, escaped strings (like those from CharacterMap) are now converted
  automatically.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 15:47:30 +00:00
Axel Dörfler
ecd14f059d * Keymap names can have spaces, and so they do now (a must even, since they
are directly presented to the user this way).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 14:04:32 +00:00
Stephan Aßmus
ac754ba0a2 Patch by Brecht Machiels: Add operator==() to BRegion. Thanks a lot!
Also fixed some coding style inconsistency.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 12:39:44 +00:00
Stephan Aßmus
bfc1a92f88 Make BColumnListView layout-friendly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 12:35:06 +00:00
Stephan Aßmus
0a7367b70b * B_SUPPORTS_LAYOUT is already added by the BView consturctor.
* Fixed MaxSize() and PreferredSize() to use the correct explicitly set size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 12:33:45 +00:00
Stephan Aßmus
6d9903099d Patch by maxime.simon: Make Playground use a BColorControl instead of those
text controls for defining the color. Thanks a lot! (Also took the opportunity
to fix some coding style violations which had already been there.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 10:28:34 +00:00
Stephan Aßmus
7ce973c676 Patch by plasm with some modifications by myself: Implement natural sorting
in Tracker. Strings are compared in chunks where the type of each chunk can be
numer or string. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 09:28:32 +00:00
Ingo Weinhold
39f2d9e66b Parse the FUSE library options. They aren't used yet, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-04-01 00:11:34 +00:00
David McPaul
04eba16dd7 mp4 is video not audio, add m4v as a mpeg-4 extension
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-31 21:48:56 +00:00
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