Commit Graph

7632 Commits

Author SHA1 Message Date
Michael Phipps
fc5f38fce2 Fix the cornering - it turns out that what the R5 input_server provides in get_screen_region isn't useful.
I use a BScreen instead. Also fixed the timer to work properly with "Don't Blank" corners - before it would
enter a state where the screen would never blank based on the timer again - the timer thread was corrupted.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 20:18:35 +00:00
Philippe Houdoin
28add0bf66 Hack to fix sockets's non-blocking mode. Map BeOS's B_SET[_NON]BLOCKING_IO opcodes
to POSIX open flags and BSDish FIONBIO opcode...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 15:09:34 +00:00
Philippe Houdoin
dda70fe68a Hack to fix the non-blocking mode. Hope I didn't miss something else... :-\
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 15:06:44 +00:00
Jérôme Duval
47d9175a24 Version information for sharutils, code formatting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:19:13 +00:00
Jérôme Duval
7431ddee5f Removed alloca.c, don't go in develop/libs/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:15:03 +00:00
Jérôme Duval
0f9f14bc1b Rremoved alloca.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:09:12 +00:00
Jérôme Duval
dfd3be5beb Version information for sed, code formatting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:08:06 +00:00
Jérôme Duval
5e778b8de0 Code formatting, removed alloca.c, don't go in develop/libs/
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:06:38 +00:00
Jérôme Duval
5de553dd1d Code formatting
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 12:04:48 +00:00
Niels Sascha Reedijk
8604895e66 Fix doxygen output
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-02 09:13:21 +00:00
beveloper
9591761134 removed memory leaking when out of memory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 20:58:57 +00:00
Waldemar Kornewald
5256712211 Added doxygen comments and simplified code a bit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:10:59 +00:00
Waldemar Kornewald
dcc710213d Removed net server because it is not needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:01:21 +00:00
Waldemar Kornewald
3f3689bb79 Finished doxygen comments for the PPP API.
Minor changes to simplify PAP authenticator.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 15:01:01 +00:00
Waldemar Kornewald
700c9b5dad Added initial PPP API documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 14:58:47 +00:00
Jérôme Duval
46c44a04fb adding gnu/termcap.h : is a copy of src/libs/termcap/termcap.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 12:38:47 +00:00
Jérôme Duval
1b69511132 Added GNU bison 1.875d
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 10:01:49 +00:00
Jérôme Duval
77ed7e62e5 Added GNU bison 1.875d
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:52:43 +00:00
Jérôme Duval
9b4d8cfa0d Added tput
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:40:42 +00:00
Jérôme Duval
9f4e62da12 added a #define __P(x) x
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:37:57 +00:00
Jérôme Duval
6ac9d145e1 Version information for tar
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:36:31 +00:00
Jérôme Duval
5a42e3e556 Added Gnu termcap 1.3.1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:30:19 +00:00
Jérôme Duval
d4266f2d0b Version information for dc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:23:53 +00:00
Jérôme Duval
b32ba1de66 Version information for bc
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:23:07 +00:00
Jérôme Duval
1c9d853a22 Version information for zip
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:21:55 +00:00
Jérôme Duval
343b654731 Version information for unzip
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:20:21 +00:00
Jérôme Duval
e91078cbab Version information for coreutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:14:53 +00:00
Jérôme Duval
4a2accd4d2 Version information for bzip2
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:13:20 +00:00
Jérôme Duval
11fa368294 BinCommand and StdBinCommand rules now accept a resource file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 09:10:21 +00:00
Axel Dörfler
755b059fc1 Doh, Elf32_Word is unsigned, so st_size cannot go below zero.
Also made elf_lookup_symbol_address() less restrictive with respect to the
ELF symbol found (it now accepts all types, not only functions).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 00:35:55 +00:00
Axel Dörfler
6444e8f7bf Copied boot loader code to load symbol table into kernel as well - not yet
tested, though.
No longer copies the elf_header in insert_preloaded_image(); it's not used
at runtime (should be superfluous to keep in other kernel images, too).
dump_symbols() now ignores entries with invalid values - don't know exactly
what makes a good entry, but that should look okay.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 00:27:15 +00:00
Axel Dörfler
8b33111039 Updated ELF loader to use preloaded_image struct for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:52:01 +00:00
Axel Dörfler
a8061da698 Removed system_time() prototype; it's already defined in OS.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:31:15 +00:00
Axel Dörfler
b1b1136ca3 No longer uses gKernelEntry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:15:37 +00:00
Axel Dörfler
2f42f1cf3a gKernelEntry is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:12:15 +00:00
Axel Dörfler
2c628d4aef gKernelEntry is no longer necessary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:11:47 +00:00
Axel Dörfler
cbb2b6c19f The kernel image data is now maintained in a preloaded_image as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:54:43 +00:00
Axel Dörfler
bc6ab31951 (Almost) removed special handling of the kernel image, as it's now
maintained in a preloaded_image as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:51:01 +00:00
Axel Dörfler
38e937ca8e Removed superfluous htons()/htonl() functions (we already have the
standard byte order functions in the kernel).
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:49:06 +00:00
Axel Dörfler
78f42e3f33 Moved the addr_range struct to a separate header.
Changed the kernel image data to a preloaded image as well, to simplify
handling in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:44:24 +00:00
Axel Dörfler
ca109e727d Moved the addr_range struct out of kernel_args.h to a separate file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:41:25 +00:00
Axel Dörfler
5cc177f4d6 Replaced all "addr" with "addr_t".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:58:18 +00:00
Axel Dörfler
52823d0c3d Added debugger command for dumping all symbols of the specified kernel image.
Fixed warnings when compiled with TRACE_ELF.
Changed elf_lookup_symbol_address() to returning more useful information.
It now also scans the extended debug symbol table if present - for now, this
only works with preloaded images except the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:47:34 +00:00
Axel Dörfler
73e40f2d6e Small hack to get create_area() to create valid r/w areas in the kernel
(in BeOS, all kernel areas are r/w).
If you use B_READ_AREA/B_WRITE_AREA flags, you make the area readable
or even writeable from userland!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:43:57 +00:00
Axel Dörfler
9d9a07acd8 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:41:39 +00:00
Axel Dörfler
4a88dcb2cd Changed the "sc" output to be more useful.
Now uses the extended possibilities of the elf_lookup_symbol_address() call.
Fixed a bug in dbg_stack_trace(); it could crash at the top most stack frame.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:40:43 +00:00
Axel Dörfler
6fccd3b788 Changed elf_lookup_symbol_address() prototype - due to the way it now returns
its information, it's no longer safe to call this function outside the debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:38:09 +00:00
Axel Dörfler
ecfed6a718 Added fields to hold debug symbol information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:33:13 +00:00
Axel Dörfler
fa1ddc4f0e For debugging purposes, the boot loader is now able to load an additional
symbol table into memory and hand it over to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 20:30:20 +00:00
Rudolf Cornelissen
499683d565 sync update for panning: fixes at least NM2160 glitches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 20:27:36 +00:00