Commit Graph

18495 Commits

Author SHA1 Message Date
Ryan Leavengood d6ead04161 Removed some debugging lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 05:20:18 +00:00
Ryan Leavengood 970014a60a Improved the shutdown process some more. Systems apps are allowed to ignore the
quit request and are simply removed from the list of apps to close if this
happens. This is primarily designed for the input_server.

I also corrected the MIME type of the debug_server which was causing it to be
incorrectly killed at shutdown.

I did some other clean-up and removed the code I unintentionally submitted
yesterday.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 05:15:47 +00:00
DarkWyrm 9eee47669d Quick hack to work around font issues until I have time to fix it properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:28:45 +00:00
Ryan Leavengood 9c55633809 Removing the now unneeded SearchAndReplace and Sed rules. They can always be
added back if need be. There were some building bugs anyhow in these versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:10:53 +00:00
DarkWyrm b9a3b1c414 Reverted partial size checkbox simplification change and made according GetPreferredSize changes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:10:03 +00:00
Ryan Leavengood 0a7b5658d2 Refactored the MarkAs building as per Jerome Duval's suggestion.
Also changed the include for TrackerAddon.h to TrackerAddOn.h (note the
capital O.) Haiku does not have the lower-case o version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-14 00:08:52 +00:00
DarkWyrm 48a8aa4985 More font sensitivity tweaks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:25:36 +00:00
DarkWyrm 183a6c2121 Label divider fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 23:05:06 +00:00
DarkWyrm 24b82945f5 Capitalization fixes - HIG compliant now :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:41:24 +00:00
DarkWyrm 2e44d8ba2d Classify large messages as being bigger than 100Kb (which is large for dial-up users) and simplify by removing the file size specifier
Improved font sensitivity


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 22:38:34 +00:00
Jérôme Duval e20b9d2cf1 added missing asin asinf functions for ppc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 21:06:18 +00:00
Jérôme Duval 84aa7549bd this seems to fail on ppc
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 20:00:19 +00:00
Jérôme Duval 95ec019bec don't publish Mesa renderer on PPC
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 19:58:50 +00:00
Axel Dörfler 8c237a3858 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 17:09:05 +00:00
Axel Dörfler 8d5a60482c Ported the telnet command from FreeBSD - compiles, but might not yet work; it's
completely untested at this point.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 16:28:15 +00:00
Axel Dörfler 8f813eeb9d More tweaks to the libbsd.so compatibility library:
* added sigsetmask(), and sigblock()
* added ALIGN(), ALIGNBYTES, and howmany() macros


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 16:26:43 +00:00
Axel Dörfler caddb025c9 Added sys/un.h header file - AF_UNIX is still unsupported, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-13 16:12:17 +00:00
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