Commit Graph

4771 Commits

Author SHA1 Message Date
Ingo Weinhold
69cb08c01c UninitializeContents() returns an error code now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 19:26:18 +00:00
Ingo Weinhold
ccb29adbec Fixed (and documented) _kern_get_disk_device_data(). It is now properly relocating the disk device data.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:16:42 +00:00
Ingo Weinhold
f3a589c2ce Added support for relocation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:15:20 +00:00
Ingo Weinhold
ce8cfdb8a6 Classes for scope-based auto deletion.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:13:12 +00:00
Ingo Weinhold
e0e5d17627 Handy functions to copy from and to userland reference parameters.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 15:12:27 +00:00
Tyler Dauwalder
5e47f0f341 Added user_strlcpy() and user_memcpy().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 09:09:24 +00:00
Philippe Houdoin
fcb83407a1 First draft of a NetworkSetup preflet AddOn interface. Dummy addon included...
Local (BoneYard or not) add-ons should not be under a sub-folder ./add-ons/boneyard/
anymore.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 08:54:21 +00:00
Ingo Weinhold
752ad410c3 Made the disk device manager stuff compilable again. Doesn't link yet, since user_memcpy() and user_strlcpy() are still missing in kernelland_emu.cpp. Tyler?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 00:43:40 +00:00
Ingo Weinhold
d3f24d18b6 Added missing return.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-28 00:41:19 +00:00
Ingo Weinhold
867d3753c3 Wrong data were copied back to the userland cookie in user_get_next_port_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-27 11:37:09 +00:00
Tyler Dauwalder
453ee0db01 Updated user_read_link() to return the same values it used before the
user_strlcpy() return value semantics change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-27 05:29:04 +00:00
Tyler Dauwalder
702b8e7ed9 Made first half of so of ddm syscalls kernel-safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-27 05:19:37 +00:00
Tyler Dauwalder
2f0734d8ec Included kernel headers in search path for ddm.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-27 05:14:58 +00:00
Tyler Dauwalder
1eebd1e00a Updated user_strlcpy() to return length of source string instead of 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-27 05:14:22 +00:00
Philippe Houdoin
c9d511cb96 Ooops, should not have do that!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-26 10:12:03 +00:00
Philippe Houdoin
84263be16c Fix "no previous prototype" warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-26 10:01:21 +00:00
Philippe Houdoin
a48d4d6056 Fix "no previous prototype" warnings about static functions...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-26 09:53:14 +00:00
Adi Oanca
153d03aa0b 4 new message handlers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 17:25:38 +00:00
Adi Oanca
30879229e7 _resize_mode was initialized
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 17:25:14 +00:00
Adi Oanca
cae8519232 added a new member: _resize_mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 17:24:42 +00:00
Philippe Houdoin
de1d689ea6 new_stack/* is not ready for building.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 15:32:20 +00:00
Adi Oanca
a74be42475 fixed a compiler error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 15:16:07 +00:00
Philippe Houdoin
ccf758f9de net_server -> net_stack_server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:38:12 +00:00
Philippe Houdoin
00699b83a9 Update to new net layer API...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:31:19 +00:00
Philippe Houdoin
6e1d6a3f8b Import my new skeleton/prototype add-ons based Network preflet.
Currently it offer a minimal host app for Boneyard add-ons, if any, and
expect to find some profiles sub-folders in /etc/network/profiles/*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:24:09 +00:00
Philippe Houdoin
9c63790cc5 Check-in recent changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:12:56 +00:00
Philippe Houdoin
6f073e3ca9 Add control() support to stack layers modules
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:11:42 +00:00
Philippe Houdoin
82a6b372bd Check-in my prototype Network preflet skeleton, in his -poor- current state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 14:10:54 +00:00
Philippe Houdoin
6ae4ca3af1 Add a find_layer() function to stack API, and start control() support to
control any stack module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:54:07 +00:00
Philippe Houdoin
917c92eeed Check-in often, they says...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:52:42 +00:00
Philippe Houdoin
374076c9d6 Forgot this one...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:38:46 +00:00
Philippe Houdoin
cb1881b8c2 Import Be Inc. string atomizer kernel module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:37:32 +00:00
Philippe Houdoin
f0fedd9746 Import Be Inc. string atomizer kernel module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:30:05 +00:00
Philippe Houdoin
849882f4f0 Who needs an extra enumerators ref counter when you already have a ref counter!?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 13:12:53 +00:00
Adi Oanca
6a740855a9 *added handlers for AS_LAYER_(MOVE/RESIZE)TO messages
* added AS_LAYER_GET_COORD handler
* changed some methods to use BMessage class for sending messages to BWindow
* ALL handlers for BView State Functions. They wotk too! :-)))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:31:11 +00:00
Adi Oanca
479547dbeb * added Layer as a friend.
* added a new member: port_id winLooperPort; We'll use it to send flattened BMessages(like _UPDATE_ / B_VIEW_RESIZED(MOVED)) to our BWindow counterpart.
* SendMessageToClient( BMessage ) sends that message BWindow's looper port.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:28:08 +00:00
Adi Oanca
58db25dc6c small changes. added a new parameter to ServerWindow's constructor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:27:31 +00:00
Adi Oanca
f593251b36 * added a new member, BPoint _boundsLeftTop. Beside other uses, (DW don't forget!)it will be needed in redraw code.
* _flags is now declared as uint32


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:25:38 +00:00
Adi Oanca
d77e0cdb4c added 2 new methods - DoMoveTo and DoResizeTo. They move/resize the frame rectangle of Layer class.
In DoResizeTo() I added some code for autoresizing(based on BView's resizeMask parameter) of children. Still, the effective code for resizing need to be written. :-) I could do that, but other things have greater priority. :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:25:13 +00:00
Adi Oanca
da024ab387 *modified ReadRawFromPort() and ConvertToMessage() methods to use BSession class.
*modified/added B_VIEW_(MOVED/RESIZED) handlers in ConvertToMessage()/DispatchMessage()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:15:49 +00:00
Adi Oanca
6e62790567 some changes in ConvertXXXYYYY(...) methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:15:11 +00:00
Adi Oanca
27e018e33c added support for picture clipping and state stack
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:12:58 +00:00
Adi Oanca
88ad98dca8 added support for UInts and a new function: DropInputBuffer() used for basic synchronization
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:11:37 +00:00
Adi Oanca
cb51da76c9 added an new message
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:10:41 +00:00
Adi Oanca
98b01e2f16 removed ReadRawFromPort(...)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-25 12:07:41 +00:00
Ingo Weinhold
bc2d9db133 Creates resize and uninitialize jobs now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 22:04:03 +00:00
Ingo Weinhold
5f6d915707 Commit the partition modifications (uninitialize, resize). Lo and behold, the correct jobs are created and executed. They just need to be implemented completely. :-P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:51:12 +00:00
Ingo Weinhold
c3cfd913b7 Implemented CommitModifications(). We still need to extract port and token from the supplied messenger.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:48:33 +00:00
Ingo Weinhold
6a2a273d12 Aesthetical changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:46:48 +00:00
Ingo Weinhold
032e49d571 Partially implemented the class. Well, save the entirely unimportant Do() method, which prints only some debug output for now. ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:46:00 +00:00