Commit Graph

14077 Commits

Author SHA1 Message Date
Axel Dörfler
76a377394e arch_debug_console_init() is called with args == NULL in case of an early
boot message - unfortunately, it crashed when used this way until now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14399 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-17 10:15:42 +00:00
Axel Dörfler
19567a9917 Now makes sure the selected entry is visible upon entry, too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14398 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-17 10:09:04 +00:00
Axel Dörfler
a51b55c985 "kernel_args.boot_disk.cd" was never set to true...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-17 10:06:28 +00:00
Axel Dörfler
df13a980fe Mixed up concepts of a selected and a marked item - the Menu::ChoiceText() is now
set correctly (it behaved a bit fuzzy before).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-17 10:05:39 +00:00
Alexander G.M. Smith
47a6a63e35 Need to convert text/html to UTF-8 too, not just text/plain. So that
the spam classifier can handle those Russian HTML only spam messages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14395 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-16 18:33:20 +00:00
Stephan Aßmus
8e742b91ba fixed build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14394 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-15 22:13:37 +00:00
Adi Oanca
908915fb91 This change should've been checked in for well over a week, back when I activated the NEW_INPUT_HANDLING define. Sorry about that!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14393 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-15 19:06:38 +00:00
Rudolf Cornelissen
3aa2145919 added DPMS support (in the normal sense) for TVout: TVpicture is turned off completely when screensaver turns off screen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-15 10:38:11 +00:00
Rudolf Cornelissen
d6d450e124 added TVout DPMS function: at this time only completely disables output when non-TVout mode is selected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-15 09:52:13 +00:00
Axel Dörfler
2e2bd87511 Renamed devices_check_boot_cd() to check_boot_cd() and moved it up to the other BIOS
functions - it no longer terminates the CD-ROM emulation, but only checks the status,
and therefore, it's now called by platform_register_boot_device() instead of from
platform_start_kernel().
This also makes the devices.h header useless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 21:38:12 +00:00
Axel Dörfler
51e081bade Removed platform_boot_device_is_image() - platform_get_boot_device() now fills
in the adequate field in the kernel_args structure.
Renamed gCDFloppyBoot variable to gBootedFromImage (as network boot should look
similar).
The "kernel_args.boot_disk.cd" field is now maintained as well.
The print_item_at() menu function now prints the Menu::ChoiceText() instead
of that of its marked item.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 21:26:30 +00:00
Axel Dörfler
5ea23bb0a3 Removed platform_boot_device_is_image() again; it's now replaced by a field
"booted_from_image" in the kernel_args' boot_disk structure.
Also, added fields "cd" and "user_selected".
A CHOICE_MENU menu can now have a choice text - this is automatically updated
as entries in the menu get selected.
The boot volume menu now has the initial choice text "CD-ROM or hard drive"
in case the boot loader was loaded from an image. The "Rescan volumes" item
is no longer selected by default (only if there was no boot volume found) - but
it's still functionless anyway.
The TAR fs will now appear as "Boot from CD-ROM" in the boot volume menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 21:22:19 +00:00
Rudolf Cornelissen
0703480cab updated setmode command: only disable TVout when it's actually supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 20:08:59 +00:00
Rudolf Cornelissen
4594e58a1b updated NV15 hpos on TV. Tested several TNT1, TNT2 and a GeForce2Ti card with BT 868 and 869 chips: all OK.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 19:59:50 +00:00
Waldemar Kornewald
ad02d98e02 Fixed bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:56:58 +00:00
Waldemar Kornewald
9cad6d980b Fixed very stupid bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:56:22 +00:00
Waldemar Kornewald
36d4f38324 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 13:54:27 +00:00
Axel Dörfler
d32f04d20a Improved comments about the manual symbol relocations.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 11:49:35 +00:00
Axel Dörfler
8423f6f478 Instead of blindly trying to load BFS when booted from a boot image, the
loader will now respect the selection made by the boot image creator, and
just load every file system there is on that image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 11:39:07 +00:00
Axel Dörfler
e3fcb58ebb The boot loader now has special support for being booted from a boot image
like floppy or CD boot.
This allows it to reduce the number of scans needed to identify the boot
partition - when booted from a real floppy, this speeds up the boot
process by a magnitude.
Also, the loader now has a fall back in case there were no "boot" links
on the disk - the current boot floppy script doesn't create them.
With these changes, I was able to boot into a HD based Haiku installation
from a floppy disk. It's not yet enough to boot from CD (as the boot
device selection is a bit too simplistic right now), but it will eventually
come next. Testing is a lot slower here, though, as neither qemu nor
Bochs support multi-session CDs (at least I have no idea how to get them
to do this).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 11:34:18 +00:00
Axel Dörfler
313ffb09da Improved debugging output a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 11:20:42 +00:00
Axel Dörfler
ceb769360d Got rid of the now unused sPageTable variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 09:26:11 +00:00
Axel Dörfler
7416092b83 Marcus spotted an error in the cylinder calculation in get_drive_parameters() - didn't
have an effect on floppies or CD-ROMs, but would have on real hard drives that require
CHS access.
Changed the cylinder-to-regs conversion in BIOSDrive::ReadAt() (that one was actually
correct) to make it look similar to the conversion in the opposite direction in
get_drive_parameters().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 09:25:45 +00:00
Axel Dörfler
b093987a7b tarfs is now maintaining a node ID and got all methods that its entries are statable.
Renamed TarFS::Node to TarFS::File to correctly name the class hierarchy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 09:23:00 +00:00
Stefano Ceccherini
e7dfacc2b4 Fixed a typo which caused a bug.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-14 08:16:45 +00:00
Stefano Ceccherini
cf5a014940 Merged two case blocks, thus removing some duplicated code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 20:44:54 +00:00
Jérôme Duval
060d9206d9 added some netdebug and netconfig files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 15:49:30 +00:00
Rudolf Cornelissen
4e918a7c19 comment updates. BT TVout on TNT1 completed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 15:13:17 +00:00
Rudolf Cornelissen
f2069d6c5c shifted NTSC640x480 desktop mode 7 pixels to the left so rightmost pixels are now visible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 14:37:47 +00:00
Axel Dörfler
0ecc530bf0 TAR fs is now also working correctly in the real boot loader.
Some more cleanup and better error output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 14:06:11 +00:00
Axel Dörfler
8d156f1c5e Fixed a bug with the offset handling in BIOSDrive::ReadAt().
Implemented CHS support needed for smaller hard drives, CD-ROM, ...
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:45:23 +00:00
Axel Dörfler
e83ba2ee32 Enlarged the boot loader's heap area to 64kB needed for the tarfs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:43:13 +00:00
Axel Dörfler
4cc5dde4a7 Updated memory layout comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-13 13:40:58 +00:00
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