Commit Graph

43736 Commits

Author SHA1 Message Date
Axel Dörfler
762e4ecaff BMessage::Append() is now actually working. 2012-11-05 12:50:04 +01:00
Axel Dörfler
9e42a44cad Added BPath::IsAbsolute() method. 2012-11-05 12:50:03 +01:00
Axel Dörfler
09d87d9151 The text control is now more flexible with its layout items.
* Before, you had to have both, the text view layout item, and the label
  layout item or else nothing would ever be visible.
* Now you can only create the text view item, and it will still work.
* Also, no matter the order you added the layout items, they would always
  put the label on the left, and the control to the right.
* You can place the label and text view layout items anywhere now, although
  you should keep in mind that the view spans over their frame unions; IOW
  they should always adjacent to each other, but not necessarily horizontally
  and left to right.
* No longer uses a fixed label spacing, but utilizes
  BControlLook::DefaultLabelSpacing() instead.
* However, the spacing is always added to the right of the label, no matter
  how you place it in the layout. Maybe one wants to add a SetLabelTextViewGap()
  like method.
2012-11-05 12:50:02 +01:00
Axel Dörfler
6643ead593 Made the BRect::*Copy() methods const as they should have been. 2012-11-05 12:50:02 +01:00
Axel Dörfler
2267b7e7fb Added Grid::AddGlue(), and SetExplicit*Size() methods. 2012-11-05 12:50:01 +01:00
Axel Dörfler
4656e550b0 Added method SetExplicitSize() for convenience. 2012-11-05 12:50:00 +01:00
Axel Dörfler
d2c8db267d Just ignore unknown ELF program headers instead of failing.
* This fixes loading executables with a TLS section (which we do not support
  so far, though). Still, no reason to let the runtime loader choke on it.
2012-11-05 12:18:46 +01:00
François Revol
1a1e2020f9 kdlhangman: Fallback to thread names when fortune is missing
When loading from the boot drivers tgz without a mounted boot
partition, fall back to thread names to find words.
2012-11-05 11:48:43 +01:00
Axel Dörfler
0a361580ad Added HDA quirks for enabling snoop.
* Enabled snoop for all Intel hardware as found in the Linux driver.
* This fixes #8949.
2012-11-05 10:13:32 +01:00
Axel Dörfler
de62b051e4 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 10:02:13 +01:00
Oliver Tappe
402c3b2c09 BTextView uses cmd instead of ctrl for navigation
* Adjust BTextView to use B_COMMAND_KEY instead of B_CONTROL_KEY
  for wordwise navigation and jumping to the top and bottom.
  This requires a shortcut, which is only installed if there is
  none already (for the groups B_LEFT_ARROW/B_RIGHT_ARROW and
  B_HOME/B_END). As a result, wordwise navigation no longer works
  in Mail, for instance.
2012-11-05 09:38:23 +01:00
Oliver Tappe
0619f34b52 Add BWindow::HasShortcut() 2012-11-05 09:38:23 +01:00
Oliver Tappe
21f50d63e6 Use SHIFT to accelerate scrolling via the bar arrows. 2012-11-05 09:38:22 +01:00
Oliver Tappe
410d1973c1 Adjust modifier for fast scrolling to match other OSes.
* instead of any of (OPTION, COMMAND, CONTROL), use SHIFT to
  trigger accelerated scrolling via the mouse wheel
2012-11-05 09:38:22 +01:00
Oliver Tappe
735ef328db add test for strptime() to locale_test 2012-11-05 09:38:21 +01:00
Oliver Tappe
73f7af4d6c Drop "protected"-define from bsd-compatibility header
* drop "protected" from bsd-compat header sys/cdefs.h, as that define
  pollutes the global namespace and at least FreeBSD doesn't provide
  it anymore
* remove all uses of that macro from libedit, which seems to be the
  only user in our tree
2012-11-05 09:37:55 +01:00
Ithamar R. Adema
de4f3cf3a7 ARM: only warn if unknown memory types are being mapped.
This is a workaround for missing writecombine & friends support. Needs
proper fixing, but too many other things to do atm to focus on that...
2012-11-05 01:45:25 +01:00
Ithamar R. Adema
4fc1dadd58 ARM: add context switch implementation 2012-11-05 01:45:25 +01:00
Ithamar R. Adema
f8b47f2b2a ARM: fixup interrupt enable/disable/restore functions 2012-11-05 01:45:25 +01:00
Ithamar R. Adema
02081e0950 ARM: Initial implementation of interrupt/exception handling.
This contains both the common ARM(v5) vector handling as well as
the PXA(verdex) specific interrupt controller code, to be seperated
when ARM support for FDT is implemented.

Functional enough to handle interrupts, needs work on KDL support.
2012-11-05 01:45:24 +01:00
Ithamar R. Adema
be7195d0f7 ARM: add initial timer support.
Currently hardcoded to PXA (verdex) support, needs SoC abstraction
for seperating implementations, best done using FDT code as committed
by Francois.
2012-11-05 01:45:24 +01:00
Ithamar R. Adema
d09e7b5b90 ARM: mark pages found in query as present 2012-11-05 01:45:24 +01:00
Ithamar R. Adema
b867e1156e fix a TRACE() formatting string 2012-11-05 01:45:23 +01:00
Ithamar R. Adema
457556ca12 Fix variable name in TRACE() statement
Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
2012-11-05 01:45:23 +01:00
Ithamar R. Adema
03e2e071fd bring back framebuffer support in haiku_loader on ARM/u-boot
* General fixes to get the refactored framebuffer code to work
  (across all 3 supported architectures)
* PXA (verdex) specific fixes to framebuffer code.

Now properly displays the (greyed) icons on the framebuffer!

Signed-off-by: Ithamar R. Adema <ithamar@upgrade-android.com>
2012-11-05 01:45:22 +01:00
John Scipione
9a31eef24c Appearance preflet is not resizable, make it official 2012-11-04 15:37:57 -05:00
John Scipione
b5446310e9 Remove the scroll bar knobs and corresponding setting 2012-11-04 15:37:57 -05:00
Jonathan Schleifer
4e3d346e91 Terminal: Make cursor blinking an option.
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
2012-11-04 17:40:24 +01:00
François Revol
dd15872ac9 Fix warnings
(cherry picked from my sam460ex branch)
2012-11-04 16:40:17 +01:00
François Revol
338324dc66 U-Boot: check for /chosen in the FDT for an initrd holding our tgz
* since the FDT linux boot method doesn't pass the uimage, we can't
use it to pass the kernel+driver tgz in a multi-file uimage.
* instead we check for the linux initrd properties in the /chosen node.

(cherry picked from my sam460ex branch)
2012-11-04 16:40:17 +01:00
François Revol
97bcc417ce U-Boot: fix hex dump in fdt support
(cherry picked from my sam460ex branch)
2012-11-04 16:40:16 +01:00
François Revol
9b8ce8c462 U-Boot: initialize the debug UART using FDT hints when possible
* we first try to find 'serial', 'serial0' or 'serial1' in /aliases
* extract the required properties from the found node and use them
* fallback to the hardcoded UART from the board definition header

(cherry picked from my sam460ex branch)
2012-11-04 16:40:16 +01:00
François Revol
6e804e0e9c U-Boot: don't dump the FDT nodes by default
* only dump some header infos from the FDT by default, as dumping
the complete tree can get quite verbose.

(cherry picked from my sam460ex branch)
2012-11-04 16:40:16 +01:00
François Revol
18f4b7dd3b U-Boot: dump the passed FDT
* add some helpers for Flattened Device Trees, for now a dump call
* dump the passed FDT on startup for now

Conflicts:
	src/system/boot/platform/u-boot/Jamfile

(cherry picked from my sam460ex branch)
2012-11-04 16:40:15 +01:00
François Revol
fa44ac9be8 U-Boot: compile and link to libfdt
* For the sam460ex and likely some ARM boards we will try to boot
using the passed FDT, as it's the recommended method now.

(cherry picked from my sam460ex branch)
2012-11-04 16:40:15 +01:00
François Revol
f0339bc92c haiku_loader: add memchr to the list of imported libroot objects
* libfdt uses memchr, so add this function from the libroot objects

(cherry picked from my sam460ex branch)
2012-11-04 16:40:15 +01:00
François Revol
9803f86a3a libfdt: Move headers to headers/libs/libfdt
(cherry picked from my sam460ex branch)
2012-11-04 16:40:15 +01:00
François Revol
86f5d41ea4 Add libfdt from dtc v1.3.0
* U-Boot based loader code will need to manipulate the passed
Flattened Device Tree, no need to reinvent the wheel.
* libfdt itself is dual-licensed GPL/BSD, the later suiting us.
* This comes from <git://git.jdl.com/software/dtc.git> tag v1.3.0

(cherry picked from my sam460ex branch)
2012-11-04 16:40:14 +01:00
François Revol
f1ad2f5a23 U-Boot: disable optimisation to help debugging
* the U-Boot support code is yet unfinished and needs more debugging.

(cherry picked from my sam460ex branch)
2012-11-04 16:40:14 +01:00
Rene Gollent
8a4cdf3e60 Fix handling of notifications. Basic typecasting now works.
Still needs a bit of work to properly grok pointer/reference types.
2012-11-04 16:22:59 +01:00
Rene Gollent
862696d9bb Ensure that text input is focused when window is shown.
Minor cleanups.
2012-11-04 16:22:31 +01:00
Rene Gollent
ba4dad8b49 Fix child-creation-needs-value nodes.
We only want to do a delete/create cycle if the node actually changed. Fixes
BMessageValueNode.
2012-11-04 13:10:35 +01:00
François Revol
d091af40ea Revert hrev44743
Downloaded optional packages aren't actually removed as I thought on jam clean,
so it's not that much useful...
2012-11-04 10:47:37 +01:00
Jérôme Duval
12e574a316 enlarge the buffer for the CPU features string
* 256 bytes wasn't enough for i5-2557m
2012-11-04 10:35:40 +01:00
Niels Sascha Reedijk
f5df0bc898 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 10:20:30 +01:00
Rene Gollent
e8cdcede03 Start adding support for typecast support.
Not yet complete/working.
2012-11-04 09:37:16 +01:00
Rene Gollent
6bfaef2ba6 Add basic helper class for user input prompting. 2012-11-04 09:36:14 +01:00
Rene Gollent
674bc40589 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-04 09:09:44 +01:00
threedeyes
a6de493213 DriveSetup: Added ntfs support. 2012-11-04 00:48:08 +00:00
threedeyes
e1f99aae59 NTFS: Added simple disk_system add-on for ntfs 2012-11-04 00:48:07 +00:00