Axel Dörfler
8b9ceff84b
New fs_query.h header.
...
Now defines a new flag B_QUERY_NON_INDEXED - because querying non-indexed
attributes is a slow operation, it now has to be enabled on demand only.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-29 14:43:38 +00:00
Axel Dörfler
c69aed7afc
Removed some garbage.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:58:12 +00:00
Axel Dörfler
b16ed21a04
Our new KernelExport.h header.
...
Typedefs for debugger and kernel daemon hooks, cleaned up.
Added a ToDo item about the "abuse" of the quent structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 13:48:39 +00:00
Axel Dörfler
a9731b41c1
Housekeeping changes and small bug-fixes:
...
Added new syscall for set_thread_priority().
Replaced the userland syscall snooze_until() with snooze_etc() (the latter
has to be exported to userland and realize snooze() and snooze_until()).
Cleaned the sources - scheduler functions now have the scheduler_ prefix.
Moved signal related stuff into ksignal.h (out of thread.h).
Replaced public kernel API with direct exports (i.e. resume_thread() instead
of thread_resume_thread()).
Removed the thread_create_XXX_thread*() calls, and replaced them with a
BeOS compatible set.
Made some fields of struct thread a bit prettier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-27 02:54:21 +00:00
Axel Dörfler
7f1f508e13
Added two convenience functions list_add_item(), list_remove_item().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:30:12 +00:00
Axel Dörfler
04d145c94d
The team's image API is now using "list" instead of "kqueue".
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 23:29:33 +00:00
DarkWyrm
16b0d71f0b
Added FTSmooth patch by David Chester
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 21:36:27 +00:00
Axel Dörfler
8a5543b18c
Added the kernel_daemon.h header which defines the init function for the
...
kernel daemon service.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 17:27:42 +00:00
Ingo Weinhold
0b1ab795f4
Got rid of the module_identify() hook. Instead the module info features a short_name field now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:06:23 +00:00
Ingo Weinhold
cd6210cc8d
Added a parameter for getting the partition module name to the get_nth_partition_info() hook.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:05:20 +00:00
Ingo Weinhold
38f832c7eb
Removed Identifier() and FileSystem() methods. ShortName() shall return the respective identifier.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2552 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:03:48 +00:00
Ingo Weinhold
1f293937f5
extended_partition_info: changed partition_code to uint32 and added a field file_system_flags. Added a parameter partitionMapName to get_nth_partition_info() for getting the identifier of the used partition module.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-26 15:01:55 +00:00
Marc Flerackers
f81711e0de
Added the virtual function BSlider::SetLimits
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2541 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 15:35:12 +00:00
DarkWyrm
9bbede1078
One more necessary attribute for cursor_which
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 14:01:34 +00:00
DarkWyrm
82857f6f72
Minor enum name tweak
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 13:38:09 +00:00
DarkWyrm
5911e5552e
Added system cursor definitions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-23 00:29:05 +00:00
Stefano Ceccherini
3e194a0eeb
Added termios.h header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-22 16:48:04 +00:00
beveloper
7fd432700b
Updated time source code to allow automatic starting and stopping of time sources.
...
Sending run mode changes and broadcasting of time changes is also implemented.
For one reason or another, all this doesn't work right now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 01:11:15 +00:00
Axel Dörfler
ffa7234e82
Added a missing struct definition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-20 00:58:13 +00:00
Ingo Weinhold
4f28177175
Added partitioninig support and missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:01:02 +00:00
Ingo Weinhold
23c4932121
Added missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 23:00:15 +00:00
Ingo Weinhold
d28b7f78d0
Added partitioning support and missing documentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:59:38 +00:00
Ingo Weinhold
39e8f48cde
Er, forgot the prototypes for parameter retrieving for partitioning and volume initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:58:12 +00:00
Ingo Weinhold
3a69ab6517
Added prototypes for partitioning and volume initialization.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:54:28 +00:00
Ingo Weinhold
89b1309d57
This is the (first draft of the) API for userland GUI settings disk_scanner add-ons.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 22:50:20 +00:00
Ingo Weinhold
81f71acbee
Now a callback function is used to read blocks from disk. Used to cache blocks when iterating through the FS modules.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:18:39 +00:00
Ingo Weinhold
e9a0da4169
The get_nth_*_info() hooks now return the used module respectively use the supplied one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-19 01:16:30 +00:00
DarkWyrm
d2eaf9ca3c
Expanded color_which definitions for R1
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 21:23:59 +00:00
DarkWyrm
3a5a99606b
Color utilities for app_server and general use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 19:47:06 +00:00
Axel Dörfler
6d16fb1d30
Added some file system private function prototypes (for node monitoring/live queries).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:05:58 +00:00
Axel Dörfler
f9bdcca59c
Added kernel private node_monitor.h header.
...
Moved definition of "struct io_context" from fd.h to vfs.h.
Introduced new fs/ directory; some cleanups to come.
Added node monitor syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:04:22 +00:00
Axel Dörfler
fc3cda204e
New list primitive.
...
A doubly-linked list with some nice features.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-18 14:02:47 +00:00
Axel Dörfler
658694ae79
Removed the old dlfcn.h header - the real thing is located in posix/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 19:13:12 +00:00
Axel Dörfler
39de200904
Now you can really include it from the kernel.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 18:28:09 +00:00
Axel Dörfler
b6a77342a5
Moved to os/drivers because it's not a userland header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:53:28 +00:00
Axel Dörfler
8f0cd8cdee
Added header for node monitor calls for kernel add-ons.
...
Moved fs_interface.h to this location.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:52:33 +00:00
Axel Dörfler
31f5d420ed
Redone the NodeMonitor.h header file to suit our needs (it can now also be
...
included from standard C).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 17:43:31 +00:00
Tyler Dauwalder
f9c2a2a243
+ Shrank license
...
+ Changed "#define TRACE(x)" to "#define TRACE(x) ;"
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-17 08:22:35 +00:00
Tyler Dauwalder
e3e6d2db88
+ Finished up cdrom session module
...
+ Fixed volume name bug in iso9660 module
+ Added licenses
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-16 08:26:22 +00:00
Axel Dörfler
25f83d0202
Added the debugger.h header file (for being able to link it from the web).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-14 13:41:16 +00:00
Axel Dörfler
9f956562e5
Missed that one, obviously.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-13 16:36:25 +00:00
Axel Dörfler
c60685fcad
Fixed parameter for get_nth_image_symbol().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2429 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:36:30 +00:00
Axel Dörfler
c679492034
Added a queue to the team structure for the registered images.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:25:04 +00:00
Axel Dörfler
29164895ac
Must now include image.h directly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2422 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:24:12 +00:00
Axel Dörfler
9edac21abd
Removed the image_id type definition from ktypes.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:23:21 +00:00
Axel Dörfler
ef6d88af27
Renamed "struct rld_export_t" to "struct rld_export", "struct uspace_prog_args_t"
...
to "struct uspace_program_args", prog_name & prog_path to program_name and
program_path.
Moved the MAGIC_APPNAME to a BeOS compatible MAGIG_APP_NAME from rld_priv.h
to this place.
Removed the dlxxx() exports in the rld_export structure - instead, they will
be implemented using the basic runtime linker API which is a slightly extended
version of the standard BeOS calls (load_add_on() has a "flags" paramater to
allow implementation of dlopen()).
Completed the export API to be able to completely support the BeOS API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:22:09 +00:00
Axel Dörfler
30f9b99833
Added sys_ prototypes for the kernel image API syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:17:09 +00:00
Axel Dörfler
909f4951dd
Added our dlfcn.h header - the RTLD_xxx constants may change, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2418 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:15:49 +00:00
Axel Dörfler
6cdae891c3
minor changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:10:28 +00:00
Axel Dörfler
49c987ef8d
Added a macro to iterate through the kqueue.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 16:00:59 +00:00
Axel Dörfler
1c204d8bb9
Added syscalls for the image API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2415 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 15:59:50 +00:00
Axel Dörfler
9c12864dfd
Header for the kernel image API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-12 15:59:12 +00:00
Matthew Wilber
b0837927f6
changed to reflect the name change of R4xTranslator.h to FuncTranslator.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2408 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 13:52:59 +00:00
Matthew Wilber
0ac173e420
renamed R4xTranslator.h to FuncTranslator.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 13:51:18 +00:00
Matthew Wilber
d7e25ddc2b
A beta tester reported that PackageBuilder failed to load when the OBOS libtranslation.so was used. This was because the
...
OBOS BBitmapStream was missing a protected function. I implemented the protected function (SwapHeader) and changed the cl
ass to use it instead of the previous functions that I wrote to provide similar behavior.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-11 03:20:08 +00:00
beveloper
d6379053ba
Made time sources mode BeOS R5 conforming.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-09 17:54:20 +00:00
Axel Dörfler
074a16b53e
Added a private tls.h file with definitions for the reserved TLS slots.
...
Renamed i386_set_kstack() to i386_set_tss_and_kstack(), because that's what
it does.
Added a new function arch_thread_init_tls() which must be called after
having allocated the TLS area.
Renamed arch_thread_initialize_kthread_stack() to arch_thread_init_kthread_stack()
to be more consistent.
Changed the parameters for arch_thread_enter_uspace() - it now gets a pointer
to the thread structure and takes the user stack pointer from there (which
might also be architectural different).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:17:31 +00:00
Axel Dörfler
1f6480576d
Added new fields for the local storage of "errno" in the kernel and user-
...
level TLS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:13:36 +00:00
Axel Dörfler
20dde76256
I've added a MAIN_THREAD_STACK_SIZE definition, and put the corresponding
...
BeOS values commented beneath it.
For now MAIN_THREAD_STACK_SIZE is the same as STACK_SIZE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 09:12:26 +00:00
Axel Dörfler
3c2ec528f6
The return value is now also a variable of type (void **).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-07 00:20:52 +00:00
beveloper
0e21b167c9
time sources now publish and retrieve timing information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 23:11:18 +00:00
Axel Dörfler
7208e95f0e
Moved the gdt_idt_descr struct from arch_stage2.h to stage2_priv.h.
...
Moved the tss_descriptor structure to descriptor.h, updated it to be a
segment_descriptor structure, and provided inlines for set_tss_descriptor(),
set_segment_descriptor(), set_segment_descriptor_base(), and
clear_segment_descriptor().
Also added defines for the different privilege levels and descriptor types.
Removed the unusused and incorrect TSS definition, introduced new
TSS_BASE_SEGMENT and TLS_BASE_SEGMENT macros.
Removed include of arch/cpu.h in arch_cpu.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 08:02:44 +00:00
Axel Dörfler
5c339b0237
Fixed some issues in TLS.h (i.e. the inline version of tls_address() accidently
...
returned a (void *) instead of a (void **)).
Added TLS_MAX_KEYS macro, and a comment.
Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 07:57:10 +00:00
beveloper
de613a80e7
changes submitted by Christopher ML Zumwalt May
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-06 02:19:29 +00:00
beveloper
835140c89a
better time source support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-05 23:35:07 +00:00
beveloper
287f7492c3
more time source function...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-03 01:51:22 +00:00
Axel Dörfler
346646a2c7
Moved the files vm_types.h, syscalls.h, and vfs_types.h to the private
...
kernel header directory - they are by no means public includes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-01-02 13:16:35 +00:00
mahlzeit
3569d43900
Checkin of the sources for midi2 kit milestone 1.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 14:26:15 +00:00
mahlzeit
1df1f3949f
Checkin of the source code for midi2 kit milestone 1.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 14:25:02 +00:00
Tyler Dauwalder
18940d3246
Missing headers needed for disk scanner cd rom session moduless
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2324 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-31 07:20:31 +00:00
DarkWyrm
c1a8250fd3
Checkin to accomodate client-based BScrollBar
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 23:35:10 +00:00
Axel Dörfler
7fae070584
Included NewOS change 1674. Moved private elf structures to elf_priv.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-30 13:34:25 +00:00
beveloper
bd57171958
Checkpoint.
...
Started adding support for persistent default nodes.
System time source and BTimeSource are broken.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-26 02:23:59 +00:00
Ingo Weinhold
18e74fef99
indentify() also returns a priority now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:14:12 +00:00
Ingo Weinhold
e50b31269a
Pass a session_info to the partition functions, rather than a bunch of individual variables.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-25 15:13:25 +00:00
Tyler Dauwalder
6c1c5b652b
+ Updated PARTSCAN_MODULE_NAME to DISK_SCANNER_MODULE_NAME
...
+ Fixed an error with disk_scanner_get_partition_fs_info() that was causing
the fs module to not be unloaded when identification succeeded. The next
time around, get_module() was returning B_OK, by the module pointer was
being set to NULL. I'm not sure if this is the expected behaviour of the
emulator, so we may want to investigate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-22 22:50:18 +00:00
Ingo Weinhold
bc0ffa26e0
disk_scanner module API.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:07:30 +00:00
Ingo Weinhold
45b15a27e1
C level device API (disk_scanner).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-21 19:06:18 +00:00
ejakowatz
d2f82aa6e3
Added B_NOT_A_MESSAGE error code (borrowed from Dano).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-18 07:33:55 +00:00
Philippe Houdoin
082059d403
Checked-in the update Scott Mansfield made to these BNet* classes declarations to male
...
them binary compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-17 01:24:44 +00:00
Matthew Wilber
65328c9bf0
eliminated an unnessecary function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-13 00:31:45 +00:00
beveloper
5aab162dcc
removed compiler warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 20:15:29 +00:00
beveloper
5f511927a9
removed /* within comment
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 20:00:36 +00:00
beveloper
7ad0981b56
added a method that is useful for debugging
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-10 18:22:16 +00:00
Ingo Weinhold
4afae676ad
Added support for multiple BTestHandlers in a BTestApp.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:47:37 +00:00
Ingo Weinhold
5d9772d27f
Added set_volume_name().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:46:40 +00:00
Ingo Weinhold
2807c36668
Changed to OT style, some aesthetically adjustions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 12:45:59 +00:00
Michael Pfeiffer
6076525763
Added macro.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-09 04:33:55 +00:00
beveloper
075570786d
changed BufferManager communication to use ports.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:49:40 +00:00
beveloper
3ca7b9c952
rewritten to provide better iteration functionality, etc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:47:55 +00:00
beveloper
6a3b2694fd
a stack doesn't need iteration functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 23:46:39 +00:00
François Revol
2a03a60a17
Added some B_CPU_ defines, compatible against R5.1.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-08 16:50:28 +00:00
Stefano Ceccherini
9bf6d51b04
The header is now R5 binary and source compatible
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-06 14:24:06 +00:00
Axel Dörfler
11d4dc0bf5
Added a module_test() function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:59:30 +00:00
Ingo Weinhold
bc1aaab684
AutoResize() parameter was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 17:20:12 +00:00
Axel Dörfler
420a6221ec
Moved thread_types.h to this place.
...
Changed fd.h inlines because team->ioctx is now team->io_context.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:07:35 +00:00
Axel Dörfler
6ba1dc2341
Moved it to private/kernel/, this is no public header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:06:21 +00:00
Axel Dörfler
c5cf4e87b6
Removed the "path" field in the team structure. Renamed "ioctx" to "io_context".
...
Added a "page_faults_allowed" field in the thread structure.
Clean up.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 14:05:21 +00:00
Axel Dörfler
1a72f541b5
Added function prototypes for forbid_page_faults() and permit_page_faults().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 01:51:39 +00:00
beveloper
353b9f6bce
changed map and list templates to be more useable, however, they will
...
be rewritten soon. Changed debugging macros and use of them, too.
Also replaced the linked lists in the BufferManager (which were complicated,
but working ok) with template based ones.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-12-03 00:59:42 +00:00
Axel Dörfler
8f6008b482
We now have our own (and cleaner) modules.h file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:27:25 +00:00
Axel Dörfler
ebf5be407a
Reworked and cleaned the khash; completely removed the new_hash_table
...
implementation that was buggy, not very flexible, and incomplete.
Changed some variable types, and function names.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:25:08 +00:00
Axel Dörfler
717eabde1f
Added comments to the fields of the dirent structure. Most important one
...
is d_reclen which points out that this field is not the name length but
the one of the whole record (this is also handled incorrectly by the kernel
file systems right now).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 02:49:58 +00:00
beveloper
428f0ce25c
last cleanup of pool code before rewriting it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:05:58 +00:00
beveloper
3b70f94330
added a magic value to check clobbering of the free list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:10:20 +00:00
beveloper
60d9ed9e3b
fixed the ASSERT macro, it did not even compile if DEBUG was defined
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:07:28 +00:00
beveloper
7991b1a031
added a lot of debugging functions that should help fixing bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 02:25:04 +00:00
Michael Pfeiffer
2440d2c1cf
Removed or created shared header files used by print kit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-26 23:03:14 +00:00
jerl1
eac71506d6
Some correction, and class BMidiStore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-21 19:23:22 +00:00
Ingo Weinhold
389d57611d
This commit was generated by cvs2svn to compensate for changes in r2038,
...
which included commits to RCS files with non-trunk default branches.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 19:21:05 +00:00
Ingo Weinhold
68880b2171
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 19:13:09 +00:00
beveloper
6396865dcd
added automatic media_addon_server launching and termination.
...
added detection of and cleanup after application crashes.
if the media_addon_server crashes, it will be restarted.
removed preleminary volume control functions.
removed unneeded media_server functions.
changed application registration to use port based messaging.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 01:28:23 +00:00
DarkWyrm
c773cf76b7
Added new FlushWithReply method. Mostly tested
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 00:31:58 +00:00
Stefano Ceccherini
769a895450
Corrected some inaccuracies imported from the BeOS headers:
...
CapitalizeEachWord() DOESN'T capitalize words separated by spaces, it
capitalizes words separated by non alphabethical characters.
FindLast(char, int32) prototype was misleading.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 13:45:27 +00:00
Daniel Reinhold
14bc22fb88
some cleanup and reorganization:
...
- the inline functions I introduced earlier have been removed
- the notes about non-Posix extensions to the sigaction struct have been
updated, enlarged, and moved out of the way (near the bottom of the file)
- all the function prototypes have been collected and placed together
- a few more items have been commented
- in general, the organization of the whole file should be more tidy now (I hope)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:24:07 +00:00
Daniel Reinhold
c69a62db20
several fixups:
...
a new typedef for signal handlers - sig_func_t
(the old one is kept around for backwards compatibility)
a new macro MAX_SIGNO to get rid of magic 32's all about
two more functions (sigemptyset and sigfillset) are now
defined inline as well
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 04:43:13 +00:00
Axel Dörfler
ab25550f8e
Added a initque() inline function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 01:35:01 +00:00
shatty
80b7a8e57c
added 3 missing conversions - mysterious!
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 21:36:29 +00:00
shatty
bdde99f147
missing 'til now...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 21:00:08 +00:00
jerl1
f9493271b8
Made correction asked to me
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 16:38:59 +00:00
Axel Dörfler
2935bff656
Added utime.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 22:34:27 +00:00
Ingo Weinhold
8a425955c5
The header is now compatible with R5's libroot.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 17:37:55 +00:00
ejakowatz
8f1a4e7f89
Implemented BGA's UTF-8 char len suggestion in UTF8.h and used it in
...
BString::CountChars().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 08:06:18 +00:00
Philippe Houdoin
8f74e6ed4a
Small private net header cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:41:46 +00:00
Philippe Houdoin
f0ad00a244
Remove once again a global variable (protocols list) declaration from a header!
...
Plus remove unrequired _KERNEL_MODE code switch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 23:40:03 +00:00
Philippe Houdoin
40e492bc4c
Some net headers fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1911 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-13 07:57:19 +00:00
Philippe Houdoin
a0a6d75d61
Some net cleanup...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-12 21:03:25 +00:00
DarkWyrm
182af733e7
Initial checkin of official version of protocol file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 22:01:30 +00:00
DarkWyrm
15a224865b
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 21:47:47 +00:00
shadow303
5ea0e0a5d0
Change clipboard constants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-09 20:55:41 +00:00
Tyler Dauwalder
6de29761ec
Added Load/Save Recent Lists constants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:38:50 +00:00
Tyler Dauwalder
1bde02ae7b
Fleshed out any missing pieces of BRoster::
...
- ClearRecent{Docs,Folders,Apps}
- AddToRecentApps()
- {Load,Save}RecentLists()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 08:36:08 +00:00
Tyler Dauwalder
e28d9c0efe
Changed B_PATH_NAME_LENGTH+1 suggestions to B_PATH_NAME_LENGTH
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:40:25 +00:00
Tyler Dauwalder
89ec8a81c2
Moved CharStream class out of Parser.{h,cpp} and into its own file
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:38:35 +00:00
Tyler Dauwalder
e5f9569dcb
Added escape_path() functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-08 00:37:46 +00:00
beveloper
63db78ca7d
fix header guards to fix app server build problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-07 00:42:03 +00:00
beveloper
dfb2ad6148
code cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 16:03:23 +00:00
Axel Dörfler
5ef7716d48
Added a missing const to the (sys|user)_select() call.
...
Broke binary compatibility for the notify_select_event(), since it obviously
hasn't been used on R5 at all.
The new API/implementation is much nicer to use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 03:14:05 +00:00
mahlzeit
2576750920
Partial re-implementation of Paul and Jerome's
...
MIDI file import; see the website for details.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 20:08:23 +00:00
mahlzeit
b55530493f
Added Doxygen file header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 16:12:00 +00:00
mahlzeit
173d0cd769
Cleaned up libmidi. See the log message
...
from the libmidi source for details.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 16:11:03 +00:00
Axel Dörfler
350117ec51
Removed the "const" in the return value of strerror() to be POSIX compliant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:58:34 +00:00
Philippe Houdoin
7d31ea94fb
Add missing extern "C" enclosures.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:54:42 +00:00
Philippe Houdoin
5c3421e490
rtstat and rt_tables global variables were declared EACH time route.h was included.
...
There're now only defined here via extern, and declared in
/current/src/add-ons/kernel/network/core/route.c where they belong.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:53:49 +00:00
Philippe Houdoin
2ae4404ac1
On behalf of Scott Mansfield, the 3/4 Net* classes headers are there.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:49:38 +00:00
lillo
5e7d6a17a0
Enabled the single ordered queue scheduler and made some little fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 13:20:00 +00:00
mahlzeit
e913fbc1c2
Debug macros for the Midi Kit. Somewhat
...
stolen from the Media Kit's debug.h ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 08:50:49 +00:00
mahlzeit
75a7beab8f
The header that was committed earlier was different
...
from the one that comes with BeOS R5 Pro and PE. It
missed GetProducerID() in BMidiLocalConsumer.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 08:48:13 +00:00
beveloper
2f344cad19
some more clean up and renaming
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 20:59:25 +00:00
beveloper
b282b44773
code cleanup. renamed exported socket functions as socket_ and removed void *
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 16:40:51 +00:00
Axel Dörfler
7ed765a7f9
Added syscalls for select(), and poll().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:29:05 +00:00
Axel Dörfler
2dc3fee59d
Nicer parameter names in sys/select.h.
...
Added a comment in sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:28:09 +00:00
beveloper
42415555d3
after many changes, the network stack can now be build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 01:21:54 +00:00
beveloper
7d9ef5af20
avoid collision with <netinet/in.h>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 23:38:46 +00:00
Axel Dörfler
f2e04b5fa6
Removed the kmalloc(), kfree(), and kstrdup() prototypes.
...
You now need to include malloc.h (or stdlib.h) and use malloc(), free(),
and strdup().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 23:03:47 +00:00
beveloper
0e2e5d7f76
added EHOSTDOWN, required by the net kit.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:33:01 +00:00
beveloper
c16715cb44
removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:15:21 +00:00
beveloper
a115b7c3f1
moved some things from sys/socketvar.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:12:42 +00:00
beveloper
890892471a
moved some things into private/net_socket.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:11:48 +00:00
beveloper
6e70991c56
moved from posix/sys
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:07:00 +00:00
beveloper
8b7eabec3f
moved
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 20:05:41 +00:00
beveloper
cd6ec71536
to stay compatible, ListItem.h now also declares BStringItem
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 19:52:00 +00:00
beveloper
e28b48e2f7
This small change fixes a major problem!
...
A class that has a different size than the original is not compatible.
Thus, every application compiled with this header would crash on BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:50:33 +00:00
Axel Dörfler
3275af4352
Uncomment fClean variable to get the header binary compatible with R5.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:50:06 +00:00
Tyler Dauwalder
c698a51ee0
Removed "see also" reference from BStatable doxumentation, as it
...
was gunking up an otherwise nice looking Compound List page.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:42:52 +00:00
Axel Dörfler
d3ed67d76c
Removed BStringItem class from ListItem.h.
...
Fixed the StringItem.h header to be compatible with BeOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:41:51 +00:00
Axel Dörfler
1c1ff60b97
Copied over the ListItem.h header with the original one for now (the old
...
one wasn't compatible and written in a strange style).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:38:31 +00:00
Axel Dörfler
b2d5d0de15
Completely replaced the ListView.h header - the old one wasn't compatible
...
with Be's and in a strange style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 18:36:30 +00:00
Axel Dörfler
b9db114e51
The pollfd fields events & revents had the wrong size (int instead of short).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:39:54 +00:00
Axel Dörfler
a2cbc788e0
Adds support for select(), and poll() in the kernel - both are realized
...
using the current BeOS device API.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:49:57 +00:00
Axel Dörfler
b026d723ba
Made the POLLxxx constants compatible with the ones used internally in
...
the VFS - BeOS don't have poll() at all, so we can freely choose them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:36:14 +00:00
Axel Dörfler
8f3a4e7dd4
Cleaned up kernel.h; the insque(), remque() functions are now in a separate
...
header kqueue.h - together with their implementation which was in module.c
Added a new CHECK_USER_ADDRESS() macro that can be used to check if a
user address points into the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:31:57 +00:00
Axel Dörfler
03360f3bb7
Added our versions of BeOS compatible sys/timeb.h, and sys/times.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 00:46:31 +00:00
lillo
f2bc61304f
replaced sys_kill with general thread-aimed sys_send_signal; cleaned up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 20:38:16 +00:00
Axel Dörfler
f93086c8b2
Completed the poll.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:46:30 +00:00
Axel Dörfler
f647a9d57c
Added struct timespec, and struct itimerspec to time.h.
...
Added missing typedefs (suseconds_t, useconds_t).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:36:26 +00:00
Axel Dörfler
d068515fcb
Completed sys/select.h, renamed the howmany() macro to _howmany() - now
...
also contains the pselect() prototype.
Added new header file sys/time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 18:34:45 +00:00
Axel Dörfler
493130b326
Fixed and cleaned up select.h.
...
Exports now the prototype correctly in C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 17:49:41 +00:00
Axel Dörfler
a691828008
A slight collision of StringItem.h with our coding style guidelines...
...
(and fixed newline at the end of the file).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 01:38:57 +00:00
lillo
a2117f0bc7
reworked snooze to work in function of the newly added (and kernel exported) snooze_etc. Activated libroot counterpart(s).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:06:40 +00:00
Tyler Dauwalder
4f935768b7
Added {Get,AddTo,Clear}Recent{Apps,Documents,Folders} message constants.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:47:18 +00:00
Tyler Dauwalder
44db8a0885
+ Added {Get,Add,Clear}Recent{Apps,Documents,Folders} framework
...
+ Fleshed out {Get,Add}RecentApps calls
+ Updated argument names for GetRecent{Documents,Folders} to
versions used in R5 release notes in the Be Book.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 07:46:32 +00:00
Tyler Dauwalder
32b8ee2e94
Renamed reserved functions to match those in R5, due to linking
...
incompatibilities that appear to possibly be due to R5 versions
of tests in libstoragetest_r5.so being compiled with our headers...
At any rate, this appears to fix the BQuery linking problems.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 02:38:39 +00:00
Daniel Reinhold
79362df9f7
added macros PI and PI2, and fixed previous (invalid) references to these
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:36:45 +00:00
Daniel Reinhold
7401ad9e32
moved trig.h to headers/private/libroot
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:28:28 +00:00
Daniel Reinhold
5015ea5c9e
moved mathimpl.h from headers/private/kernel to headers/private/libroot
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:57:07 +00:00
Daniel Reinhold
7c7738f882
moved math.h from headers/private/kernel to headers/posix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:55:03 +00:00
Daniel Reinhold
55f572b311
moved math.h from headers/private/kernel to headers/posix
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:49:33 +00:00
Daniel Reinhold
6e6d8c9f72
internal math headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:27:32 +00:00
beveloper
6652c2eae9
removed some unused headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:27:39 +00:00
beveloper
a358152c0a
added #include <Message.h> for backward compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 18:59:16 +00:00
beveloper
4b8670624a
some missing midi headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 18:51:58 +00:00
lillo
5cdacbaabb
*LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 16:13:36 +00:00
beveloper
23d36867f6
fixed BFile
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:51:09 +00:00
lillo
343b352fe1
Signals, 2nd pass: syscall restarting now only works on EINTR (removed other exotic retcodes like ERESTARTSYS); signal handlers now receive 3 args, and the vregs struct is used to save the signal context, making the system beos compatible.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:31:22 +00:00
beveloper
702a9e2e58
added C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:22:40 +00:00
beveloper
23f9ab0a7d
fixed the extern "C" header guards, it must read __cplusplus, not _cplusplus.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:07:30 +00:00
beveloper
1be91d1603
added thread_entry for backward compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 12:58:12 +00:00
lillo
8fe70e8212
beos compatibility fixes: exit_thread now issues a signal; wait_for_thread returns B_INTERRUPTED if target thread gets killed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 01:11:15 +00:00
Axel Dörfler
a3b20c0fa9
Added a locale.h header file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:43 +00:00
Axel Dörfler
0f1aeae76c
Added inttypes.h (includes stuff like int8_t typedef), but it's not complete;
...
the strtoimax() functions and friends are missing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:35:08 +00:00
Axel Dörfler
88222a7539
"template" is obviously a reserved word in C++...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:06:00 +00:00
lillo
9870ddcea7
kill now sends the signal to the main thread of a process only. To target a specific thread use the new send_signal syscall. Also added set_alarm.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:36:08 +00:00
Axel Dörfler
617c98ba68
Made stdlib.h almost compatible to BeOS.
...
Removed deprecated strtoq() functions (they are not even part of BeOS, so
why should we include this cruft?).
Added prototypes for llabs(), and lldiv() - added lldiv_t to div_t.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:02:50 +00:00
beveloper
15750026e0
added C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:13:00 +00:00
beveloper
37514a9358
added <netinet/in.h> include and C++ header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 15:12:41 +00:00
beveloper
8fcf577e24
Fixed a strange, and hard to find bug.
...
extern "C" {
was not terminated.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:43:27 +00:00
beveloper
b8377d8cb4
changes header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 14:02:18 +00:00
Daniel Reinhold
3bee4b9931
removed some old, unneeded cruft
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:58:39 +00:00
Daniel Reinhold
2917ddc323
replaced stdlib.h in 'headers/private/kernel' with a better one in the more standard location 'headers/posix'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:50:13 +00:00
ejakowatz
259a6f747a
Proxy for the connection to app_server; just a skeleton at this point.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 01:10:10 +00:00
Daniel Reinhold
8c75beefbf
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 19:52:59 +00:00
beveloper
49a11cb44b
Temporary files to allow compiling. Some should be replaced, some removed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:44:36 +00:00
beveloper
32325cf365
Temporary files to allow compiling. Some should be replaced, some removed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:35:37 +00:00
beveloper
9fc7164698
allow building everything without local(tree external) header files beeing
...
used for kernel or kit components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
beveloper
3bb5ee98f7
BFont doesn't have a destructor
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:08:17 +00:00
beveloper
55f14ba4d9
another small file for compatibility reasons
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 19:35:15 +00:00
beveloper
e48a877c93
a few new headers for compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 18:47:12 +00:00
lillo
f510e6ce60
posix signals support, 1st pass
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 17:31:10 +00:00
beveloper
54d6a27c67
a new and native sys/types.h header for OpenBeOS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:24:50 +00:00
Axel Dörfler
5e4caf1e35
included missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 16:06:53 +00:00
Axel Dörfler
56d2067885
Added a simple malloc.h - doesn't contain all the rare BeOS stuff, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:51:19 +00:00
Axel Dörfler
2b9d5ff6c2
Some changes for an independent header system - added missing function
...
prototypes (and those commented out), to keep the whole project be compilable
and usable on BeOS.
Fixed a bug in fcntl.h (definition for O_DIRECT), added new O_MOUNT.
Added prototypes and "struct tm" to time.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 15:27:44 +00:00
beveloper
d734a8ce5a
some header files to be R5 compatible
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:54:44 +00:00
beveloper
16fe4511e7
added these master include files for better R5 compatibility when compiling
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:48:14 +00:00
beveloper
d7e489f80a
modified to provider better R5 compatibility
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:45:47 +00:00
beveloper
4614b80ee6
some midi2 headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:24:57 +00:00
beveloper
072a505a0d
some midi2 headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 12:50:56 +00:00
beveloper
4c7e1fff2f
Should help with compiling network related apps.
...
I'm not sure if we really need this socket.h and netdb.h wrappers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 16:29:21 +00:00
DarkWyrm
b010ca6720
Checkin for Gabe Yoder
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:08:45 +00:00
DarkWyrm
809cd10db5
Removed \r characters
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 00:06:13 +00:00
Ingo Weinhold
97b8908160
Added message constants for roster watching.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:54 +00:00
Ingo Weinhold
2d08f6879a
Remove _{Start,Stop}Watching() and some friends.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 14:03:29 +00:00
Matthew Wilber
8da2aed831
fixed a spelling issue
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-18 03:25:28 +00:00
Axel Dörfler
146a3000ee
Added syscalls for the index functions.
...
Corrected the prototype for fs_rewind_index_dir() (don't copy and paste...)
Also checked in the syscall definitions for the signal stuff to save Angelo
some work.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 18:52:04 +00:00
Axel Dörfler
1f87d2b261
Changed parameter type in create_index().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 16:45:40 +00:00
Axel Dörfler
8e5ca65bc9
Added a new write_stat() call to the file descriptor operations.
...
Renamed sys_read_stat() to sys_read_path_stat() - sys_read_stat() is now
the fd operation.
Removed the sys_write_attr_stat() call because it is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 03:04:19 +00:00
Philippe Houdoin
ae68bb3273
Re-written by Scott Mansfield <thephantom@mac.com>
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 22:54:05 +00:00
Axel Dörfler
b67f11173f
Added syscalls for the attribute VFS calls.
...
Made some subtle changes to fs_attr.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 16:17:28 +00:00
jrand
be1c65218b
Adding implementation provided by Marc Flerackers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-16 04:29:31 +00:00
Ingo Weinhold
87c9902db3
Added B_REG_BROADCAST message code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:30:10 +00:00
Ingo Weinhold
00bf089671
Nicer parameter names.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 22:29:43 +00:00
Michael Pfeiffer
905bdfe41c
Added some macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1528 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-15 15:47:23 +00:00
Ingo Weinhold
4c0638893d
Added registrar internal message code for the roster sanity event.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-14 21:05:39 +00:00
Ingo Weinhold
121f83dd58
Moved the miscellaneous app kit functions into the BPrivate namespace and added the function current_team() which returns the ID of the current team.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:40:21 +00:00
Ingo Weinhold
cd1a0ce832
Added message constants for the message runner support.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 22:38:41 +00:00
DarkWyrm
04b6869176
Initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-12 19:02:55 +00:00
beveloper
570f7d0456
updated to include the same features/bugs as the screenshot in today's news.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-10 18:55:47 +00:00
Ingo Weinhold
0613dd2076
Initial revision
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-09 23:58:02 +00:00
beveloper
1299bfb29f
added real media_server node management, removed bugs, added debug output
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 23:59:43 +00:00
Ingo Weinhold
6bfa67b39a
OT style filtered the file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 21:51:16 +00:00
Axel Dörfler
11fe0cb8de
Added prototypes for the sys_/user_ attribute calls.
...
Changed the file_descriptor structure (more status_t, name removed).
Changed "extern inline" to "static inline" in thread.h/arch_thread.h as those
also work with -O0 -g.
Added prototypes for [arch_cpu_]user_strlcpy().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 03:19:57 +00:00
Axel Dörfler
a03cb82272
Added a field to track the file position to struct file_descriptor
...
(seek() moved from the fs to the vfs).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-08 00:11:10 +00:00
Axel Dörfler
123b5d67ad
Moved the seek() functionality back to the VFS.
...
Renamed read_pages(), and write_pages() to make it more clear.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 23:37:05 +00:00
Ingo Weinhold
ae56d39432
Added B_REG_SET_SIGNATURE.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:49 +00:00
Ingo Weinhold
9b66380776
Changed SetSignature() return value from void to status_t. resolve_app() and translate_ref() do now set the supplied ref to the resulting one when traversing a link.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-07 21:50:24 +00:00
Axel Dörfler
5ebceff89d
Added L_cuserid, ... definition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1420 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:47:50 +00:00
Axel Dörfler
cc53922b41
Added headers for fnmatch, glob, and pwd stuff.
...
Uncomment some functions in unistd.h which glob is using.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 23:47:13 +00:00
Ingo Weinhold
0cf8481dc7
Added newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1410 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:45:06 +00:00
Ingo Weinhold
507e41e8dc
Removed unused private methods. Beautified parameter naming.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 22:43:13 +00:00
beveloper
89e936f711
added missing operator new and operator delete
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1404 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:39:16 +00:00
beveloper
4703fb5d85
These files have been contributed by Christopher ML Zumwalt May
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-06 11:31:21 +00:00
beveloper
85dfab2ba8
even more BMediaRoster functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:45:50 +00:00
Axel Dörfler
ee02a93973
Cleanup.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 19:44:27 +00:00
Axel Dörfler
eafeadc689
Fixed a bug in the header (didn't include a needed header).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 16:55:20 +00:00
beveloper
9e9417d205
more BMediaRoster functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 13:02:26 +00:00
Axel Dörfler
c321cf4929
Completed, rearranged, and cleaned up OS.h. Moved some typedefs from ktypes.h
...
to this place. Also removed create_sem_etc() from there, that shouldn't be a public call.
Cleaned up image.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 01:19:31 +00:00
Axel Dörfler
e96a844909
Removed some type definitions from ktypes.h that are now located in OS.h.
...
Changed lock.h to like those changes.
Moved the create_sem_etc() from the public OS.h to the private kernel only
sem.h, cleaned it up a bit.
gcc doesn't seem to like the "extern inlines" with -O0 -g, so I replaced
an inline function in thread.h with "static inline" (which it does always
like).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-05 01:17:28 +00:00
Ingo Weinhold
1522bbc771
Reduction of redundant characters. ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 21:41:30 +00:00
Ingo Weinhold
dc5b003704
Parameter naming consistency...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 21:05:06 +00:00
Tyler Dauwalder
f8adf6ade1
Made kThreadLimit constant public
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 04:22:08 +00:00
beveloper
e1df8c523b
made debug output more human readable
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 01:19:58 +00:00
beveloper
3620737cb7
added more BMediaRoster functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:45:20 +00:00
beveloper
645433765e
modified for media kit use
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-04 00:42:45 +00:00
beveloper
044ba1ed95
We need a stack. Using the one from bfs.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-03 21:45:43 +00:00
beveloper
8c6a6096e7
rewrote BMediaRoster::Connect() and a few related functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 22:12:10 +00:00
beveloper
e66fda405a
finished notification support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 16:54:53 +00:00
beveloper
f492510482
changed media kit internal messaging and notification support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-02 01:04:48 +00:00
Tyler Dauwalder
989772566f
Added kMetaMimeType constant
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:29:32 +00:00
Tyler Dauwalder
09dad369d7
Updated filesystem traversal code to skip files/devices that don't
...
support attributes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:26:11 +00:00
Tyler Dauwalder
28f43bbd48
+ Updated entry_ref_is_root_dir() to Be style calling conventions
...
+ Added device_is_root_device() call
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:23:59 +00:00
Tyler Dauwalder
9f6eedfaf3
+ Renamed and moved from src/servers/registrar/ThreadManager.{h,cpp}
...
+ Fixed iteration bugs
+ Added more complete debugging output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-01 07:22:11 +00:00
DarkWyrm
8d22950d01
API and stability improvements
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 22:34:20 +00:00
Michael Phipps
571e21095f
Per Jason
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 17:53:51 +00:00
Axel Dörfler
03874b549f
Removed the remove_fd() prototype, it's now a static function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-30 03:29:19 +00:00
Tyler Dauwalder
555279ef59
Removed an old and inaccurate comment I just noticed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:24:56 +00:00
Tyler Dauwalder
b690150ecf
Removed mime update code
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:12:42 +00:00
Tyler Dauwalder
a122f181c1
Update mime update constants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:11:42 +00:00
Tyler Dauwalder
162f340b21
UpdateMimeInfoThread class, which is a subclass of MimeUpdateThread
...
that implements updating specific to update_mime_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:09:50 +00:00
Tyler Dauwalder
56a452bb2c
CreateAppMetaMimeThread class, which is a subclass of MimeUpdateThread
...
that implements updating specific to create_app_meta_mime().
Note that the implementation is not 100% correct yet, and the
OBOS::BMimeType::create_app_meta_mime() tests still fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:08:21 +00:00
Tyler Dauwalder
4707046cec
MimeUpdateThread class, which is a RegistrarThread subclass that
...
implements the functionality common to both mime update calls
(update_mime_info() and create_app_meta_mime()), namely walking
through the filesystem and performing updates.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:05:39 +00:00
Tyler Dauwalder
cd7adc0b06
RegistrarThread class, which is the base class for threads
...
spawned in the registrar.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-29 07:01:43 +00:00
shatty
da199a7e78
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 00:11:29 +00:00
shatty
1c5c50fc82
fixed newline at end of file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-27 23:44:26 +00:00
Michael Pfeiffer
b0ab449a96
Added message constant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 23:36:31 +00:00
Marc Flerackers
4eb5e0d516
Initial Checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:53:19 +00:00
Stefano Ceccherini
a15ed5a14a
fixed a typo
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 14:22:16 +00:00
Axel Dörfler
83efd20846
The private data field in struct file_descriptor is now a union (that can
...
currently hold a pointer to a fs_mount, or a vnode).
Updated the index_dir part of the fs API.
Added FDTYPE_INDEX_DIR in fd.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 03:36:04 +00:00
Axel Dörfler
a16194144d
Removed bootfs.h and rootfs.h from the private/kernel/ header directory.
...
They are now located in src/kernel/core/fs, because they are private to
the VFS, not private to the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-26 01:09:27 +00:00
Axel Dörfler
2217cc8e6a
Changed some names (of structures and definitions).
...
Added exports for the variables a file system add-on has to export.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:38:10 +00:00
Axel Dörfler
3c6bf0c8c1
Renamed "calls" to "ops".
...
Removed unused prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 16:36:38 +00:00
Axel Dörfler
4dc5ecd3cb
Renamed fs_id to mount_id.
...
Moved typedefs for mount_id and vnode_id to fs_interface.h.
Removed some unused stuff in ktypes.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 13:57:06 +00:00
Axel Dörfler
ba8080175e
Changed the rename_attr() call to allow moving attributes to other files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 12:14:57 +00:00
Axel Dörfler
bae1b21a60
Reworked the fs API a bit, it's quite complete now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-25 02:15:00 +00:00
Axel Dörfler
570b6eaeeb
Removed the fs_ prefix from the fs_calls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:17:22 +00:00
Axel Dörfler
ec152b4fff
Some more changes to the attributes fs API:
...
Since BFS can't resolve a vnode_id to an attribute, fs_create_attr() now
doesn't return a new vnode_id anymore. Changed all fs_vnode variables to
"file" instead of "attr" to avoid any confusion.
That means for BFS that the cookie which fs_open_attr() returns will have
to include a pointer to the real inode, if the attribute is not part of the
file's inode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:09:02 +00:00
Axel Dörfler
10567eeb6e
Changed an unused field of struct stat (st_rdev) to st_type, so that we
...
can use this structure to call fstat() on attributes and indices.
Added more functions to the file system interface (attributes, and indices).
Added header fs_attr.h, and fs_index.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 16:02:53 +00:00
Tyler Dauwalder
1bd963b6c2
+ Added file-extension based mime type guessing
...
+ Added sniffer rule based mime type guessing
+ Added get_device_icon()
+ Added complete (synchronous, asynchronous; recursive,
non-recursive; forcing, non-forcing; you name it we got it :-)
update_mime_info() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:36:03 +00:00
Tyler Dauwalder
2150894b73
Added BytesNeeded() functions to all the sniffer classes to allow
...
a pre-read data stream to be sniffed instead of actual files on disk.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:27:46 +00:00
Tyler Dauwalder
4494844f12
Initial checkin. BPrivate::Storage::Mime::SnifferRules class, which is
...
responsible for managing sniffer rules and sniffing files and data
streams.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:22:40 +00:00
Tyler Dauwalder
09b4d458da
Initial checkin. BPrivate::Storage::Mime::AssociatedTypes class, which
...
is responsible for managing associations between mime types and
file extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 05:20:30 +00:00
jrand
0af8a6afe0
Add the header for the BDeskbar class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 04:11:55 +00:00
Axel Dörfler
366a7cf67c
Fixed a prototype.
...
Updated several structures because of the int/int32/status_t change.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-24 00:09:38 +00:00
Axel Dörfler
88e54ccc26
Added the fs_ops calls for attribute/index/query handling - not yet finished
...
or completed, though.
Renamed fs_cookie to fs_volume, and file_cookie to fs_cookie.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 23:22:18 +00:00
Stefano Ceccherini
893d12fc2c
Lots of bug fixes and code semplification
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 21:02:00 +00:00
Ingo Weinhold
afac6ebecb
Initialize the global be_roster for the registrar.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 19:46:15 +00:00
Axel Dörfler
822cb704e9
fixed sys_wait_on_thread() prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:57:19 +00:00
Axel Dörfler
4e3c12c0af
Moved <types.h> to <sys/types.h>.
...
Removed dependencies on arch/x86/types.h - this file is not really used
anymore, now. Might prevent compiling on Windows, though.
Replaced "int" with "int32" for the id types.
Removed some stuff from ktypes.h because it didn't belong there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:36:51 +00:00
Axel Dörfler
8edc4bb4c8
Added a very preliminary time.h
...
Removed the bzero()/bcopy() prototypes, and replaced them with macros - we
should decide what to do with them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:33:02 +00:00
Axel Dörfler
085320eab2
Fixed some header issues (mostly int, status_t).
...
Replaced <types.h> with <sys/types.h> because that's what those headers
were looking for.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:31:05 +00:00
Axel Dörfler
3f6f3d2921
Added Errors.h, since SupportDefs.h can't be included for now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-22 15:58:49 +00:00
Ingo Weinhold
92a1f24167
Implemented BRoster::FindApp() and a bunch of helper functions needed for it. Tweaked some of the helpers signatures.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-22 00:12:56 +00:00
Michael Phipps
dd6a407346
For Michael Pfeiffer
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-21 18:56:09 +00:00
Philippe Houdoin
53ae93e6d5
Source compatibility objective: time to add some BeOS specific public headers.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-19 22:33:58 +00:00
Axel Dörfler
3cf8edf4dd
Removed the old string.h (new one in posix/)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 14:52:42 +00:00
Axel Dörfler
0c9ee87018
Added our string.h headers (the one in private/kernel will be removed now)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 14:51:59 +00:00
Marc Flerackers
6f3c97ca49
Initial Checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-13 12:51:10 +00:00
Tyler Dauwalder
e3a2f2069e
+ Added SetSupportedTypes() test
...
+ Modified BMimeType::SetSupportedTypes functionality so it keeps track of
stranded types (i.e. previously supported types that have not had the now
unsupporting app signature removed from their supporting apps list yet due
to a false fullSync parameter) over consecutive SetSupportedTypes(...,
false) calls and updates all appropriate stranded types on the next
SetSupportedTypes(..., true) call.
+ Added fullSync parameter to BMimeType::DeleteSupportedTypes
+ Made BMimeType::Delete() do a DeleteSupportedTypes(..., true) call to
properly update the supporting apps lists when a mime type is deleted.
+ Added initial BMimeType::Get/SetSnifferRule
+ Updated BMimeType::CheckSnifferRule() to return B_BAD_VALUE when passed
a NULL rule string.
+ Brought CheckSnifferRule() tests up to date
+ Added lots of Mime::Database doxygen
+ Added any missing mime monitor notifications in Mime::Database
+ Possibly made some other changes as well... :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 08:12:03 +00:00
Tyler Dauwalder
baa326e0ec
Implemented Get/SetSnifferRule()
...
Added SetSupportedTypes() documentation
Removed a few unnecessary BMessage copies in a couple of functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 07:59:25 +00:00
shatty
72e8e64eea
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:33:21 +00:00
shatty
9b2094065e
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:25:25 +00:00
shatty
9db49a7f65
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-09 05:14:34 +00:00
Stefano Ceccherini
6ad2c5a19c
Added a first BString header
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-06 07:12:06 +00:00
shatty
0dd4de176e
preliminary version: includes only extractor constants so far
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 09:21:41 +00:00
shatty
5975e64850
preliminary version
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-05 09:14:09 +00:00
shatty
b6c8a153ec
discussion of various possible seek modes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-04 23:22:36 +00:00
beveloper
90abd04b34
Change int into status_t, and other changes for better BeOS type compatiblitly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 02:19:22 +00:00
beveloper
b29ceabb12
unbreak the kernel build :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:36:00 +00:00
beveloper
0b5170a447
modified to support building of libnet
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-03 00:02:40 +00:00
ejakowatz
3b90fe8733
This has been merged into DataIO.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-02 04:43:19 +00:00
Ingo Weinhold
fa232b80a6
Added ImportBits() methods to the API, which should be used instead of the queer and also broken SetBits().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-01 23:19:42 +00:00
Ingo Weinhold
730441c856
Removed B_REG_MIME_UNSUPPORT_TYPE.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-30 20:01:30 +00:00
beveloper
1748957b4c
add more changes to the notification support. still not finished.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-30 00:35:10 +00:00
ejakowatz
9078d4766e
Added Jack Burton's DataIO-related stuff and cleaned things up a bit.
...
Several files managed to get left out of the build process; changes to
support.src fixed that.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-29 04:59:46 +00:00
Tyler Dauwalder
b86972c240
Added GetSupportingApps() message field constants
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:58:08 +00:00
Tyler Dauwalder
41b9ba9155
Added GetSupportingApps()/SetSupportedTypes() functionality
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:57:30 +00:00
Tyler Dauwalder
58e3c56d45
Added B_REG_MIME_GET_SUPPORTING_APPS
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:55:18 +00:00
Tyler Dauwalder
94fb5d4096
Added fullSync parameter to SetSupportedTypes()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:53:22 +00:00
Tyler Dauwalder
ee0cf10184
Handles supporting application management. This is an
...
initial, theoretically fully functional implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 23:52:52 +00:00
Philippe Houdoin
4c44e39a3a
Initial checkin of C++ BeOS Net API include files.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 21:25:08 +00:00
Philippe Houdoin
d3dadb6b54
Forgot to move select.h and sockio.h from old /net_kit tree
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@915 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 19:53:43 +00:00
beveloper
d7e6d6f0a3
fix a minor problem
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 17:26:06 +00:00
ejakowatz
ac52c3780f
New addition, with required modification to build file.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 03:41:58 +00:00
Ingo Weinhold
bffaf34afe
Initial version of provisional BBitmap implementation. Save SetBits() all functions of current interest are implemented. A helper class for palatte <-> true color conversion is in place. Nothing is tested. Currently not included in the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-28 00:42:18 +00:00
Tyler Dauwalder
02fd0582dd
Cleaned up warnings
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 08:26:33 +00:00
Tyler Dauwalder
32f45afc26
+ Added GetInstalled[Super]Types functionality
...
+ Cleaned up warnings
+ Added documentation
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 08:26:11 +00:00
Philippe Houdoin
8602784fd5
These includes files are in /current/headers/private/net/. now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 08:02:28 +00:00
Philippe Houdoin
35682cc6b3
Moving the net kit private includes files to /current tree.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-27 07:59:57 +00:00
Ingo Weinhold
98da112cca
Complete implementation. The 'supporting types' methods are untested as they need BMimeType/registar support. SetSupportedTypes() may need some adjustions when that is available.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:49:22 +00:00
Ingo Weinhold
821e6e16f2
Added B_REG_MIME_UNSUPPORT_TYPES message code.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:48:41 +00:00
Ingo Weinhold
3d4a601414
BMimeType's got a new friend: BAppFileInfo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-25 22:48:10 +00:00
Tyler Dauwalder
bb24170e40
Added initial timing support. Individual test cases now display run time
...
information for verbosity >= v2. I'll probably add a command-line
toggle specifically for timing info someday. I also hope to add per-test
and per-suite run time info eventually as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:16:26 +00:00
Tyler Dauwalder
537842b6ee
Split into storage/mime/* files, and thus removed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:05:01 +00:00
Tyler Dauwalder
e20a514ae9
After implementing the BMimeType::GetInstalled[Super]Types()
...
functionality, it became apparent that some restructuring was
needed if I wanted to keep things clean and managble.
storage/MimeDatabase.{h,cpp} have been broken into:
storage/mime/database_support.{h,cpp}
+ MIME database constants
+ high-level database access functions like open_type(),
read_mime_attr(), etc.
storage/mime/database_access.{h,cpp}
+ atomic read functions
+ is_installed()
+ get_icon_data()
storage/mime/Database.{h,cpp}
+ Mime::Database class, which is responsible for all write,
non-atomic read, and mime monitor functionality.
storage/mime/InstalledTypes.{h,cpp}
+ Helper class for Mime::Database::GetInstalled[Super]Types()
storage/mime/Supertype.{h,cpp}
+ Helper class for Mime::InstalledTypes
I haven't merged my intial, somewhat cludgy GetInstalled[Super]Types
implementation into the new setup yet. That comes next, and it ought
to be a more graceful implementation now.
I also implemented BMimeType::Get/SetSupportingTypes(), though
they haven't been tested yet (sorry).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 05:04:02 +00:00
Tyler Dauwalder
1c4b41005c
Added to_lower() functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:54:52 +00:00
Tyler Dauwalder
ea1a165a95
Added B_REG_MIME_GET_INSTALLED[SUPER]_TYPES
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-24 04:54:01 +00:00
beveloper
eae26d3da1
Start adding notification support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-22 23:34:33 +00:00
Tyler Dauwalder
3155eae222
+ Added code/updated tests for
...
- AttrInfo
- FileExtensions
+ Updated Delete() code to send monitor updates
+ Tenatively added "be:action" field to monitor messages
+ Added data type constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 10:55:20 +00:00
jrand
e39c71fce8
Remove R3 compatibility details from BPropertyInfo, fix memory leak and implement endian-ness
...
aware flatten and unflatten code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-21 06:44:27 +00:00
Axel Dörfler
eb11b67370
Added a preliminary sys/types.h that just includes ktypes.h for now.
...
Changed other headers to include sys/types.h rather than ktypes.h.
Added a license reference at the beginning of those files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 11:10:51 +00:00
Axel Dörfler
cedc441e4a
Added the realpath() prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:42:16 +00:00
Axel Dörfler
83a74a6b48
Added param.h to the repository.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 10:35:02 +00:00
Tyler Dauwalder
1ed04c7ce3
Added code for:
...
+ {Get,Set}IconForType()
+ Delete*() functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:37:04 +00:00
Tyler Dauwalder
19ac754088
Added B_REG_MIME_DELETE_PARAM
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-20 09:35:05 +00:00
Tyler Dauwalder
55f345fd20
+ Added code for:
...
- {Get,Set}PreferredApp()
- {Get,Set}AppHint()
- {Get,Set}Icon()
+ Added any missing doxygen
SetIcon() is currently not implemented as I would like,
due to us needing an OBOS::BBitmap implementation.
Thus there are two versions and the GetIconData()
function until that day comes around.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:37:50 +00:00
Tyler Dauwalder
691354c6d0
Added B_REG_RESULT
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:34:45 +00:00
lillo
615a79cc3c
Implemented send_data/receive_data/has_data thread syscalls
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-19 08:28:39 +00:00
Ingo Weinhold
d6b205f306
Added BAppFileInfo header, empty implementation with doxygen comments.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-17 23:59:41 +00:00
Tyler Dauwalder
f231d0901c
+ Added fMimeDatabase member
...
Implemented:
+ {Get,Set}{Long,Short}Description()
+ {Start,Stop}Watching()
+ Install(), Delete(), IsInstalled()
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:06:51 +00:00
Tyler Dauwalder
9f3d4851ac
Initial checkin; MimeDatabase class used to handle all actual mime
...
database access.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 22:00:37 +00:00
Tyler Dauwalder
c0de18bddf
Added a number of Mime related definitions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 21:59:24 +00:00
Tyler Dauwalder
ef753322a8
Updated BQuery's BMessenger hack to be more legit (and
...
to allow libstorage to compile using public app kit headers)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 21:58:44 +00:00
lillo
e196b7bbc5
added single-queue scheduler; the old scheduler is compiled by default - to enable the new one uncomment the #define at the beginning of thread.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-16 13:14:29 +00:00
Axel Dörfler
5ca8da7a4b
Backported the new stack crawl command ("sc", not "bt" like in NewOS) from
...
NewOS. Untested yet, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 21:42:53 +00:00
Axel Dörfler
4c405cbdd4
The fs interface functions should now return a "status_t" rather than an "int".
...
Added syscalls for, and implemented sys_create_link(), sys_remove_dir().
Implemented link(), unlink(), rmdir().
Fixed the inconsistent path buffer handling in the user|sys vfs functions; the
path buffer is now exactly SYS_MAX_PATH_LEN from userland (incl. terminating
null byte).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 20:39:25 +00:00
ejakowatz
54831cd6f1
Initial checkin for Gabe Yoder.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 14:02:00 +00:00
Axel Dörfler
854fc92a7c
Implemented some more calls in unistd.h.
...
Replaced the unused syscall for getdtablesize() with one for access().
Implemented sys_access() and added it to the file system interface.
Removed the fs function interface from vfs.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:51:36 +00:00
Axel Dörfler
9c3e90a54e
Removed the FS interface functions from vfs.h to a new file fs_interface.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-13 13:48:18 +00:00
beveloper
93fc5a2230
updated to use DormantNodeManager class.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:13:29 +00:00
beveloper
9b9d18dc97
add header guards and two new functions to modify the stored data.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:10:24 +00:00
beveloper
16f59f6874
add header guards
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:10:24 +00:00
beveloper
3a4bbc85c1
Start using a class for management and (perhaps later) caching of dormant media nodes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 20:08:07 +00:00
Tyler Dauwalder
09d84e61b6
+ Changed StorageKit namespace to BPrivate::Storage
...
+ Changed Sniffer namespace to BPrivate::Storage::Sniffer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 08:42:01 +00:00
Tyler Dauwalder
82b7566525
Updated header guards to Be, Inc. style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-12 07:24:02 +00:00
Ingo Weinhold
36a3a8f023
Moved doxygen comments into the source file. Completed/extended/rewrote them. Changes to style and indentation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-11 16:16:07 +00:00
beveloper
3041056043
Adding only those device kit headers that are required by libdevice.so
...
Taken from headers-src.tgz from ftp.be.com
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 22:45:28 +00:00
beveloper
4c2bc7e83c
replace header files with BeOS R5 header files taken from headers-src.tgz from ftp.be.com
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 22:38:37 +00:00
beveloper
e7d9c8df6b
remove these non BeOS R5 compatible headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 22:33:26 +00:00
Tyler Dauwalder
93d145bb01
+ Added support for "-i" flags and case insensitive matching
...
+ Renamed Expr class to DisjList, which is more descriptive
as to its function
+ Added ' and " to the list of allowed characters in an
unquoted string.
+ Added updated sniffer rule grammar to doxygen for the
Parser class
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:36:00 +00:00
Tyler Dauwalder
0322e71475
Renamed to DisjList.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-10 09:32:03 +00:00
Axel Dörfler
e867ec51af
Added mount.c, implementation of mount() and unmount().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 20:48:30 +00:00
Axel Dörfler
beddff0f56
Replaced opendir.c with directory.c, implemented chdir(), fchdir(), and
...
getcwd().
Introduced new xyz(int fd, char *path, ...) style of functions for
sys_setcwd(), and sys_write_stat().
Added missing sys_fstat(). Removed duplicated prototypes in syscalls.h
Fixed some minor bugs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 20:20:28 +00:00
Axel Dörfler
14e18e556e
getdtablesize() no longer needs a syscall.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 17:51:02 +00:00
Axel Dörfler
75cf4c1ea5
New BeOS-like unistd.h file.
...
All unimplemented functions are commented out for now - but that has to
change, of course.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 16:58:39 +00:00
Axel Dörfler
d7dd1c2ac2
Changed argument order for sys_read/write() to be more intuitive.
...
Removed unistd.h (new BeOS-like unistd.h will be in posix/ shortly)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 16:57:25 +00:00
Tyler Dauwalder
fe70cd16af
+ Updated all the parsing code to use std::strings everywhere
...
instead of const char*'s to allow for rules with NULL characters
embedded in them.
+ Updated Rule::Sniff() to actually return a useful value
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-09 10:30:38 +00:00
Tyler Dauwalder
60ee71d302
+ Added some documentation
...
+ Fixed a bug with 0eXXX floats being handled improperly
+ Updated a few error messages to give proper character
stream positions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:23:24 +00:00
Tyler Dauwalder
0bc621d53b
+ Added some documentation
...
+ Now verifies the given priority is valid
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:21:31 +00:00
Tyler Dauwalder
10db8711a8
Added some documentation
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-08 07:20:47 +00:00
Axel Dörfler
0daa3f2af3
Added Be's driver_settings.h header file (hey, they don't even include any
...
license stuff in it :-).
Some cleanup on the other headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-07 22:36:49 +00:00
Tyler Dauwalder
390dce8da6
Parser is finished (or very nearly so)!!! :-)
...
+ Added support for extended notation floating point numbers,
as well as signed (+ and -) floats.
+ Finished up parsing code
+ Moved Err class into it's own header/source pair, since I
started using it all over the place in the sniffer code.
+ Did my darndest to make sure I wasn't leaking memory
anywhere.
+ Matched up error messages as best as possible with R5's
error message. Some couldn't be matched, some were improved.
There *are* a few things left to do. I don't think priorities are
verified to be valid (0.0 <= x <= 1.0). More tests also need to
be written. Things have solidified enough now that documentation
is a reasonable thing to start considering as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:37:14 +00:00
Tyler Dauwalder
01293d6ed7
+ Added InitCheck()
...
+ Added Priority()
+ Added Sniff()
+ Replaced ExprList typedef with plain old std::vector<Expr*>
so I wouldn't forget what the hell kind of list I was working with.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:32:27 +00:00
Tyler Dauwalder
9d97f52d8d
Added InitCheck() and GetErr()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:30:44 +00:00
Tyler Dauwalder
a60032821f
Updated the Sniff() function to take a BPositionIO instead of BFile.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:28:36 +00:00
Tyler Dauwalder
74cd43ec44
New mime sniffer support classes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-06 08:25:41 +00:00
Axel Dörfler
24462625e1
Removed header files we'll most likely never use.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 17:23:23 +00:00
Axel Dörfler
dc74f4ac15
Added a comment in memheap.h
...
Added sys|user_write_link() to vfs.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 17:22:19 +00:00
Axel Dörfler
dfa8e8ef78
Added a sys_write_link() function.
...
Added a "mode" parameter to the sys_create_symlink() function.
Added an open_mode to the file_descriptor struct.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 05:31:32 +00:00
Axel Dörfler
151edf0672
Removed the know unnecessary BSD-like fcntl.h (a BeOS one is now in posix/)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 01:35:03 +00:00
Axel Dörfler
2204c4d3d9
Added some possible extensions to the flag set.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 01:31:23 +00:00
Axel Dörfler
2311f9f79f
Added a BeOS like fcntl.h, with some additions (which might be implemented
...
some day).
Cleaned up sys/stat.h a bit, and added new definitions for different types
of symlinks I plan to add - though I am still not sure if it's a good idea ;-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-05 01:26:14 +00:00
lillo
91363a4278
Converted thread states to BeOS equivalents (excluding THREAD_STATE_FREE_ON_RESCHED, which will probably go away once the slab allocator is in). Converted priorities to BeOS equivalents; we now have 60 priority queues to map the 120 BeOS priority levels (which have a granularity of 2, thanks Axel) plus the idle queue. Fixed PS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 20:10:06 +00:00
ejakowatz
752c497115
The last remnants of the Old Repub ... er, static looper list data has been
...
removed. The old static BLooper functions for managing the looper list are
still there, but they are officially deprecated. The approved interface
for this information is BPrivate::BLooperList, accessible via the global
BPrivate::gLooperList variable. Being as it lives in BPrivate, it is for
API-internal use *ONLY*. User apps use it to their own risk.
Also added a small test to make sure that the size of BLooper stays the
same. I will probably add this to other classes as well; doesn't hurt to
be safe. =)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 17:16:56 +00:00
lillo
854c31f835
finished implementing get_thread_info, get_next_thread_info, get_team_info, get_next_team_info. New ps command behaving like the BeOS one is here, but doesn't work as libroot seems to crash when loaded at process startup... :/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 02:04:37 +00:00
lillo
aded06e0aa
Second round of changes. Splitted thread.c into thread.c, team.c and scheduler.c. First kernel-only get_team_info and get_next_team_info implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:39:50 +00:00
ejakowatz
ebbcbbca01
Implemented count_loopers()/windows() and looper/window_at(). Minor
...
changes to BLooperList to accomodate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:18:14 +00:00
Axel Dörfler
ae372703ce
Big commit: Added symlink support to the kernel.
...
- added needed syscalls to access symlink support from userland
- implemented lstat(), symlink(), and readlink()
- added dev_t to ktypes.h (for now - should be in a public header anyway)
- added symlink support to the "ls" command (now calls lstat() and shows the
link target with the -l option)
- changed the sys_read_stat() call to support symlinks, and updated files
using that function (it gets an extra argument: bool traverseLink)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 02:03:27 +00:00
Axel Dörfler
409a1aeacd
Added some comments
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 01:58:14 +00:00
lillo
3cfbecf1a6
First round of big changes: the term team has replaced proc all over the kernel, the few kern_* syscalls have been renamed to sys_* for consistency, and other small changes. The ps app is temporarily disabled until get_next_team_info is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 00:41:27 +00:00
lillo
c0f8c7be80
little scheduler fixes and made team death synchronized by a semaphore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 20:08:27 +00:00
Axel Dörfler
7220bfdf74
Added missing newlines
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 14:32:50 +00:00
Tyler Dauwalder
68faee1082
+ Switched to std::vector in favor of BList
...
+ Added a few minor tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:03:23 +00:00
Tyler Dauwalder
4574a75fc5
+ Got rid of global TokenStream object
...
+ Started on Parser class
+ Moved parsing functions into Parser class
+ Added Pos() member to Err class to allow for
snazzy BMimeType::CheckSnifferRule() error strings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 07:01:56 +00:00
Tyler Dauwalder
51156f1f46
Way too many builds later, I finally realized I put these #includes in the wrong place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:58:52 +00:00
Tyler Dauwalder
0be1fe8a1f
New MIME Sniffer files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-29 06:57:11 +00:00
Ingo Weinhold
8cd292013b
Added _send_to_roster_() and _is_valid_roster_mess_().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:30:27 +00:00
Ingo Weinhold
4d7538b180
Moved some reusable code from BApplication to this shiny new place.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 19:26:21 +00:00
Axel Dörfler
3aaee8e5b0
Beginnings of the symbolic link support, though it's not yet working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:36:23 +00:00
ejakowatz
80a604c999
All things BMessage; initial check in.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 17:45:25 +00:00
Tyler Dauwalder
224e92720e
Added "position in original character stream" marker to Token class
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 04:13:30 +00:00
Ingo Weinhold
f010066db3
More sugar: Added message constants for running app querying and activation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 00:17:08 +00:00
Tyler Dauwalder
5da549240a
+ Moved internally used classes into header to allow for testing.
...
+ Added EmptyToken, Integer, and FloatingPoint TokenTypes.
+ Added IntToken and IntegerToken classes.
+ Updated scanner, which now handles numbers as well. I believe
it's nearly complete, although I'm almost positive it doesn't
handle octals correctly yet...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-27 19:24:05 +00:00
Ingo Weinhold
b194af1035
Added message and codes, a flat_app_info structure and the name of roster side created app looper ports.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:57:58 +00:00
Ingo Weinhold
496ffb0aa7
* Changed return type of some private methods from void to status_t.
...
AddApplication() returns the token via reference parameter and
additionally returns the team ID of the already running app (if any).
* Implemented AddApplication(), SetThreadAndTeam(), CompleteRegistration(),
IsAppPreRegistered(), RemovePreRegApp(), RemoveApp(), or to to say it
briefly the complete set of app registration helper functions.
* Implemented GetRunningAppInfo() and GetActiveAppInfo().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:47:21 +00:00
Ingo Weinhold
7dfa0a3dbe
Aesthetical details.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 19:40:51 +00:00
Tyler Dauwalder
674e18fb18
Initial MIME sniffer rule parser checkin. The first draft of the
...
scanner portion of the parser is done, but completely untested
and unused. More to come...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-26 07:47:07 +00:00
David Reid
40f83ea15d
Add a new line at the end...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 22:28:59 +00:00
David Reid
d6758977e7
Small typo.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 18:07:41 +00:00
notion
66554a4c98
Fixed the overflow bug in heap.c that would occur on allocation of all the memory of the heap.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:49:29 +00:00
David Reid
25f0d23bad
Add Be's isapnp header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-25 14:18:54 +00:00