Commit Graph

18281 Commits

Author SHA1 Message Date
Axel Dörfler 37ec4f04fe * Cleanup of signatures and version infos - this is part of a fix to bug #909.
I've done all preferences apps for now, and some related.
* Some other related cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-22 14:55:44 +00:00
Axel Dörfler 287751449f Added info and card ID for the nVidia GeForce 7600 GO, provided by Bernd Korz.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-21 19:22:59 +00:00
Axel Dörfler c04f283d6a Fixed the bug noticed by Philippe - we might not only be able to open the
"interfaces" file in the future :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 21:37:31 +00:00
Axel Dörfler d1d0d5c6f7 There can only be one default route per interface - so match anything if
RTF_DEFAULT is set in the query.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 14:42:49 +00:00
Axel Dörfler b01a3a33a6 * Implemented node monitoring: if you change the interfaces settings file, the
networking stack is reconfigured automatically.
* The previous default route is now removed before installing a new one.
* "gateway" was missing in the driver settings to BMessage conversion template,
  and thus, it was only set to a default value in case there was no settings
  file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 13:37:13 +00:00
Axel Dörfler 535df2cff3 Now also supports setting a gateway through the configuration.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 12:20:44 +00:00
Axel Dörfler 53d1802e02 Now checks if a valid configuration was found, and if that's not the case, it
will automatically configure the stack - without DHCP for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 12:11:19 +00:00
Axel Dörfler 1a2ad4cb2c * Moved settings stuff into its own file.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 11:24:57 +00:00
Axel Dörfler 919c897b98 Started writing the new networking server. Right now, it'll configure the
networking stack according to some settings file. Doesn't do anything beyond
that yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 10:45:11 +00:00
Axel Dörfler 3080cd989b Forgot to add loopback_frame module - the loopback interface is now working as it should.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 10:42:46 +00:00
Stefano Ceccherini 302f626047 Fixed a typo introduced when I renamed the class members. The source area was checked instead of the cloned one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-19 10:10:06 +00:00
Michael Lotz cf0656184d Fixing the settings file naming.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-18 23:35:06 +00:00
Michael Lotz a7082940ce Adding ipw2100 driver for Intel(R) PRO/Wireless 2100 devices.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-18 23:15:44 +00:00
Axel Dörfler 52caf6633f Fixed compilation under R5 and Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-18 13:18:01 +00:00
Axel Dörfler 122a163324 The mouse event window will already be reset in RemoveWindow() (through HideWindow());
doing it here is not only superfluous, it would also cause to lose the window when switching
to a workspace where the window is not visible and back while dragging it around.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-17 20:52:03 +00:00
Axel Dörfler 8c68eab694 Fixed two different bugs that could cause bug #896:
* the app's Activate() method was called unsafely; the ServerApp pointer could
  have become invalid in the mean time.
* when hiding a floating window (because its parent got hidden) that had focus
  or even was the mouse event window (was currently dragged over the screen)
  the focus was not moved to another window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-17 20:44:13 +00:00
Axel Dörfler 7dfa04527c Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-17 20:40:26 +00:00
Jérôme Duval 2f8e7a3a4d added BApplication methods skeleton
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-16 18:27:59 +00:00
Jérôme Duval 0286286c25 fixed table titles in MidiRoster
chunking now start at sect2 elements: this means that each Midi2 Kit class is in its own file. It also means that one should skip 
sect2 and use instead sect3 if the section doesn't have to be in its own file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-16 17:44:15 +00:00
Axel Dörfler 463c8198b8 Fixed warning for Dano & Haiku builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-16 11:47:49 +00:00
Jérôme Duval 436505bb71 added links
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-15 19:45:46 +00:00
Axel Dörfler 81435928fb * Fragmenting IP packets is now working as expected (there were several bugs
in the code before).
* Added a SetTo() method to NetBufferHeader.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-15 09:52:54 +00:00
Axel Dörfler 2e95d2f425 Fixed a bunch of bugs in the net_buffer implementation; it didn't crash before,
but it also didn't create valid buffers in a number of cases:
* remove_header() did not work correctly if more than one node had to be
  removed or came after the first node to be kept.
* prepend_size() did not update the offset of the following nodes.
* write_data() and read_data() both did not update the data pointer, and thus
  always copied the same data to every node.
* merge_buffer() inserted the nodes in the wrong order when prepending a buffer.
* added a dump_buffer() function and lots of additional debug output (currently
  commented out)
* simplified split_buffer() a bit more.
* implemented remove_trailer().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-15 01:12:54 +00:00
Axel Dörfler ed013acf90 Fixed a possible crashing bug when used in the wrong way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 19:54:28 +00:00
Axel Dörfler 08d85bd298 Reverted back to r18850 - since we won't keep that version anyway (due to the
slab allocator we'll have one day), I don't feel like digging in an fixing its
bugs.
IOW local pings won't crash the kernel anymore, are no longer detected as
duplicates, and loopback does work now as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 19:42:43 +00:00
Axel Dörfler 9f0c924a54 Implemented loopback device - currently crashes the kernel pretty fast, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 17:48:11 +00:00
Jérôme Duval 6bb2fbd521 inherited is a private typedef of BWindow, said gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 15:18:57 +00:00
Axel Dörfler f4a00b2843 Replaced references to VLC to the appropriate bundled app. This fixes bug #891.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-14 12:03:48 +00:00
Axel Dörfler 0f5a00dafd Fixed PPC build of the PCI bus manager.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 12:24:19 +00:00
Axel Dörfler cf1f73778d Fixed PPC boot loader build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 12:10:55 +00:00
Axel Dörfler d0d30c36ca The length of the extra field was not correctly determined, and the
offset was not changed correctly either: the order in which the
expression was evaluated was undefined; in fact, GCC 2.95.3 would use
the same buffer[index] twice.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 12:10:03 +00:00
Axel Dörfler f5fc6356c4 Fixed a GCC 4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 11:37:00 +00:00
Axel Dörfler d12497173a Fixed PPC kernel build (and a warning).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 11:35:28 +00:00
Axel Dörfler 6e7dc54655 Fixed GCC 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 11:23:34 +00:00
Axel Dörfler 78d0219799 Fixed GCC 4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 10:49:08 +00:00
Axel Dörfler 134f3f10ac Fixed GCC 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 10:35:04 +00:00
Niels Sascha Reedijk 15f45baf60 Here's the Unlock ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 08:48:24 +00:00
Axel Dörfler 5450af8220 Implemented fragmenting IP packets - not yet tested, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-13 06:00:19 +00:00
Axel Dörfler bdfed6c06f While I couldn't reproduce bug #657 myself, this should fix it.
TTeamMenuItem::AttachedToWindow() calls BView::SetFont() which entered the debugger
if the menu was visible at the time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-12 12:48:16 +00:00
Axel Dörfler 6edab6011e We must not have the font manager locked when locking the desktop (no matter
if read or write); there are some methods that cause a locking of the font
manager (like ServerFont::SetFamilyAndStyle()).
This fixes bug #885.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-12 12:34:19 +00:00
Axel Dörfler 08d8ae0cff Made the ipv4_send_routed_data() function a bit more safe to use (now checks if the
route passed in is valid).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-12 09:47:25 +00:00
Axel Dörfler ece28c9ef8 Fixed a possible crashing bug.
Note, Andrew, if you want to store a route, it's *not* okay to keep it around all
times. The net_route_info is thought for that as it allows the stack to switch
to different routes (ie. if the interface has been changed, ...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-12 09:41:54 +00:00
Axel Dörfler 3cdc3291b4 The menu could leave the screen to the left, this fixes bug #902.
Patch by sil2100.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 18:05:57 +00:00
Axel Dörfler 57d9d07781 * Fixed another big bug that the new heap revealed: when loading an image failed,
it was never removed from the sLoadedImages list - and thus, would happily
  access invalid memory.
* get_next_image_dependency() is now using the global lock as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 17:50:06 +00:00
Axel Dörfler 5cfd3a1592 The heap now grows if needed; this allows VLC to load all of its plugins.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 17:45:13 +00:00
Axel Dörfler 6f0994d460 * Switched to the boot loader's heap implementation.
* This sane heap revealed a bunch of bugs (like sLoadedImageCount not being
  maintained that was used for various allocations).
* If the allocation of the image fails, opening the app will now just fail
  instead of crashing of overwriting random data (IOW VLC will now load
  okay, but cannot load some of its add-ons anymore).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 16:02:43 +00:00
Axel Dörfler 3862cbfeee Fixed a potential buffer overflow error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 13:54:51 +00:00
Stefano Ceccherini ecb8972497 Added print server to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 11:51:18 +00:00
Axel Dörfler 598d9e8dd5 Added _h_errnop(), fixing bug #898.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-11 10:48:34 +00:00
Axel Dörfler 4e4c58037e Implemented collapsing forked vm_cache object chains when they become unused.
This fixes bug #227 by closing that memory and semaphore leak.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-10 22:47:00 +00:00