Commit Graph

14144 Commits

Author SHA1 Message Date
Axel Dörfler
0eecdd8334 Made the page table allocation/filling mechanism a bit more flexible and less error prone.
Also, freeing regions is now supported (but still only the last allocated region can be
freed, as that's currently good enough).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:37:18 +00:00
Jérôme Duval
a26988784a added _fseek for R5 compatibility
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 15:52:35 +00:00
Jérôme Duval
e289737816 added some legacy functions for ftpd and telnetd
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 15:51:23 +00:00
Stefano Ceccherini
77e79df0f7 Added a comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 14:41:02 +00:00
Jérôme Duval
42848b0907 added index and rindex to libroot.so
R5 ftp and telnet commands now run on Haiku


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 13:05:03 +00:00
Waldemar Kornewald
6fe225bce4 Changed email address, nothing special.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:11:12 +00:00
Waldemar Kornewald
1dd511e38b Added ppp_up. Still in need of nice icons for the replicant.
Untested.
This also fixes makehdimage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:07:22 +00:00
Waldemar Kornewald
a89ad654b0 Thank you, Kristian Knuechel, for reporting a bug (now fixed).
Fixed the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 10:06:12 +00:00
Stefano Ceccherini
dea7a63c17 Some changes in _HandleDirectConnection(). Not tested. Could even fix the relative crashing bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 22:32:27 +00:00
Jérôme Duval
53297d1714 ui_color has to provide values even when no be_app has been created
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 22:11:50 +00:00
Stefano Ceccherini
1fbd158e8b _HandleDirectConnection() now fills the direct_buffer_info structure. Clipping info is probably wrong. dw_info works, direct_window_test crashes for some reason
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:37:47 +00:00
Jérôme Duval
21b29fb2ef changed B_ANY_KERNEL_ADDRESS to B_ANY_ADDRESS, as our kernel doesn't allow user applications to create kernel areas
added some error logs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:27:20 +00:00
Jérôme Duval
d40a708ed3 added ASSERT checks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 21:09:28 +00:00
Rudolf Cornelissen
6245f19cbe updated PAL VCD mode (768x576 overscanning) to center better: there was a vertical black bar on the right side of the screen (tested with TNT1 on a 4:3 TV.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 19:44:48 +00:00
Waldemar Kornewald
6e17c55acc Bye, bye, poor net_server. :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:17:18 +00:00
Adi Oanca
33691ce0ac Removed NEW_INPUT_HANDLING define and the old code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 18:11:25 +00:00
Rudolf Cornelissen
9b394aa248 programming register PLLSEL as being write-only on singlehead cards. This fixes cursor offset to the left (some 4 pixels) on TNT1 (at least) compared to screen content, along with the missing pixels on the right side of the TVscreen in Desktop modes. Also fixes 'random' extra horizontal offsets on the screen(s). Looks like TVout for BT/CX is now exactly the same as with BeTVOut. (Note BTW that BeTVOut nolonger works correctly alongside this driver because this driver now programmes the encoder itself as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 13:24:53 +00:00
Michael Lotz
7e7b081cba This should fix hanging keyboards when no ps2 mouse is connected. We also stop publishing devices we didn't explicitly find. This disables the questionable hot-plug support but keeps the input_server from stalling the keyboard by probing the non-present mouse.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 12:02:58 +00:00
Jérôme Duval
a8ce6e191f fixed the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14348 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 10:16:18 +00:00
Stefano Ceccherini
ef06444893 Implemented basic server side support for BDirectWindow. It doesn't fill the direct_buffer_info struct correctly, it just sends B_DIRECT_START/STOP messages on show/hide for now. Tested with dw_info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 05:25:52 +00:00
Axel Dörfler
a88fdc5722 Added tarfs to the boot loader test application as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 01:20:00 +00:00
Axel Dörfler
83333bf237 Missed those with the previous commit: added tarfs to the boot loader build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 01:17:48 +00:00
Axel Dörfler
0428a0ddc4 Now loads the maximum size of zbeos when booted from a floppy or CD.
Note, this value should be patched by the build system to the actual size
of zbeos - but since we don't have this mechanism in place yet, the maximum
value is probably the best default, even if it should slow down a floppy
boot considerably.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 00:21:37 +00:00
Axel Dörfler
85a53ea280 The boot loader now has tarfs support needed for booting from CD-ROM.
It expects the zipped TAR at offset 192 kB on the boot image.
This work was mostly done by Ingo during BeGeistert.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-11 00:17:59 +00:00
Jérôme Duval
b67b9d8c87 outputs actual error in stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:30:14 +00:00
Jérôme Duval
276ac902b7 added actual error in stderr
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:27:47 +00:00
Jérôme Duval
f101f76fc7 added a check of BBufferGroup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:25:48 +00:00
Jérôme Duval
09bae796d2 improved visuals
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14339 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 18:23:32 +00:00
Waldemar Kornewald
abdb7d1abb - updated email-address
- removed profiles, ppp_up, and some TODOs
- simplified KPPPReportManager and reports API, KPPPInterface::Up()+Down(), and PPPInterfaceListener (also removed some features from the last one)
- KPPPInterface now sends the last PPP_CONNECTION_REPORT message to every newly registered report receiver
- added net_server to the build, but removed old net_server testing-stuff

all changes are completely untested


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14338 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-10 15:11:36 +00:00
Stefano Ceccherini
85a1a67495 Workspace has a display_mode member where it stores the settings. Removed unused [Set]LocalSpace() methods, added Set/GetDisplayMode() methods
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-08 16:44:28 +00:00
Adi Oanca
b961b59696 - replaced Layer::get_user_regions with _GetWantedRegion()
- replaced Layer::alter_visible_for_children with _ReserveRegions()
- simplified a bit Layer::rebuild_visible_regions()

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14335 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-07 16:05:22 +00:00
Stephan Aßmus
994ae14bb5 a couple of fixes for determining transparent pixels with regard to dithering, new auto transparency mode (from alpha channel) replaces nonsense index mode (the index mode is nonsense, because there is no control over which color gets which index, therefor, the user is better of specifying the specific color, which is supported)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 23:22:41 +00:00
Axel Dörfler
ece4feca93 Use snprintf() instead of sprintf().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 20:40:00 +00:00
Axel Dörfler
eddf43dd76 Added missing clock() function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 17:33:10 +00:00
Rudolf Cornelissen
57ba12dcf6 updated docs. Note BTW that TVout support is still 'experimental' and under development.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:57:31 +00:00
Rudolf Cornelissen
b0fce4813c enabled full TVout support on singlehead cards for the supported encoders, dualhead cards now display the testimage in the selected TVout mode. LCD panels are now taken into consideration and should work with the code enabled, though not (correct) while TVout is active (hardware limitation I expect). DPMS off for panels and CRT's while doing TVout is still lacking. I tested all video modes on a TNT1 with BT869: work beautifully: exactly like with BeTVOut. I'm glad I had that done already.. :). For singlehead cards I need to update some prefs panel program to be able to set the Desktop TVout modes (Dualhead setup tweak for now I think). Bumped version to 0.55. Enjoy...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14327 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:56:53 +00:00
Jérôme Duval
c495f81aab added some debug PRINT
inited fChars to null


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 15:43:21 +00:00
Adi Oanca
88ef6ce8fe - fixed build for NEW_CLIPPING define
- implemented RootLayer::SetActive(WinBorder*).
- added support for BWindow::Activate(). I realize now that I only added support for Activate(true). :-D In the next days I will add support for Activate(false).
- removed a few cases from ServerWindow as they are not needed.
- addapted WinBorder::MouseDown() to work with the new RootLayer::SetActive() implementation. 

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 10:45:46 +00:00
Rudolf Cornelissen
0b36eea44d completed experimental TVout support for singlehead cards using BT868/869, Conexant CX25870/CX25871 chips. As setups with laptop or DVI panels will probably mess up, it's still disabled apart from enabling a testimage. Now starting actual testing..
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 10:12:56 +00:00
Axel Dörfler
c8c6353050 Added gawk, sed, and mimeset to the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:53:11 +00:00
Axel Dörfler
c374092428 The rule_based_prefetcher is now actually usable - had those lying on my hard drive a while longer...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:51:41 +00:00
Axel Dörfler
9a63d90397 Added kernel private VFS functions vfs_entry_ref_to_vnode() and vfs_vnode_to_node_ref().
Minor cleanup of vfs.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:26:27 +00:00
Axel Dörfler
681779f1c8 Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not
per file descriptor (a descriptor can be shared among several slots). There is now a
second table in the io_context structure that contains that information in a bitmap.
There are now two new (private) functions to control the close-on-exec flag, fd_close_on_exec(),
and fd_set_close_on_exec().
F_DUPFD, dup(), and dup2() are supposed to clear the close-on-exec flag on the duplicated
slot - this fixes bug #57 (no output after a redirect of a shell builtin).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:02:59 +00:00
Axel Dörfler
e90c3fec10 dup2() didn't close the evicted file descriptor (ie. call its close hook) - it just
removed it.
Added comment why there is an explicit dup2() at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:55:19 +00:00
Axel Dörfler
1670b8f596 num_used_fds counting was broken for dup2() and vfs_new_io_context() when it was
used with a parent context.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:53:17 +00:00
Axel Dörfler
e8d4a05d8b Renamed the "iocontext" command to "io_context" to match the structure name.
It now also accepts a team ID and will then dump its io_context.
Accidently mixed used/max FD counter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:47:03 +00:00
Axel Dörfler
9e3ebf4033 exit_thread() no longer sends a signal when it's called from a kernel thread - instead,
it will exit directly to have the same behaviour as in user space (where it doesn't
return to the caller, since signals are handled before returning to user space).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:43:10 +00:00
Axel Dörfler
8d3256a4ad The "thread" debugger command now also accepts an address for the thread structure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:40:35 +00:00
Axel Dörfler
7dc1c65f2f Improved "team" debugger command: it will no longer crash on the kernel team, it
will no longer use vm_get_kernel_aspace() (which acquired a semaphore) and it now
accepts decimal team IDs as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 08:36:37 +00:00
Rudolf Cornelissen
bd41908394 completed preliminary enable TVout function, started on disable TVout function (in progress)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-05 17:34:19 +00:00