Commit Graph

43598 Commits

Author SHA1 Message Date
Adrien Destugues - PulkoMandy
7ee53ed3bd Add tan(), tanh(), log10() to std::complex
Keep the haiku/ version of the headers in sync with buildtools
(see btrev43041)

I'm curious: why do we have a copy of these headers in haiku/ tree ?
2012-10-27 15:44:59 +02:00
threedeyes
39f5f3042c NTFS: Deep code refactoring and lot of fixes
* Fix: the size of dirent struct in the fake attributes was counted incorrectly
* Directory reading code was re-written from scratch. That fixes hopefully #7573, #4974, #4877, #9082
* Create, rename, unlink routines were completely reimplemented
* Added fully functional support of extended attributes. This fixes #6509
2012-10-27 09:21:53 +00:00
Axel Dörfler
5262b98eab Converted the promise_tx2 driver to the device manager.
* This is part of ticket #9087. I have not added it to the image yet, before
  it's getting tested, though.
2012-10-26 12:18:42 +02:00
Siarzhuk Zharski
bf855d3754 sys/xattr.h should be installed under 3rdparty instead of gnu directory 2012-10-25 20:47:18 +02:00
czeidler
26fbc34f1b Max size constraints can be NULL. 2012-10-25 18:59:44 +13:00
John Scipione
97d1235cef Fill in the return key rect with the background color.
This eliminates artifacts that are seen when the key is drawn while
being dragged.
2012-10-23 20:37:38 -04:00
Jérôme Duval
ee3c886743 UDF: use mirror metadata file when needed
* style fixes
* try the mirror metadata file in case read fails on the main file
2012-10-23 21:49:27 +02:00
threedeyes
3a0a7215a9 Added support for fake attributes.
If necessary, you can disable support for extended attributes in the settings file.
2012-10-23 04:31:34 +00:00
John Scipione
184ecaf4c5 Draw rounded inner corners for return key in Keymap.
Draw the return key with rounded inner corners instead of square, this
builds on top of the changes made in hrev44709. The secret to rounding
the corners was to draw both the edge and background of the individual
sections before drawing the button's background on top minus the
clipped out bottom left section.

+alpha4 (optionally, purely cosmetic but shouldn't hurt)
2012-10-22 20:18:21 -04:00
threedeyes
c0c445f1f4 NTFS:Critical fixes for renaming and creating nodes. The adaptation of some functions to the new version of the libntfs3g. 2012-10-22 10:13:02 +00:00
Prasad Joshi
3cd9a30037 ls: Change color scheme for other writable directory (#4494)
The ls command, uses blue color for directories. For a directory that
has write permission for others, it uses green highlighting while
displaying the directory name. However, blue text and green highlight
is difficult to read.

The patch keeps the text color as blue and changes the highlight to
yellow.

Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-10-21 14:53:45 +02:00
Jérôme Duval
ed3ea3b05c udf: moved partitions deletion before block cache deletion (#9004) 2012-10-21 12:47:14 +02:00
threedeyes
8bdfb1a97d Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-10-20 01:09:21 +00:00
threedeyes
a65ebe7546 NTFS: Fix directory size calculation in rstat function (bug:#8599). 2012-10-20 00:55:17 +00:00
John Scipione
5666b4f7a3 Preserve the clipping constraints of the parent view...
when drawing the following controls:
* SliderBar
* ActiveTab
* MenuField

This is a followup commit based on the change made for buttons in
hrev44708 in response to bug #8700. It is good practice to always preserve
the parent view's clipping constraints.

Stippi and Axel can you you at this commit and make sure this is kosher?

+alpha4
2012-10-19 19:30:14 -04:00
John Scipione
9aaf8ee203 Draw the inner corner of the enter key with square edges.
This completes the rework of the return key drawing code and fixes
bug #8700. (+alpha4)
2012-10-19 18:38:49 -04:00
John Scipione
a8c0ae81ab WIP: Rewrite code to draw the return key 2012-10-19 18:38:39 -04:00
John Scipione
a12bf7d47b Clipping region is preserved between Draw Button calls.
Remove the code that resets the clipping region. However, the
enter button still doesn't draw correctly, the trick it used before
is not working with the change from the last commit.
2012-10-19 18:38:38 -04:00
John Scipione
4fa767198c Save and restore button clipping constraints.
This fixes #8700
2012-10-19 18:38:38 -04:00
Joseph R. Prostko
fd720fd2da Update the GCC4 optional package...yes, again
* This package is current as of btrev43040
* Primarily did this rebuild to assure the GCC4 package was made with the latest buildtool sources
* This invalidates the need to cherry pick hrev44704 for R1A4
+alpha4
2012-10-19 17:29:24 -04:00
threedeyes
e90f1b178c NTFS: Fix node creation functions. 2012-10-19 00:58:05 +00:00
threedeyes
a814d85025 NTFS: update libntfs-3g to latest stable version 2012-10-17 23:09:27 +00:00
Joseph R. Prostko
cb8f90c0c8 Update Perl 5.10.1 GCC4 package for R1A4
* After the SSP fix committed recently for GCC, Perl can now build again correctly
+alpha4
2012-10-17 13:30:12 -04:00
Joseph R. Prostko
02a7951ec0 Update GCC4 package
* This package is smaller in size than the previous due to the fix in btrev43038
* This package addresses issue building code with SSP due to fix in btrev43039
* This commit along with btrev43039 fixes #8931
+alpha4 (and hopefully last update to GCC before R1A4 release)
2012-10-17 08:15:23 -04:00
czeidler
04b1c44b89 Use a tab BReference as argument in Area::Set{Left, Top, Right, Bottom}.
Using a normal pointer is dangerous when creating a new tab directly in the method call because the tab gets deleted to early.
2012-10-17 07:33:54 +00:00
threedeyes
292cd8a934 Style cleanup: removed unnecessary braces. 2012-10-16 11:58:27 +00:00
threedeyes
bdc104484c Fix format vlidator (bug:#9061), fix gcc4 warnings. 2012-10-16 04:24:49 +00:00
threedeyes
6c874a26fc Style cleanup. 80 character line limit. 2012-10-14 11:01:17 +00:00
Philippe Saint-Pierre
56bc38cef0 Coding style fixes, should have no functional changes. 2012-10-13 16:04:18 -04:00
Matt Madia
9815f07dce Added jprostko as a maintainer. 2012-10-13 12:03:44 +00:00
threedeyes
e565fae659 Equalizer,VSTHost: fix gcc4 build, sorry. 2012-10-13 19:53:30 +11:00
threedeyes
36a4449ff7 Added Equalizer and VSTHost add-ons to the HaikuImage. 2012-10-13 18:50:36 +11:00
threedeyes
df969bab29 Added VSTHost media add-on. 2012-10-13 17:49:08 +11:00
threedeyes
71c77851c9 Added Equalizer media add-on. 2012-10-13 17:42:09 +11:00
Joseph R. Prostko
4fa936c1dd Update required legacy GCC version 2012-10-12 21:13:52 -04:00
Joseph R. Prostko
e7defb0055 Update GCC2 and GCC4 optional packages for R1A4
* GCC4 was updated to GCC 4.6.3 to fix ICE issue while building natively
+ alpha4
2012-10-12 20:21:12 -04:00
czeidler
d6977957a0 The current solver don't like big values.
- Check the constraint values first.
- Some cleanup.
2012-10-11 11:52:46 +13:00
Humdinger
323abd9b89 Unbroke build under gcc4. Sorry about that... 2012-10-10 15:35:16 +02:00
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