Ingo Weinhold
831841e1c0
Moved generic autolocking code to <util/AutoLock.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:09:57 +00:00
Ingo Weinhold
b6933d8acc
Moved generic auto locking code out of
...
<disk_device_manager/KDiskDeviceUtils.h> into <util/AutoLock.h>.
Added instantiations for recursive locks (moved from vfs.cpp) and
mutexes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:09:06 +00:00
Ingo Weinhold
4eb57a1d3d
Added WARNING macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:06:31 +00:00
Ingo Weinhold
3424c4fea4
Renamed node_monitor.c to node_monitor.cpp and fixed implicit conversions from void*.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 14:09:01 +00:00
Philippe Houdoin
0bd6021a12
The port BTextControl is now inited to default HP JetDirect protocol port number (9100).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 11:41:52 +00:00
Nathan Whitehorn
fa38d4cac8
Fixed an error in the install script
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:11:06 +00:00
Nathan Whitehorn
af4c9464a2
Updated credits and contact information for Haiku
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:03:35 +00:00
Nathan Whitehorn
4635fa1597
Changed credits to Haiku, separated out version history from readme, updated version history, and updated contact information.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 06:01:32 +00:00
Matthew Wilber
eca22332b6
Added BAlert tests to Jamfile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:49 +00:00
Matthew Wilber
da9a5ee7be
Added BAlert tests to Interface Kit tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:46:00 +00:00
Matthew Wilber
baccf4d71e
Initial check in for the BAlert tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:45:05 +00:00
Nathan Whitehorn
82f183b2de
Bumped MDR version number to 3.0.2.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 05:43:05 +00:00
Matthew Wilber
6fb0eac31e
Fixed horizontal button spacing issues and window size issues when in the B_OFFSET_SPACING mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 03:33:54 +00:00
Ingo Weinhold
5207cc7a8c
Proposal for a replacement of the notify_listener() and
...
send_notification() interface, which I personally find quite ugly.
Each notification type gets its own function, which makes very clear,
which parameters are to be supplied. Also note the addition of the
`name' parameter for the `entry removed' notification and `fromName'
for `entry moved'.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 01:53:37 +00:00
Ingo Weinhold
d0e2e53903
* Added missing MessagingCommandHandler methods.
...
* Added a class for handling "send message" commands and install by
default. At least in theory messages issued by the kernel should now
be delivered to the target. Still untested.
* Added lock to protect the command handler map.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 01:17:09 +00:00
Ingo Weinhold
1fa9da350b
Removed obsolete struct.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 01:11:33 +00:00
Ingo Weinhold
c6dbc50e2b
* Added per-port sanity limits. We limit the number and summed size of
...
messages.
* We now maintain a second message list per port, which is sorted by
timeout time. Thus we can drop timed out messages as early as possible.
* Fixed a bug which caused messages to disappear in the port list.
* Now delete a port not only when an error occurred when delivering a
message, but also when it is empty.
* More debug output.
Seems to be working well now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:54:59 +00:00
Ingo Weinhold
0353d33137
Added kernel util header for DoublyLinkedList.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:48:08 +00:00
Ingo Weinhold
1a2f24bbbb
Made some debug output debug conditional.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:46:38 +00:00
Ingo Weinhold
9b99cdbb5a
Added a program testing the registrar's MessageDeliverer. Particularly
...
with respect to whether the delivery still works when the port is full.
It seems to do (now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:45:30 +00:00
Ingo Weinhold
4a24ce3652
An alternative doubly linked list implementation which is far more complete and usable.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 00:42:56 +00:00
Matthew Wilber
6c8068247a
Fixed button size and placement issues with the B_WIDTH_FROM_WIDEST mode, refactored code using OpenTracker style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 23:31:36 +00:00
Matthew Wilber
68bf78e015
Removed beep when Go() is called because Be's version doesn't beep, fixed button sizes in B_WIDTH_FROM_LABEL mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 20:47:37 +00:00
Jérôme Duval
7ec14ccea4
moved some more code to avoid crash, thanks to sergei
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 19:45:50 +00:00
Matthew Wilber
9d9ef27273
Changed buttons and TextView back to being children of the MasterView so that the Archive() BMessage matches Be's version. Changed when MasterView is added as child of the Alert window to fix the "out-of-alignment" issue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 19:12:01 +00:00
Ingo Weinhold
634f747e29
Now we use the MessageDeliverer to send asynchronous messages to other apps. Seems to work when the target port is not full. The other case has not been tested yet.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:49:32 +00:00
Ingo Weinhold
f64fc02f89
Added another DeliverMessage version for broadcasting.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:45:59 +00:00
Ingo Weinhold
156e4f302b
Consequently use B_PREFERRED_TOKEN when the preferred target is addressed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:44:55 +00:00
Ingo Weinhold
09b770dd50
* Added Dump() to BMessage::Header for debugging purposes.
...
* In BMessage::Header::ReadFrom(DataIO &) the checksum was checked before
the fBodySize field was initialized, which could make
BMessage::Unflatten() fail.
* Calculate the header checksum now by writing the header to a buffer and
checksumming that. This is simpler and avoids problems when something
else is written than is actually stored in the header (e.g. when a
preferred target token is replaced by B_PREFERRED_TOKEN).
While the BMessage unit tests always passed, now the other App Kit tests
pass as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:43:44 +00:00
Ingo Weinhold
94b98dff1a
Consequently use B_{NULL,PREFERRED}_TOKEN to prevent problems with BMessage code checking against B_NULL_TOKEN.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:36:20 +00:00
Ingo Weinhold
c6de9dc035
Missing initialization of members in the second constructor.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:34:00 +00:00
Ingo Weinhold
01225b393d
Disabled debugging. Was accidentally committed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:33:20 +00:00
Matthew Wilber
d35fa55790
Fixed drawing and placement of buttons on Alert box.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:32:26 +00:00
Ingo Weinhold
871756c256
Ignore libgccObjects and Timezones.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 17:32:07 +00:00
Philippe Houdoin
4220e676ba
Added more fields length safety.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 15:24:49 +00:00
Philippe Houdoin
bc10030ef0
Added lib[b]netapi.so to NETWORK_LIBS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 15:06:22 +00:00
Philippe Houdoin
8ea80fd27a
NETWORK_LIBS awareness: now link automaticly against right network target's libraries.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 15:02:53 +00:00
Philippe Houdoin
cf5a8b98ba
Added feature: allow to send data from a file (think "Print To File" output) thru
...
the loaded print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 14:08:01 +00:00
Jérôme Duval
ed1d954932
Patch from Sergei "fyysik" Dolgov, adds stability hopefully
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 13:57:58 +00:00
Jérôme Duval
e16287b33e
added setbuf, setvbuf, setbuffer and setlinebuf prototypes
...
implemented by libio
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 13:06:04 +00:00
Jérôme Duval
7f2a419829
Removed -v flag for tar expanding as noticed by Fredrik Ekdahl
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 12:36:20 +00:00
Jérôme Duval
df3f0f30a8
added untested support for Audigy 2 Value
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 12:30:06 +00:00
Ingo Weinhold
efbea3a07a
Moved the functionality to flatten and unflatten a BMessage header into
...
a separate class. This allowed to improve _SendFlattenedMessage() to
deal properly with flattened BMessages as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 00:19:50 +00:00
shadow303
b9717a7150
Long overdue fixes for internal API change, now if I could just unbork my system enough to test them...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 00:19:38 +00:00
Ingo Weinhold
f8953fc789
Allow that const data can be supplied to TChecksumHelper::Cache().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-29 00:17:24 +00:00
Stephan Aßmus
aaea96798d
the version for B_OP_COPY that ignores the pattern and uses the color from the AGG renderer directly, thus the renderer color needs to be set up correctly, which Painter does take care of
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:49:00 +00:00
Stephan Aßmus
884e8bc6b5
flag for using a solid version of a DrawingMode, currently only B_OP_COPY actually has an implementation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:45:59 +00:00
Stephan Aßmus
597841da50
trying to optimize for B_SOLID_XXXX, implemented separate _SetPattern function, which encourages usage of a special DrawinMode instance, but it is currently not used, because it didn't give much speedup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:44:38 +00:00
Stephan Aßmus
1dd7c68f7a
more refactoring and separating tests, currently it tests straight line performance
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:40:09 +00:00
Rudolf Cornelissen
ba9ec361f2
removed two double defines for the same register, added new defines needed for NV20 and NV30 architecture DMA acceleration.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:19:29 +00:00