Marcus Overhagen
ec9d1637b5
fixed copy & paste bugs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19639 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19639
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
hrev19638
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
hrev19637
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
hrev19636
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
hrev19635
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
hrev19634
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
hrev19633
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
hrev19632
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
hrev19631
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
hrev19630
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
hrev19629
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
hrev19628
2006-12-26 16:00:35 +00:00
Marcus Overhagen
2f9a049400
add array indexed access to mac_addr_t
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19627 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19627
2006-12-26 14:57:21 +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
hrev19626
2006-12-26 13:22:25 +00:00
Michael Lotz
f3001f6a1d
Corrected comments. It's a 0 byte, not a NULL pointer.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19625 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19625
2006-12-25 22:02:01 +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
hrev19624
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
hrev19623
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
hrev19622
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
hrev19621
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
hrev19620
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
hrev19619
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
hrev19618
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
hrev19617
2006-12-24 01:02:24 +00:00
Ryan Leavengood
342cf7f278
Bootscript change to account for the app_server now starting the input_server.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19616 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19616
2006-12-23 23:00:37 +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
hrev19615
2006-12-23 22:59:06 +00:00
Ryan Leavengood
a06480efcb
Addition of constant used when restarting the input_server within the
...
app_server. I added it at the end. Feel free to move it to a better spot, if
there is one. Note that putting it in the middle with require recompiling a lot
of things.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19614 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19614
2006-12-23 22:56:18 +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
hrev19613
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
hrev19612
2006-12-23 18:39:25 +00:00
Marcus Overhagen
aa88acd003
added define for SATA AHCI
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19611 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19611
2006-12-23 02:39:58 +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
hrev19610
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
hrev19609
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
hrev19608
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
hrev19607
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
hrev19606
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
hrev19605
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
hrev19604
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
hrev19603
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
hrev19602
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
hrev19601
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
hrev19600
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
hrev19599
2006-12-21 23:24:52 +00:00
DarkWyrm
220b9e4b05
Added CDplayer and Devices to the image
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19598 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev19598
2006-12-21 22:42:59 +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
hrev19597
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
hrev19596
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
hrev19595
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
hrev19594
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
hrev19593
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
hrev19592
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
hrev19591
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
hrev19590
2006-12-21 14:34:58 +00:00