Commit Graph

43510 Commits

Author SHA1 Message Date
Jürgen Wall
3b98be3cc4 USB OHCI: Fix ownership handover from SMM to OS.
* Disabling all interrupts prior to ownership handover from SMM to OS
  can prevent propper OHCI and PS/2 functionality as described in
  #8987 and #8984. In that case SMM does not respond to the ownership
  change request. On the other hand not disabling the interrupts can
  lead to interrupt storms (discussed in #8085) since no interrupt
  handler is installed at that moment. As suggested by mmlr this patch
  attempts to address both issues by keeping the ownership change
  request interrupt enabled.

* Removed an unnecessary reset upon non-responding SMM for now,
  since we reset a few lines later anyway and added TODOs respectively.
  That should safe a bit boot time.

Signed-off-by: Michael Lotz <mmlr@mlotz.ch>
2012-10-09 23:03:06 +02:00
Jérôme Duval
c530d46cca UDF: support for metadata partition (feature from 2.50)
* added Icb::FindBlock() to find block in extents.
* MetadataPartition uses extents descriptors found in the metadatafile
to lookup blocks on a physical partition
* uses struct timespec instead of time_t
* added init_entities() to call C++ structures constructors. This is
called at module initialization, C++ constructors are currently not called when
a kernel module is loaded.
* tested with a sample bluray ISO.
2012-10-09 22:50:17 +02:00
Humdinger
c58a87027a Made another string of desklink translatable.
(+alpha4)
2012-10-09 19:56:47 +02:00
Alexander von Gluck IV
9c64737586 Tracker: Style fix (+alpha4)
* Depends on ff09527e4f (which is +alpha4 *not* +alpha3) :)
* As per commit ML
* Do a direct AddItem vs using an item variable which
  breaks program flow.
* A better long term solution may be to enable the debug server
  to recover 'system' applications that fail. #9039
2012-10-08 12:02:37 -05:00
Alexander von Gluck IV
7415c64941 radeon_hd: Add PCIID for HD 4500, resolves #9051 (+alpha4) 2012-10-08 10:24:59 -05:00
Axel Dörfler
adf340f0ed Style cleanup. 2012-10-08 13:59:16 +02:00
Axel Dörfler
9b9cb227c7 Consolidated and fixed device_geometry computation.
* The only implementation that would accept more than 2 TB was the one in
  scsi_disk. But even that one was limited to 63 TB.
* Now there is a new utility function devfs_compute_geometry_size() which
  does it correctly for sizes up to 2^64 which should be good enough for
  quite some time :-)
* This fixes bug #8992.
2012-10-08 13:59:16 +02:00
Prasad Joshi
cff0983994 bash: Fix mapping between signal number and signal string
The signames_haiku.h header got out of sync when merging the real-time
signals branch. It is used when cross-compiling Haiku, since the build
tool mksignames only generates a signal name list suitable for the host
platform.
Fixes ticket #9046.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-10-08 13:50:21 +02:00
Jérôme Duval
714ff0c581 libtiff: add libjpeg to tif_ojpeg.c dependencies
fixed ticket #9048
2012-10-07 13:34:00 +02:00
czeidler
5b9400a2b6 Fix coding style violations. 2012-10-07 10:48:17 +13:00
Prasad Joshi
642eeda1c1 Turn on the coloring with <ef>grep (ticket #9044)
All grep versions have the ability to display a colored
output. The patch turns on coloring in auto mode.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-10-05 20:00:04 +02:00
czeidler
b9b8b20f3f Add more == and != convenient methods. 2012-10-05 13:10:32 +13:00
Ryan Leavengood
df840270bd Add Prasad Joshi to the contributors list. 2012-10-03 15:51:07 -04:00
Prasad Joshi
45132e2b22 ps: fix uid and gid in the ps output
The function fill_team_info() completely ignored the user id and the
group id of the process (fields info->uid and info->gid respectively).
Since the info structure was zeroed earlier, the ps output showed uid
and gid of each process equal to zero.

The patch fixes the problem by properly initializing the members with
effective uid and gid. Now the output is correct.

Fixes #8995.

Signed-off-by: Ryan Leavengood <leavengood@gmail.com>
2012-10-03 15:45:56 -04:00
Prasad Joshi
4fd62caa9a bash_profile: set ls color alias to auto
ls --color emits the color code irrespective of whether it is being
attached to terminal or not. Which might result in color codes being
added to file upon redirection.

auto option with ls --color emits the color codes only the output is
attached to terminal, otherwise the colors are turned off.

Fixes #8993.

Signed-off-by: Ryan Leavengood <leavengood@gmail.com>
2012-10-03 15:23:57 -04:00
Jürgen Wall
2f5c0cbab1 Don't create filename entries without actual matches.
Added an early return in GrepWindow::_OnReportResult(BMessage* message)
in case the report message does not contain matches.

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2012-10-03 14:25:30 +02:00
Scott McCreary
e8a905efef Fixed typo 2012-10-02 19:23:13 -07:00
Alexander von Gluck IV
ff09527e4f Tracker: Introduce "Restart Deskbar" option (+alpha3)
* Matches "Restart Tracker" option in Deskbar
* Only shows up when 0 Deskbar processes exist
* Don't dereference fFileMenu if RepopulateMenus called
  on desktop (no menu bar)
* Regenerate desktop menu on each click
* Resolves #9039
2012-10-02 18:25:17 +00:00
Humdinger
9af3b83575 Added Hungarian translators Róbert Dancsó and Zsolt Bicsk.
Thanks guys!
+alpha4
2012-10-02 18:46:12 +02:00
Scott McCreary
ae978eb9ca Updated caya to r279 2012-10-02 08:08:03 -07:00
Scott McCreary
2cf4bb44cf Fix typo. 2012-10-01 23:27:42 -07:00
Scott McCreary
6687d08375 Updated r1a4 builds for a few OptionalPackages 2012-10-01 23:23:01 -07:00
Axel Dörfler
a8b45a3471 Added a test to compare various header parsers.
* HaikuMailFormatFilter is using the new extract_from_header() method
  to retrieve its fields, but that one is often rather slow in comparison.
* Added a test parse_fields() method that outperforms it considerably.
2012-10-01 10:20:44 +02:00
Axel Dörfler
225c8cc59a Minor cleanup, no functional change. 2012-10-01 09:12:32 +02:00
Fredrik Holmqvist
7ba2bcac6f Removing old ACPI loader, which isn't used in Haiku.
ACPI hasn't been tested on BeOS in ages. So time to remove
old BeOS code.
2012-09-29 12:31:24 +02:00
Humdinger
e8c6eee0ca Added Brazilian translators. Thanks guys!
(+alpha4)
2012-09-29 08:14:30 +02:00
Jérôme Duval
5485c7646e udf: print an error for unsupported revisions 2012-09-28 00:45:06 +02:00
François Revol
a71c00d314 Work in progress supybot plugin for developer-related commands
* most useful one for now is !error which acts much like /bin/error
* other useful commands like !haiku, !trout or !jlg
TODO: make the fortunes file path a config option.
2012-09-27 23:17:05 +02:00
François Revol
f916b68079 B_POSIX_ENOMEM is obviously an error...
* was wrongly reported as "No error"
2012-09-27 16:42:40 +02:00
Humdinger
83953c9405 Using B_TRANSLATE_SYSTEM_NAME for 'FontDemo', plus tiny style fix.
+alpha4
2012-09-24 18:31:47 +02:00
Humdinger
57c8cbd820 Made 'BSnow' translatable, plus tiny style correction.
Fixes #9025.
2012-09-24 18:06:24 +02:00
Humdinger
79650056f0 Fixed control label in Poorman settings.
The BTextControls were using the wrong constructor.
Fixes #9024.
+alpha4
2012-09-24 17:53:51 +02:00
Axel Dörfler
41828f1567 Cleanup, no functional change intended. 2012-09-23 20:39:21 +02:00
Axel Dörfler
25b89454c4 MSI interrupts were not disabled on error. 2012-09-23 20:33:25 +02:00
Axel Dörfler
0e662af473 Always set a minimum size for the list view.
* Otherwise it doesn't look good when the media server is just
  being launched (so there are no nodes yet).
2012-09-23 15:50:42 +02:00
Axel Dörfler
1c0cacfbc5 Cleanup.
* Sort methods like they are declared in the header.
* Fixed a number of coding style violations and other oddities.
2012-09-23 15:44:21 +02:00
Axel Dörfler
baeb048bd1 Don't start showing the hint for each solved number.
* Instead, only keep it visible when the user made it visible.
* Minor cleanup.
2012-09-23 11:23:29 +02:00
Axel Dörfler
19559d24fc Reset controller::active_codec on uninit.
* The controller structure is static, so if you closed the device,
  and the driver failed to initialize correctly (ie. finds no codec)
  on the second try, it would have crashed accessing an already freed
  codec.
* Not sure why it fails to detect any codecs on second open, yet,
  though.
2012-09-23 11:16:28 +02:00
Axel Dörfler
751c6aba1c Fixed saving the column state to a message.
* This fixes copy/pasting the column state when the "display-as"
  feature is used.
2012-09-23 08:31:37 +02:00
Humdinger
dfefaf1514 Extract demo packages to /boot. Added image package. 2012-09-22 12:32:22 +02:00
François Revol
9c50f5eded U-Boot: arch_mmu.cpp does not come from kernel sources
* so don't try to find it there
2012-09-22 04:18:37 +02:00
François Revol
db5bd5535e U-Boot: move mmu.cpp to arch/arm/arch_mmu.cpp
* only contains ARM stuff anyway.
* PPC implementation will be very different anyway.
2012-09-22 04:00:13 +02:00
Matt Madia
244fb0a393 Rebuilt BeZillaBrowser (for libjpeg update).
Note: This is not for the r1alpha4 branch. That will come later.
2012-09-21 19:38:12 +00:00
Axel Dörfler
45732903d0 Implemented MSI support.
* Does not seem to change anything, though (I'm also a victim of bug
  #8949)
* Minor cleanup.
2012-09-21 00:22:54 +02:00
Axel Dörfler
8c3a938fc3 cache_abort_sub_transaction() did not maintain num_blocks.
* When a block was only used in a sub-transaction, it was thrown away,
  but the transaction::num_blocks field was not decremented.
* This caused transactions never considered finished which eventually
  led to bug #8942. This does not explain the disk corruption occurring
  in #8969, though.
2012-09-19 20:06:19 +02:00
Matt Madia
d4cc0de33e Re-enable stripping of debug symbols for @alpha-*, @nightly-*
For a GCC 2 hybrid image, this brings the size down from 781MiB to 743MiB.
2012-09-16 19:47:29 -04:00
Matt Madia
5114fc1dd3 Ensure that wpa_supplicant does not get stripped. See #8603 for history. 2012-09-16 19:45:44 -04:00
Matt Madia
7ae330f46b Updated comment. 2012-09-16 19:45:09 -04:00
Matt Madia
1a53a4d3f5 Refactored the stripping of debug symbols to be a per-archive basis.
Setting 'HAIKU_STRIP_DEBUG_FROM_OPTIONAL_PACKAGES = 1' will enable the
mechanism. By default all packages will be stripped. Passing anything
other than '1' or 'true' in the InstallOptionalHaikuImagePackage call
will disable it for a particular package.
2012-09-16 19:41:24 -04:00
Stephan Aßmus
f672eb2827 Small cleanups to dragging partition entries code. 2012-09-16 11:11:40 +02:00