Commit Graph

14244 Commits

Author SHA1 Message Date
Jérôme Duval
6a4b16f094 now uses real partitions for menus
annoyingly app_server crashes now at every launch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 15:42:22 +00:00
Jérôme Duval
079e4d1f0b unlike on BeOS, our localtime_r doesn't set timezone information, we can call tzset() ourself
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14527 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 13:23:43 +00:00
Jérôme Duval
d7cd6603b4 added pcmcia headers and command line tools from pcmcia-cs-3.2.8
tested ok on Dano
note that _IO* macros were redefined for the R5 target, the ones in Haiku aren't compatible with R5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 20:43:11 +00:00
Axel Dörfler
3207006695 send_signal_etc() is now safe to be used on an SMP machine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 20:18:29 +00:00
Rudolf Cornelissen
9aeec96cbd updated documentation concerning TVout. Added an extensive description about TVout setup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14522 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 19:20:34 +00:00
Adi Oanca
3e5b79a7c6 Send BMessages to Haiku's app_server instead of PortLink ones. This is untested, but should work fine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 18:44:48 +00:00
Adi Oanca
28d42d6e75 RootLayer thread receives BMessages only. Changed ViewHWInterface to send BMessages for input events
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 18:42:10 +00:00
Axel Dörfler
ef7bac18bb Implemented call_all_cpus(), and get_cpuid() properly (tested only the latter, though).
The "data_ptr" parameter is now only freed if you specify SMP_MSG_FLAG_FREE_ARG
when sending the ICI message.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 18:18:11 +00:00
Axel Dörfler
6cd505cee7 Changed the boot procedure a bit.
Extracted scheduler_init() from start_scheduler() (which is now called scheduler_start()).
Moved scheduler related function prototypes from thread.h to the new scheduler.h.
Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14518 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 16:59:12 +00:00
Rudolf Cornelissen
82f3114509 added forced enabling Vsync (again) to stop_tv_out: just to be absolutely sure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 15:43:12 +00:00
Rudolf Cornelissen
6de3877ad5 fixed dma_acc setting fault I introduced when adding vga_on_tv. Updated docs for a part.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14516 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 13:54:43 +00:00
Rudolf Cornelissen
20603b95f3 rewrote DPMS programming (this time the 'setting' part). Now the new nv.setting 'vga_on_tv' is respected: wich means that VGA output will be turned off by default when you enable TVout on a head (still only head1 supported for TVout). You can preset it to be kept enabled via that setting, although that is considered a tweak which 'might' destroy your (old) screen (offcially non-compatible timing on VGA). It's a handy option to have for singlehead cards though. NOTE: fixed DMA acceleration fault introduced when I added the vga_on_tv option initially (it over-wrote the dma setting!). DMA acc should now be working 'normally' again. Bumped driver to version 0.59. Note: We have a confirmed working Nvidia Geforce 7800 GT PCIe (ID 0x0092). Acceleration is disabled yet on them though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 13:53:31 +00:00
Jérôme Duval
386b1412fb added dirname (needed for our package install.sh script)
removed matroska as it doesn't work on haiku (yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14514 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:49:27 +00:00
Rudolf Cornelissen
5385dd2e3b added DPMS flags to shared_info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14513 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:38:50 +00:00
Rudolf Cornelissen
bfecd0cddb changed fetching DPMS method: now just returning the earlier set flags instead of querying a CRTC. This fixes DPMS state getting lost after using TVout, and simplifies code as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14512 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:38:01 +00:00
Philippe Houdoin
c0440b532f Now using BNodeInfo class to set MIME type, following korli suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14511 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 11:09:40 +00:00
Rudolf Cornelissen
9ae6a9220a added card_type NV47 (== G70 == GF7800)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14510 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:52:11 +00:00
Rudolf Cornelissen
afee6bde9b added recognition for the first two GeForce 7800 cards. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14509 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:50:50 +00:00
Rudolf Cornelissen
63c982f412 added recognition for the first two GeForce 7800 cards: a 7800 GT PCIe and a 7800 GTX Go PCIe. Acceleration is currently disabled. Note please that these cards are not yet tested! (feedback very welcome)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14508 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:50:09 +00:00
Philippe Houdoin
1ae9567747 We *do* know for sure it's a PDF document, so let's set the MIME type ourself.
In the process, we also add "Title" and "Creator" attributes to PDF files generated.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-25 09:30:52 +00:00
Axel Dörfler
888248d42e The kernel now panics if it didn't found any possible boot partitions.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 22:12:41 +00:00
Axel Dörfler
fde12d6407 Some cleanup: renamed the mp_ext_* structures to mp_base_* as they are
part of the base table, not the extended table.
Renamed some structure fields, variables to be clearer and nicer to read.
Removed some unused stuff.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 21:37:40 +00:00
Michael Lotz
41ab7dff11 This should probably have been BASE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 19:57:47 +00:00
Axel Dörfler
0c67510ae1 Enabled SMP detection again - since it's very likely that it doesn't work on
your system, I've also added a "Disable SMP" safemode option. The NO_SMP
define is still there, and will be removed once SMP works flawlessly.
Prints out infos about the interrupt entries in the MP config.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 19:43:50 +00:00
Axel Dörfler
7a09488d8e Could overwrite the memory that the SMP code is using for the trampoline
code/stack with page tables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 19:29:59 +00:00
Axel Dörfler
391f996261 NULL MenuItem::Data() entries are now filtered out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 19:28:03 +00:00
Jérôme Duval
08661eb233 * Fixed build with new code
* 3g and indigo are now built in separate drivers (though indigo isn't built because these cards are CardBus based)
* reworked multi audio interface to publish all available output/input streams (as 16 bits/stereo/48kHz)
* tested ok on a Gina3g on R5 (with Haiku MultiAudio media addon), CLAmp, SoundRecorder
* default output is to be chosen with the Media preferences panel


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 18:17:55 +00:00
Adi Oanca
557411309f preparing RootLayer thread to receive BMessages instead of PortLink ones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 17:46:37 +00:00
Adi Oanca
3b19c4531d Introduced Layer::KeyDown/KeyUp/UnmappedKeyDown/UnmappedKeyUp/ModifiersChanged hooks. Simplified a bit RootLayer::KeyboardEventHandler().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 17:03:46 +00:00
Adi Oanca
9e5c574703 Layer::SendUpdateMsg() will tell us if sending _UPDATE_ message succeded. We'll use that information to clear WinBorder::fCumulativeRegion(server per-window dirty region) only on success.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:39:53 +00:00
Adi Oanca
66156adf92 In case SendMessageToClient() fails, it's good to know why
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:21:49 +00:00
Adi Oanca
70a4b5ce1e We don't need those message codes anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:20:51 +00:00
Adi Oanca
182db85c0c Introduced Layer::MouseWheelChanged(). Cleaned up RootLayer::MouseEventHandler::case B_MOUSE_WHEEL_CHANGED.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:11:50 +00:00
Adi Oanca
da4a68b7f5 RootLayer thread only handles input messages now. All other actions (move/resize/scroll/invalidate/etc) are performed by locking the RootLayer object and taking the respective action from the calling thread(usulay a ServerWindow one).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 16:02:23 +00:00
Axel Dörfler
bf0f315cc3 Added Waldemar to the developer list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 15:30:48 +00:00
Adi Oanca
eead807371 removed Layer::fClassID
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 14:44:26 +00:00
Jérôme Duval
32a4f869b9 updated types to match the one in src/add-ons/kernel/file_systems/bfs/kernel_interface.cpp
I suppose these types should be moved in a common place one day


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 13:15:46 +00:00
Axel Dörfler
411b881b0d enable_keyboard() should now work a little better.
Disabled keyboard tests for now - we will just assume there is a keyboard.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 10:23:30 +00:00
Axel Dörfler
75fc86b667 Added Jonas to the list of contributors - sorry that we missed you earlier!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-24 10:21:24 +00:00
Michael Lotz
d9c69ef133 Corrected the format constant (its 0010b) and set the msf bit to 1. MMC Specs say it shall not have an effect on the result, but it also states that the time bit shall be set to 1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 23:24:10 +00:00
Marcus Overhagen
106d748c45 Prevent input_server from hogging the CPU when input devices fail.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-23 00:28:14 +00:00
Marcus Overhagen
a21a8b1324 Changed the way how the mouse interrupt handler works.
It will now first assemble a complete packet, and then write 
it into the ring buffer. This way, the last packet can easily
be dropped when the ring buffer is full, and we no longer 
need to flush an old packet from the queue (which could lead
to strange effects when handling the remaining packets in the
queue). Also fixed the bug that the semaphore was released 
despite nothing was written to the ring buffer when it was full.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 23:51:43 +00:00
Marcus Overhagen
aeb5fb20a0 On buffer read error, return B_ERROR (instead of B_OK-result from previous acquire_sem)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 22:48:32 +00:00
Marcus Overhagen
31b6023a85 Fixed an off-by-one error in the read_from_buffer function,
testcase: size=7, in=7, first=0, read length=7

Fixed an off-by-(buffer->size) error in the write_to_buffer function,
testcase: size=7, in=2, first=3, write length=3



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 21:43:54 +00:00
Axel Dörfler
3d5ecf962c Minor cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 16:53:49 +00:00
Rudolf Cornelissen
5890efa463 small logging text update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 11:14:34 +00:00
Rudolf Cornelissen
2a70a7fc9b updated shared info for two new nv.settings items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:58:16 +00:00
Rudolf Cornelissen
c0013f4f82 added support for those two new nv.settings options. Updated doc (partly)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:57:43 +00:00
Rudolf Cornelissen
0c73ffe8e7 added 'force TV output signal type' option to nv.settings. Works OK (so implemented). Also added option to keep VGA on for a head outputting TV signals, but that's not implemented yet (always on currently). Bumped version to 0.58.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-22 09:56:41 +00:00
Stefano Ceccherini
718af224dd fFlags was not initialized in the =operator and in the copy constructors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-21 21:56:06 +00:00