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
Rudolf Cornelissen
41dde765fc
completed DMA acc for NV30 architecture, still untested. Fixed two doubled registerdefines which adress the same registers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:17:14 +00:00
Jérôme Duval
a77de570a2
useful pieces of code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 18:46:36 +00:00
Ingo Weinhold
534ef684d9
Turned _init_message_(), _delete_message_(), and _clean_msg_cache_() into
...
proper private static BMessage members and made them accessible through
BMessage::Private. Got rid of unused _reconstruct_message_().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 15:05:44 +00:00
Ingo Weinhold
9d0a9900f0
* Updated copyright date and added myself to the authors. :-)
...
* Removed 1500 lines of unused non-template-madness code. We have version
control to resurrect it, if we ever wish to.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 14:50:01 +00:00
Stephan Aßmus
41ce67c0f6
refactoring, but there's going to be even more of it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:14:54 +00:00
Stephan Aßmus
70443ebf5a
automatically uses alpha blending for B_RGBA32 bitmaps
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:13:28 +00:00
Stephan Aßmus
6f2b941acf
added some convenience functions, mainly used by the test app
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:11:40 +00:00
Stephan Aßmus
4f6cd6ef55
some additional status information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:10:06 +00:00
Stephan Aßmus
d4734e04d1
support for switching the alpha drawing mode when the blending mode changes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:07:21 +00:00
Stephan Aßmus
8eca754bfd
support for the rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:05:37 +00:00
Stephan Aßmus
3741b755dc
huge clean up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:02:27 +00:00
Stephan Aßmus
681c4b3ba5
rest of the drawing modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 12:59:17 +00:00
haydentech
c0e4d12489
AS_LAYER_POP_STATE was inadvertantly deleting the entire layerdata stack instead of just popping the top one off
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 23:16:28 +00:00
Rudolf Cornelissen
7309e1cd85
needed to bump the DMA command buffer forced freespace up to 256 words: NV4_GDI_RECT needs a higher setting than the old version. Hopefully engine crashes are now past tense...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:58:59 +00:00
Rudolf Cornelissen
9c47d9cb0a
updated 'docs' with the new NVx_GDI_RECT cmd's findings :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:18:51 +00:00
Rudolf Cornelissen
64efa4b4af
Arrrgghh! I was still using NV3_GDI_RECTANGLE_TEXT instead of NV4_GDI_RECTANGLE_TEXT on pre-NV40 (NV11 tested). Fixed now.
...
Anyway: Now we know the reason the switch must be made: the old command, while being approx. of the same speed as the new one, has a hardware fault and has also therefore been removed in NV40 and later hardware.
The fault is the input->output colorspace conversion which doesn't work while being used with DMA acc. Glad I could loose that nasty workaround now!!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 15:12:13 +00:00
Rudolf Cornelissen
4e05353d7f
fixed overlay bitmap DMA adress, fixed overlay in 15 bit mode (NV11). nVidia hardware is broken here :-/. Anyway, it works now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 14:32:45 +00:00