Jérôme Duval
c2ddc71cc5
Update to EchoGenericDriverB0
...
Added IDs for 3g cards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 16:05:47 +00:00
Jérôme Duval
27a5e88b50
introduced a R5 style communication flag
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 15:37:23 +00:00
Ingo Weinhold
bd432c793a
Added strace to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:08:01 +00:00
Ingo Weinhold
33e89d7cf8
The beginnings of strace. At the moment prints only syscall number and
...
return value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:07:33 +00:00
Ingo Weinhold
e23a6f58af
Added syscall tracing support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:06:05 +00:00
Ingo Weinhold
a102c86e08
Init and cleanup the thread related debugging structure.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:04:53 +00:00
Ingo Weinhold
bea87e89d4
Init and cleanup the team related debugging structure. Send the debugger
...
a respective message, when the debugged team has been deleted.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 03:03:53 +00:00
Ingo Weinhold
734e07cedb
Added user_debugger.cpp to the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:57:46 +00:00
Ingo Weinhold
4661ae6c69
Added/implemented debugging related API functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:56:49 +00:00
Ingo Weinhold
6b13343035
Some additions for user debugger support. Several of ToDos. This is far from being final, but just something we can work with for the moment.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:53:48 +00:00
Ingo Weinhold
bc797a9ee5
The beginnings of userland debugger support. Currently basically only what is needed for strace is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 02:47:46 +00:00
Axel Dörfler
8f0882a2e1
Some cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:11:44 +00:00
Axel Dörfler
f4a87ad575
As Ingo pointed out correctly, B_INTERRUPTED is never returned when a semaphore
...
goes away; therefore we must not return B_BAD_PORT_ID in this case.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-10 01:08:55 +00:00
Jérôme Duval
7d3f2fc424
haiku build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 21:52:20 +00:00
Rudolf Cornelissen
c9df9f3086
updated fixes documentation. DMA acceleration is now the default, previously it was PIO mode: DMA now works (much) better than PIO mode overall... :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:29:05 +00:00
Rudolf Cornelissen
306bf14447
added updated acc engine constraints for DMA use (mode validation). Version of driver is now 0.36.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 20:24:26 +00:00
Axel Dörfler
c59cdc87d9
Added some not-yet-connected configuration check boxes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:28:55 +00:00
Rudolf Cornelissen
3f17567e63
reverting to software retrace-sync for cursor position updates on pre-GeForce cards: it turns out there's no hardware sync here after all.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 18:08:03 +00:00
Axel Dörfler
942d411b67
Fixed kernel version of load_driver_setting(): the lock was not properly
...
released under certain conditions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:56:21 +00:00
Axel Dörfler
b885799ce7
Support for the input_server (R5 style) instead of using the (old) keyboard driver
...
directly, done by Jerome Duval.
When the USE_INPUT_SERVER constant is defined, it will try to get its input from
there. Currently disabled since it's not yet working.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:53:16 +00:00
Axel Dörfler
29ad57a6c0
Renamed main.c to console.cpp and link it against libbe.so
...
(in anticipation of future changes).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 17:20:08 +00:00
Axel Dörfler
36129be090
Fixed/implemented support for reading and writing true color ICO images.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:52:39 +00:00
Jérôme Duval
db3e07c9e8
implemented _xdebugPrintf and _debugPrintf
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-09 16:02:05 +00:00
Rudolf Cornelissen
4f985adf3a
added NV04(TNT1) DMA workaround code. TNT1 now also works with DMA acceleration. TNT2-M64 has been confirmed up also. This means all cards should work now! (Except for a NV40 artifact on blits..).
...
Still some finetuning to do.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 20:30:56 +00:00
Rudolf Cornelissen
e7b37d0211
added pre-NV10 screen location and size for completeness. NV05 (TNT2) is confirmed up and running speedy now :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 19:31:49 +00:00
Stefano Ceccherini
e005dc757f
Simplified the code for input method highlighting. This had the nice side effect of fixing the multi line highlighting bug.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:43:56 +00:00
Rudolf Cornelissen
c1d1fdbc43
added preliminary pre-NV10 specific DMA acceleration code. Not finished, not tested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 17:09:01 +00:00
Axel Dörfler
79b649126a
Fine tuned the alpha channel handling - it should now work as expected,
...
even with stupid apps like ArtPaint that use the alpha channel with
B_RGB32 bitmaps.
May now need some work for apps that use B_RGB32 as it should be used, though :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 16:58:16 +00:00
Axel Dörfler
2b05778c88
Translator for Windows ICO files with read/write support. Not yet complete, but
...
seems to work for all cases I tested it with :)
Now you can finally create favicon.ico files under BeOS :))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-08 15:12:57 +00:00
Jérôme Duval
dc8a124397
added ListItem.cpp and ListView.cpp
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:54:44 +00:00
Jérôme Duval
49104a39cf
haiku build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:37:49 +00:00
Jérôme Duval
ce0102b7a6
now builds as a haiku target
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 23:31:48 +00:00
Stefano Ceccherini
b7adead4eb
Removed the serial_mouse addon from the build (for now) as it causes the input server not to start if you don't have a serial mouse connected to the port.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 12:47:22 +00:00
Adi Oanca
0b9056c784
BMessages which reach BWindow now take full advantage of application_kit's power in sending BMessages to BHandlers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:45:59 +00:00
Adi Oanca
7b76dd8073
mouse & keyboard messages now use the full power of application_kit
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:32:32 +00:00
Adi Oanca
fde1c7aa30
Sorry I did not know about BMessage::Private::SetTarget()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-07 00:23:36 +00:00
Nathan Whitehorn
7a480637d8
Added net_server compatibility to the Broadcom drivers (i.e. fixed non-blocking mode to actually work)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 21:18:51 +00:00
Adi Oanca
ecb03027eb
implemented _set_message_target_()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:41:12 +00:00
Rudolf Cornelissen
95883f1638
updated doc, added GeForce 6200 card recognition (NV44) for 10 types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:17:32 +00:00
Rudolf Cornelissen
f882db2e04
added recognition for 10 GeForce 6200 card types (NV44), version is 0.35 now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 20:15:19 +00:00
Michael Pfeiffer
2e86189f50
Added color dithering to reduce the size of data to be sent to printer by about 800 percent.
...
Added Add Printer dialog that allows the selection of the protocol class.
Made some features dependent on the chosen protocol class.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:38:01 +00:00
Michael Pfeiffer
8c0bf01979
Added Add Printer dialog.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 18:22:40 +00:00
Matthew Wilber
db441663b3
Added tests for B_WIDTH_FROM_LABEL mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 14:10:50 +00:00
Rudolf Cornelissen
36b7db70d1
updated a few register defines for NV44 type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:45:10 +00:00
Rudolf Cornelissen
94e32479c0
fixed NV44 and NV45 programming for acceleration
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-06 11:33:17 +00:00
Matthew Wilber
485f31599b
Added B_EMPTY_ALERT tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:34:10 +00:00
Matthew Wilber
8ebac7a655
Added B_EMPTY_ALERT mode tests.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 23:32:18 +00:00
DarkWyrm
a7870927a4
Implemented AS_SET_FAMILY_AND_STYLE_FROM_ID. One more thing that works better than R5. ;)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 22:46:54 +00:00
DarkWyrm
ee1240b38e
RootLayer now tracks which mouse buttons are down
...
Implemented ServerWindow code for GetMouse
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:39:39 +00:00
DarkWyrm
61d65d37ea
GetMouse works properly
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:38:24 +00:00
Axel Dörfler
a5042101ea
Now uses the new translation kit version macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 21:12:22 +00:00
DarkWyrm
fac4ccbae7
Made Layer::RequestDraw actually request a screen update
...
Added a second method for ServerFont::SetFamilyAndStyle and added return codes
Removed a couple memory leaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:12:05 +00:00
DarkWyrm
6b3838e6f1
Tweaks to GetStringWidth()'s server protocol
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:09:11 +00:00
Rudolf Cornelissen
a6632f1605
added PCIe legacy PCI-config-space configuration registers. Some logged interpretation comes at later date, using a PCIE.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:55:52 +00:00
Matthew Wilber
dfb8c585c6
Updated with new Translation Kit version macro names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 18:22:17 +00:00
Stephan Aßmus
6c1ebb0fcb
huge cleanup and more style guide conformance, removed agg namespace, used marcos for inlined blending functions to avoid dereferencing, which gives a small speedup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:52:46 +00:00
Stephan Aßmus
2902c1573a
a little clean up, usage of unpacked scanline container gives a small speedup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:45:12 +00:00
Stephan Aßmus
033e1e690c
DrawingMode is no longer in agg namespace, an ellipse is drawn with a minimum of 12 sections
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:43:23 +00:00
Stephan Aßmus
2ad954608f
clean up, ellipse comparison test
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 15:40:37 +00:00
Stefano Ceccherini
f6fd4d6a70
Added bitmaps for the horizontal and vertical thumbs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 09:43:21 +00:00
Axel Dörfler
9324698b19
Almost complete rewrite of the translate command. Fixed broken argument
...
parsing and type code conversion.
Some additions/changes to the original:
- now prints the version information in the new versioning scheme (base 16)
- added optional --verbose parameter that gives information about the
translations needed to get the output format.
- "--list" can be constraint with a type - only translators that support
this type are listed then.
- also accepts type codes like "RTF" and automatically adds spaces in
this case to create the 'RTF ' type.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-04 04:04:52 +00:00
Adi Oanca
998521f78d
Helped BWindow for calling the apropriate BView hook methods on some mouse and keyboard events
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 22:50:48 +00:00
Adi Oanca
79c8040e93
BView::MouseUp/KeyDown/KeyUp() hook methods are called for the BView for which the action takes place
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 22:46:58 +00:00
Adi Oanca
0e835651a5
BView::MouseDown() finally gets called
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 21:41:09 +00:00
Adi Oanca
0a09721a2c
Added a private field to B_MOUSE_DOWN message to know whose BView::MouseDown() method to call
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 21:31:42 +00:00
Axel Dörfler
d399ab82cc
Some work on the userland boot loader test: moved over to new DoublyLinkedList,
...
added some command line options - additional boot images can now be listed as
arguments.
platform_run_menu() now prints out the root directories of all known file systems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:30:29 +00:00
Axel Dörfler
338d4420a4
Now InitCheck() returns the actual error code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 18:28:36 +00:00
Rudolf Cornelissen
7909881256
fixed a truncate error with casting between floats and ints: this makes the centering calculation for WS panels work more precise, removing some 'noise' pixels on the right side of the screen when displaying non native aspect modes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 16:19:44 +00:00
Stefano Ceccherini
859c5ac301
Implemented Archive() and unarchiving constructor. Removed bad linefeeds.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 15:50:41 +00:00
Stefano Ceccherini
8f8871f95b
Use definitions from WindowPrivate.h and InputServerTypes.h instead of redefining them.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 07:36:27 +00:00
Axel Dörfler
b38c9e18bf
Now uses the new B_STAT_* constants rather than the one from fs_interface.h
...
(which will be removed soon).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 03:37:20 +00:00
Axel Dörfler
54d6c54090
Moved over to new node monitor API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:54:12 +00:00
Axel Dörfler
de8432edeb
Moved over to Ingo's new DoublyLinkedList - I miss my static list::Remove() :-))
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:27:04 +00:00
Axel Dörfler
09e756fbf7
Moved over to the new notification API.
...
Fixed rename implementation - it should now actually work (and also notify
the move which didn't happen before).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-03 02:18:25 +00:00
Jérôme Duval
aafd5156d4
Updated to tzcode2005c.tar.gz
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 22:42:24 +00:00
Jérôme Duval
fa12e0eeff
Updated to tzcode2005c.tar.gz
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 22:25:37 +00:00
Jérôme Duval
3eb71baa53
updated timezone files from ftp://elsie.nci.nih.gov/pub/tzdata2005c.tar.gz
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 21:58:42 +00:00
Axel Dörfler
0d3a7fe9b1
Moved over to the new live query notification API.
...
Fixed a stupid bug in Query::LiveUpdate() that prevented it to work correctly before:
instead of the file name, the attribute value was passed to send_notification().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 17:04:58 +00:00
Axel Dörfler
f0c7cb8c12
Ported over to the new notification API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 17:02:16 +00:00
Jérôme Duval
cdd88ef06b
Moved to kLeftTitledWindowLook
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 16:44:50 +00:00
Axel Dörfler
2ee2b3d742
umask is negated before it's applied, so S_IUMSK wouldn't quite do what you'd
...
expect from it. Changed to the default 022.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:34:10 +00:00
Jérôme Duval
ceba21721e
now uses kLeftTitledWindowLook from WindowPrivate.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:32:33 +00:00
Ingo Weinhold
9965d18a07
Implemented all notify_*() functions. As soon as no longer used anywhere,
...
notify_listener() and send_notification() can be dropped.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 15:19:35 +00:00
Ingo Weinhold
c02a7b0dcb
Fixed build of libbeadapter.so and libopenbeos.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:40:19 +00:00
Ingo Weinhold
102267997c
Vertical() can be const and should be, when invoked on a const instance.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 13:33:34 +00:00
Stefano Ceccherini
fd873802ab
Implemented some more BChannelControl methods. It's almost fully functional. BChannelSlider won't crash if ThumbFor() returns NULL.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 09:34:06 +00:00
Axel Dörfler
f9c5546a16
unistd/open.c should be changed to contain this variable when it's compiled
...
for the kernel - but since we still compile libroot.so with kernel build
rules, I place it there for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:49:45 +00:00
Axel Dörfler
92ce7b918a
Improved capabilities of the file cache modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:30:07 +00:00
Axel Dörfler
3af4214aeb
_kern_open[_entry_ref]() now replaces the _kern_create[_entry_ref]() calls.
...
That allows BFile to actually create files (it didn't use that syscall at
all before).
Also fixed setting the permission bits of the newly created file depending on umask
(the __gUmask variable should probably be moved into a separate header).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:26:47 +00:00
Axel Dörfler
2ab3ff4495
_kern_open() now has one more argument.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:23:38 +00:00
Axel Dörfler
72b8a30907
_kern_open() now has an additional parameter and replaces _kern_create().
...
Fixed permission handling - the umask is now correctly applied.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:22:40 +00:00
Axel Dörfler
503950421d
Added two more convenience VFS calls: vfs_stat_vnode(), and vfs_get_vnode_name().
...
Removed *_create() and *_create_entry_ref() syscalls - they are now handled by
*_open() and *_open_entry_ref() calls which get another parameter for the permissions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:21:31 +00:00
Axel Dörfler
faa1f9368a
Changed return type of relocate_image() from bool to status_t.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:15:19 +00:00
Axel Dörfler
12691b61c5
That's how the build fix should have looked alike :-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 06:11:27 +00:00
Nathan Whitehorn
46300880d2
Fixed a build error.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 05:50:15 +00:00
Axel Dörfler
bee723280c
fill_argv_message() now takes a reference as parameter.
...
Also fixed BApplication::do_argv() which didn't NULL terminate the array
as it should have done, and would call ArgvReceived() with argc == 0 and
a NULL parameter for argv.
Removed strange trailing spaces at the end of the lines for those two functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 04:40:11 +00:00
Axel Dörfler
9465cd7465
Got the separation between start_dyn.o and libroot.so wrong:
...
__libc_argc and __libc_argv are initialized in libroot's startup code.
That fix now makes BApplication::ArgvReceived() work as it should.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 04:36:16 +00:00
Axel Dörfler
b460825e1f
Fixed the bug that prevented the boot loader from running on many current
...
systems: good old A20 gate was not properly enabled on all hardware. Even
if it's not perfect now, either, it seems to work on many more systems
(all I have access to, anyway).
Please report if you have any issues with the 0x92 port A20 gate method.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:15:26 +00:00
Axel Dörfler
5042346db6
Fixed broken conditional ENABLE_SERIAL handling.
...
Also added a comment about what ENABLE_SERIAL is for.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 03:01:39 +00:00
Axel Dörfler
21bdfb9cf9
Moved the "random spots" for the first two page tables to 0x91000 and 0x92000
...
respectively; the area from 0x9f000-0x100000 is not really usable anyway, so
we can safely cut down the maximum size of the boot loader to around 500 kB.
Therefore, the first free physical page is now at 0x100000 straight.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:59:04 +00:00
Ingo Weinhold
164d84bb10
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:35:16 +00:00
Ingo Weinhold
b0f7c84522
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 02:19:23 +00:00
Ingo Weinhold
be6294af4b
Switched to new DoublyLinkedList class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:53:00 +00:00
Ingo Weinhold
ef13ad9efd
Include dir "private/kernel/util" not longer needed, since we already have "private/kernel" and include <util/...>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:20:35 +00:00
Ingo Weinhold
bed68f2088
DoublyLinkedList lives in the <util/DoublyLinkedList.h>.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-02 01:16:26 +00:00
DarkWyrm
f3721fd1d7
Tweaked the GetSystem font calls to prevent memory leaks
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 23:23:45 +00:00
Rudolf Cornelissen
c826d194dc
updated fixes list, bumped version to 0.34 BTW.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:09:45 +00:00
Rudolf Cornelissen
fdd699c7b7
fixed DMA acc blit function crashing once you place data near the end of the cardRAM on NV40 and higher (for overlay bitmaps). These cards needs a certain unused space in front of their DMA command buffer to prevent the blit's DMA data source instance from malfunctioning (moved windows then contain rubbish instead of valid data). I would say this is a hardware fault or limitation (costs us 400kB+ of RAM).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 15:05:57 +00:00
Stefano Ceccherini
422c07914d
Applied our style guide as someone (cough! *** Axel *** cough!) bugged me (correctly) about it :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 14:29:06 +00:00
Stefano Ceccherini
976f53a988
Fixed warnings. Maximum initial values are 100 (One should always print values in decimal, not hex). Implemented GetSupportedSuites().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 13:16:22 +00:00
Stefano Ceccherini
1c3a6ab025
Implemented a couple of methods. Most are tested, even if not thoroughly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 07:42:07 +00:00
Nathan Whitehorn
a8e03a70ea
Why were we using DOS newlines?
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 02:23:21 +00:00
Axel Dörfler
a82d0abbd6
"it cannot fail"?? Hello, we're in the kernel here :-))
...
Actually, it would be quite possible for another thread to specifically
ask for space in that reserved range, so we're playing safe now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-01 00:07:26 +00:00
Nathan Whitehorn
e4b4e8f554
Included Oliver Tappe's DIGEST-MD5 support and fixes to the CRAM-MD5 mechanism.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 23:15:51 +00:00
Jérôme Duval
bf8c5a0440
Using only mime types now work (bug from Fredrik Ekdahl, thanks!)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:24:28 +00:00
Jérôme Duval
5797cdc36f
We update to the contents for new files (bug from Fredrik Ekdahl)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 22:08:59 +00:00
Axel Dörfler
b18fc6654c
transfer_area() now reserves the address range of the old area after removing
...
it, so that it can guarantee readding it again, in case the transfer is failing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 18:36:05 +00:00
Rudolf Cornelissen
63def9b208
completed NV20 architecture DMA acceleration: confirmed both NV20 and NV30 architectur up and running OK BTW.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 14:36:33 +00:00
Rudolf Cornelissen
5848a1aedb
fixed memory size check for virtualmodes (take DMA into account)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 12:36:18 +00:00
Rudolf Cornelissen
9be68599ad
added 3 more cardID's.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:45:55 +00:00
Rudolf Cornelissen
5370ea7d80
added 3 more cardID's (a GF6600, a GF6800 and a PCX4300).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 11:44:38 +00:00
Rudolf Cornelissen
8d2dfc64ee
small simplification for reading and writing DMAGET and DMAPUT, gives a minor speedup (a few percent max).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 10:53:21 +00:00
Ingo Weinhold
eb5bc5f924
Added a bit of documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-31 00:26:30 +00:00
Ingo Weinhold
242ebd2030
The reduced area size was used for testing only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:40:17 +00:00
Ingo Weinhold
576ca13ddb
Added debug output. No functional change. Surprisingly things seem to work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 23:28:49 +00:00
Matthew Wilber
aa44f14baa
Added more tests for single button Alerts and added tests for two and three button Alerts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 21:21:14 +00:00
Matthew Wilber
855c5b57b8
Created structures to make it much easier to test BAlert's various options.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 19:51:38 +00:00
Ingo Weinhold
ea9716dc6e
Return B_NO_MEMORY, if the command handler could *not* be allocated. First tests indicate that the messaging service basically seems to be working. Didn't test yet, if that's still true, when an area is full.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 18:48:38 +00:00
Ingo Weinhold
d06fe82117
Exemplarily implemented notify_entry_moved(). Untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:13:35 +00:00
Ingo Weinhold
244f03dc1c
* Moved the autolocking code for recursive lockers to <util/AutoLock.h>.
...
* Added resolve_mount_point_to_volume_root() version for external use
(by the node monitor).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-30 16:11:46 +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
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
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
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
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
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
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
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
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
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
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
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
Rudolf Cornelissen
fee251bc01
modified overlay to stay outside DMA buffer if it exists.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 12:48:44 +00:00
Rudolf Cornelissen
4dca5362df
added invert_rect DMA acc function. Tested in all colorspaces on NV11 (OK).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 10:56:26 +00:00
Rudolf Cornelissen
d4d5ee8bbb
updated DMA acc to use the full DMA buffersize instead of just one quarter.
...
Also improved forced freespace limit setting in this buffer, now finally completely preventing engine crashes it seems.
Engine speed went up again due to larger DMA buffer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 10:23:52 +00:00
Axel Dörfler
739532577c
Added a small test program for the transfer_area() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:19:13 +00:00
Axel Dörfler
04b59e02dd
team_id == aspace_id.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:17:01 +00:00
Axel Dörfler
e6a3e8011c
Added and implemented transfer_area() syscall; for now, transfer_area() is
...
not exported, only the syscall is.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:13:41 +00:00
Axel Dörfler
bde6836aff
vm_create_aspace() now also get the team_id of the owner of the address
...
space to be created - this replaces the internal ID they had before.
Now, team_id == aspace_id.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:11:45 +00:00
Axel Dörfler
0b111f38f9
read_port() and write_port() must accept a NULL pointer as buffer if
...
the bufferSize is zero.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 07:08:17 +00:00
Axel Dörfler
82e4378f29
Added missing include.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-27 01:01:16 +00:00
Rudolf Cornelissen
1a713b1806
fixed fill_rect and fill_span 8, 15 and 16 bit colorspaces for NV10Arch. Tested and OK on NV11.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 20:54:21 +00:00
Axel Dörfler
b15a05da82
Added empty arch_dbg_con_init_settings().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:40:57 +00:00
Axel Dörfler
6c59a0b5bd
Added empty arch_cpu_shutdown() (just returns EOPNOTSUPP for now).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:40:16 +00:00
Axel Dörfler
4cf3e70f94
Added empty arch_system_info functions, added arch_system_info.c to the build.
...
Removed grist from libppc source files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:39:25 +00:00
Axel Dörfler
f2e40399c2
Moved initialization of the arch depending real_time_data fields into the arch
...
depending section by calling arch_rtc_init().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:30:50 +00:00
Axel Dörfler
72c01a1b3b
Added arch_rtc_init() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:29:41 +00:00
Axel Dörfler
ca0b0a4857
Replaced old VM *_region() calls with current calls.
...
KSTACK_SIZE has been renamed to KERNEL_STACK_SIZE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:22:38 +00:00
Axel Dörfler
8b2fa4d23c
Added crti/n files for PPC - not tested, but they even might work.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 18:20:13 +00:00
Ingo Weinhold
d306a4652c
* Added a timeout to the delivery functions. This is the time after which
...
the message will be finally dropped. Makes sense for periodic message
runners for instance.
* Set the target of a BMessage before flattening it. Thus there will be
space in the flattened header for it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 15:18:29 +00:00
Ingo Weinhold
7f1ee731a9
Using namespace std for nothrow.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:58:18 +00:00
Ingo Weinhold
c277ab01e6
Make the compiler happy. Shadowing super class methods with different signature is a very annoying C++ feature.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:57:35 +00:00
Ingo Weinhold
c452fa675f
Argh! Forgot to commit. Added KMessage to libbe.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:11:02 +00:00
Axel Dörfler
3682eb4fcb
Changed the default for tab completion of symlinks to directories; as of
...
bash 2.05 you would have to press the tab key twice to get the "/" appended
at the end - not anymore :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 14:10:18 +00:00
Jérôme Duval
a60f0fba94
canna lib doesn't build when DEBUG is defined
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 11:07:48 +00:00
Jérôme Duval
f87194396a
added gcc 20041202 needed flag
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 11:06:22 +00:00
Axel Dörfler
e4e9b6a7a4
The input_server now works on R5 and on Haiku (depending on COMPILE_FOR_R5).
...
Fixed two minor warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 03:45:13 +00:00
Ingo Weinhold
56833e831f
Implemented the actual message sending. The implementation is complete now, but still untested.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:20:28 +00:00
Ingo Weinhold
377872556d
* Added support for unflatting from flattened KMessages. At least when
...
a buffer is given.
* Added method for sending flattened messages. The KMessage support is
complete, but for BMessages this is a bit tricky. We currently unflatten
the BMessages and send those.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:16:44 +00:00
Ingo Weinhold
ea69d9d35f
Moved the kMessageHeaderMagic constant into the class. Made BMessage a friend of KMessage.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 02:10:42 +00:00
Nathan Whitehorn
8408ba055b
Fixed SMTP module to give a real hostname in HELO/EHLO
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-26 00:14:58 +00:00
Ingo Weinhold
590e2873fd
Introduced pseudo-target timezone_files, which can be used to build all timezone files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:58:41 +00:00
Jérôme Duval
3d64143151
added code for a bottom line window, not working
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:42:59 +00:00
Ingo Weinhold
ea3df577a3
After resolving the flag clash things work. Use our nice B_KERNEL_{READ,WRITE}_AREA flags for clarity.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:30:53 +00:00
Axel Dörfler
10b863b604
No longer assumes to be on a BeOS platform.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 23:12:36 +00:00
Ingo Weinhold
aa50545364
As I recently learned making a kernel area B_READ_AREA/B_WRITE_AREA makes
...
it readable/writable for all userland apps. This is not what we want here.
We want to make the area cloneable for the registrar and hence use the
new flag B_USER_CLONEABLE_AREA. But there seems to be a bug that causes
strange things to happen, when using that flag only, therefore we go with
all of them until it is fixed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 22:18:23 +00:00
Ingo Weinhold
6e53f60e2c
Added support for protection flag B_USER_CLONEABLE_AREA.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 22:13:10 +00:00
Axel Dörfler
acfb502dcf
Added _kern_get_safemode_option(). Probably this file should be moved out
...
of the storage camp, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 22:01:41 +00:00
Axel Dörfler
f29e97d3ae
Not at all needed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 21:23:51 +00:00
Axel Dörfler
72d7d28ef8
I accidently broke glibc's perror() - now it's working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 21:20:35 +00:00
Adi Oanca
faa0ed6a33
s/(c) 2001-2002, OpenBeOS./(c) 2001-2005, Haiku, Inc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 20:44:09 +00:00
Nathan Whitehorn
e2f2b0a474
Improved IRQ sharing
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 20:17:32 +00:00
Nathan Whitehorn
71f0d1ebbe
Fixed a bug that would cause bogus Message-IDs on BONE systems. It seems that our utsname structure is 8 times larger than BONE's, so all the offsets are screwed up when you try to link our headers against BONE libraries. If we're really aiming for BONE compatibility in our network stack, perhaps this should be changed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 18:32:29 +00:00
Ingo Weinhold
757bc7b934
Renamed Referencable to Referenceable (mainly to make Axel happier :-).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 16:10:03 +00:00
Ingo Weinhold
2c17b743c7
Implemented all missing functionality save the actual sending of a
...
flattened message. Support for this needs to be added to BMessage first.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 16:05:26 +00:00
Ingo Weinhold
5ac1156848
Replaced _init_roster_() _delete_roster_() by static functions in BRoster::Private.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:20:11 +00:00
Ingo Weinhold
42be32659a
TRoster is no longer a friend of BMessenger -- use BMessenger::Private.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:08:15 +00:00
Ingo Weinhold
35d70f9eca
The MessagingService is now a singleton. Added creation of the MessageDeliverer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:06:42 +00:00
Ingo Weinhold
c36e75d1cb
Added Referencable.cpp and MessageDeliverer.cpp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:04:52 +00:00
Ingo Weinhold
2467cef0f0
This class encapsulates the service delivering messages without dropping
...
them immediately when the target port is full at the moment. It's not
quite complete. The data structures are there, but the actual delivery is
still missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:04:05 +00:00
Ingo Weinhold
47e01f5075
Added helper class Referencable (a simple base class for reference counting).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 15:00:12 +00:00
Ingo Weinhold
73895a69a0
* Added the class MessagingCommandHandler, instances of which can be
...
registered as handlers for specific commands sent by the kernel.
(Beautifully object-oriented :-)
* Fixed a bug regarding MessageArea creation (the object was deleted
twice on error).
* Actually resume the command processor thread.
* Turned the class into a singleton.
* Now always process all commands found in an area (should minimize
latencies).
Modulo bugs the class is now complete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:58:37 +00:00
Ingo Weinhold
27bd55fdf3
* Improved initialization.
...
* The counter semaphore is now only released when writing a command into
an formerly empty area. The userland part is aware of that. :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:51:06 +00:00
Ingo Weinhold
d7b6591345
Added initialization of the messaging service.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:48:34 +00:00
Ingo Weinhold
4b8aafea9f
BMessenger has no friends besides Private anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:46:28 +00:00
Ingo Weinhold
4afc60d31b
* Turned the private constructor into a SetTo().
...
* The < operator uses BMessenger::Private now (it's no longer a friend).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 14:45:14 +00:00
Rudolf Cornelissen
e846ba3dd6
updated DMA engine error handling: the driver should nolonger hang (again) if the engine crashes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 12:58:15 +00:00
Axel Dörfler
0bfd48e555
Will now also publish directories for existing driver directories that
...
have subdirectories in order to find device drivers like /dev/audio/raw
without any drivers in /dev/audio.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 02:57:52 +00:00
Axel Dörfler
7ec59908da
Added a devfs_publish_directory() function that just tries to make sure
...
that a path is available (like "mkdir -p").
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-25 02:17:02 +00:00
Adi Oanca
574540edd2
Removed a redundant BMessage when mouse button was pressed. This message is already sent by WinBorder::MouseDown(). Window content was redraw when a window became active. Removed some code that anyway was not used. It will be replaced by the new window manager which is comming soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 21:04:23 +00:00
Adi Oanca
c4e214743d
All 'Invalidate' methods are now private, intended for RootLayer's use only.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 20:59:27 +00:00
Adi Oanca
304feb8ad5
RebuildAndForceRedraw() is not needed anymore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 20:57:51 +00:00
Rudolf Cornelissen
ab26d7f837
finalized DMA buffer overfill checking for optimum speed. On NV11 accelerated functions are running at 130% to 200% speed in DMA mode compared to the 'old' PIO mode. Without trouble now.
...
Still only 32bit mode, and still missing invert_rect function though. Also still not explicitly adhering the engine constraints which needs to be rechecked/retuned compared to PIO mode (hence the non working 800x600x8 mode I expect..)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 20:11:59 +00:00
Axel Dörfler
c586de1d62
Removed warnings, minor cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 18:53:34 +00:00
Adi Oanca
bd1ede2ae9
Yes... I really don't remember why I haven't subclassed FMWList from BList...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 17:34:47 +00:00
Adi Oanca
383461c7ee
3 global variables (gRedrawReg, gCopyRegList, gCopyList) went into RootLayer's property
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 17:18:19 +00:00
Rudolf Cornelissen
11e38e920f
added checking to prevent DMA buffer overfills: it turns out for instance NV11 can't keep up with BeRoMeter and the engine crashes otherwise. It turns out NV11 is currently only working correctly in 32bit color mode BTW.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 16:14:20 +00:00
Jérôme Duval
e01fcf6917
moved to rdef format
...
added strlcpy.c for r5 builds
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-24 14:41:30 +00:00