Commit Graph

28678 Commits

Author SHA1 Message Date
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
Ingo Weinhold
0551e706bf * Updated to current FS interface.
* Fixed and completed several function documentations. There's still quite
  a bit missing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 17:17:55 +00:00
Rene Gollent
bd037e94a0 Track the number of threads in each CPU's runqueue.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 17:14:52 +00:00
Rene Gollent
6c990aa4af Start tracking thread timeslice usage. Not actually used for any determinations just yet, but will be.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 17:08:10 +00:00
Rene Gollent
dc707c28aa Small cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 16:53:38 +00:00
Oliver Ruiz Dorantes
12a1cc3b7e Patch by Joerg Meyer,
- Add some icons for some devices depending on major class
- Same code will be placed later in the BluetoothDeviceView
- Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 16:32:12 +00:00
Rene Gollent
8e26769c8b Patch by Bryce Groff: add line number display to StyledEdit. Fixes ticket #2623. It does however expose an interesting curiosity in BTextView - CurrentLine() does not count a line until it's actually had some text put into it (i.e. simply hitting enter at the last line of the doc does not increment the number that CurrentLine() returns. Is this an oversight or does R5 behave this way also?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 16:29:53 +00:00
Ingo Weinhold
973032b8d7 Added TODO for Axel or whoever is interested. :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 15:59:36 +00:00
Ingo Weinhold
002c9410ed Missing "struct thread" declaration, breaking the PPC build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 14:43:36 +00:00
Stephan Aßmus
8ad62dec5a Patch by Obaro Ogbo: Provide a PreferredWidth() implementation for the
Relation attribute column in the Open With panel. So double clicking will
size it properly. Fixes ticket #3035. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 14:23:59 +00:00
Stephan Aßmus
86fb66a8dd Fixed a mixup of the flags and resize mode arguments. In my previous commit,
I wrongly assumed that viewMode == view flags.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 14:22:38 +00:00
Axel Dörfler
aa87523e3c * This should have been part of r29776 and fixes the build. Thanks Alexandre!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 13:54:44 +00:00
Axel Dörfler
68b8f65f33 * Reworked r29180 to make _HandleKeyDown() no longer rely on the active window
but if the message was targeted to the focus view. It will now only handle
  shortcuts in this case.
* This also fixes bug #3513.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 11:54:06 +00:00
Axel Dörfler
f6bfc822c6 * Don't allow dragging modifier keys around until we actually support
changing them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 11:06:44 +00:00
Axel Dörfler
5968be8e9e First steps to make the "Menu" preferences superfluous (just what will we do
with its fine icon?):
* Added the menu font setting to the Fonts preferences app.
* Made the window resizable at least in the horizontal direction.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 11:05:56 +00:00
Stephan Aßmus
2e44cfce66 Make BView::PopState() (executed at least on every call to Draw()) a lot
cheaper by preventing to rebuild the clipping on the app_server side.
I think this was commented out, because user clipping was broken until
some point and I forgot to reenable it after I fixed it. At least I cannot
spot any regressions when running with this patch now would I expect to
see regressions, since DrawStates do not mess with the screen clipping,
unless they get a clipping region assigned when the (user) clipping changes
during the state's life time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 10:51:26 +00:00
Stephan Aßmus
dec2485ca0 Patch by jonas.kirilla: Allow the Tracker settings window to be quit by
Command-Q. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 08:36:55 +00:00
Stephan Aßmus
6fa92ae021 It's that time of the year again, in which people fix bugs in dstcheck... :-)
Now, it came up just fine, only it was burried behind Tracker windows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-03-29 08:16:26 +00:00