Commit Graph

18640 Commits

Author SHA1 Message Date
DarkWyrm e1a23ec095 Initial checkin of haikus taken from BeDoper contest
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 01:44:30 +00:00
Axel Dörfler 1130b709ac Tracker now uses the name of the symlink for add-ons, instead of resolving it first.
This fixes bug #602.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 23:04:20 +00:00
DarkWyrm 3bf2d61a46 Adding reworked fortunes from the Fortuna fortune pack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 22:22:29 +00:00
DarkWyrm ba499cdc33 Removing fortunes file to be replaced by a folder of fortune files in a forthcoming commit - matches R5 folder hierarchy this way
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 22:20:40 +00:00
DarkWyrm 2d14dc1d67 Style fix, courtesy of Ingo (man, yesterday was bad!)
GCC4 compilation fix, thanks to Frederik Ekdahl


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 22:16:09 +00:00
Axel Dörfler 7acd0ef0b0 Now makes sure that the other sliders are updated on keyboard input as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 15:36:22 +00:00
Axel Dörfler 23dac09ac1 * fEnabled is now maintained correctly, so that a screen blanker is now also quit
by _Banish() (never happened before).
* Instead of sending a new message for every mouse move in a corner, we now keep
  one BMessageRunner around and only update its interval; we now also check the
  time with no events in CheckCornerInvoke() - this both makes sure that the screen
  is not blanked while there is still user activity.
* The screen saver never worked if you didn't set the never-blank corner to something.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 15:29:52 +00:00
Axel Dörfler 8b11e3b15d * Changing any of the sliders will now cause the settings to be saved.
* The TimeSlider now sends an update message for ongoing changes, and an
  invokation message when the mouse button was released (standard BSlider
  behaviour).
* Fixed incorrect initial string when the screen saver should start after
  30 seconds of inactivity.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 14:27:05 +00:00
Axel Dörfler fb29f5b0fb Changes to let updates happen less frequently:
* _ContrainPoint() was broken as it could never change the point it was supposed
  to contrain.
* MouseDown() no longer sends a notification message automatically (only if it
  changed something)
* MouseMoved() and synchronous MouseDown() will now only send modification messages
  if something actually changed (not for every mouse update).
* After key presses, the invokation message is only sent when the value changed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 14:25:13 +00:00
Axel Dörfler efe7244436 Added a comment that should make clear my last accidental commit doesn't fix anything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 12:32:44 +00:00
Axel Dörfler c6f9f65dff At least temporary fix for the Deskbar not updating additional items (unless you resize it).
The problem was that the view's screen clipping was not updated if its frame did not change
because of a resized parent - but that might be needed if the new parent frame reveals a new
portion of that view.
I added a TODO so that if there is a way to test for this case, we only need to invalidate
the clipping if really needed. For now, we always do it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 12:28:31 +00:00
Stefano Ceccherini 25df172b72 Implemented auto horizontal scrolling (by fixed steps for now), moved
auto scrolling to its own method, introduced a new private 
StyledWidthUTF8Safe method.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 10:44:29 +00:00
Axel Dörfler 3a4269fb0e Removed ACPI module for the time being - it doesn't give us anything yet, and seems
to make lots of problems (like spawning threads from an interrupt handler...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 09:47:08 +00:00
Stefano Ceccherini 23fb6e0efe - Fixed wrong redrawing of the caret in some particular circumstancies
(most notably when you clicked the first time on the textview, the caret 
would be left "drawn" on the old position.
- Implemented vertical auto scrolling (horizontal auto scrolling is 
still missing). Note that the view jumps when there is nothing to 
scroll, might be a bug in BView::ScrollBy() ?
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-04 09:40:54 +00:00
DarkWyrm 8eb93fe5e3 Style fixes. I'm pretty sure I got everything, too. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 21:57:42 +00:00
Marcus Overhagen dceaa55687 updated comment to account for PXE memory ranges
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 20:39:33 +00:00
Axel Dörfler 6b97dd4e51 Looks like DrawingEngine::ContrainClippingRegion() no longer copies the region
passed in, but references it. This broke drawing the workspaces window background.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 16:36:04 +00:00
Stefano Ceccherini 83c6772dc8 extended a comment and added a new one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 07:43:14 +00:00
Stefano Ceccherini ae9aed772e in case of error, set buttons to 0, for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 07:35:31 +00:00
Stefano Ceccherini 52924c5ef9 Removed different menu separators
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 07:04:01 +00:00
DarkWyrm dc887e5ed2 Whoops! Forgot to add these files to the repo in the r19681. Thanks for pointing this out, Marcus!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-03 02:38:05 +00:00
DarkWyrm cb8f258f72 Close the spam server on quit -- this remedies the problem of a zombie spam server after training it on a message
Fixed a label in an alert, too


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 22:21:59 +00:00
DarkWyrm 870cb85fd0 Added both power and ease-of-use to the Match Header addon. A regular case-sensitive string search is done unless REGEX: appears at the beginning, in which case a full-blown regular expression search is done
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 21:53:44 +00:00
DarkWyrm 65c416ee25 Added a couple chapters and some revisions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 21:12:01 +00:00
DarkWyrm 2e26008ea2 Removed an ugly hack - using a BTextView for a BTextControl
Fixed font sensitivity
Removed the now-unsused DialogTextView class
Escape key now closes the window (for free, from AutoTextControl class)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 21:10:22 +00:00
DarkWyrm 5fb9e9cec7 Automatically select the main item for a newly-created account
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 20:16:21 +00:00
DarkWyrm 22abf79105 Tweaked a couple of menu labels to make more sense under Haiiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 19:48:43 +00:00
DarkWyrm 43ba5b65dc A couple of capitalization fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 19:01:00 +00:00
DarkWyrm 09ffe40f08 Remove stray carriage returns.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 17:50:45 +00:00
Stefano Ceccherini 13b0cc8c5d now returns 1 in case of error, not -1, as Korli asked.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 07:03:11 +00:00
Axel Dörfler 8959497d14 * Since we don't have a terminfo database installed, we need to enable termcap
support. "ftp" will now accept the terminal type beterm, even though our
  /etc/termcap file causes ncurses to print some warnings.
* Unlike BeOS, we do have stdbool.h, so we should use it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 01:43:11 +00:00
Axel Dörfler 769cb28ffb We already link against libncurses.a - no need for libtermcap.a as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 01:39:18 +00:00
Axel Dörfler e460ec053f Added support for IP_TOS and IP_TTL options.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-02 00:16:32 +00:00
Axel Dörfler af3a31f770 Calmed down the networking stack a lot - since it basically works, there is no
reason to slow it down with debug output that much; this will also help investigating
some issues where you just aren't interested in most of the output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 22:10:43 +00:00
Axel Dörfler 10f5cebea3 Added temporary possibility to dump a net_buffer via the buffer module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 19:09:57 +00:00
Niels Sascha Reedijk 5b506de747 Remove strange character... Apparently I left some junk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 18:47:23 +00:00
Niels Sascha Reedijk da738868ba Fixed a bug where BString::FindLast(char,int32) might be fed an offset that was beyond the Length of the string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 18:44:06 +00:00
Niels Sascha Reedijk 1ea1a6b46e Remove all the user API comments. There are still some superfluous comments (the name of every function before every function), but the person that coded this class should decide which are superfluous and which aren't.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 18:40:51 +00:00
Axel Dörfler b35c5f9481 No longer deny starting in safe mode - the Bootscript is supposed to do that already.
This way, we can still bring up the net in safe mode manually.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 18:09:20 +00:00
Axel Dörfler 806dfb98ff * Connect() now sets the initial send queue sequence before calling _SendQueued()
so that it's already correct at this point (even though it's currently not
  possible to queue data before connecting, it might be in some point in the future).
* ListenReceive() did not initialize the initial send queue sequence of the new
  endpoint correctly; it took the values from the wrong endpoint (itself).
* Suppressed the debug output "FIN ack'd" when the connection was not even established
  yet.
* Minor debug output improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 16:25:19 +00:00
Axel Dörfler c304c8ee1a Added some more (optional) debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-01 16:18:35 +00:00
Axel Dörfler 16aceec16e Put the new server into its own session.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 16:33:21 +00:00
Axel Dörfler c30e35eb9b Actually launching services should work now:
* ServiceSocketMap now maps directly to service_address objects which now have
  gotten a pointer to their owner.
* now uses listen(), and accept() for SOCK_STREAM sockets
* fMinSocket could be wrong.
* use FD_CLOEXEC on all sockets, and the communication pipe.
* removed unused service::type and service::protocol.
* if no family is specified, we now default to AF_INET.
* uses fork()/exec() to actually spawn the servers to not clobber the net_server's
  input/output streams.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 16:21:19 +00:00
Axel Dörfler 4684dfec2d socket_connected() now notifies waiting selects().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 15:45:10 +00:00
Axel Dörfler 8652d8f33a * return_address() now accepts a NULL address pointer without returning an error.
* NET_STACK_GET_COOKIE copied the wrong data, always returned the socket instead of
  the cookie (which is NULL at this point, anyway). Note that this mechanism is only
  temporary anyway, as it's highly unsafe.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 15:42:19 +00:00
Axel Dörfler e19a0bfa1b Could not connect locally anymore, as fSendNext and fSendMax must be set before
the segment is sent in this case (as receive/send will currently stack up in a
single thread).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 14:27:12 +00:00
Axel Dörfler 22e7921700 Build fix after the latest changes in net_socket.h (moving certain parts into a
private struct).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 12:15:04 +00:00
Axel Dörfler 6d23dfa6c0 Build fix for non-Haiku targets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-31 12:14:25 +00:00
Ryan Leavengood db9fbf8e9d Changed the new menu item's text to be more user friendly, thanks to DarkWyrm.
Added a Japanese translation for this item, thanks to Koki.
Now the old queries are deleted before adding new ones, thanks to AGMS.

Though the last item was not actually a memory leak (the destructor would
eventually get all the added queries), this would cause weird behavior which I
did notice (multiple queries existed which all sent the same notifications.)
Either way, good catch AGMS :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-30 17:50:48 +00:00
Ryan Leavengood 1f2e7f93df I was sick of the mail_daemon deskbar replicant always showing the wrong count
of new messages so I added a new menu item to refresh the new mail query. I
wrapped the addition of the menu item in an #ifdef since it should not be
needed on Haiku.

While testing this I saw some pretty crazy behavior which I can only assume
means the R5 query notification is really, really buggy. Or the mail_daemon is
doing something weird.

Unlike the others this menu item does not have a Japanese translation and
probably doesn't need one, but if someone really wants to add it feel free :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-30 03:24:41 +00:00