Adi Oanca
412586888e
cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 11:38:38 +00:00
Adi Oanca
31ec092be1
Introduced Layer::Activated() hook function. Moved some functionality from RootLayer to WinBorder
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14565 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 11:15:47 +00:00
Adi Oanca
a577cf141f
Immediately close app_server window after pressing close button in R5
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14564 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 10:35:09 +00:00
Adi Oanca
9f0d28e921
Fixed a stupid bug when checking if the window order changed. Added support for BWindow::Activate(false). Added some debug support for Workspace::WMState. Simplified a bit code for sending a window to back.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-29 10:19:23 +00:00
Adi Oanca
88820e7210
the new clipping code uses the same mechanism for updating frame/bounds, so we don't need some things anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14559 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 17:05:46 +00:00
Adi Oanca
fc9c02aa4f
Made the new clipping code to use a single message to update client frame/bounds. ACTIVATED new clipping code! If someone notices problems please write to any list
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 17:04:31 +00:00
Jérôme Duval
9744e7bb63
added a sys/sysmacros.h header (as on R5)
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 11:43:56 +00:00
Jérôme Duval
a6786b1d3a
remove unused header
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14553 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 11:42:00 +00:00
Axel Dörfler
5030d60fe8
Connected the painter stuff to the temporary font lock work-around.
...
This seem to enhance the stability of the app_server by a magnitude (at least I can
now run apps like Installer and Media without an instant crash).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14549 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-28 09:52:26 +00:00
Jérôme Duval
0c7b6e66e8
added ctype.c, from glibc version 2.2.5
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 22:34:12 +00:00
Rudolf Cornelissen
f1c7ec04ea
added mode.flag 'TV_PRIMARY (1<<13)'. On dualhead cards you need to issue this flag to setup a TVout mode on the primary head: such a mode can be single- or dualhead. Note BTW that (most of) these custom flags will disappear somewhere in the future: when Haiku supports multiple graphics cards.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14547 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 20:08:44 +00:00
Rudolf Cornelissen
2fc04e611d
bumped version to 0.60.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14546 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 20:05:56 +00:00
Rudolf Cornelissen
91731297ec
added/rewrote TVout enabling/disabling routines: moved CRTC specific stuff to the respective files. Driver now has support for TVout head switching, although it's not completed yet (switch mode will likely mess up as that's not taken into account yet :). On singlehead cards TVout is on the one and only head, on dualhead cards TVout defaults to the secondary head (use dualhead setupthere ). Tested OK on NV11 in dualhead clone and stretch mode.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 20:05:14 +00:00
Rudolf Cornelissen
9be6619743
confirmed NVDAC2_TV_SETUP register to exist (tested NV11). Just saw 'real' (as much as is possible with beos currently :) dualhead running on a GF2MX400 using TVmode on the second head (as it has no VGA connector). Confirmed NV11 having a hardcursor on the second head, and having the capability to switch the overlay engine back and forth. Now I still have to update the TVout drivercode for real for this.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14544 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 17:57:48 +00:00
Axel Dörfler
c2a52d2836
Added a temporary work-around to lift the FreeType problem we're seeing a bit:
...
Turns out we are using a single FT_Face object for a given font size throughout the
app_server - but the FT_Face object is not designed for a multi-threaded access, AFAICT.
For example, it only has a single glyph slot, that we were using from different threads.
This fix does not cover the renderer, however, which also uses that shared object; IOW
even though it will crash less often it will still crash because of this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14543 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 16:33:35 +00:00
Rudolf Cornelissen
0b3dc403c8
added status of two new i2c buses to shared_info.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 14:32:59 +00:00
Rudolf Cornelissen
260dcf8ee8
modified I2C- and brooktree-chip-detection routines to support all 4 possible i2c buses on dualhead cards.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14539 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 14:31:44 +00:00
Jérôme Duval
baf595a037
we now use off_t for the sizes (sorry Ingo for bugging :) )
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14538 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-27 13:22:54 +00:00
Axel Dörfler
90ce9e8305
Added calls to read and write the MSR, the machine state register.
...
Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14537 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 23:39:38 +00:00
Axel Dörfler
8fcd6b8e61
* renamed smp_boot.c to smp.cpp
...
* there is now a "Disable Hyper-Threading" safemode in the boot loader
* the SMP & HT menu items are now added in smp.cpp - and are only added
if the system supports one of them.
* more cleanup to smp_apic.h
* removed cpuid() from the boot loader's support.S - instead, it will now
use the one from the kernel.
* added a very weak HT detection: if the MP config only listed one CPU,
and this CPU supports HT, we enable the other logic processor manually -
as this currently doesn't work, it's disabled, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14536 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 22:57:13 +00:00
Axel Dörfler
1c016e0e3f
Cleaned up OS.h a bit more.
...
Return type of thread_func is now status_t instead of the previous int32.
Added some more cpuid_info fields - many fields aren't just reserved anymore.
"sysinfo" now supports the extended features of Intel CPUs, and also knows
the "HTT" bit of the standard features indicating the hyper-threading capability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 22:46:30 +00:00
Axel Dörfler
9f2dae6a17
For now, always enable serial debug output in the boot loader.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14532 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 22:31:27 +00:00
Jérôme Duval
1eedf23081
now populates menus
...
improved size to string formating for GB and TB
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14531 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-26 19:45:38 +00:00
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