Commit Graph

19769 Commits

Author SHA1 Message Date
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
Stephan Aßmus
985aec5d8b * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:13:18 +00:00
Stephan Aßmus
b581b77b13 * icon contained some left over unused paths
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 23:07:37 +00:00
Stephan Aßmus
48d8e83e88 * created vector icon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 22:38:05 +00:00
Stephan Aßmus
35afdf5cc9 * added vector icons for application and supported types
* added "icon heap" icon
* implemented loading vector icon for "icon heap"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 22:36:56 +00:00
Axel Dörfler
ffcc37a0aa * Added and implemented B_INVALIDATE as available on Dano; to invalidate only a certain
part of the view, you can add a BRect "be:area" to that message - very handy.
* Cleaned up AppDefs.h a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 18:11:42 +00:00
Jérôme Duval
ea4f253fd6 update license headers, code style
In BPushGameSound, SetParameter and SetStreamHook return B_UNSUPPORTED while Perform calls the parent class.
Moved code to the constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-14 13:35:39 +00:00
Hugo Santos
49f3c71e21 respect SO_BROADCAST for received and sent datagrams.
- check if the destination address is specified in IPv4's SendData()
 - minor cleanups to IPv4's TRACE()s.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 21:33:13 +00:00
Stefano Ceccherini
7e99a484fb Renamed *Dlg classes to *Window, completing my previous commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 16:41:44 +00:00
Stefano Ceccherini
f8cc2a74e4 Renamed *Dlg to *Window, since the term "Dialog" is alien to the beos
api. Thanks to Vasilis Kaoutsis for the suggestion. I'll rename the 
classes with the next commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 16:35:50 +00:00
Marcus Overhagen
083a11a3f4 Driver for DVB-T cards with cx23882 chipset, like WinTV NOVA-T PCI
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 16:21:17 +00:00
Marcus Overhagen
36e0e8a8bd Interface definition of DVB drivers. Currently private API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 15:52:58 +00:00
Hugo Santos
658a550639 use module_dependencies to load the required modules by udp, tcp, ipv4, icmp and arp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 14:37:48 +00:00
Hugo Santos
57e2a3d584 only deliver frames to IPv4 raw sockets of the specified protocol.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 04:20:39 +00:00
Hugo Santos
ab7e75e74d don't do MSS segmentation in TCP's SendData(), _SendQueue() already does the appropriate work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 03:45:28 +00:00
Hugo Santos
d438fa4c12 added buffer, datalink and socket module references to the stack module so we don't have to load them in each other module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 03:06:36 +00:00
Hugo Santos
bfb45f717c introduced a new helper class DatagramSocket which provides a consistent base interface and functionality for the implementation of datagram-based sockets.
- made the ipv4 raw, udp and link protocols use DatagramSocket.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-13 00:55:32 +00:00
Jérôme Duval
effe53fae9 fixed the wrong test for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 20:32:19 +00:00
Jérôme Duval
c7509fce9d improve codestyle
fix bad init in BPushGameSound


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 19:20:45 +00:00
Jérôme Duval
72b4b94081 use __builtin_offsetof for gcc4 and superior, it avoids a gcc4 broken build with template use of offsetof()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 18:36:37 +00:00
Jérôme Duval
b342ed59fb gcc4 is picky with in-template symbols, they must be qualified
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 18:17:31 +00:00
Jérôme Duval
b12aab90c7 fixed typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 18:11:11 +00:00
Axel Dörfler
d5ba07a3ad Fixed two bugs:
* FrameReceived() updated the bitmaps, but did not invalidate the view, causing
  B_FULL_UPDATE_ON_RESIZE to show an outdated icon.
* fInDeskbar was not initialized in case the archive constructor was used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 16:23:34 +00:00
DarkWyrm
ffd3d30c84 Enable build of usb_midi on R5 using same Jamfile techniques as usb_hid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 15:57:46 +00:00
Axel Dörfler
f13b5de61e * EXIF data is now also parsed in case there was no ioExtension message passed in;
the orientation was only honoured in case there was a message before.
* Disabled error alerts; they are more annoying than helpful.
* Bumped version to 1.2.0.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 13:20:33 +00:00
Stefano Ceccherini
22cf4a3be6 sizeof(B_PAGE_SIZE) != B_PAGE_SIZE. Fixed bug 1151. Sorry for the silly
typo. Also uses calloc() so that the direct_buffer_info struct is 
initialized to 0.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-12 13:15:06 +00:00