Commit Graph

18428 Commits

Author SHA1 Message Date
Axel Dörfler
a7854360ac Added vfork() as a wrapper to fork().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 14:50:14 +00:00
Axel Dörfler
278ca3c080 Accidently built libtelnet.a as a shared library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 14:34:00 +00:00
Axel Dörfler
46ff54007d * Made the implementation more state driven.
* Now should adhere to the specs with regard to filling the DHCP_REQUEST messages
  in BOUND/RENEWAL/REBINDING states.
* Now take over the times for renewal/rebinding state from the DHCP server, if any,
  or falls back to 2/3 and 5/6 of the original lease time.
* The lease time was accidently shortened twice (to compute the renewal time, in
  case that was missing).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 13:57:57 +00:00
Axel Dörfler
fdad9c93d7 * Ported libtelnet.a and telnetd from FreeBSD.
* The subdirectory is called "libtelnet" instead of "telnet" (as usual), since telnetd
  expects some headers to be found in libtelnet/ (which I could have changed as well,
  just in case you very much prefer telnet/).
* I needed to disable some stuff to make it compile, and it's absolutely not tested,
  so it might as well not work yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 13:10:00 +00:00
Axel Dörfler
9d6d3fcf5f Some tweaks, made libutil a bit more complete.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 13:06:42 +00:00
Axel Dörfler
5782c5a3e2 * Added support for setting the broadcast address as well (option 28).
* Now prints out the domain name as suggested by DHCP (option 15).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 11:58:54 +00:00
Ryan Leavengood
71c8e7e84a Changed the spaces to tabs (cut and paste problem) and added a comment as
suggested by Axel for the "magic variable" that is replaced by the Jamfile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 10:35:23 +00:00
Axel Dörfler
1a4e8e7b49 Since VMware seems to have some ridiculuous low lease times, I added some code
that prints out the renewal/rebinding times as well - maybe those should be
preferred when they are there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 10:22:34 +00:00
Ryan Leavengood
d1585e48df Adding the Jamfile change for building the new MarkAs Tracker add-ons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 10:12:13 +00:00
Ryan Leavengood
141674aa8c Adding a few new Tracker add-ons for setting emails to a status of "New" and
"Read".  Others could be added fairly easily since I just use one source file
and a new Jam code generation rule to set the appropriate status in the source
file. I feel this is better than bugging the user with some GUI dialog where
they pick the status they want in a single add-on.

For now I'm using the BeMail icon for both.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 08:09:56 +00:00
Ryan Leavengood
dd481a03fc Added a few new rules that do some search and replacing using sed. AFAIK all
our build platforms should have sed support (it is built into Jambase at
least.) I use these rules to do some code generation in my soon to be committed
MarkAs Tracker add-ons.

This works pretty nifty if I do say so myself.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 08:04:23 +00:00
Ryan Leavengood
a26cf893d0 This removes some of the accidental submissions from my last commit.
For those wondering "mark_as" is the directory for the MarkAsRead and MarkAsNew
Tracker add-ons I'm planning to add (for email.) If anyone is violently 
opposed to this idea, speak now.

The WorkspacesLayer change was mostly an update to existing and ifdef 0'd
code so it would compile under ifdef 1. I left those changes and just set the
ifdef back to 0 here.

The other changes below were debugging and build changes that definitely were
not needed in the repository.

The undocumented changes in the last submission include some new keyboard
shortcuts in ShowImage as well as various changes to the input server and
roster as part of my ongoing work on those. I will clean this up some more 
and make another submission in a few hours.

Note to self: never submit from a high-level directory...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 00:43:13 +00:00
Ryan Leavengood
252f476782 Added some needed stdio.h includes. I don't know what magic was used to compile
these for other people, but they wouldn't compile for me when building the
app_server test environment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 00:15:56 +00:00
Axel Dörfler
6cc7630f36 * Implemented lease time renewal.
* The DHCPClient is now added to its looper before doing the negotiation, so that
  it's BMessenger is already valid.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 17:55:48 +00:00
Axel Dörfler
a552ec1396 * If DHCP reports DNS addresses, we'll now rewrite /etc/resolv.conf for now.
* minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 16:11:16 +00:00
Stefano Ceccherini
8b91b40ae6 Try to split the tracking function into smaller ones. Please bear with
me for the absolutely UGLY names. Also, if someone can suggest better 
ones...
I seem not to have introduced any new bug. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 16:05:16 +00:00
Stefano Ceccherini
cd1cef8aab moved synchronous waiting to _WaitMenu(). Renamed private methods to our
style guidelines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 14:49:32 +00:00
Axel Dörfler
d9084f659a * Added "arp" command to the image.
* Added Hideyuki Abe's vlance driver, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 13:41:57 +00:00
Axel Dörfler
a1215fc029 * Disabled check for VMware - shouldn't be required, anyway, and it doesn't compile
with our GCC 2.95.3 (not tested with GCC 4).
* Fixed all warnings.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 13:41:06 +00:00
Stefano Ceccherini
e1e8ce6bf1 removed weird charachters at the end of the file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 13:03:06 +00:00
Axel Dörfler
43bc0ebd1b Added the vlance VMware driver written by Hideyuki Abe.
Unfortunately, the driver does not compile yet with our GCC version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 12:51:02 +00:00
Axel Dörfler
ef8ff79cdb * A copy and paste bug prevented the gateway to be added (worked before the
previous commit).
* Removed the acceptance of a missing DHCP acknowledge message.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 02:56:23 +00:00
Axel Dörfler
0cf5e6ac7d Removed the automatic endian conversion in PutOption() - it was confusing and
the actual cause that my router didn't send an acknowledgement (qemu didn't care) :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 02:18:51 +00:00
Axel Dörfler
10cc12da06 Now delays configuring the interface until we got the DHCP acknowledge message - this
might fix the missing message from my router.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 01:49:47 +00:00
Philippe Houdoin
a3d2f8eea7 Be prepared a renderer refuse to serve us/our GL view ;-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 01:40:38 +00:00
Axel Dörfler
e2e290db9b Forgot to add the "auto config" settings parameter to the BMessage template conversion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 01:18:09 +00:00
Axel Dörfler
0ce7725e1c * An interface can now also be configured to be "auto config" (which means DHCP for now).
* Some minor cleanup in the DHCP client.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 01:16:28 +00:00
Philippe Houdoin
fb2b8194c2 Moved GLRenderer instanciation at window attachment time, not GLView creation time.
Hardware GLRenderers will surely needs to check which screen device (so which window)
a GLView beg him to render to as fast as possible.
Unless such hardware is not serving this screen...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 00:59:23 +00:00
Axel Dörfler
df3624c10e * DHCP will now actually acknowledge a successful negotiation.
* The lease time wasn't printed correctly.
* if the DHCP acknowledge message never comes, we won't try
  forever, but will just stop early and assume the IP address
  we have is okay (looks like my router doesn't send DHCP_ACK).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-12 00:32:05 +00:00
Axel Dörfler
f9af65667d * Work-in-progress of DHCP - the interface should now be correctly configured.
* Lease times are currently ignored, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 23:58:16 +00:00
Ryan Leavengood
9289e25b25 Changed a few references to OpenBeOS in the unit tester to Haiku. There are
still tons of OpenBeOS references in various source files (especially in
comments), but this was more overt.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 21:11:27 +00:00
Axel Dörfler
c8760b9687 * ARP no longer tries to resolve the target address in case of a link-level broadcast
(indicated by MSG_BCAST).
* ARP should now be able to resolve addresses with an unconfigured interface as well.
* datalink_is_local_address() now uses interfaces without an address as a fallback
  in case no more specific interface could be found.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 17:03:08 +00:00
Axel Dörfler
84fcc63a5e * The temporary buffer was never freed in case it still contained more than one iovec.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 16:56:23 +00:00
Axel Dörfler
2e31a85d7f The DHCP message must be send as a link-level broadcast for an unconfigured interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 16:54:49 +00:00
Stefano Ceccherini
4a765b5f26 moved some variables around
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 15:58:29 +00:00
Bruno G. Albuquerque
a439fba59d Fix build under Linux/GCC4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 12:15:59 +00:00
Stefano Ceccherini
f2b50593a8 renamed pfd to gPfd as it's a global variable, fixed indentation in
TermView.cpp, other style changes


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-11 11:13:06 +00:00
DarkWyrm
f0af178d09 Change Save button into Apply because that is what it really does. Probably the last change I will make before checking in the new prefs app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-10 23:28:19 +00:00
Marcus Overhagen
8d16d3335d added ethernet interface framework, taken from openfirmware boot platform
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 22:52:23 +00:00
DarkWyrm
32f5c59f50 Slightly simplified label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:52:44 +00:00
DarkWyrm
32f2d12260 Slightly simpler label
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:51:55 +00:00
DarkWyrm
c9c63ff858 Made a *lot* of controls less technical
Completely did away with the config window (not needed except for its own development)
Shortened shutdown time when asked to quit by some other source than system shutdown


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:42:10 +00:00
DarkWyrm
b82780cfed Remove 2 options which are not needed from the settings view
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 03:38:11 +00:00
DarkWyrm
fa4cb73d7b Usability tweaks to labels
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-09 02:23:19 +00:00
DarkWyrm
ccf795b406 Another small label tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:48:33 +00:00
DarkWyrm
595f30a33f Small label tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:45:31 +00:00
DarkWyrm
9c01ee30da First in a series of revisions to improve the usability of the E-Mail prefs app.
This one removes a number of edge-case options and rewords technical phrases


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-08 01:05:00 +00:00
Jérôme Duval
3d8771eeef commit for Stefano
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-07 17:47:59 +00:00
Jérôme Duval
e124e2b870 forgot this change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-07 17:47:13 +00:00
Stefano Ceccherini
08d9291667 removed now unneded extra Draw() call used as a workaround to broken
scrolling.
Menu attached to menubars now use scrolling if they are opened near the 
bottom of the screen (just like in beos). I'm not sure if this is so 
nice, though, so it could be reverted. Patch contributed by Lucasz 
Zemczak


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-07 11:25:24 +00:00