Jérôme Duval
c931a5f892
added man docs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:44:27 +00:00
Jérôme Duval
31ed13fa72
added few bin tools
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:35:28 +00:00
Jérôme Duval
e283d78ca9
added groups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:33:44 +00:00
Jérôme Duval
431b9b0e18
Depends => LocalDepends : avoids dependency on files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:00:48 +00:00
Stefano Ceccherini
3a27ae791e
Added server support for activate_workspace(). Looks like it's not doing anything, though SetActiveWorkspace() returns true....
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 22:11:29 +00:00
Stefano Ceccherini
eef16dda7d
implemented server support for current_workspace(), just because I had enough of the 'blablah got unknown reply' message
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 21:54:11 +00:00
Stephan Aßmus
fc5ca95d01
fixed alignment and image layout, esc exits fullscreen mode, black background for fullscreen, zooming window toggles fullscreen, can still browse even if current image has been deleted, space toggles slideshow, swapped next/previous menu items (more logical)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 20:09:46 +00:00
Axel Dörfler
fc95358474
Optimized writing by enlarging the file before the single entries are written
...
(that saves the file system from starting a new transaction, which is currently
expensive).
Changed output a bit: the launch line now also contains the parent team ID,
file paths are truncated from applications.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 18:44:22 +00:00
Axel Dörfler
aadb0f6bb8
The acceleration hooks are now set after a SetMode(), and get a display_mode as parameter
...
as required by the interface.
Unfortunately, this doesn't help the slow window moving with Rudolf's drivers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 17:42:52 +00:00
Axel Dörfler
02cc496038
Build fix, improved debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 16:04:45 +00:00
Stefano Ceccherini
d039af7469
Reverted to the previous algorithm, which is just another version of the same one: they produce slightly different results, but this one should be faster as it doesn't use divisions.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 15:29:08 +00:00
Stefano Ceccherini
44bb301774
Improved some more.
...
Why were the components or'ed with 5 ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 14:42:06 +00:00
Jérôme Duval
4dfe5b819b
now quits gracefully when no media roster is available
...
cosmetic changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:53:38 +00:00
Jérôme Duval
5fa7753230
signature fix
...
now quits gracefully when no media roster is available
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:51:53 +00:00
Rudolf Cornelissen
98f5c76b8f
updated documentation once more.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:46:00 +00:00
Rudolf Cornelissen
3d83865e2b
added a concurrent overlay/3D workaround making that combination work reliably now. No more engine crashes should occur. Bumped version to 0.51.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:43:34 +00:00
Stefano Ceccherini
6ec6f3f831
Better color distance-measuring algorithm, taken from here:
...
http://www.stud.uni-hannover.de/~michaelt/juggle/Algorithms.pdf .
Still not 100% identical to be's one, but much closer.
Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:22:50 +00:00
Axel Dörfler
b84688be5f
Added a basic low memory handler service.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:03:54 +00:00
Axel Dörfler
b1a248305b
Minor cleanup, changed return type of page count functions (from addr_t to size_t,
...
as that's more correct).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:02:24 +00:00
Axel Dörfler
a69e0ac327
The boot item list was not initialized; this was no problem, though, as
...
no items can be removed from that list - nevertheless, it's wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 13:01:13 +00:00
Axel Dörfler
ff9fb62471
Some cleanup (made static variables static).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 12:59:11 +00:00
Stefano Ceccherini
1f1ed1c62c
Generate the inversion map.
...
Note that the inversion_map and the index_map aren't the same as in Beos, due to bugs (or different behaviour) in color_distance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 10:28:51 +00:00
Jérôme Duval
2117393a53
commented out non provided tools (could change in the future though)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:37:49 +00:00
Rudolf Cornelissen
c5571dad35
minor doc update.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:28:25 +00:00
Jérôme Duval
0fe2ac31dc
rdef cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:28:21 +00:00
Rudolf Cornelissen
081f461390
corrected all dummyreads to use volatile pointers. Thanks Marcus Overhagen for reading along.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:23:26 +00:00
Jérôme Duval
3b10d8ead3
rdef clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:18:59 +00:00
David McPaul
011badde6b
Improvements to mov_reader still alpha
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 07:09:45 +00:00
Stefano Ceccherini
509db2a318
Generate the index map using some code stolen from BBitmap. The Mandelbrot sample app starts looking good. Only the inversion map is missing now
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 05:03:42 +00:00
Stefano Ceccherini
8f9d0f685d
Removed unused stuff
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:48:49 +00:00
Stefano Ceccherini
941cf68a79
this looks like the right time to remove this...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:47:26 +00:00
Stefano Ceccherini
aa6f42c954
DispatchMessage() is called with the looper already locked, so we call fLink->Flush() directly, which does not lock it again. Changed some TODO to be more informative, removed one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 14:46:22 +00:00
Axel Dörfler
183dee22cb
Unlike R5, receive_data() could return an error code under Haiku - this
...
can now only happen if the thread is killed.
_user_receive_data() will now longer pass B_CAN_INTERRUPT to receive_data(),
but B_KILL_CAN_INTERRUPT - this should fix the problem Stefano experienced
with this function, even if I couldn't reproduce it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 11:14:37 +00:00
Stefano Ceccherini
96b5c85819
Implemented get_pixel_size_for(). I tested it a bit and it seems correct. I'd be glad if someone reviewed it, though.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 07:14:42 +00:00
Stefano Ceccherini
2c458b6dbf
Now inits fInitialWorkspace correctly, calling current_workspace()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:26:03 +00:00
Stefano Ceccherini
29e6ad95d0
No need to explicitly Flush(), as it's done in BWindow after B_PULSE message handling
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:05:46 +00:00
Stefano Ceccherini
e93cd6508d
system_colors() expects a colormap to be permanently stored within libbe, so we never delete the BPrivateScreen object
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 06:00:45 +00:00
Stefano Ceccherini
ac7ee5af14
removed COMPILE_FOR_R5. For BMenu it doesn't make any sense anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-12 05:58:58 +00:00
Andrew Bachmann
77fdc9ca01
fix partial initializer warnings
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 21:09:48 +00:00
Axel Dörfler
e53168541f
Instead of letting the window reroute the messages, I just learned the
...
target can also simply be set to the preferred handler by using the
BInvoker::SetTarget(NULL, Looper()) form.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:57:03 +00:00
Axel Dörfler
b4ca6a8fc1
Cut/Copy/Paste messages and B_SELECT_ALL are now sent to the window, which then
...
passes them to the focus view. Before, only the data view got those messages
(because they are accessible over the menu, and had the data view as target).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 17:50:51 +00:00
Stefano Ceccherini
798fedbf9f
Forgotten stuff: use B_2D_ACCELERATION instead of the value directly
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:56:46 +00:00
Stefano Ceccherini
b0250ddde2
use standard api where possible, small cleanups
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:51:23 +00:00
Stefano Ceccherini
2defb213d8
Accidentally commented out a funciton, better naming of a command
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:27:46 +00:00
Stefano Ceccherini
847254d8ee
BWindowScreen didn't work on r5 anymore. Replaced some stuff with BScreen::ProposeMode()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:21:50 +00:00
Rudolf Cornelissen
5b7c606fd6
updated documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 16:03:43 +00:00
Stefano Ceccherini
9b7978ffe6
No need to Lock()/Unlock() as Flush() does it already. Sync() wouldn't have unlocked the window in case FlushWithReply() wouldn't succeed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 15:08:00 +00:00
Stephan Aßmus
56efd1ace8
Sometimes I have seen crashes in BWindow::determine_target(), and this could very well fix it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 14:28:54 +00:00
Stefano Ceccherini
95c58faa2d
Now we flush the command buffer after handling a B_PULSE message. This fixes the PulseTest (and probably some other things).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 13:23:53 +00:00
Stefano Ceccherini
a2e24cf5ce
Added a test which our app_server/libbe does not pass yet.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-11 13:21:25 +00:00