Commit Graph

4411 Commits

Author SHA1 Message Date
Ingo Weinhold
66abd4d0a6 Fixed a few warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 21:36:38 +00:00
Ingo Weinhold
9f01bd9197 send_message(): B_ANY_TOKEN -> B_PREFERRED_TOKEN. That's the right one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 15:29:11 +00:00
Ingo Weinhold
d4d9f7015a flatten_hdr() checks the reply handler token for B_NULL_TOKEN, so it's not wise to use exactly that one as dummy for sending synchronous messages.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 15:07:06 +00:00
ejakowatz
13ab4decd9 First test of messaging in libopenbeos.so!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 04:55:38 +00:00
ejakowatz
0ab25acded Fixed bug with fBody not being properly initialized on construction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 04:47:51 +00:00
Axel Dörfler
13e966c78e Big (and final for now) update to the code, it's now complete and working better
and faster than the R5 code as far as I have checked it.
Refactored the source a bit, it's now much clearer: divided the heavily overloaded
type field into type/unit/flags.
Introduced some new methods to track everything we have to to provide a
useful date in hopefully all cases.
Now supports using a dash to mark negative values as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 02:21:19 +00:00
Axel Dörfler
6fb692ef97 Added some more test dates, nicer output.
Reveals some bugs in the original parsedate() implementation.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-26 02:11:16 +00:00
ejakowatz
19cdc4570f How the glaring fubar in MessagePrivate.h got past me is a mystery.
Nonetheless, here is new BMessenger-related goodness to smooth is all out.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 23:33:02 +00:00
Phil Greenway
d2ef10fe9f Initial Checkin of app by MrSiggler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 20:55:19 +00:00
Waldemar Kornewald
8758b5ade6 The code looks much nicer with a copyright message. ;)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 09:57:53 +00:00
ejakowatz
e9e500cb9e Minor tweak to BHandler::UnlockLooper()
Added calls to _init_message_(), _delete_message_(), and
_msg_cache_cleanup() to InitTerminateLibBe.cpp
Finished first implementation of BMessage::SendReply(), BMessage::_send_(),
and BMessage::_send_message()
Add BMessage to app.src, removed BBlockCache from support.src.
New BMessage::Private class has functions for twiddling BMessage internals


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-25 07:55:52 +00:00
Waldemar Kornewald
5c7a44d436 Added empty .cpp files for the remaining classes.
Finished Down().
Added input queue to PPPInterface.
Added initial timeout handling.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-24 19:43:20 +00:00
Axel Dörfler
770108b448 Added alternate identifier strings (mostly abbreviations).
Mixed up comma/colon/semicolon in some stupid ways...
Fixed a bug that prevented weekday/month names to be matched correctly.
Temporarily enabled some debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-24 11:48:16 +00:00
Axel Dörfler
c6a70c8d1b Added a test application for the parsedate() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:34:10 +00:00
Axel Dörfler
cb19965e13 Added an initial implementation of parsedate(), parsedate_etc(), get_dateformats(),
and set_dateformats().
It's not complete yet, but already quite useful.
Added a "d.m.y" to the R5 set of formats.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:32:09 +00:00
Axel Dörfler
6f82bba82a Adds our own, shiny, and almost BeOS compatible parsedate.h header (but not
in the Posix dir).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:25:11 +00:00
ejakowatz
2605a4f5ef These message tests now pass.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 18:00:17 +00:00
Niels Sascha Reedijk
6a7f7ee06f The RTL8139 driver is now fully WORKING!!!
I have made an (ugly) hack around the transmit problem (but then again, aren't
hacks ugly all the time?). I still don't know if this is the proper thing, but
the point is that it seems to work now. I don't know if it is my mistake or
the cards mistake that I cannot schedule more than one write at a time, but
I'm looking into this. I don't know the difference in performance between this
driver and the one in R5, but I'm guessing this one's still a bit slower. I'll
continue to hack the driver in order to maximize performance.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 10:56:44 +00:00
Phil Greenway
efb0209b94 Added Basic ModemWindow (one of the menu options)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-23 07:17:03 +00:00
Stefano Ceccherini
e6404469ad added offsect_rect, fixed a spelling error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-22 09:12:56 +00:00
beveloper
5fe840b9b5 fixed address checking in ppc atomic functions.
fixed compilation on x86.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:36:06 +00:00
beveloper
50e0ce4bee Implemented new syscalls for 32 and 64 bit atomic operations.
They are only used if the architecture doesn't support them directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 23:02:00 +00:00
beveloper
fb16941a02 added atomic_read
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 17:55:56 +00:00
Jérôme Duval
e9ac8260a6 ac97 functions fixed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-21 09:23:41 +00:00
beveloper
0163e36659 Added 32 bit atomic read.
Implemented all 64 bit atomic operations.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 23:21:26 +00:00
Axel Dörfler
2f096f5a3e Added/changed/fixed area syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:58:06 +00:00
Axel Dörfler
8655936935 Replaced some more vm_*() calls with BeOS compatible ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:55:56 +00:00
Axel Dörfler
0fd7b49819 Added/changed VM syscalls to the BeOS compatible ones.
Reordered the syscalls a bit (in functional groups), not completely, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:52:58 +00:00
Axel Dörfler
fc3874cf13 Replaced the vm_get_region_info() call with get_area_info().
Removed the user_vm_get_region_info(), and user_vm_clone_region() calls.
Added all missing BeOS compatible area syscalls.
Partially implemented [_user_]find_area(), implemented _user_area_for().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:51:30 +00:00
Axel Dörfler
f236d16605 Removed the vm_get_region_info() call and the vm_region_info structure -
they are now replaced by get_area_info() and the area_info structure.
get_area_info() still misses some pieces, though.
Added all missing VM user/kernel syscalls.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 15:47:52 +00:00
Waldemar Kornewald
103501d9d7 Some comments were not understandable.
Added a new case when to destroy interface (when Up() failes and DialOnDemand is disabled).
Forgot some to remove fUpThread in Up().
Changed UpFailedEvent() so that it pretends a connection-lost event (so we can try to redial).
Added ResetOptionHandlers() and DownProtocols/Encapsulators().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 11:41:24 +00:00
shatty
f6a64130ad all main ui elements excepting icons
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 10:16:47 +00:00
shatty
be526f04ad version specification row, tab order fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 09:41:10 +00:00
shatty
f490f7ff66 superior SupportedTypesView
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 07:59:28 +00:00
Axel Dörfler
b98ed81007 Made the VM even calmer - this one uses the TRACE() stuff now as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 03:21:13 +00:00
Axel Dörfler
5e809fa13e Added empty stubs for all missing BeOS VM functions.
The lock_memory()/unlock_memory() functions cannot be implemented right
now, as the NewOS VM doesn't support locking.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 03:07:51 +00:00
beveloper
ea8af9630a renamed test_and_set into atomic_test_and_set
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:56:22 +00:00
beveloper
40ac5c5195 cvs server: Up-to-date check failed for `src/kernel/core/vm/vm.c'
cvs [server aborted]: correct above errors first!
cvs commit: saving log message in /tmp/cvsFPtfaj


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:48:15 +00:00
Axel Dörfler
44e874a74d Made the VM a lot calmer if you wish; moved many dprintf()s into the new
TRACE() macro. Renamed the old TRACE macro to TRACEPFAULT.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:41:07 +00:00
beveloper
5f993f93ff renamed test_and_set into atomic_test_and_set
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:35:24 +00:00
beveloper
b4e05c0eb8 On most systems, atomic functions do not need to be implemented as syscalls.
ATOMIC_FUNCS_ARE_SYSCALLS is only defined on architecture like SH4.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:34:42 +00:00
beveloper
abe798f30b fixed spelling error
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:33:00 +00:00
beveloper
867695ddb7 architecture specific CPU things, like defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:29:36 +00:00
beveloper
3cbce96a24 removed no longer used include file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:26:30 +00:00
beveloper
2fdb794edc The atomic and system_time function are now included in the
kernel_os_arch_x86.o file that is genereated by libroot.
Removed duplicate implementations from this file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4337 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:23:44 +00:00
beveloper
67fd74cd28 moved atomic user functions to SH4 atomic.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:21:57 +00:00
beveloper
6f54d569e9 added 64 bit atomic functions (implementation still pending),
removed non atomic functions from this file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:19:42 +00:00
Axel Dörfler
414ecbd490 Now uses the BeOS map_physical_memory() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:17:09 +00:00
beveloper
a36eac86ac Removed system_time from atomic.S file and added it in a separate one.
The atomic and system_time function are now included in the kernel_os_arch_x86.o file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:16:43 +00:00
beveloper
890b96d5c5 removed system_time from atomic.S file and added it in a separate one.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-20 02:15:23 +00:00