Commit Graph

5298 Commits

Author SHA1 Message Date
Philippe Houdoin
7dab5189a7 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:33:23 +00:00
Matthew Wilber
547692fa51 Fixed paths used by BTranslationUtils::GetBitmap[File] to work with the behavior of Be's and the fixed OBOS version of BTranslationUtils::GetBitmap[File]
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:10:01 +00:00
Matthew Wilber
b95d8a76bc Fixed bits->bits translation so that it no longer errors out due to reads at the end of the stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:05:23 +00:00
Matthew Wilber
9568e684a8 Fixed bits->bits translation so that it no longer errors out due to reading at the end of the stream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 22:04:19 +00:00
Philippe Houdoin
b42a6ce4af Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 21:55:55 +00:00
Philippe Houdoin
eb8b30128e Add new control_net_module_args to global stack_driver_args union.
Report this change in the stack driver code, to keep consistent
code.
TODO: Implement NET_STACK_CONTROL_NET_MODULE in net_server_driver.c too!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 21:24:03 +00:00
Matthew Wilber
73e65d4da8 Changed TranslationUtils' manor of handling relative paths to match how Be's TranslationUtils handles them. Before, relative paths had the current directory as the base, now, relative paths use the folder containing the running application as the base. This issue prevented programs like Eden from loading properly with the OpenBeOS Translation Kit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 15:35:54 +00:00
Waldemar Kornewald
cdc2ad89b1 Changes for kernel land (added set_sem_owner and kernel_cpp.h/cpp).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 13:24:59 +00:00
Waldemar Kornewald
a10a3d49d6 Fixed BUG in FindUnit() and Register/UnregisterInterface().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 13:00:28 +00:00
Waldemar Kornewald
20826c8ed2 Fixed BUG in if_detach.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 12:58:49 +00:00
Waldemar Kornewald
0868fe5619 Added an error report.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 10:14:51 +00:00
Waldemar Kornewald
52fad5f56b Use the NET_STACK_DRIVER_PATH environment variable if available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 10:13:51 +00:00
Tyler Dauwalder
2094b5ffbb Updated to use new parametersSize params where applicable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:36:17 +00:00
Tyler Dauwalder
229c00c5a7 - Added parametersSize param to all functions taking a parameter string.
- For functions where name strings are both input and output parameters that
  may be truncated if too long, updated copy-in procedure to allow truncation
  without returning an error.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:35:27 +00:00
Waldemar Kornewald
95cb1c609a PPPoE should not go into ppp/shared, but ppp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:30:43 +00:00
Waldemar Kornewald
5c9e6a3953 Added libkernelppp.a (currently named libuserlandppp.a), PPP, and PPPoE to userland test build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-25 08:26:19 +00:00
Tyler Dauwalder
8768d15c6e - Fixed lack of proper error code checking on calls
to user_strlcpy()
- Changed all remaining instances of SYS_MAX_PATH_LEN
  to B_PATH_NAME_LENGTH.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 23:09:43 +00:00
Waldemar Kornewald
8f79376c49 Allow to build as userland add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:28:10 +00:00
Waldemar Kornewald
ad0928ebe3 Allow to build as userland modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 21:18:53 +00:00
Waldemar Kornewald
cf3ba6b414 Bug fixes and some small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 20:10:02 +00:00
Waldemar Kornewald
b0bff411f1 Bug fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 20:08:56 +00:00
Axel Dörfler
7f29148da0 You can now specify the link mode in the driver_settings for sis900. Supported
are duplex={full|half|auto} and speed={1|10|100|auto} - please note that you
either have to specify both as auto or none of them, or else it will fall
back to auto negotiation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 16:51:24 +00:00
Axel Dörfler
f6cb2b865e rtc_set_system_time() is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 15:08:02 +00:00
Axel Dörfler
8da0ad81bf Removed rtc_set_system_time() and introduced the public Be kernel call
set_real_time_clock().
I am not sure if this call is supposed to set the hardware clock.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 14:53:02 +00:00
Axel Dörfler
afa70266a3 Fixed set_real_time_clock() - its time parameter is now uint32 not int32,
that's what real_time_clock() returns as well. I don't know why Be made
it int32, but I don't care too much either.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 14:50:15 +00:00
Axel Dörfler
60f9bd4a57 Adds an empty arch_real_time_clock.c for the PPC build. The Pegasos may
need the same RTC code as x86 (but using the ISA bus manager instead of
in/out).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 12:38:07 +00:00
Axel Dörfler
d7f7d209ed Renamed the global secs_per_month[] to sSecsPerMonth[] and made it static.
Added a comment about how to make computing the seconds passed since 1/1/1970
more efficient.
Some slight other changes.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 12:24:10 +00:00
Axel Dörfler
05ca50f27d Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 12:09:20 +00:00
Axel Dörfler
f328aeecb6 Applied our style guide.
Commented the debug welcome message in rtc_init().
Moved the seconds per year calculation into a separate function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 12:01:25 +00:00
Axel Dörfler
a34e8cc39f Applied our style guide, made the headers C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 11:58:21 +00:00
Stefano Ceccherini
d8a7172a91 simplified rects_intersect(). Now it's very similar to BRect::Intersects()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:50:41 +00:00
Axel Dörfler
2218f79ede Added real-time clock support written by Jeff Ward (for the kernel).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:21:10 +00:00
Stefano Ceccherini
bdd02a033d Added WidthBuffer to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:13:58 +00:00
Stefano Ceccherini
76f8475798 Some more work on the undo buffer. Added a quick and dirty implementation of WidthBuffer (it's needed by OpenTracker). We'll want to implement it correctly.
Multi-byte character insertion/deletion works now in TextView (thanks to Marc Flerackers)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:12:35 +00:00
Tyler Dauwalder
3ec998df56 Added user_strcpy()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 09:37:50 +00:00
Tyler Dauwalder
27b54f4499 Finished up most of remaining kernel-saftey stuff, and fixed previously "safe" code that accessed userland memory directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 09:37:20 +00:00
Tyler Dauwalder
0d2558589a Added platform specific boot headers to search path for libdisk_device_manager.so, as ddm_userland_interface.cpp apparently needs them now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 09:36:15 +00:00
Stefano Ceccherini
4be90e7fc1 Fixed a possible buffer overflow in r_or() and r_sub() (thanks to Ingo Weinhold for his advices), stripped BRegion of all his friends, and moved them into a single class (BRegion::Support()). Removed "find_small_bottom()", as we didn't use it at all. Added some debugging output to BRegion::Support (that will help fixing bugs)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 07:33:41 +00:00
DarkWyrm
9da902c635 New, more Be-ish icon courtesy of Michael Lotz
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 00:38:13 +00:00
Philippe Houdoin
c71aaf8c2d Obsoleted. Userland network stack debugging plateform is now under
src/tests/add-ons/kernel/network.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 22:07:11 +00:00
Philippe Houdoin
dbdcbc27d9 Removed unnecessary libroot.so from target's link.
Prepare to build as userland add-ons the newer "ppp" interface module...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 21:53:37 +00:00
Philippe Houdoin
51978af14a Now all network add-ons build fine as userland add-ons too.
Network stack debugging/tests plateform now working...
Welcome to Userland Debugging Land!
:-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:48:18 +00:00
Philippe Houdoin
fe6390a982 Append userland network stack add-ons/modules platform to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:45:49 +00:00
Philippe Houdoin
f8fbbb736e Remove misplaced userland network stack tester platform, now moved to
src/add-ons/kernel/network/*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:32:22 +00:00
Waldemar Kornewald
152327e1a6 Changes for net module control() support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:08:53 +00:00
Waldemar Kornewald
b82b832e8c Added ppp, pppoe, and pppconfig to NetworkingKit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:04:33 +00:00
Waldemar Kornewald
79d2631976 Added pppconfig bin command to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:03:42 +00:00
Waldemar Kornewald
5a4503c3ff Added PPPoE module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:01:36 +00:00
Waldemar Kornewald
4fbbad3009 The beginnings of libppp.a. This is a userland library to talk to the PPP stack. It hides the ioctl() stuff from the user.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:59:38 +00:00
Waldemar Kornewald
e745242193 Mostly fixes and smaller API changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:56:14 +00:00