Commit Graph

16337 Commits

Author SHA1 Message Date
Axel Dörfler
625f8abdb0 * The networking stack now removes all invalid interfaces during startup (those
where there is either no address or MAC address [ethernet only]).
* _ConfigureInterfaces() now notices if a network device that has a configuration
  is gone and memorizes this configuration.
* If a new device pops up, and there is an existing configuration for a device
  no longer available, that configuration will be used for the new device, allowing
  you to easily move your Haiku image to a new system without losing its network
  settings - it does not yet test if the IP address is already in use in the local
  network, though (in which case a configuration using DHCP would be preferrable).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 16:04:16 +00:00
Axel Dörfler
de8a7c2680 * Introduced a reader_thread member to the private net_device_interface.
* When shutting down an interface, we now wait until its reader thread is gone, too;
  this is necessary in case the kernel unloads the networking stack before the reader
  thread had a chance to exit.
* Added some debug output to net_socket in case you ask for unknown options.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 15:41:56 +00:00
Axel Dörfler
3e161fb661 * Instead of its home-brewn solution, mmu_init() now uses the functions declared
in addr_range.h to add ranges to the arrays. This fixes the crashing bug reported
  by Larry Baydak.
* Added some more exported functions to kernel_args.cpp (prototypes are in addr_range.h).
* TODO: let the PPC/OpenFirmware implementation use those as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 12:14:06 +00:00
Michael Lotz
9c8cdfd89e * Reworked transfer queuing so that each transfer is grouped with it's own queue head
* Fixed max packet size under bandwidth reclamation
* Increased the thread priority of the finisher thread so that USB input devices should be more responsible under load
* Added a comment to clarify the queue concept

The queue management should now be less complex and less error prone.
The max packet size is now set to 64 bytes which is the maximum size allowed. Transfers that caused babble errors before should now work.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-08 03:16:29 +00:00
Axel Dörfler
4dbea1ffa8 Added another PHY provided by Bernd - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 18:45:52 +00:00
Bruno G. Albuquerque
4104cd261d Ops...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:12:39 +00:00
Bruno G. Albuquerque
3fbb09f87f - Cleaned up soeveral Copyright strings.
- Shuffled the resource app_flags entry as it somehow fixed corrupt version/description;icons for several files here. It seems this entry must be the last one before the icons.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-07 16:03:13 +00:00
DarkWyrm
08cf72ce97 Initial checkin of a resource editor similar in style to QuickRes -- Resourcer's code is too difficult to maintain and the others on BeBits are either not good or the author could not be contacted.
This is currently a work-in-progress - right now it can only view resources and attributes.
Haiku target builds but R5 is broken because of a linking issue that will hopefully be resolved shortly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 21:18:16 +00:00
Michael Lotz
a8be7d1ea3 * Added some more debug output to the hub code
* Report and clear yet unhandled port changes in hubs
* Fixed the way devices that vanish on port reset are handled
* Added a status field to the memory allocator and check it creating it

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:10:15 +00:00
Axel Dörfler
43cca04a9a Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:06:38 +00:00
Michael Lotz
955dc88f0c * Fixed spinlock usage in EHCI and UHCI drivers
* Fixed UHCI to allow for empty transfer buffers
* Extended the check for still linked transfer descriptors when removing a chain

There remain UHCI bugs that will cause transfers outgoing transfers to fail. I'll have to review / rewrite the UHCI driver.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 18:05:05 +00:00
Marcus Overhagen
41f9e82cd1 Forgot to save that before compiling, but now it does...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:43:24 +00:00
Marcus Overhagen
ee6c8dde21 For interupt handling in PIO mode, use the "Task File Configuration + Status" interrupt status bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:23:39 +00:00
Marcus Overhagen
1c23ca6f79 avoid eating interrupts (still this code is slightly insane)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:21:30 +00:00
Axel Dörfler
ccf137b886 BWindow::IsFront() was implemented incorrectly - we actually need to query the
app_server for this; added a new AS_IS_FRONT_WINDOW command for this.
For example, clicking on the menu bar to bring windows to front in FFM mode
does work now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 17:08:19 +00:00
Axel Dörfler
f0d2e76081 * Fixed missing "not" operator in all those flags changing lines; turning off the
screen is now working as expected.
* Only remove DPMS runners when the time is actually supported (previous code would
  not have always worked correctly in case the graphics card would not support all
  DPMS modes).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 15:50:26 +00:00
Marcus Overhagen
aa86f3868f Cleanup naming of PXE stage2. It no longer interferes with zbeos build process.
You can build it using:

TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku-loader

Building the PXE stage1 using:

TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku

is still broken. however, it can be build using:

cd src/system/boot/platform/pxe_ia32/
as -o pxe_stage1.o pxe_stage1.S
ld --oformat binary --Ttext 0x7C00 -o pxe_stage1.bin pxe_stage1.o
cp pxe_stage1.bin /tftpboot/pxehaiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:46:41 +00:00
Axel Dörfler
167c61fce4 Turns out drawing text using the outline path always results in an endless loop.
Since I have no clue about AGG at this point, I just disabled rendering the glyphs;
instead, their bounding boxes will be shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:26:46 +00:00
DarkWyrm
98969dd0a4 Added app restart capabilities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 13:20:01 +00:00
Axel Dörfler
ddcd53aaf0 * Instead of choosing the next thread if we skip one, we now choose the first thread
with a lower priority than the current one.
* Further reduced the probability to skip a thread to roughly 4%, that makes around
  13 skips per second, and about 40 msecs spend in lower priority threads per second
  (with a 3 msec quantum). Might still be too much, but we'll see.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 12:50:01 +00:00
Axel Dörfler
97ad772ada * Moved PXE page directory and page tables below the 1 MB limit.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 11:51:21 +00:00
Marcus Overhagen
6c3245f6a7 fixed error return in _Scan() function. now only returns B_OK when a device was found.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-06 01:04:09 +00:00
Axel Dörfler
2a3ed81cf6 Our copyright string now says 2007 - I also updated it so that we don't have to
do this every year, just in case ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 20:27:20 +00:00
Axel Dörfler
9640130c40 Removed the R5 icon from the kernel resources - it can only be compiled for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 20:16:48 +00:00
Axel Dörfler
9310654a00 You must not delete a running looper - you have to quit it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:54:35 +00:00
Axel Dörfler
2ca64e4886 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:53:45 +00:00
Axel Dörfler
92870c3b39 We always handled signals as if their SA_RESTART flag was set - but that's not
the default case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:27:48 +00:00
Axel Dörfler
4621a82e74 Our scheduler skipped over threads in about 30% of all cases - that's a bit much; it's
not a penalty to be the first thread in the run queue...
I've reduced it to about 12.5%, but that might still be too much.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 19:01:09 +00:00
Stefano Ceccherini
27e7210df2 Since Waldemar changes to menus, replicants menus didn't work
anymore. That problem showed up for example during my haiku 
presentation at Begeistert, where I couldn't delete replicants from 
the desktop... grrrr!!! :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 10:03:33 +00:00
Stefano Ceccherini
436bc5cc51 Menuwindow was 10 pixels away from the screen bottom when scrolling was
enabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-01-05 08:23:09 +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
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
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
Axel Dörfler
7f77e4bd76 Applied patch by Vasilis Kaoutsis:
* removed directive #include <cstdlib>
  removed directive #include <cassert>
  Removed also the use of assert()
  as BAlert::Go() returns always 0, or 1, or 2.
  renamed cstring to string.h
  and cstdio to stdio.h since
  our coding style prefers C-style headers.
* Merged the two classes to AlertApplication since
  i see no reason to have them both.
* removed some getter functions and used the
  private data members instead, since this doesn't
  break the "hide the implementation details rule" (i think).
* Modified Signature application from
  "application/x-vnd.OBOS.cmd-alert" to
  "application/x-vnd.Haiku.cmd-alert"
* Make some defines const char* and int32
  according to the corresponding types.
* Changed AlertApplication::SetChoice(const int32 but)
  to AlertApplication::SetChoice(int32 buttonIndex).
* The usual coding style clean-up (tabs, spaces, etc).
* Added documentation for more readable code here and there;
  and doxygen style documentation for two functions:
  AlertApplication::ArgvReceived(int32 argc, char** argv)
  and AlertApplication::ReadyToRun()
* Add myself to the authors' list, since that makes good
  to my psycology, and makes me more productive!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-29 11:29:00 +00:00
Stefano Ceccherini
f5e5e36026 forgot to fix this small style issue
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-29 07:09:16 +00:00
Stefano Ceccherini
c733893846 Greatly improved scrolling, and simplified the code too. Now scrolling
is done from inside the BMenu::_track() function, and not inside Pulse() 
anymore. Patch by Lucasz Zemczak


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-29 07:01:08 +00:00
Stefano Ceccherini
191732a41c another small style patch by Vasilis Kaoutsis
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-29 06:47:12 +00:00
Niels Sascha Reedijk
335c6a0b55 Change line-endings back to UNIX format.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 23:28:29 +00:00
Axel Dörfler
ef33454cfd * Reverted my change to AddFileDataResource - I obviously missed someone's intentions :-)
* Added a comment about the proper use of the data-file argument.
* Applied Ingo's suggestion to the Jamfile, and it worked out of the box.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 21:28:17 +00:00
Michael Pfeiffer
3963402ca5 Fixed selection handling bug if zoom level is not 1.0. Zoom factor has to be calculated in Setup() otherwise the selection rectangle uses the wrong zoom level.
Bug was introduced in revision 19253. 
@Ryan: Can you please verify that this fix does not introduce another bug?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 18:49:01 +00:00
Waldemar Kornewald
33e53d3a8f Fixed incorrect address family (AF_INET => AF_UNSPEC).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 14:33:47 +00:00
Axel Dörfler
b5a8a89b5d * Removed the debugger() call when the input_server couldn't be started - it's not
a critical error, and definitely no reason to take the server and all GUI apps
  down. You could also still log in remotely.
* Now opens and uses the syslog in some rare cases (should become the primary error
  channel over time).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 14:11:08 +00:00
Axel Dörfler
c42ca72638 Work-in-progress on the "services" implementation: it now reads the configuration
message, parses it, and stops/starts the services as needed - it doesn't launch
any actual servers yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 13:58:58 +00:00
Axel Dörfler
c8c228ca64 * Renamed lcl_sv.c to lcl_sv.cpp (local services) to be able to use the
C++ API functions.
* Made some internal headers C++ safe.
* Cleaned up lcl_sv.cpp to only contain what's actually used (in particular,
  the IRS_LCL_SV_DB stuff is gone).
* Wrote a basic "services" file and put it into libnetwork.so's resources.
* Updated lcl_sv.cpp to look into the resources if /etc/services doesn't exist.
* Removed the "quasipublic" status of irs_lclsv_fnxt() and made it private.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-28 13:54:04 +00:00
Niels Sascha Reedijk
b57dc167f4 Updated the skeleton of some more classes.
Started documenting BStopWatch to test some things. This is probably not the final documentation of that class.

I stopped the tedious work of manually converting every Windows line-endings into UNIX line-ends. If this does cause problems for anyone, let me know and I'll do it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-27 17:44:03 +00:00
Marcus Overhagen
cdaaee9dba haiku-image build fix for TARGET_BOOT_PLATFORM=pxe_ia32
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 20:29:26 +00:00
Marcus Overhagen
ec9d1637b5 fixed copy & paste bugs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 20:15:27 +00:00
Marcus Overhagen
db5b50665b Fixed gcc4 "error: cast from 'foobar *' to 'uint16' loses precision" problem by doubly casting.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:57:21 +00:00
Marcus Overhagen
203cf32414 Disabled debug output, but show errors with dprintf.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:30:33 +00:00
Marcus Overhagen
99784f5666 reduce debug output and add an additional test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:21:31 +00:00
Marcus Overhagen
6d92b426ae Use only the immediate buffer to send data.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:18:30 +00:00
Marcus Overhagen
c4a05ef079 Determine client IP address and make it known to the ethernet interface.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:17:28 +00:00
Marcus Overhagen
6378dd7cf4 Fixed endian errors in UDP source and destination port handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 19:12:35 +00:00
Jérôme Duval
dde7916d62 gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 18:06:46 +00:00
Marcus Overhagen
569f4174e1 Fixed setting of the "don't fragment" bit, it was placed into the wrong byte.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 18:00:27 +00:00
Marcus Overhagen
03c2b46cdf fix build when TRACE is enabled
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 17:50:34 +00:00
Marcus Overhagen
c828668959 Return -1 when no data is available in receive hook, and 0 to indicate a retry, to make the net stack happy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 16:23:37 +00:00
Marcus Overhagen
57a88e1c79 Implemented UNDI ethernet interface, receiving frames already appears to work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 16:00:35 +00:00
Michael Lotz
4ad4c6c1b8 ConvertBits() now checks the out of range case before reading/writing the buffers. Previously it was possible to read/write one line after the buffers end because the values were not checked after line advancement. This fixes the crashing bug #850. It however reveals another bug that brings the app_server into an endless loop when using the TextFader screensaver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-26 13:22:25 +00:00
Michael Lotz
3379428150 * Made UTF8 functions overflow safe
* Unified UTF8CountChars and UTF8ToLength and removed the latter
* Rewrote UTF8CountBytes to use the more safe algorithm from UTF8CountChars
* Removed the unsafe count_utf8_bytes() function

This should fix bug #839. Marcus can you please review?

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 21:58:00 +00:00
Marcus Overhagen
5fd605e278 prettify formatting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 03:05:00 +00:00
Marcus Overhagen
8456183dfd implemented the first pxe bios call
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 02:48:50 +00:00
Marcus Overhagen
578e3c2607 fixed the bugs, calling the pxe bios now works
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 02:48:08 +00:00
Marcus Overhagen
f7110a4231 first attempt to call the pxe bios, still untested
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-25 00:47:41 +00:00
Marcus Overhagen
84a31142ed Added some code to call real mode pxe bios functions, based on Axel's bios_ia32/bios.S
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:21:17 +00:00
Marcus Overhagen
0ecd75e986 Made the idt_descriptor symbol global to share it with pxe_ia32.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:18:52 +00:00
Marcus Overhagen
fd992230f6 Fixed pxe zbeos build, got broken by recent edid changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-24 01:02:24 +00:00
Ryan Leavengood
6869c8a59a The app_server now starts and restarts (if needed) the input_server. The use of
a debugger call in _LaunchInputServer may be overkill, but at least you could
conceivably cleanly restart the machine in the debugger (I think.) Because
without the input_server the machine is pretty useless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-23 22:59:06 +00:00
Niels Sascha Reedijk
0e91b5924a Last commit before Christmas.
Added skeleton of Archivable and Flattenable. Updated howo on how to handle static functions and pure virtuals.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-23 21:12:43 +00:00
Niels Sascha Reedijk
c67edfe303 Some more haiku book additions.
Autolock, BlockCache and Locker are completely 'converted' into docbook. String is partial.

Added the beginnings of a 'Haiku Book Howto'. Made changes to the Jamfile, but I'm on windows so I'm unable to test whether or not it works. 

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-23 18:39:25 +00:00
Ryan Leavengood
87719fdb8f Added a needed header for the recent ioctl() call addition. Lack of this caused
the libbe_test environment build to fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 22:44:07 +00:00
Axel Dörfler
fc398fa2ab * Added "services" to the network settings, and refactored the settings class a bit
to be easier extendable with more classes.
* Fixed a bug in the settings that caused updated settings to be appended to the
  existing ones (missing BMessage::MakeEmpty()).
* Started services system, doesn't do anything useful yet (inetd replacement).
* Fixed the bug that caused the loopback default netmask to be incorrectly chosen;
  removed the temporary fix Bruno introduced before. The same bug has been in
  ifconfig where I copied the code from (but wrote it there, too) :-).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 20:53:08 +00:00
DarkWyrm
d2980e876d Removed the testing-only restart messages -- daemon now silently relaunches servers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 19:07:37 +00:00
Bruno G. Albuquerque
eaeb7fd4f5 The loopbacl interface has a fixed netmask.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 15:30:37 +00:00
Axel Dörfler
206df9cd04 Removed choice of separator style - there is only one to rule them all, now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:17:16 +00:00
Axel Dörfler
5a93dff747 Made ColorWindow font sensitive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:15:05 +00:00
Axel Dörfler
ce0998ad77 * Fixed many style issues, patch by Vasilis Kaoutsis
* Fixed some more style issues, removed unneeded class member variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 11:05:17 +00:00
Stefano Ceccherini
dace9db1ef Patch by Andrea Anzani for some visual glitches:
- separation lines weren't drawn correctly if the CLV was scrolled horizontally.
- in some cases, when unhilighting an item, the item itself werent' 
drawn correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 08:47:49 +00:00
Stefano Ceccherini
f3011ac047 applied style patch by Vasilis Kaoutsis
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 08:19:00 +00:00
Stefano Ceccherini
422f8ec3ee applied style patch by Vasilis Kaoutsis
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 08:17:16 +00:00
Stefano Ceccherini
6e194a72e7 only lock after checking the other conditions. Also changed iteration
to remove menu items with a single RemoveItems() call. Axel, I hope you 
don't mind.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-22 07:34:05 +00:00
DarkWyrm
9710088cc3 Increased timeout to 2 seconds before firing the alert - 1 second wasn't long enough to get through shutdown without complaining about the Deskbar
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 23:24:52 +00:00
DarkWyrm
ce7fd13b0d Initial checkin. Works fine for me so far, but YMMV. Bug reports appreciated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 21:12:58 +00:00
DarkWyrm
e23b0decad Some label tweaks and grammar fixes
More Alt+W modal window shortcuts
Made a couple of OK buttons the default button
Added a few ellipses to some buttons which open windows


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 16:23:19 +00:00
DarkWyrm
5cb03f9fb9 Fixed some copyright year entries I accidentally mangled in the header updates. Thanks korli!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:58:51 +00:00
DarkWyrm
4580005679 More alerts which are a bit more standard and family-friendly. :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:43:12 +00:00
DarkWyrm
314167cd80 Header updates
Tweaked a couple BAlerts to be a bit more standardized


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:18:09 +00:00
DarkWyrm
a722aa3c66 Font sensitivity fixes to several places
Fixed Ink Density slider -- Minimum value should be on the left
Added the Alt+W shortcut to the Job setup dialog because R5 modal windows won't do this
Made some labels less technical

This window really needs some general layout work to fix font sensitivity issues, but this should be livable for the moment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 15:01:22 +00:00
Stefano Ceccherini
f0f8601b3f small cleanups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:35:13 +00:00
Stefano Ceccherini
59f9192c3b added nothrow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:34:58 +00:00
Stefano Ceccherini
9f0ebbfcda Call Window()->Show() in DetachedFromWindow() only if we were dragging, thus correctly mirroring what done in AttachedToWindow(). This caused the empty menu window in deskbar (trac is down, can't remember the right bug number), but I don't know why it happened only in haiku. Maybe in beos the looper->Lock() call never succeeded, due to slightly different locking strategy ? Axel, could you review this change ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:32:22 +00:00
Axel Dörfler
d2de13bdd4 The boot loader (BIOS IA32 only) now chooses the default video mode by looking at the
EDID info from the monitor if available through VESA/DDC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:20:17 +00:00
DarkWyrm
bdb64116e9 Accidentally removed large icon with last patch. Fixed. <Puts on trout-proof suit> :^)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 14:12:50 +00:00
DarkWyrm
16785e2a19 Unmangled lines clobbered by the resource compiler (I think I got everything)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:39:36 +00:00
DarkWyrm
db5fdafdc7 Added some config buttons that both look better and also look clickable (like buttons should)
Updated the layout code to be font sensitive


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 13:04:05 +00:00
Axel Dörfler
9a4b4c617b * Fixed warning.
* Now using the new %f flag to print the level of support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 12:12:50 +00:00
Axel Dörfler
dedf1bccfe Since we're using floating point values at several places in the kernel, I added
a very simplistic floating point output routine to snprintf() and friends, for
your convenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-21 12:05:16 +00:00
Axel Dörfler
d6edf65b05 Fixed error checks for EDID retrieval.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 22:49:53 +00:00
Axel Dörfler
f1994d8b4c Fixed a warning I probably just introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:48:30 +00:00
Axel Dörfler
5d7d960fac Added EDID version 1 retrieval from VESA; doesn't do anything yet besides dumping the
info to the serial line - not tested yet (as Qemu doesn't support DDC/EDID).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:44:03 +00:00
Axel Dörfler
3277df6e04 * Now always uses dprintf() instead of the SHOW_INFO() macro - you should only call
it in your code when you actually want to have debug output, anyway.
* No longer include ddc_int.h when compiled for the kernel or boot loader.
* Cleanup: coding style, and removed the "buffer" variable - floating point values
  can be shown in userland either way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:39:11 +00:00
Ryan Leavengood
1974232147 Changed the delay on hiding the cursor in fullscreen to 2 seconds (much
better...not sure what I was thinking with 5 seconds before.) I also fixed a
few other issues related to this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:30:56 +00:00
DarkWyrm
6c3f8a1f11 Removed some disabled code
Re-enabled the toolbar popups until I can get a chance to implement split toolbar buttons. This one's for you, Axel. :^)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:28:36 +00:00
Axel Dörfler
047165ce77 * Fixed a warning.
* Removed unused include.
* Minor cleanup to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:10:25 +00:00
DarkWyrm
5618c4e835 Removed another SSL-related timeout crash
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 21:09:28 +00:00
DarkWyrm
175f68c589 Style fixes to last patch. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 16:54:25 +00:00
DarkWyrm
021a6aa77e small patch to add the card name to the description in the Info tab (hope you don't mind, korli :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 16:19:18 +00:00
Axel Dörfler
b5428267c7 This should fix the most often found kernel crash (on bootup):
* vm_soft_fault() did not take into account that a cache's source can change while
  traversing a cache chain.
* Now, we grab a reference to every cache we get before locking it, and
* no longer get the cache's source without having the cache locked.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 12:34:21 +00:00
Axel Dörfler
eb445177f9 * When a vm_cache is merged with another one, we now remove the consumer; that allows
for an extra check in vm_cache_release_ref() as the cache shouldn't have any areas
  or consumers at this point.
* Fixed a locking problem in vm_cache_remove_consumer(): the cache was acquired after
  its lock was gone, so someone else might have released in the mean time.
* if the cache's source is to be replaced, we now no longer release its lock after
  having merged it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 12:30:07 +00:00
Ryan Leavengood
6346c8941c Implemented Stephan's previous TODO (in an svn commit message) to hide the
cursor after a delay when in fullscreen mode. I set the delay to 5 seconds. In
addition I make sure the ShowImage window is the active window before trying to
hide the cursor, because otherwise there is a lot of cursor flickering if you
change workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-20 01:08:55 +00:00
Axel Dörfler
7da584bb64 * Looks like setting the first 16 palette entries is not enough.
* Tested a bit more, and there seems to be some minor drawing problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 23:01:58 +00:00
Axel Dörfler
0c6f77951e * Moved VGA planar mode blitting into the VESA kernel driver.
* In grayscale mode, the AccelerantHWInterface now sets the palette correctly.
* HWInterface now has a fVGADevice set by AccelerantHWInterface which will be used
  to talk to the VESA driver.
* Completed planar blitting for all 4 planes; we now have a perfect 16 color
  grayscale mode when you choose "Standard VGA mode" in the boot loader with
  an unsupported graphics card (such as in Qemu).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:57:56 +00:00
Marcus Overhagen
30b0fe7561 This fixes bug #951
It's not required to enable the AUX ports after enabling active multiplexing, because the default according
to specification is already enabled. In fact, Sony VGN-FS115M laptop even has a bug when processing the enable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 22:19:55 +00:00
Axel Dörfler
c46eb09e8f * The 4-bit VGA planar mode is now advertized as B_GRAY8 to the app_server.
* The app_server now detects that this mode is being used, and at least correctly copies
  the 32bit data to the first plane, meaning we have a monochrome output for now
  (it crashed before, as Stefano reported).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 18:45:40 +00:00
Ryan Leavengood
6504001302 Added support to ShowImage for sending an image to the Trash by scripting
Tracker. For now it only works when the delete key is pressed. I suppose a menu
item might be useful, but I can do that later if people really want it :)

When the image is trashed the next image in the directory is opened. If the
trashed image is the last in the directory the window is closed.

The code seems pretty solid as I even tested it with Tracker not running. It
also works fine in R5 (in fact that is where I tested it.)

As shown I would prefer to use the Tracker headers rather than redefining the
constant used for the trashing message. I'm already using Tracker's app MIME
type from the private headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 08:01:30 +00:00
Travis Geiselbrecht
02c92f8256 change the 'iospace' debug to use a more reasonable number of columns
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 03:27:50 +00:00
Axel Dörfler
79608a2de7 * Moved some private members of net_socket into the new net_socket_private structure.
* Added an "owner" field that stores the team which created the socket (for netstat only);
  we would need a different storage for SIGURG if we ever want to support that.
* Improved netstat address output: now prints "*" instead of INADDR_ANY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 03:01:18 +00:00
Axel Dörfler
8dfd7ea7bf * Implemented a basic infrastructure for a netstat command.
* Started a netstat command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 02:06:07 +00:00
DarkWyrm
6f9f14ec88 No more Program menu until R2... grumble, grumble
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-19 00:18:14 +00:00
DarkWyrm
a50c8842ae Accidentally introduced a bug for non-SSL POP accounts, which this fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 23:24:47 +00:00
DarkWyrm
6c05781006 This *should* squish the SSL bug which would crash the mail daemon on connection timeouts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 20:14:08 +00:00
Axel Dörfler
cf6b262822 Ported tcpdump 3.9.5, and libpcap 0.9.5 to Haiku to test our link level packet
monitor. Their build system and file hierarchy is pretty poor (as well as the
internals of libpcap), but the app itself seems to work well :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19556 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:22:32 +00:00
Axel Dörfler
c0d50aaedb Fixed several problems:
* sockaddr_storage::ss_len is max 255, but the structure itself is shorter; we must
  not copy ss_len bytes without checking the length first (duplicate & clone were affected).
* count_iovecs() & get_iovecs() both did not work with empty buffers that don't
  have any nodes at all (unlikely case, but should be supported).
* the net_buffer::offset union field was not copied in clone & duplicate.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:13:59 +00:00
Axel Dörfler
85895023b3 We also need to put the outgoing packets into the device monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 19:09:09 +00:00
Axel Dörfler
6b507ddd46 Made set[e]gid() and set[e]uid() succeed in case they don't have anything to do.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 18:00:21 +00:00
Axel Dörfler
da758f9fce * team::args is now correctly filled in.
* the member will now also be shown when dumping a team.
* minor cleanup: moved fill_team_info() into the private functions part of the file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 12:56:27 +00:00
Axel Dörfler
ea228a84f4 Calmed down the VESA accelerant a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 12:39:38 +00:00
Travis Geiselbrecht
c4546ea038 A fix for the double-fault on bootup:
-Turns out the area removal routine had a massive race condition inside
vm_put_area(). Basically the area was removed from the address space's
area list before the pages were unmapped, so the vm could (and would)
recycle the space before the pages were finally unmapped.

It was completely reproducable on my machine during initialization of a bunch
of storage drivers that were bringing the locked_pool module into and out of
existence, which caused a thread to be spawned and stopped in rapid sucession.
On a dual processor machine, it was possible for the new thread to be started
up while the old one was still shutting down, and the kernel stack of the new
one would get wiped out.

Note, there still is a page ref counting problem with this area removal code.
It doesn't decrement the ref count of the page as it unmaps it. Will have to 
figure that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 09:38:00 +00:00
Travis Geiselbrecht
9bc7a58b1d Fixes a nit:
put a spinlock around the serial debug routines to keep multiple
cpus from interleaving their output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 07:23:39 +00:00
Stephan Aßmus
10f6ed940b * implemented "false bold" for text rendering. It is a new property
of BFont. You can BFont::SetFalseBoldWidth(float) a width on a
  BFont object, and it will cause the glyph shapes to be run through
  an AGG "contour converter" so that they become thicker or thinner.
  IIRC, this is commonly referred to as "false bold". The "width" value
  is the distance in pixels that the new glyph outline will be offset
  from the original outline.

It would be nice if someone could look at my change to View.h with
regards to the B_FONT_ALL flag.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 05:22:13 +00:00
Travis Geiselbrecht
c3a89b90d3 fix the 'cache_ref' and 'cache' kdl commands
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-18 04:29:39 +00:00
Jérôme Duval
6d1fea3553 added a workaround for an optimization bug in our GCC4 with -O1 and -O2, this should be dropped when we upgrade
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 23:34:54 +00:00
DarkWyrm
6a7e1e9a2f "Options" -> "Preferences"
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 21:55:03 +00:00
Jérôme Duval
0a4542854b added iasl bin tool from acpica-20061109
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 19:53:01 +00:00
Michael Pfeiffer
0acb8cc41c Variable width2 used at wrong place.
Image size too small by one when passed to ResizerWindow.
Use fractional arithmetic for aspect ratio calculations to avoid rounding errors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19542 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 18:18:29 +00:00
Jérôme Duval
c72e5d2fdf fix the build
renamed "const float width" to "const float width2" as width is a parameter, please check


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 16:42:03 +00:00
Michael Pfeiffer
d9f6762d46 Integrated "resize" feature from Zetas version of ShowImage, however used our bilinear scaler instead of Zetas implementation and made ResizerWindow font sensitive and removed the radio buttons with predefined sizes. Kudos to Bernd Korz for providing the ShowImage Zeta source code under MIT license.
Moved menu item "As Desktop Background" into "Image" menu from "View" menu. 
Removed unused metod ShowImageWindow::Zoom(...).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 15:18:32 +00:00
Ryan Leavengood
35346d06a7 Removed incorrect application flags (as these are not apps) and expanded the
short and long descriptions. Though these are small add-ons, I'm thinking about
making them simple apps (with no GUI though.) This way the file_types entry
will make more sense. In the R5 release on BeBits I completely took out the
file_types entry though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-17 05:32:37 +00:00
DarkWyrm
b998307ce0 Some style updates and fixed the layout code -- things look a *lot* better @ 12 point (and probably higher)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 23:16:58 +00:00
DarkWyrm
1080834a69 Made the Quit menu item in the system tray appear only when the icon is clicked on with the Shift key and renamed it to Shutdown Mail Services (which is clearer)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 20:04:31 +00:00
Stephan Aßmus
1e15289361 * added icon to pdf mime type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 19:45:18 +00:00
Axel Dörfler
03f78d6943 Imported wget-1.10.2; disabled SSL for now (it's not yet part of our repository), not yet tested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19535 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 18:25:42 +00:00
Jérôme Duval
794145804d merging acpica-20061109 into trunk, tested with qemu
this new code seems to introduce a bug for gcc4 builds, though it is ok for gcc 2.95 
	


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19534 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 14:58:00 +00:00
DarkWyrm
019012f980 Account list has the focus on startup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:51:24 +00:00
DarkWyrm
9052eb4703 Forgot to add the View menu to the menu bar
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:41:36 +00:00
DarkWyrm
ac2c6cebcd Removed the 'Beginner' mode settings from the program options and the places that relied on them
Fixed a crash when pasting text into the signature textview after making a new one
Added a few more accelerators some alerts


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 04:37:23 +00:00
DarkWyrm
e4c4753160 Made a lot of changes to more closely conform to the HIG:
Find window closes after hitting Enter
Removed unnecessary 'Close' item from signature window
Fixed signature alert capitalization and added accelerators
Reorganized menus to make more sense
Removed an extra 'Move to Trash' menu item
Removed the gross Alt+Shift+M hack - 1 accelerator per function
Disabled the right-click popup menu for the Spam, Reply, and Forward buttons. Specific reasons for this in the affected code
Removed outdated Mail.cpp revision from the about box -- build date should be sufficient
Label fix in preferences window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-16 00:48:38 +00:00
Stephan Aßmus
b93f9f1371 * now the Decorator uses the DrawingEngine instance of the WindowLayer,
so that we can draw the window borders using parallel access too.
  Seems to improve things even further, using the app_server environment
  with direct accelerant access on R5 looks pretty decent now, but
  of cause still far from perfect. The global font lock could actually
  be the problem now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 23:05:35 +00:00
Stephan Aßmus
527b4ad1b3 Gracious me, I forgot to actually turn on parallel frame buffer access!
Seems to make some difference too. Nothing dramatic though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:43:15 +00:00
Stephan Aßmus
2ba6b3a649 * minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 22:41:35 +00:00
Axel Dörfler
d881c6ba5c * Replaced the 1400x900 modeline with the one from the nVidia driver - Stephan, does this
work for you, too? If not, just replace it with yours again.
* Added resolution 1680x1050 from nVidia driver.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:17:39 +00:00
Axel Dörfler
f6d219a166 When removing an interface, we must make sure it's not still up (ie. we need to
bring it down in that case). This fixes the problem that you couldn't bring an
ethernet interface up again, after you deleted it once.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:10:25 +00:00
Axel Dörfler
1cdfc4880c Added missing 1400x1050 resolution.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:06:18 +00:00
Axel Dörfler
7eb1ef96e2 The device could only be opened once; gOpenMask was never cleared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 14:05:45 +00:00
Axel Dörfler
8c6363a8a1 Removed -Wall again; since it's added last, it would override the previous disabled warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 13:41:10 +00:00
Stephan Aßmus
1a65141503 * added icons to several archive mimetypes
* added lha and tar mimetypes (TODO: sniffer rule, help appreciated)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 10:06:40 +00:00
Stephan Aßmus
664c21b381 * don't always forget the last export mode in SavePanel
(was only saved when switching from "export" to "save")
* make use of drop index when dragging and dropping paths in
  list view


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-12-15 09:56:47 +00:00