Commit Graph

37706 Commits

Author SHA1 Message Date
Ithamar R. Adema
36b41db7aa Merge common ARM CPU/MMU code
This is to make sure all ARM platforms will benefit from planned work on this
MMU/CPU code. The less code duplicated, the better.

Compile-tested for all supported ARM platforms
2012-11-10 03:03:24 +01:00
François Revol
1346bfbf69 urlwrapper: Handle the doi: URI scheme
The DOI (Digital Object Identifier) is a unique identifier
for (scientific and other...) publications.
While the doi: URI scheme was only a draft, it's not totally unlikely
that we ever hit such a URI, in this case we just redirect to the
official DOI website.
cf. http://tools.ietf.org/html/draft-paskin-doi-uri
2012-11-10 00:51:23 +01:00
Ithamar R. Adema
3d49fa31ec VMCache: Fix broken trace statements 2012-11-10 00:32:30 +01:00
threedeyes
70f32936e9 ICNSTranslator: Minor fixes
* documentIndex not zero-based
* more error handling
* memory leak
2012-11-09 04:15:30 +00:00
threedeyes
0810cfe451 ICNSTranslator: Add icon number for multi-element files 2012-11-09 02:35:37 +00:00
threedeyes
69fb792e76 ICNSTranslator: Fix memory leak 2012-11-09 00:46:22 +00:00
threedeyes
9940067990 Add MIME type for Apple icon 2012-11-08 23:40:10 +00:00
Jerome Duval
5ad12a800d vm_page_allocate_page_run: use a mask to enforce the boundary
* use a mask to enforce the boundary as suggested by Ingo. Thanks!
2012-11-09 00:21:41 +01:00
threedeyes
122e78a5b9 Added translator for Apple icons (icns)
* Read/Write up to 1024x1024 icon sizes.
* All build-in icon sizes available as pages in ShowImage.
* Support only 32-bit icon colors (rgb32 and rgba32) now.
2012-11-08 22:28:47 +11:00
Jérôme Duval
62cff38e78 usb_asix: fix for 88772B
* select RX header format type 1 for AX88772B.
* should help with #8238
2012-11-07 23:55:13 +01:00
Rene Gollent
4549786bad Code reorganization. 2012-11-07 23:19:23 +01:00
czeidler
9abf4591d5 Ok there are some more, thanks Rene. 2012-11-07 21:45:43 +01:00
czeidler
71d45a0f76 Coding style. 2012-11-07 21:37:40 +01:00
Humdinger
a095f503dc Changing 'Blinking cursor' in settings too.
+alpha4. quick, quick..
2012-11-07 19:49:51 +01:00
Ithamar R. Adema
e2b8ceb23c ARM/int: remove CPU fault handler debug output 2012-11-07 17:08:15 +01:00
Ithamar R. Adema
f86b582848 ARM: Cleanup of port support code.
This also implements the fault handler correctly now, and cleans up the
exception handling. Seems a lot more stable now, no unexpected panics or
faults happening anymore.
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
0cf5ecba12 ARM: Add asm_offsets.cpp
This will generate asm_offsets.h which makes our assembly code
easier to maintain by preventing hardcoded offsets for fields within structures.

(copied from X86 and removed the X86 specifics)
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
ff163585ec ARM/threads: Disable debug output
Tracing was accidently switched on by a previous commit.
2012-11-07 16:24:21 +01:00
Ithamar R. Adema
0e5d97e97e ARM/vm: small formatting change and trace fix.
Copy some minor changes over from the X86 paging implementation to keep
the two reasonably aligned. Smaller diff ;-)
2012-11-07 16:24:21 +01:00
Rene Gollent
0ba9bff27d Revert preservation of watchpoints in settings. 2012-11-07 15:26:18 +01:00
Rene Gollent
12c53499e7 More UI support for watchpointgs.
- BreakpointTableModel now encapsulates both breakpoints and watchpoints.
- Extended BreakpointView and TeamWindow to handle enable/disable/removing
  watchpoints as well.
2012-11-07 14:52:00 +01:00
Rene Gollent
c1e45a1e82 Persist watchpoints in TeamSettings. 2012-11-07 14:52:00 +01:00
Michael Lotz
1b1484de7b Workaround possible spurious interrupts in marvell yukon.
This comes from a similar patch in FreeBSD r234666 but does the check
and acknowledge in the case where we don't have any other interrupts.
Since the interrupt isn't used it is never unmasked and therefore the
check against the interrupt mask will always fail if the TWSI IRQ is
the only interrupt that happened. In that case an interrupt storm would
be triggered that lasts until any other valid interrupt comes along, is
handled and both are acknowledged.

This may help with #8454 on some cards that exhibit the spurious TWSI
IRQs.
2012-11-07 14:33:09 +01:00
Michael Lotz
c72218a094 Disable duplicated interrupt disable code in marvell yukon.
Since we now implement HAIKU_CHECK_DISABLE_INTERRUPTS there is no need
to do it again in the interrupt handler. Further, store and carry over
the interrupt status from the hook to the interrupt handler as that is
cleaner and just in case reading the register somehow clears it. May
help with #8454.
2012-11-07 14:28:49 +01:00
Humdinger
63dffc0194 Improved string of new Terminal setting. 2012-11-07 13:22:33 +01:00
threedeyes
cfeeb9ae6f Enable NTFS partition type in PartitionMap. Now we can create ntfs partitions. 2012-11-07 10:43:49 +00:00
threedeyes
1aa6f64953 NTFS: renamed [NTFS File System] to [NT File System] to be consistent with Be File System 2012-11-07 09:24:46 +00:00
threedeyes
a8199d692a Fixed wrong parameters order 2012-11-07 08:39:30 +00:00
Rene Gollent
7c9e4b9a44 Fix gcc2 warning. 2012-11-06 21:57:24 +01:00
Rene Gollent
2a2e3bafa2 Add UI hooks for watchpoints.
This gets basic watchpoint support working. Right clicking on a variable
and picking Watch now opens a prompt with the inferred address, size
and watch type for the user to adjust.

Still needs some work to get them to show/be modifiable in the breakpoints
tab and to get them to respect architectural restrictions (i.e. on x86 we
can realistically only do 2 hardware watchpoints and those are restricted
to write watch), at least until we support software emulated watchpoints.
2012-11-06 20:57:15 +01:00
Axel Dörfler
1cd0e20c56 Unbroke GCC4 BRect const compatibility.
* This can be removed again next time all GCC4 packages are rebuilt for
  whatever reason.
2012-11-06 20:54:34 +01:00
czeidler
6078d891b4 Move stacked windows to a different workspace correctly.
When moving a window of a stacked window group to a different workspace all windows in the stack have to be moved. This fixes #8855.
2012-11-06 20:09:15 +01:00
Jerome Duval
8ddec5b565 vm_page_allocate_page_run: fix previous commit
* remove superfluous codes
* when aligning, sPhysicalPageOffset would be substracted twice
+alpha4

Signed-off-by: Ingo Weinhold <ingo_weinhold at gmx dot de>
2012-11-06 19:40:47 +01:00
Rene Gollent
7bcbf187d0 Optimize column preferred width calculation a bit.
Move calculating the width of the column title itself out to
OutlineView::GetColumnPreferredWidth(). Previously, each pass would
compute the width of both the field itself and the column title,
leading to considerable redundant work. Also, take outline level indent
into account in the resulting width. Should improve performance a bit.
2012-11-06 16:29:19 +01:00
Rene Gollent
9b64b5d241 Add TODO note. 2012-11-06 13:26:41 +01:00
Rene Gollent
7b74c56650 Cleanup: move expression parsing for types to SourceLanguage. 2012-11-06 12:22:06 +01:00
Rene Gollent
4235cb3e33 Start adding the underlying infrastructure for watchpoint support. 2012-11-06 11:46:27 +01:00
John Scipione
553b6b2123 Fix gcc2 build along with some (minor) style issues 2012-11-06 00:45:53 -05:00
Rene Gollent
662b04ff7d listsem didn't actually support the -s option its help listed.
Minor cleanups.
2012-11-06 01:04:44 +01:00
Jérôme Duval
f5a14b17df vm_page_allocate_page_run: fix for aligned page allocations
* don't enforce a zero boundary or a zero alignment
* when going to the next range, takes alignment into account.
  It could previously just be enforced again through alignment and loop infinite.
* it should help with some FreeBSD based drivers
2012-11-06 00:41:08 +01:00
François Revol
3704c0f8b1 Add a totally useless Shelf screensaver
* Allows dropping replicants, and showing them later on when idle.
* Needs some cleanup.
2012-11-05 23:15:50 +01:00
czeidler
24ad8261a9 Integrate patch from jessicah #8937. Thanks!
- navigate in a single S&T group using (win + left and right arrows)
- minor fixed to the patch
- enable switching between S&T groups on the same desktop again (win + up and down arrows)

Hope window key + arrow keys does not collide with to many apps?
2012-11-05 22:25:46 +01:00
Rene Gollent
35cadd6f3c Add watchpoint support in DebuggerInterface. 2012-11-05 20:48:33 +01:00
François Revol
ca0d271159 Terminal: Add a tooltip when in fullscreen mode
* When in full screen mode, add a tooltip with the window title,
and a keyboard shortcut hint so one knows how to get out of it.
Should help with #7356
* 80 column cleanup
2012-11-05 20:03:53 +01:00
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
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
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