Axel Dörfler
f5faf48a9f
Small fix for _StealMouseMessage(): only if "feed focus" is "false", the message
...
can't be used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 14:29:54 +00:00
Stefano Ceccherini
19ebf74dc6
Call RemoveToken() in the destructor
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 10:05:56 +00:00
Hugo Santos
5534294ca1
TCP: only set FIN after the send queue has been exausted and we are in a state that requires it.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 08:02:41 +00:00
Hugo Santos
7d524fb79b
implemented TCP's slow start and congestion avoidance.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 05:55:03 +00:00
Ingo Weinhold
d619e89985
Fixed incorrect use of the sort() function. It expects a "less than"
...
compare function with bool return value, not a -1/0/1 returning
compare function. Fixes bug #1158 (registrar crash on shutdown).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 05:39:33 +00:00
Travis Geiselbrecht
621b401de4
set the function attribute on the asm memcpy.
...
This should fix the loader problem some folks were seeing on beos binaries.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 04:19:45 +00:00
Hugo Santos
f19e1f47da
reorganized some of the TCP logic so we have common init paths for receive and send.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 03:39:24 +00:00
Hugo Santos
aa07700795
update Window Scaling variables when a simultaneous open is ACKed.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 01:25:08 +00:00
Hugo Santos
58bef2f444
support TCP Window Scale on sent segments.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-17 01:07:58 +00:00
Jérôme Duval
31ebfe61e4
added default sound events
...
implemented system_beep() by sending an event to the media addon server
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 19:15:46 +00:00
Hugo Santos
4ee088419f
assorted TCP fixes.
...
- fixed the locking for spawned connections and accept()s.
- return EMSGSIZE if the user is trying to write more data than the send buffer can hold.
- fixed a crash when receiving a RST while the connection is being closed.
- don't wake up readers when the connection gets established.
- endpoint managers lock must be recursive to properly work with spawn'ed sockets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 18:32:49 +00:00
Hugo Santos
f56b0aa00d
fixed arp's ClearQueue when an entry is rejected.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 15:27:13 +00:00
Stefano Ceccherini
6dfe2237e6
Calling LockGL() before BGLView::AttachedToWindow() isn't allowed, it
...
seems, as it leads to a crash. The GLDirectMode test app now works.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 12:43:38 +00:00
Niels Sascha Reedijk
81071f5e8a
Large documentation update:
...
- Add the beginnings of the documentation for the USB module
- Fix some mistakes here and there
- Almost finished the support kit. Tried to update everything to the standards
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 09:28:29 +00:00
Travis Geiselbrecht
3095921098
asm optimized user_memcpy(), which should help somewhat, since the old version was a byte-by-byte copy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 06:48:38 +00:00
Travis Geiselbrecht
831486a2d3
Turn the assembly optimized memcpy (simple rep movsd) back on for x86. Had to hack around the make system a bit, and the result is pretty nasty, specifically due to the amount of places in the system where various targets poke their fingers into the libroot directory.
...
The solution is less than optimal, but should work for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 06:17:14 +00:00
Hugo Santos
c07371587f
made ETHER_DEBUG use dprintf() as the previous logic was screwing badly and making the boot sequence hang in some setups (specifically qemu, may have fixed issues with Parallels as well).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 04:27:37 +00:00
Travis Geiselbrecht
806f6f1161
fix a bug in _exit() that called the _IO_cleanup routine as if it was
...
a function pointer, which it isn't.
The mistake was probably made because there appears to be multiple stdio implementations
in the tree (BSD and glibc) so it's easy to look at the wrong code. Perhaps
we should clean that up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 03:20:42 +00:00
Hugo Santos
ca1b900bdb
support RFC 1323's TCP Timestamps (we are still not updating our estimator though).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 03:19:59 +00:00
Hugo Santos
03d7f17e07
made TCP handle multiple domains.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-16 00:27:39 +00:00
Hugo Santos
d5b5a2c2f8
introduced Checksum::PseudoHeader helper.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 23:18:15 +00:00
Marcus Overhagen
239fad6de1
integrate DVB-T driver into haiku-image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:44:37 +00:00
Marcus Overhagen
1caca357da
Added Jamfiles, changed some includes. The driver now builds for Haiku.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:25:14 +00:00
Hugo Santos
1408d1f0ce
introduced datalink's send_datagram to perform route and source address selection and dispatch the datagram to appropriate domain/protocol.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 22:11:12 +00:00
Hugo Santos
f106e0650e
print the new 'active' flag in arp entries
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 21:00:32 +00:00
Hugo Santos
624c52d8b7
ARP now queues packets while resolving a destination instead of blocking on send_data(). This fixes several issues:
...
- TCP now behaves correctly when receiving new connections as its SYN/ACK is queued, or if lost correctly retransmitted when the peer resends a SYN.
- The first ICMP Replies from an external on-link host pinging Haiku are no longer lost.
- Reduced the number of ARP messages Haiku needs to generate until resolving an entry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 21:00:12 +00:00
Jérôme Duval
33c487a43e
implemented add_system_beep_event()
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 20:40:12 +00:00
Marcus Overhagen
23a805cd17
channel settings for DVB
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 19:00:26 +00:00
Marcus Overhagen
d4161a35c7
The DVB TV application, can probably be used as a generic TV
...
application, or even merged with MediaPlayer and CDPlayer later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:58:05 +00:00
Marcus Overhagen
ba45956470
directory for TV app
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:43:38 +00:00
Marcus Overhagen
b2859abe13
Media add-on for DVB.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 18:42:03 +00:00
Hugo Santos
fbaad6fdb5
fixed an issue where TCP would RST a connection when a peer trying to connect us re-sent their SYN.
...
- In fact our SYN/ACK reply is being lost due to ARP resolving as we are waiting in the device's receive path, thus we never get replies before timing out. This requires queueing during ARP resolving.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 17:34:52 +00:00
Jérôme Duval
c23db4e688
added mail_daemon
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 14:46:12 +00:00
Jérôme Duval
1cafa90eda
code style
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 14:17:02 +00:00
Jérôme Duval
88ec4b1dbe
fixed some warnings
...
code style of MMediaFilesManager.*
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 13:59:59 +00:00
Stephan Aßmus
309289eb87
* created vector icon
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 12:22:37 +00:00
Stephan Aßmus
a9728b1c4f
* created vector icon
...
* updated copyright
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 11:39:59 +00:00
Jérôme Duval
950ab96126
clean up
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:51:32 +00:00
Jérôme Duval
1be80cfc83
added frcode, <bin>updatedb instead of updatedb
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:50:33 +00:00
Stephan Aßmus
950c025bf8
* created icon
...
* added some previously missing information to rdef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 10:42:48 +00:00
Hugo Santos
4526eff137
gcc 4 template instantiation fixes
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 08:24:40 +00:00
Hugo Santos
342824b6da
fixed the reception of multicast frames by RAW sockets.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 07:46:30 +00:00
Hugo Santos
6a60618094
glued the multicast filter handling to the receive path: we are now capable of receiving multicast frames in datagram sockets.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 07:31:04 +00:00
Hugo Santos
4229d7091e
made UDP's send_data call into IPv4's, so we can handle of the datagram stuff in one place.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 05:23:28 +00:00
Hugo Santos
629878443b
made IPv4's send path be multicast aware.
...
- also added IP_MULTICAST_TTL support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 05:23:18 +00:00
Hugo Santos
d3be414572
initial IPv4 multicast receive path.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 04:02:02 +00:00
Hugo Santos
6c501a4085
support RFC 3678's Protocol-Independent setsockopt()s for IPv4 multicast.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 03:07:28 +00:00
Hugo Santos
46527f6806
initial steps towards IPv4 Multicast Filter Delta API (RFC 3678)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 02:44:01 +00:00
Stephan Aßmus
97e69082b6
* copied vector icon from font preflet
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-15 00:41:24 +00:00
Stephan Aßmus
7cf41fd258
* added same vector icon as FileTypes preflet, but somehow the
...
resources are not added for the "Addon" target type? Ingo?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:22:51 +00:00