Philippe Houdoin
dd537d13a8
Followed Ingo's suggestion: use private get_app_ref(). This reduce code duplication.
...
Thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 13:00:21 +00:00
Siarzhuk Zharski
283db26d5c
* FreeBSD compatibility layer for network drivers is modified to handle
...
NULL-terminated list of driver_t* entries instead of single entry.
That allows to combine multiple FreeBSD drivers into single Haiku
driver add-ons;
* Support for DEC 21140 (Tulip) chipsets (provided by the 'de' driver)
incorporated into dec21xxx driver. That brings network connectivity to
Haiku systems running in MS Virtual PC VMs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 12:45:12 +00:00
Oliver Tappe
5b059ce378
Drop TODO since the commented code doesn't have any effect and nothing else seems to be
...
missing either.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 10:20:15 +00:00
Oliver Tappe
e32a379a72
Minor cleanup: match indentation level with styleguide.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 10:03:51 +00:00
Philippe Houdoin
727c05a5df
Now always retrieve the team icon from the first B_APP_IMAGE image entry_ref.
...
Using team_info.args as before was not safe: when truncated, the
entry_ref could be an intermediate folder, which display a folder
icon as team's icon!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 09:36:19 +00:00
Alexander von Gluck IV
20fbef1e74
* a few additions to the PCI ID list
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-21 02:57:07 +00:00
Jérôme Duval
920e575c03
As suggested by Ingo, revert r42648 and apply patch from Alex Smith provided in #7872 . Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 20:09:32 +00:00
Oliver Tappe
fefa98aaf8
Translate all regions in Time prefs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 18:38:20 +00:00
Jérôme Duval
d29d58edea
Disable interrupts when updating real time clock. Fixes #7872 . Seems to have been introduced in r42116.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 17:46:50 +00:00
Alexander von Gluck IV
11390ce010
* correction to AtomBIOS register loopback calls
...
* cail calls have their registers multiplied by 4
* solves infinite loops
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 14:29:06 +00:00
Axel Dörfler
c9991cca23
* Set the real name to the current user's real name by default.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-20 09:17:11 +00:00
Alexander von Gluck IV
d3e8b64208
* introduce mc control calls
...
* malloc storage for mc state info
* redo pll range struct
* change to ATOM_ENCODER_MODE for connector info
* redo pll calculations to match AtomBIOS requirements
* some structure changes
* no longer init already posted AtomBIOS as it
causes an infinite loop of AtomBIOS calls
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 23:07:45 +00:00
Axel Dörfler
efa3bc3eca
* Now reads the irs.conf from /boot/common/settings/network/irs.conf instead of
...
/etc/irs.conf. Untested.
* There are more config files, but I'm not even sure what they are used for.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 19:12:29 +00:00
François Revol
03e3327d33
Add some tracing of PCI device reservations.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 12:18:32 +00:00
François Revol
4b9d794063
Add a hack to detect the Milan which boots with a black&white mode, to make the menu and console readable.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 12:15:57 +00:00
François Revol
f62ad34221
Add support for enumerating video modes using the Milan API and the ST/TT XBIOS calls. Not really tested, ARAnyM doesn't emulate the Milan stuff, and the ST resolutions aren't exactly chunky anyway (will need patching the framebuffer kernel args to include the mode/4CC instead of just bit depth).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 12:12:22 +00:00
François Revol
e45efadaad
Complete the SCREENINFO structure definition; expose a single version of the Setscreen() calls, since they are just the same with magic values and extra args anyway.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-19 12:08:57 +00:00
Oliver Tappe
45f2f22b52
* update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff
...
for message formatting
* adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer
use a version specific namespace
* adjust LocaleKit to general API changes in ICU 4.8
Note: all software using ICU (like WebPositive) needs to be rebuilt!
Note: the ICU package for PPC needs to be updated before it can be used!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-18 22:13:06 +00:00
Fredrik Holmqvist
fcb8a5cb4e
* Updated ACPICA to 20110623.
...
See http://www.acpica.org/download/changes.txt done after 2010-10-13 for info on ACPI changes.
* Adapted the embedded controller to match current FreeBSD one.
There will probably be some issues with these changes initially.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-17 19:16:21 +00:00
Clemens Zeidler
c732cb560d
Reset the tab region when switching to a tab less look. At least partially fixes #7919 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-15 23:29:38 +00:00
Matt Madia
a820304d86
Adjusted the copyright header, to account for Be Sample Code License and
...
copyrights. Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-14 18:05:48 +00:00
Matt Madia
c284bb0ff6
Moved Cortex license file into each of its source files. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-14 17:45:05 +00:00
Clemens Zeidler
f33cf3fd44
Activating all windows in a stack caused flickering. The reason to activate all windows was to get all windows form a stack into the upper window layers, otherwise it was possible that the top layer stack window is activated but another window in the stack is at the bottommost layer position. Sending this window to the back does not triggered sending the complete stack to the back. The send behind call is now redirected to the top most stack window to ensure the stack is send behind.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-13 22:59:47 +00:00
Axel Dörfler
10751cadb8
* Applied patch from luroh as part of #7433 -- sorry for the long delay!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-12 19:47:07 +00:00
Alexander von Gluck IV
7a2bb2b04c
* backport a missed endian change
...
* clean up some tabs and spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-12 02:04:32 +00:00
Alexander von Gluck IV
5cdfd17b4b
* backport some additional linux atom parser fixes
...
* backport fixes to ATOM_IIO_MOVE_ register offsets
* small bit of style correction
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-12 01:00:34 +00:00
Jérôme Duval
425eff67d6
Locking around descriptors list handling isn't enough, locking is also needed when traversing the list: we instead lock the whole traversing/handling loop.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-11 17:32:14 +00:00
Alexander von Gluck IV
a823207363
* add card instance to accelerant shared info
...
* when TRACE_ATOM is enabled in bios.c, we dump
each accelerant instance of the AtomBIOS rom
to disk in /boot/common/cache/tmp/ (next to usb
hid descriptors in the same file name format)
* these images can be parsed with the AtomDis application
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-11 05:17:34 +00:00
Axel Dörfler
f1383bbf4d
* Fixed build; should have been part of r42620.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 23:22:55 +00:00
Axel Dörfler
d5e36fb599
* Introduced new fs_lopen_attr_dir() function that opens the attribute
...
directory of a file without traversing leaf links (just like lstat()).
* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 21:08:00 +00:00
Axel Dörfler
33272012fb
* Fixed reversed handling of O_NOTRAVERSE in attr_open(), and attr_create().
...
* Added support for O_NOFOLLOW for those two as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 20:53:06 +00:00
Alexander von Gluck IV
93d4d55295
* a few small style fixes to last commit
...
* no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 15:51:00 +00:00
Alexander von Gluck IV
d356bf5033
* consolidate and remove unneeded Xorg headers
...
* move mc code to more generic gpu source/header
* add gpu reset functions (with r600 documented)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 15:48:20 +00:00
Clemens Zeidler
fcde9a3249
When stacking windows, move the new window to the parent position and size. Simplify the part in S&T that took care of it before.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 01:49:00 +00:00
Matt Madia
b6ac45afd2
Updated (TM) to (R). No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 00:20:03 +00:00
Matt Madia
591d9620b5
Updated (TM) to (R). No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 00:10:58 +00:00
Matt Madia
10bc147290
Automatic whitespace cleanup. No functional change.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 00:08:43 +00:00
Clemens Zeidler
cd67c205ff
Only remove a window from the S&T group when the hide event is not triggered by a minimize call.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-10 00:03:25 +00:00
Clemens Zeidler
e0bc3d9e2b
* Remove the bad designed GroupCookie class and move its functionality into the WindowArea. As an result each WindowArea only has one set of tabs and constraints.
...
* Fix group splitting.
* Style: win -> parentWindow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-09 22:55:20 +00:00
Adrien Destugues
5ff6f0d491
Patch by John Scipione : use B_WOULD_BLOCK when locking fails, to avoid returning B_ERROR like when there's an ICU error.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-09 17:12:05 +00:00
Axel Dörfler
98e30c67df
* Fixed style violation (tab before '{' that Jérôme already mentioned), and
...
merged the two ifs.
* Automatic white space cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-08 21:11:03 +00:00
Alexander von Gluck IV
336835776b
* clean up tracing and exit gracefully to vesa if
...
we can't locate an AtomBIOS for the card.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-08 18:36:45 +00:00
Bruno G. Albuquerque
18fe0231df
Add initial vesa modes even if EDID information is present. EDID does not
...
include all supported video modes. Fixes #4166 .
Note that this change will probably show several weird resolution is some
configurations. They are all valid resolutions but are not commom so we need
a way to filter those out.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-08 16:13:56 +00:00
Axel Dörfler
b6455c080b
* Implemented dladdr() in the runtime loader. This is like a gazillion times
...
faster than before.
* This also solves a TODO in dladdr(), although I did not use
get_library_symbol() as I didn't quite see how that could fit as the comment
suggested; there is now a new function get_symbol_at_address() for this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 21:01:23 +00:00
Alexander von Gluck IV
5348fbe689
* fix trace typedef size to fix iso9660 tracing
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 20:24:34 +00:00
Alexander von Gluck IV
c9c7be9a54
* add initial set of Northern Island cards
...
* add igp property to pciid map
* add disabled bios pull for r700 and ni cards
* refactor model numbering as >R700 AMD switched
to named card families
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 20:16:32 +00:00
Axel Dörfler
dc036ee5e1
* Minor simplification.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 15:42:21 +00:00
Jérôme Duval
105eeb9c84
When checkfs stop checking, the block allocator tries to write more blocks than present in fCheckBitmap, so we constrain it
...
to fNumBlocks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 14:53:10 +00:00
Jérôme Duval
bdce14985b
added std::nothrow for some new calls, and initialize fCheckCookie
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 12:05:22 +00:00
Alexander von Gluck IV
0cd93754a4
* init scratch before card post
...
* B_OK != 1!, so don't if (status_t)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-08-07 05:24:23 +00:00