Commit Graph
3873 Commits
Author SHA1 Message Date
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
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 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
Ingo Weinhold 5c699c6735 Add a field mount_cookie to the partition_data structure and
respective setter/getter methods to the KPartition class.
If a partition is mounted, the field will contain the cookie the
FS's mount() hook passed back to the VFS. This way the FS has
access to its internal data structures. We need the cooperation
of the VFS to get the cookie.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-21 18:25:42 +00:00
shatty b89786b69e change to public resource.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 20:47:27 +00:00
Phil Greenway 8fbd542d38 BSD License Included. Ported by Fernando Francisco de Oliveira.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-20 14:03:22 +00:00
Ingo Weinhold 47ae3f3af6 Added the missing private interface include dir and made the compiler use the R5 interface kit headers for DirectWindow.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 19:45:19 +00:00
Waldemar Kornewald 06c8940fcf Finished authenticator support.
libkernelppp.a should be feature-complete now. As it is completely untested we could call it _very_ early alpha stage.
The next task will be to add an interface module for our netstack. Some ioctls will be handled by PPPInterface, so libkernelppp.a will be modified in the next few days/weeks to support these ioctls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 17:53:09 +00:00
Phil Greenway f3d6a89559 Includes BSD License. Ported and Coded by Chris Simmons.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 14:09:50 +00:00
Phil Greenway e4eda4595f Includes BSD License. Ported by Fernando Francisco de Oliveira.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 13:54:37 +00:00
Tyler Dauwalder 3b488b83e1 And I wondered why the darn the thing was so slow all of the sudden...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-19 06:18:45 +00:00
Tyler Dauwalder 6238495ebb Fixed second stupid to_vnode_id() bug. This time, high-end 16 bits of address
block location were getting chopped off instead of being incorporated into
vnode_id.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:59:37 +00:00
Tyler Dauwalder a75bce0d93 More udf_read_stat() debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:57:45 +00:00
Tyler Dauwalder 3fc7b56501 Debug output cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:57:25 +00:00
Tyler Dauwalder 449b2f28bf Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:55:38 +00:00
Michael Pfeiffer 64200a77db Added option to log to stderr.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:24:16 +00:00
Michael Pfeiffer 8ce7304896 Added user defined encoding that is created at runtime. Display used fonts in status window.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:21:06 +00:00
Michael Pfeiffer 48f9fa477a Header file from PDFlib-Lite-5.0.3
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 20:20:45 +00:00
beveloper 63515204b9 scanning devices should work now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 18:41:00 +00:00
Stefano Ceccherini cafaa5aa29 Added a BDirectWindow implementation which works with BeOS R5 (at least, with the Chart demo app)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 13:39:39 +00:00
beveloper 92d054b3ea now really creates the pci bus manager
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 12:53:12 +00:00
Phil Greenway ab483b0f84 not required
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 12:01:36 +00:00
Phil Greenway ce8d28631d pwd - Coded by Chris Simmons (Technix)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 08:31:43 +00:00
Tyler Dauwalder f2e1bc22a4 - %lld -> %Ld
- Added support for mounting multisession volumes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:33:40 +00:00
Tyler Dauwalder bb182cf309 - %lld -> %Ld
- Patched up address mapping to work properly with multisession volumes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:32:57 +00:00
Tyler Dauwalder eaa70c976c Fixed debug-to-file output to actually work when run in R5 kernel mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:30:38 +00:00
Tyler Dauwalder d5366ff7e1 Major const cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:29:31 +00:00
Tyler Dauwalder 3013100fff Added debugging output to PartitionMap::Find()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-09-18 07:28:54 +00:00