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
Ingo Weinhold
f7779c94eb
Some important fields weren't cloned from the physical partition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:44:19 +00:00
Ingo Weinhold
aa915a05bd
Joined the methods generating the delete child and uninitialize jobs -- otherwise we'd delete children of partitions that are uninitialized. Fixed several small bugs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 21:43:13 +00:00
Waldemar Kornewald
bb451b9be0
Added empty jamfile for ppp interface manager.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:23:58 +00:00
Waldemar Kornewald
de2f76e1fe
Moved libkernelppp.a to add-ons/kernel/network/ppp/shared.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:21:38 +00:00
Waldemar Kornewald
e336671a9b
Moved libkernelppp.a to add-ons/kernel/network/ppp/shared.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-22 13:16:14 +00:00
Ingo Weinhold
555b81adfe
Adjusted the test according to the new BPartition::Resize() semantics.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:31:01 +00:00
Ingo Weinhold
557cfcdb26
Carried out a incredibly complex TODO. :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:28:30 +00:00
Ingo Weinhold
64d5c0bf73
Added enum value for our new uninitialization job.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:27:20 +00:00
Ingo Weinhold
6e855f0317
Removed the resizeContents/force from the resize/move syscalls. Fixed resize/move related bugs (partition was not check for status uninitialized).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:26:12 +00:00
Ingo Weinhold
3f54a014e5
Removed the resizeContents/force parameters from [Validate]Resize()/[Validate]Move() as discussed in July (grrr, I was lazy).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:23:33 +00:00
Ingo Weinhold
dafaf4c360
Added IsUninitialized() convenience method.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:21:10 +00:00
Ingo Weinhold
50e3477b70
Added KUninitializeJob. Does nothing but printing debug output for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 21:20:27 +00:00
Matthew Wilber
a5eede3a67
Fix for PNGTranslator erroring on bad data following image data
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 19:25:30 +00:00
Ingo Weinhold
20c33ce79b
Added syscall for uninitialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 19:13:54 +00:00
Ingo Weinhold
4c4e5505b0
Added BPartition::Uninitialize(). No CanUninitialize(), but
...
uninitialization does not affect the physical partition, anyway. The
system simply marks the partition as uninitialized for the current
session -- after rebooting it re-appears unchanged.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 19:13:29 +00:00