Commit Graph

18301 Commits

Author SHA1 Message Date
Axel Dörfler
bed835af1e The TCP tester now also allows you to reorder random or specific packets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 19:13:07 +00:00
Axel Dörfler
719aa9ff8c Decoupled receiving threads, so that the server as well as the sender get their own
receiving thread. While this steals away a test case for now (dead lock), it will
allow to reorder packets in a better way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 17:39:54 +00:00
Axel Dörfler
cc5496e34a Extended the TCP tester app a bit:
* you can now instruct it to drop specific packets
* you can now also define a round trip time for the packets
* added a "send" command to send arbitrarily sized buffers over TCP.
Not surprising, the current implementation of TCP doesn't do anything with
those (other than crashing as soon as you try to send data).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 16:57:22 +00:00
Waldemar Kornewald
7fc2eecefd Found out what trackTime was used for.
We should probably always start BMenuField menus in sticky mode and only switch
to non-sticky mode if the mouse was moved a minimum distance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 12:30:56 +00:00
Axel Dörfler
2628e60cbc Moved BMenuWindow, BMenuFrame, and BMenuScroller into the BPrivate namespace.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 11:52:18 +00:00
Axel Dörfler
aa389c6b38 Now sends the B_SILENT_RELAUNCH message if the app is already running and has
no arguments (or doesn't want them). We even already had the correct handler for
B_SILENT_RELAUNCH around :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 11:36:11 +00:00
Waldemar Kornewald
a7067566a1 Fixed menu disappearing bug when (in sticky mode) mouse button is pressed (and held down) and the mouse pointer is moved outside of the menu. Now, menus should work as expected and switch from sticky to non-sticky mode on mouse button press correctly.
BTW, I disabled trackTime. It seems to work without it, correctly, so I guess it can be removed completely.
If not, just revert the change ("if (system_time....") after TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 11:32:35 +00:00
Philippe Houdoin
18741bc6ea * Fixed a crashing bug when no renderer add-on can be found.
std::map [] creates a new entry when none can be found!
* Disabled libmesa.a being build with DEBUG turn on, as it's broken ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 00:09:06 +00:00
Jérôme Duval
92aa85ae8d reverted PCI change, now uses a dependency on the PCI bus manager
moved acpi_ns_dump driver into acpi bus manager (also removed from the hd image)
the exported fs path is now acpi/namespace
added some methods to ACPI bus and device new interfaces
ACPI nodes like _TZ_ or _SB_ aren't exposed as devices anymore
added a type to the acpi_device_info structure


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 23:36:02 +00:00
Philippe Houdoin
211e79ca4d Small verbose change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 23:29:51 +00:00
Axel Dörfler
390422241e Small optimization of the timer mechanism: the timeout is no longer updated
if not really necessary; ie. you can now add timers without an extra performance
hit if it's not really required.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 23:20:41 +00:00
Philippe Houdoin
1da73a7b9b Enhanced the GL_RENDERER string returned.
Re-enabled SSE assembly code except for haiku target, until SSE stop crashing Haiku...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 21:52:02 +00:00
Philippe Houdoin
b901ec2715 Stop generating "xxxx, 0 second" uptime string.
How smallish and useless contribution I could do...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 21:05:35 +00:00
Stephan Aßmus
464cd15f0a * you can now assign styles to shapes that had none assigned before
* Transformer menu is correctly enabled/disabled when a shape is selected


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 20:41:12 +00:00
Waldemar Kornewald
0512e98939 Now, menu reacts on first mouse release after having disabled sticky mode on MouseDown.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 17:14:44 +00:00
Waldemar Kornewald
b26e9fb499 In sticky mode, menus should only invoke the selected item after the mouse is released (instead of immediately on MouseDown).
I hope this is the correct fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 16:01:11 +00:00
Stefano Ceccherini
e0fcf72ae0 Fixed some semi-random crashes in deskbar and tracker caused by the new scrolling code. patch by Lucasz Zemczak. Also now the menu tracking function checks the result of the userdefined tracking hook, thus fixing bug #938
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 14:54:44 +00:00
Stephan Aßmus
84153c7a0c * various UI improvements and fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 09:37:50 +00:00
DarkWyrm
31a0d05b20 Initial checkin. Definitely a work in progress. Content comes first and then formatting later. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-21 00:24:51 +00:00
Stefano Ceccherini
e733c6856a Fixed bug 931 by using a different construct to redirect both stderr and
stdout to /dev/null


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 20:45:06 +00:00
Stefano Ceccherini
f7ee8c0d1c Removed bashisms from build_haiku_image, thus fixing part of bug 931.
There's still some weird output being printed, but building the mime 
database now works under dash too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 20:23:35 +00:00
Stefano Ceccherini
27cc25083e First try at menu scrolling, courthesy of Łukasz Zemczak. Works more or less, although a bit buggy
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 20:19:55 +00:00
Axel Dörfler
1941200400 Added unrar to the image as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 18:55:57 +00:00
Axel Dörfler
2c3cd1b95d Added unrar 3.6.7 to the repository. Most changes to the original versions done
by Ioan Molnar - thanks!
Looks like our mbstowcs() function is broken, BTW - it needs to be disabled when
used under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 18:53:55 +00:00
Axel Dörfler
03ece74f5b Renamed x-rar-compressed to x-rar, fixed its contents, and added Expander as
default application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 18:04:30 +00:00
Axel Dörfler
3e30cbdb1e Added option to the NetBufferPrepend constructor to prepend an arbitrarily sized
piece of data, instead of the type size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 17:56:17 +00:00
Axel Dörfler
a7470d6bd5 * The kernelland_emu now supports turning off debug output; tcp_tester can toggle
this option now using the "dprintf" command
* Added dump_block() function to kernelland_emu
* Added tcpdump-like output to tcp_tester for each TCP segment, lines from the
  server are red, lines from the client are black.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 17:38:21 +00:00
Axel Dörfler
75743fcd65 * Implemented adding/processing TCP options; so far only "max segment size" (MSS)
is really supported.
* Added TCP option fields to the tcp_segment_header structure - they are filled
  in on receive, and add_tcp_header() now gets a tcp_segment_header as well, and
  will add any options automatically.
* Fixed some minor bugs (connection with passive open had wrong state after connect).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 17:35:51 +00:00
Stefano Ceccherini
fc82227a6e I thought I had found the cause of a bug. Not the case. But still, this looks better.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 10:09:55 +00:00
Ryan Leavengood
e756752ec7 Added myself to the developers list in About Haiku.
I'm not quite sure what the difference between a developer and contributor is,
but I hope I qualify as a developer. If not feel free to move my name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 03:12:22 +00:00
Axel Dörfler
6ff565b0d6 * Moved the private kernel locking functions into kernelland_emu.cpp because the
actual versions cannot work in userland.
* Extended the tcp_tester to be able to connect and quit connections.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 23:35:07 +00:00
Axel Dörfler
30ea523ad1 * Big rework of TCP - doesn't have any additional features yet, though, even
though it can now connect to itself (and should, in theory, also be able
  to connect to other TCP implemenations).
* Separated the big state machine from ReceiveData() into several smaller sized
  methods.
* Moved reset and acknowledgement handling for all kind of receives to a common
  place in tcp_receive_data().
* Removed locking for now - the previous locking approach was wrong due to a
  number of reasons: the previous version deadlocked when it had to connect
  locally, and it also didn't take into account that TCP is a full-duplex
  protocol; it's not wise to only be able to manage one direction at a time
  if that's not really needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 23:33:24 +00:00
Stephan Aßmus
fae6fb6d69 * fixed stupid bug that prevented saving in native format
* fixed bug in RDefExporter
* improved zooming, icon is now centered at program start


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 10:13:23 +00:00
Stephan Aßmus
c9ed0088c9 use B_RGBA32 icons for displaying stuff like "New Terminal", "Launch Tracker"...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:40:35 +00:00
Stephan Aßmus
55efc4c369 * R5 seems to reuse the Workspaces icon for the Desktop, so Haiku does too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:32:17 +00:00
Stephan Aßmus
1f1316fc68 My first commit to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 00:30:18 +00:00
Stephan Aßmus
51b55f31e4 * more resemblence of a maple leaf I hope
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 22:35:24 +00:00
Jérôme Duval
37477ce91d moved get_device_hid call, weirdly it compiled ok with gcc4
removed config driver, added acpi as a boot module
removed a duplicate etherpci


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 21:51:37 +00:00
Jérôme Duval
ea71f2e7b8 acpi now uses a simple pci layer instead of the pci bus manager
added a new style module to publish acpi devices ("listdev -d" to list them)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 20:46:58 +00:00
Stephan Aßmus
c26c0b24e5 * fix build of the haiku_registrar in app_server test environment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 07:18:00 +00:00
Axel Dörfler
35d3421dc5 Greatly enlarged the number of possible kernel_arg ranges as we were already
pretty close, and the number of loaded modules have a direct influence on
this (even though we're currently loading the symbols by default).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 15:42:42 +00:00
Axel Dörfler
1a948d749b Return better error code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 15:36:10 +00:00
Axel Dörfler
dd778cd92b * Sending uninitialized buffers to Icon-O-Matic is sure fun, but it actually
caused Icon-O-Matic to refuse to work with us :)
* only call free() when the data has actually been allocated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 15:00:26 +00:00
Axel Dörfler
13417161c8 * It's #ifdef HAIKU_TARGET_PLATFORM_HAIKU - not just #if :-)
* Fixed using B_EDIT_ICON_DATA for file types in ref mode, too, as well as having
  the icon data ready for ref mode and MIME type mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 12:58:09 +00:00
Axel Dörfler
280ff9398a Implemented absolute scrollbar setting via right mouse button as discussed on the list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 12:53:54 +00:00
Stephan Aßmus
435b2897a3 * use the application icon instead of a hardcoded icon in the CalcView,
so now the nice vector icon gets displayed



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 10:43:43 +00:00
Stephan Aßmus
d0771361ce * use B_RGBA32 icons on Haiku in the TeamMonitor, this and the previous
commits seem to work fine (BTW, what an odd place for the TeamMonitor :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 10:15:37 +00:00
Stephan Aßmus
fa4cfdbf62 * use B_RGBA32 icons in shutdown process window (untested)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:56:42 +00:00
Stephan Aßmus
76788886af * use B_RGBA32 icons when compiled for Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:51:33 +00:00
Stephan Aßmus
d63a05d32b * added support for the editing icons comming in via
B_EDIT_ICON_DATA messages, doesn't load an icon yet
  (won't look into it within the next 10 hours... ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-17 09:44:39 +00:00