Commit Graph

37612 Commits

Author SHA1 Message Date
Oliver Tappe
8ef01bd74e Fix #8193 - wrong LC_* vars if there's no country code. 2012-11-05 19:52:35 +01:00
Adrien Destugues - PulkoMandy
82a674605b Use Web+ tabs close button
Fixes #9566
2012-11-05 19:24:00 +01:00
Jonathan Schleifer
a0e690928b Terminal: Fix cursor blinking.
Signed-off-by: Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>
2012-11-05 19:23:58 +01:00
Rene Gollent
9e7a46be20 Extend typecasting to support pointer/address types.
We now parse the user's input to see if it should be a pointer/reference
type and create a derived type accordingly. This allows casting to e.g.
StyledEditApp*.
2012-11-05 17:56:02 +01:00
Rene Gollent
ab7a2ea818 Add support for creating derived types to DwarfType. 2012-11-05 17:55:17 +01:00
Jonathan Schleifer
122905281d Terminal: Make the cursor color configurable.
Signed-off-by: Adrien Destugues - PulkoMandy <pulkomandy@pulkomandy.tk>
2012-11-05 16:27:41 +01:00
Adrien Destugues - PulkoMandy
5d6ec6d03a Handle colors. 2012-11-05 15:22:33 +01:00
Adrien Destugues - PulkoMandy
d481cb7370 Fix newline handling
Haiku sends '\n' when you press the enter key, but the terminal standard
mandates that we use "\r\n" instead. This can be made into a setting later.
2012-11-05 15:22:31 +01:00
Adrien Destugues - PulkoMandy
7e23386ae8 Resize terminal buffer with window.
Unlike in Haiku terminal, vterm does not rearrange lines wen they
are wrapped. Chars outside the viewing area are just lost.
2012-11-05 15:22:29 +01:00
Adrien Destugues - PulkoMandy
469e6cd228 Log serial input to a file. 2012-11-05 15:22:26 +01:00
Adrien Destugues - PulkoMandy
04434656af Serial port configuration
* Dynamically update the serial port list in the connection menu when devices get added or removed
 * Make the settings in the settings menu actually do something
2012-11-05 15:22:24 +01:00
Axel Dörfler
634feff0e9 Cut off the trailing spaces from the key dump.
* Noticed these on the keymap changes made by John, however, I have no
  idea how they did get there (the keymap command doesn't use this code).
2012-11-05 13:34:58 +01:00
Axel Dörfler
095d038578 Reverted hrev42962 - there is no right command key in US internatinal.
* This makes the keymap behave as in every other operating system.
* I don't really understand the original purpose of this change. Please
  enlighten me (see #4464).
2012-11-05 13:29:52 +01:00
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
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
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
threedeyes
04db9fefe3 NTFS: Initial support for volume initialization
* Moving files taken from ntfs3g in a separate folder.
* Added files from ntfsprogs: mkntfs.c
* Initial support for initialization
2012-11-04 00:48:05 +00:00
threedeyes
a09a46f8a0 NTFS: Change pretty name as at other fs-addons 2012-11-04 00:48:04 +00:00
Fredrik Holmqvist
9b0d045c59 Update to ACPICA 20121018.
This is an update from 20120711 and A LOT has happened since then. See
    https://acpica.org/download/changes.txt for all the changes.
2012-11-03 22:46:22 +01:00
Rene Gollent
114d994682 Don't pollute global namespace with min/max defines.
Fixes build on new gcc4 revision.
2012-11-03 13:38:10 +01:00
Axel Dörfler
6e50e79e54 Added Get*()/Set*() methods like the ones from KMessage. 2012-11-03 11:54:21 +01:00
John Scipione
68c70f9b6d Variable name cleanup 2012-11-02 19:08:11 -04:00
John Scipione
a4f0328efe Rename hextent and vextent to knobWidth and knobHeight 2012-11-02 19:08:11 -04:00
John Scipione
0dead7ddb6 No reason to check to see if the scrollbar knobs will fit for the fake scrollbar, just assume they will 2012-11-02 19:08:10 -04:00
John Scipione
dfa8cf8c05 Change SCROLL_KNOB_* constants to B_SCROLL_KNOB_* 2012-11-02 19:08:09 -04:00
Axel Dörfler
009fd25715 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-02 23:42:29 +01:00
threedeyes
1d910b5e2b NTFS: More fixes for #8332
* Generate name for unnamed volumes
+alpha 4
2012-11-02 13:42:41 +00:00
threedeyes
82fc1a8f3c NTFS: Fix - Tracker faults when 'Show volumes on desktop' mode enabled.
+alpha 4
2012-11-02 12:40:00 +00:00
John Scipione
12a7abb6fa Make the fake scrollbar controls navigatable by the keyboard 2012-11-02 01:50:15 -04:00
John Scipione
6218c8f7ea Scroll bars is 2 words 2012-11-02 01:07:01 -04:00
John Scipione
6408201e33 Line the boxes up, at least for the default font size 2012-11-02 01:07:01 -04:00
John Scipione
84256e0ab1 Move the 'Look and feel' tab first 2012-11-02 01:06:59 -04:00
John Scipione
928ffe6dee Allow the user to select the scrollbar setting graphically.
This uses custom controls to allow the user to choose between
single and double arrows and none, dots, or line knob styles
in a graphical fashion copied from BeOS Scrollbar preflet.
2012-11-02 01:06:59 -04:00
John Scipione
4b5a6861f2 Add the scrollbar constants enum to the header.
Also make some minor tweaks in ScrollBar.cpp
2012-11-02 01:06:59 -04:00
John Scipione
51e2ba81f1 Variable name refactoring. They are knobs, not marks 2012-11-02 01:06:58 -04:00
John Scipione
a0e61cdf4c Implement BeOS style scrollbar knobs.
Not hooked up to a setting yet.
2012-11-02 01:06:58 -04:00
threedeyes
bd2b61fbd0 NTFS: Code cleanup. No functional changes. 2012-10-31 00:41:30 +00:00
threedeyes
ef544e59f2 NTFS: Optimize for fs_walk function. 2012-10-31 00:33:10 +00:00
threedeyes
ba49a8daf7 NTFS: Fixes for Identify partition function.
* Try to fix #8332
2012-10-31 00:20:08 +00:00
threedeyes
157d826681 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-10-31 00:00:06 +00:00
Jérôme Duval
7be608abc4 HPGSTranslator: fix the build
* add missing definition since libpng upgrades
* don't treat warnings as errors
2012-10-30 21:51:23 +01:00
Jérôme Duval
a6a99fce04 zlib: added an optional build package, integrated to the build
* optional package for zlib 1.2.7
* keep zlib in build for the bootloader tarfs
2012-10-30 21:50:24 +01: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
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