Stephan Aßmus
31a3ded6f0
small enhancement
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 15:43:28 +00:00
Stephan Aßmus
28f13d4629
small enhancement
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 15:42:54 +00:00
Stephan Aßmus
9d42e19f61
shows an animation in the bitmap to show off offscreen bitmap drawing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 15:42:21 +00:00
Stephan Aßmus
8e05e376ac
embedding ObjectView into a BScrollView to show off scrolling, drawing mode selection actually works, simplified States
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 15:40:59 +00:00
Axel Dörfler
f4b64fa6c8
GetToken() did not check for the correct token type.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 14:46:59 +00:00
Axel Dörfler
a84bd95ff7
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 14:32:08 +00:00
Axel Dörfler
dfb4e6ff47
Fixed DrawBitmapAsync() rectangle variants.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 14:01:47 +00:00
Axel Dörfler
7da4596065
Removed execute property from source files.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 13:36:47 +00:00
Stefano Ceccherini
205f8b0720
I obviously broke the r5 build with the last commit. Fixed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 12:11:32 +00:00
Stefano Ceccherini
2323effaee
Avoid calling ComputeLayout() if the menu is not attached to a BWindow. Small cleanups.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 11:53:03 +00:00
Stefano Ceccherini
715166d5b8
Fixed the build under haiku. Reported by Konrad.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 09:29:11 +00:00
Axel Dörfler
410e0ccdf7
Removed incorrectly set execute property.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 03:47:08 +00:00
Axel Dörfler
149a5ffcba
Fixed build for target haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 03:46:42 +00:00
Axel Dörfler
06fe6a428c
The _menu_info_ptr_ is now initialized correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 01:42:56 +00:00
Axel Dörfler
f5d8fa6e60
AS_LAYER_GET_CLIP_REGION missed a Flush() in case the view was not hidden,
...
and that put apps that used it to sleep (for example, Tracker is using it).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 01:19:01 +00:00
Axel Dörfler
b1e04bcb5c
The app_server now also quits fast in case there are no apps to quit... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 01:02:32 +00:00
Axel Dörfler
ae8de5211d
Fixed an obvious bug in _checksum_() that isn't triggered by its current use:
...
"temp" was added to "sum" in the loop, so that some int8 values were taken
into account more than once.
Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13431 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 00:59:27 +00:00
Axel Dörfler
b1e14283b4
The stream was reused later, so it was a dumb idea to not include the
...
magic in it (it was written twice then, later).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13430 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 00:57:33 +00:00
Axel Dörfler
749a772b97
Accidently broke BMessage::_SendFlattenedMessage() with the last commit;
...
the magic is not part of the header anymore when read from a stream (because
BDataIO does not support seeking, and we need to know the magic before actually
reading the header).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-05 00:03:18 +00:00
Axel Dörfler
dc9e836b35
*Very* basic read-only Dano/Zeta message support. Only briefly tested.
...
Not really suited for message sending/retrieval (because target stuff is
missing), but should work more or less with disk based messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 21:41:41 +00:00
Stefano Ceccherini
1ae414f3c6
Don't assume we have an owner. This fixes a crash in MenuWorld, but needs more investigation
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13427 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 21:31:03 +00:00
Stefano Ceccherini
7089b0e3dc
If a filter was added to a handler which belonged to a looper, the filter's looper was never initialized. BHandler::SetLooper() now also sets the looper for every filter (moved from BLooper::AddHandler)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13426 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 21:05:53 +00:00
Ingo Weinhold
83291b44d0
Forget to check in this one. Sorry. shutdown should build again now.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 20:39:40 +00:00
Rudolf Cornelissen
845faf5e8d
added some comments about the NV18 speedfix and resetting registers on NV28.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13424 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 15:17:07 +00:00
Philippe Houdoin
4fa9fc3439
Added simple output support to Ethernet device(s) layer.
...
Forgot to commit this long ago...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 13:43:35 +00:00
Stefano Ceccherini
6f4cf45183
The default version of BMessageFilter::Filter() doesn't do anything. Small style changes, removed a todo.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 12:42:05 +00:00
Ingo Weinhold
687d231c5f
Fixed the rc build. Sorry for the inconveniences.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 11:16:03 +00:00
Ingo Weinhold
ad3ffd1227
BuildPlatformMain now uses the original DEFINES. Otherwise we e.g. get __HAIKU__ although compiling under R5.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 11:14:31 +00:00
Ingo Weinhold
2f903d78cf
Removed the handling of B_QUIT_REQUESTED in BApplication::DispatchMessage().
...
It's already done in BLooper. Now we additionally send a reply to it, when
the message comes from the registrar on shutdown.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 10:30:38 +00:00
Stefano Ceccherini
1a02bff863
the menuitem wasn't deselected when you moved the mouse away from the menu window. Thanks to Axel for reporting.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 10:17:19 +00:00
Ingo Weinhold
553ea30124
* Moved TRoster out of the BPrivate namespace. It does no longer appear in
...
any public header.
* Replaced a good deal of the MessageDeliverer's DeliverMessage() versions
by more general ones using the new interface MessagingTargetSet to represent
a set of targets. This simplifies the usage in cases where the caller doesn't
already have the targets in a supported representation.
* Implemented a first approximation of the shutdown process. There is no
GUI yet. Only superficially tested under R5.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 17:17:40 +00:00
Ingo Weinhold
925d069d23
* Added BRoster::ShutDown().
...
* Adjusted the shutdown command to use BRoster::ShutDown(). Removed
the alert.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 17:04:47 +00:00
Ingo Weinhold
9fac7d6cfc
BServer now remembers whether the GUI context has already been initialized, so that InitGUIContext() can be invoked twice without harm.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:55:27 +00:00
Ingo Weinhold
a60ea28262
* Made BApplication::Private public. Should not have worked before (probably
...
a compiler bug).
* Don't try to cleanup the app server connection stuff, when compiled
with RUN_WITHOUT_APP_SERVER.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:53:59 +00:00
Ingo Weinhold
a406236dc2
New error codes:
...
- B_SHUTDOWN_CANCELLED: The shutdown process was cancelled (most likely by
the user).
- B_SHUTTING_DOWN: An operation cannot be performed, since the system is
shutting down (e.g. BApplication creation).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13413 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:50:29 +00:00
Ingo Weinhold
ea6253d0ba
rc is a build platform tool and should be built as such.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13412 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:47:26 +00:00
Ingo Weinhold
b6257a8b3c
Fixed build with debugging enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13411 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 16:46:35 +00:00
Stefano Ceccherini
96f6ef632c
The bar and knob frame are now calculated. That way we god rid of some billions fPrivateData->fThumbFrame.OffsetBy() calls
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 07:42:24 +00:00
Stefano Ceccherini
f8b80b4ac7
Temporarily disabled auto scrolling as SetEventMask() doesn't work in haiku
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 05:11:35 +00:00
Stefano Ceccherini
862b0a4b4c
Improved the look. Note that we still don't differentiate between enabled and disabled scrollbars
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 04:45:45 +00:00
Stefano Ceccherini
72f32ccaf8
Fixed two bugs: 1. one doubled arrow scrolled in the wrong direction. 2. When the mouse exited the view while scrolling, the scrollbar would stopped scrolling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 17:00:44 +00:00
Stefano Ceccherini
3e054be14b
removed debug printfs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 16:37:57 +00:00
Stefano Ceccherini
4e4f2dcb55
Huge cleanup. We use a BMessageRunner instead of a thread.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 16:36:22 +00:00
Stefano Ceccherini
7d71b63563
BScrollBar::SetValue() was called with the wrong values in BView::ScrollBy
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 16:35:37 +00:00
Stefano Ceccherini
7505732a0c
Draw() -> Invalidate(). small color fix.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 14:30:49 +00:00
Stefano Ceccherini
0ee76eaf12
More work on scrollbars. Some refactoring.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 14:08:33 +00:00
Stefano Ceccherini
169425459f
Avoid calling BMenu::_hide() when not needed
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 13:34:47 +00:00
Stefano Ceccherini
6834052234
The BRect version of ConvertTo/FromScreen were broken in case the view didn't have a parent, but was the child of a BWindow. This fixes a bug in menus (and probably other stuff too)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13400 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 13:16:17 +00:00
Adi Oanca
be2eea8cf9
implemented hooks for resizing and moving operations. BViews now resize corectly in Playground app. Ignore the Convert*() stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 10:40:14 +00:00
Adi Oanca
4a9bbc7d20
addapted to new clipping code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-02 10:37:53 +00:00