Commit Graph

43550 Commits

Author SHA1 Message Date
Rene Gollent
e9733ff610 Fix handling of notifications. Basic typecasting now works.
Still needs a bit of work to properly grok pointer/reference types.
2012-11-05 09:49:08 -06:00
Rene Gollent
62da8548bc Ensure that text input is focused when window is shown.
Minor cleanups.
2012-11-05 09:48:59 -06:00
Rene Gollent
f247a9c22a Fix child-creation-needs-value nodes.
We only want to do a delete/create cycle if the node actually changed. Fixes
BMessageValueNode.
2012-11-05 09:47:47 -06:00
Rene Gollent
1154e8192f Start adding support for typecast support.
Not yet complete/working.
2012-11-05 09:46:56 -06:00
Rene Gollent
29f3a156bb Add basic helper class for user input prompting. 2012-11-05 09:43:32 -06:00
Rene Gollent
9de4ad9af8 Fix reference problem in InspectorWindow.
On quit, the inspector window needs to detach itself from its current
block and release its reference. Otherwise the next attempt to inspect
the same block will crash since it still contains the deleted window
in its listener list. Also fixes leaking blocks.
2012-11-05 09:42:34 -06:00
Rene Gollent
be9a664632 Don't pollute global namespace with min/max defines.
Fixes build on new gcc4 revision.
2012-11-05 09:35:04 -06:00
Axel Dörfler
1979b64856 Added HDA quirks for enabling snoop.
* Enabled snoop for all Intel hardware as found in the Linux driver.
* This fixes #8949.
2012-11-05 08:30:05 -06:00
Axel Dörfler
0ea775505e Disabled HDA MSI for now again.
* At least on my hardware, audio becomes a bit flaky (ie. sometimes it would
  just stop doing anything at all).
2012-11-05 08:29:53 -06:00
Axel Dörfler
7999e1048f Cleanup, no functional change intended. 2012-11-05 08:29:43 -06:00
Axel Dörfler
53f1232b85 MSI interrupts were not disabled on error. 2012-11-05 08:29:27 -06:00
Axel Dörfler
0c4dc1d8aa Implemented MSI support.
* Does not seem to change anything, though (I'm also a victim of bug
  #8949)
* Minor cleanup.
2012-11-05 08:28:45 -06:00
Axel Dörfler
0aff7183d9 Fixed 64 bit issue for the buffer descriptor base. 2012-11-05 08:28:33 -06:00
Niels Sascha Reedijk
7406bc63f6 Update translations from Pootle 2012-11-05 06:31:28 +01:00
threedeyes
2c59138e79 NTFS: More fixes for #8332
* Generate name for unnamed volumes
+alpha 4
2012-11-04 08:15:14 -06:00
threedeyes
6923418add NTFS: Fix - Tracker faults when 'Show volumes on desktop' mode enabled.
+alpha 4
2012-11-04 08:15:02 -06:00
Jérôme Duval
7397db1930 enlarge the buffer for the CPU features string
* 256 bytes wasn't enough for i5-2557m
2012-11-04 08:04:52 -06:00
Niels Sascha Reedijk
39839e3b61 Use uppercase country codes in catalog names.
nielx+pulkomandy: With the switch from Pootle we switched to the correct
representation of country codes by using lang_COUNTRY (instead of lang_country).
Haiku did not respect that yet and instead always looked for lower case country
codes, thus not finding all the hard work of the pt_BR team.

Other translations currently affected are en_CA and en_GB, though these are not
actively maintained.

+alpha4
2012-11-04 08:00:55 -06:00
John Scipione
e1db135d44 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-11-04 07:58:14 -06:00
John Scipione
0d42212686 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-11-04 07:57:30 -06:00
John Scipione
5a4c398e25 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-11-04 07:56:43 -06:00
John Scipione
9f98e6a6cb 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-11-04 07:55:05 -06:00
John Scipione
aa68cc6b5b WIP: Rewrite code to draw the return key 2012-11-04 07:54:49 -06:00
John Scipione
e77dafdc05 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-11-04 07:54:35 -06:00
John Scipione
530ee871ff Save and restore button clipping constraints.
This fixes #8700
2012-11-04 07:54:21 -06:00
czeidler
8358b7807b Fix coding style violations. 2012-11-04 07:51:25 -06:00
czeidler
6bfd46f03c Add more == and != convenient methods. 2012-11-04 07:50:53 -06:00
Axel Dörfler
42bc6c2e08 Added Get*()/Set*() methods like the ones from KMessage. 2012-11-04 07:43:46 -06:00
Axel Dörfler
b3044d1b55 Style cleanup. 2012-11-04 07:43:11 -06:00
Axel Dörfler
a37e26b864 Added BMessage::Append(), and new(std::nothrow_t).
* Append() copies all fields from the specified message.
* The nothrow operator new allows you to add BMessages to a BObjectList.
2012-11-04 07:42:51 -06:00
Jerome Duval
4ad06d0b8d unistd.h: added noreturn attribute on _exit() 2012-11-04 07:41:47 -06:00
Adrien Destugues - PulkoMandy
8fe76405a5 Allow use of c_str() on wstring. 2012-11-04 07:41:15 -06:00
Adrien Destugues - PulkoMandy
cb87246a43 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-11-04 07:40:34 -06:00
Niels Sascha Reedijk
efc11d917d Rename zh-Hans to zh_Hans.
ICU expects zh_Hans, even though technically it is incorrect.
2012-11-04 10:58:21 +01:00
Niels Sascha Reedijk
c43e743111 Update translations from Pootle 2012-11-03 06:30:09 +01:00
Niels Sascha Reedijk
22ba8d6356 Update translations from Pootle 2012-11-02 06:34:37 +01:00
threedeyes
cdae80ebac NTFS: Code cleanup. No functional changes. 2012-11-01 07:23:28 -05:00
threedeyes
d4f3ad2124 NTFS: Optimize for fs_walk function. 2012-11-01 07:23:05 -05:00
threedeyes
0ef2489f7a NTFS: Fixes for Identify partition function.
* Try to fix #8332
2012-11-01 07:22:48 -05:00
threedeyes
9fad0f9865 NTFS: fake-attributes improvements
* Fake-atributes enabled by default (Real attributes require optimization. Too slow with big and fragmented volumes.)
* Upadted mime-table for file extension to mime-type mapping.
* Fix for fake-attributes mode switching.
2012-11-01 07:22:22 -05:00
threedeyes
299144cb31 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-11-01 07:22:01 -05:00
threedeyes
97aeb04daf Added support for fake attributes.
If necessary, you can disable support for extended attributes in the settings file.
2012-11-01 07:21:00 -05:00
Joseph R. Prostko
44a9b4b216 Updated configure script due to GCC2 update
* The GCC2 buildtool sources were updated, so change the date
* A new GCC2 optional package will be added later today
+alpha 4 (build will break otherwise)
2012-11-01 06:58:24 -05:00
Niels Sascha Reedijk
dd5bd4add1 Update translations from Pootle 2012-11-01 06:30:10 +01:00
Alexander von Gluck IV
376e907f52 Jam: Make R1A4 anyboot *really* fit onto a CD
* Reduce 700MB image to 695MB
* Should fix #9042
2012-10-31 13:26:37 -05:00
Alexander von Gluck IV
9d297c8ed9 Jam: Make R1A4 anyboot fit onto a CD
* Remove CVS, Mercurial, Python, Subversion
* Reduce image to 700MB
2012-10-31 08:53:26 -05:00
Niels Sascha Reedijk
c05b24949f Update translations from Pootle 2012-10-31 06:30:22 +01:00
Axel Dörfler
028717d705 Style cleanup. 2012-10-30 07:07:51 -05:00
Axel Dörfler
52bba6813f 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-30 07:07:35 -05:00
Marcus Overhagen
f75a9e1563 implement support for harddisks bigger than 2TB
* can't test this, it's untested, but similar to ATADevice.cpp
 * should no longer panic when hdd > 2TB is connected
 * fix request completition in two error cases
 * add const to some parameters
2012-10-29 12:47:08 -05:00