Commit Graph

38027 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
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 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
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 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
Ryan Leavengood df840270bd Add Prasad Joshi to the contributors list. 2012-10-03 15:51:07 -04:00
Prasad Joshi 45132e2b22 ps: fix uid and gid in the ps output
The function fill_team_info() completely ignored the user id and the
group id of the process (fields info->uid and info->gid respectively).
Since the info structure was zeroed earlier, the ps output showed uid
and gid of each process equal to zero.

The patch fixes the problem by properly initializing the members with
effective uid and gid. Now the output is correct.

Fixes #8995.

Signed-off-by: Ryan Leavengood <leavengood@gmail.com>
2012-10-03 15:45:56 -04:00
Jürgen Wall 2f5c0cbab1 Don't create filename entries without actual matches.
Added an early return in GrepWindow::_OnReportResult(BMessage* message)
in case the report message does not contain matches.

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2012-10-03 14:25:30 +02:00
Alexander von Gluck IV ff09527e4f Tracker: Introduce "Restart Deskbar" option (+alpha3)
* Matches "Restart Tracker" option in Deskbar
* Only shows up when 0 Deskbar processes exist
* Don't dereference fFileMenu if RepopulateMenus called
  on desktop (no menu bar)
* Regenerate desktop menu on each click
* Resolves #9039
2012-10-02 18:25:17 +00:00
Humdinger 9af3b83575 Added Hungarian translators Róbert Dancsó and Zsolt Bicsk.
Thanks guys!
+alpha4
2012-10-02 18:46:12 +02:00
Axel Dörfler a8b45a3471 Added a test to compare various header parsers.
* HaikuMailFormatFilter is using the new extract_from_header() method
  to retrieve its fields, but that one is often rather slow in comparison.
* Added a test parse_fields() method that outperforms it considerably.
2012-10-01 10:20:44 +02:00
Axel Dörfler 225c8cc59a Minor cleanup, no functional change. 2012-10-01 09:12:32 +02:00
Fredrik Holmqvist 7ba2bcac6f Removing old ACPI loader, which isn't used in Haiku.
ACPI hasn't been tested on BeOS in ages. So time to remove
old BeOS code.
2012-09-29 12:31:24 +02:00
Humdinger e8c6eee0ca Added Brazilian translators. Thanks guys!
(+alpha4)
2012-09-29 08:14:30 +02:00
Jérôme Duval 5485c7646e udf: print an error for unsupported revisions 2012-09-28 00:45:06 +02:00
François Revol f916b68079 B_POSIX_ENOMEM is obviously an error...
* was wrongly reported as "No error"
2012-09-27 16:42:40 +02:00
Humdinger 83953c9405 Using B_TRANSLATE_SYSTEM_NAME for 'FontDemo', plus tiny style fix.
+alpha4
2012-09-24 18:31:47 +02:00
Humdinger 57c8cbd820 Made 'BSnow' translatable, plus tiny style correction.
Fixes #9025.
2012-09-24 18:06:24 +02:00
Humdinger 79650056f0 Fixed control label in Poorman settings.
The BTextControls were using the wrong constructor.
Fixes #9024.
+alpha4
2012-09-24 17:53:51 +02:00
Axel Dörfler 41828f1567 Cleanup, no functional change intended. 2012-09-23 20:39:21 +02:00
Axel Dörfler 25b89454c4 MSI interrupts were not disabled on error. 2012-09-23 20:33:25 +02:00
Axel Dörfler 0e662af473 Always set a minimum size for the list view.
* Otherwise it doesn't look good when the media server is just
  being launched (so there are no nodes yet).
2012-09-23 15:50:42 +02:00
Axel Dörfler 1c0cacfbc5 Cleanup.
* Sort methods like they are declared in the header.
* Fixed a number of coding style violations and other oddities.
2012-09-23 15:44:21 +02:00
Axel Dörfler baeb048bd1 Don't start showing the hint for each solved number.
* Instead, only keep it visible when the user made it visible.
* Minor cleanup.
2012-09-23 11:23:29 +02:00
Axel Dörfler 19559d24fc Reset controller::active_codec on uninit.
* The controller structure is static, so if you closed the device,
  and the driver failed to initialize correctly (ie. finds no codec)
  on the second try, it would have crashed accessing an already freed
  codec.
* Not sure why it fails to detect any codecs on second open, yet,
  though.
2012-09-23 11:16:28 +02:00
Axel Dörfler 751c6aba1c Fixed saving the column state to a message.
* This fixes copy/pasting the column state when the "display-as"
  feature is used.
2012-09-23 08:31:37 +02:00
François Revol 9c50f5eded U-Boot: arch_mmu.cpp does not come from kernel sources
* so don't try to find it there
2012-09-22 04:18:37 +02:00
François Revol db5bd5535e U-Boot: move mmu.cpp to arch/arm/arch_mmu.cpp
* only contains ARM stuff anyway.
* PPC implementation will be very different anyway.
2012-09-22 04:00:13 +02:00
Axel Dörfler 45732903d0 Implemented MSI support.
* Does not seem to change anything, though (I'm also a victim of bug
  #8949)
* Minor cleanup.
2012-09-21 00:22:54 +02:00
Axel Dörfler 8c3a938fc3 cache_abort_sub_transaction() did not maintain num_blocks.
* When a block was only used in a sub-transaction, it was thrown away,
  but the transaction::num_blocks field was not decremented.
* This caused transactions never considered finished which eventually
  led to bug #8942. This does not explain the disk corruption occurring
  in #8969, though.
2012-09-19 20:06:19 +02:00
Stephan Aßmus f672eb2827 Small cleanups to dragging partition entries code. 2012-09-16 11:11:40 +02:00
Jacob Waterman 5d871e578d Added drag & drop of disk/partition paths; drag a list item to terminal, pe, etc. and release to copy the path. (ticket #8872)
Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2012-09-16 10:37:38 +02:00
Philippe Saint-Pierre 151b6997c0 Tracker: Moving columns could make an horizontal scrollbar appear 2012-09-15 19:31:34 -04:00
Alexander von Gluck IV b341f104e9 ARM: Build fixes and cleanup
* Don't redefine incorrect cpu headers in framebuffer code
* Drop unused err
* Fix missing parentheses as per gcc
* Fix Raspberry Pi Build
* Fix overo build due to missing header
2012-09-15 17:12:56 -05:00
Alexander von Gluck IV 8eeafbce5f arm framebuffer: Convert arm arch_video code into classes
* Proper framebuffer code is chosen based on hardware
* This change could extend into other arch code as well
* François gave permission to update his copyrights
* Minimal functional change
2012-09-15 13:23:34 -05:00
Alexander von Gluck IV 58f219d49f beagleboard: Fix build, missing header 2012-09-15 12:50:08 -05:00
Alexander von Gluck IV 7ccc9b45e8 arm loader: Style cleanup of loader arm arch code
* These video sources would be good cannidates to be
  refactored as classes. (like the arm serial code)
* No functional change. There are some order style issues
  in some of the code (the top externs), but I decided to
  not fix them as I can't build these atm to test.
2012-09-15 09:24:13 -05:00
Alexander von Gluck IV d501b694bf rPi: Set 1 cpu in the loader 2012-09-15 09:24:12 -05:00
Marcus Overhagen 8e813c26cd ignore partition info logical_block_size 2012-09-15 12:39:01 +02:00
Marcus Overhagen ed5e4ee428 also print partition info 2012-09-15 12:38:38 +02:00
Ryan Leavengood 721d056e11 Don't call unload_driver_settings twice. Thanks Hamish. 2012-09-15 00:19:42 -04:00
Marcus Overhagen 4a2ac3c2ac Fix size parameter for ioctl. 2012-09-15 01:22:34 +02:00
Marcus Overhagen 3c5216179e 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-09-14 22:21:47 +02:00
Marcus Overhagen 1f6d0a79c9 use template max() instead of max_c() macro 2012-09-14 20:24:36 +02:00
Marcus Overhagen 87b33446e1 gcc2 compile fix (gcc4 didn't complain) 2012-09-14 19:29:34 +02:00
Marcus Overhagen 2f0f9d8780 cleanup variable naming for port count 2012-09-14 18:58:58 +02:00
Marcus Overhagen a63b046e90 add missing line breaks in debug output 2012-09-14 18:58:58 +02:00
Marcus Overhagen 0d73f6ec8a properly check intel port count and don't panic on more than 8. 2012-09-14 18:58:58 +02:00
Marcus Overhagen 6c9f2e94e7 set GHC.AE before performing reset (should be done by BIOS already) 2012-09-14 18:58:58 +02:00
Marcus Overhagen 863a181c0b make sure there are no pending interrupts during setup 2012-09-14 18:58:57 +02:00
Alexander von Gluck IV f78dd1249a VM Preflet: Use AutoDeleter on the settings
* Prevents a minor memory leak
* Thanks for catching this Axel!
2012-09-13 11:11:36 -05:00
Marcus Overhagen 517a59c9a1 Make a void * pointer const. 2012-09-13 09:58:43 +02:00
Axel Dörfler 267b646396 Run the transaction flusher in another thread.
* This fixes bug #8977.
2012-09-12 20:20:43 +02:00
Ingo Weinhold 1bd0748253 Fix crash in MemoryManager::PerformMaintenance()
sFreeAreaCount wasn't decremented after removing an area from
sFreeAreas, thus causing the loop to continue until enountering and
crashing on a NULL pointer after removing the last area. Introduce
helper methods _PushFreeArea() and _PopFreeArea() to ensure this cannot
easily happen again.

Fixes ticket #8972.
2012-09-11 22:31:19 +02:00
Marcus Overhagen 8040911a25 Use implemented ports mask to check if maximum port count needs to be extended.
* This should fix #8953
 * Also fix some harmless off-by-one errors
2012-09-10 22:32:20 +02:00
Alexander von Gluck IV 1946d374f2 rPi: Update boot process for later Pi firmwares
* The bootprocess is better documented now.
  Put technical info in linker script, user info
  into info.txt
2012-09-09 21:10:16 -05:00
Axel Dörfler 7d362bb34c The sFragmentLock was never being initialized.
* This fixes bug #8958.
2012-09-09 22:53:19 +02:00
Fredrik Holmqvist cdca279abd Remove unused header hpet.h. 2012-09-09 14:47:49 +02:00
Fredrik Holmqvist 953ca70721 Removing the acpi_avoid_full_init config option.
I've never heard anyone that been helped by that setting.
2012-09-09 13:13:53 +02:00
Alexander von Gluck IV b772f88c88 VM Preflet: Fix user prompt string typo. Thanks ttcoder! 2012-09-07 18:04:17 -05:00
Alexander von Gluck IV 59c595739c VM Preflet: Add a BStatusBar to show swap file usage
* Correct a situation where disabling the auto swap without
  adjusting the swap size would result in an invalid swap
  size getting written to the configuration
2012-09-07 12:40:56 -05:00
Alexander von Gluck IV 5e7287f987 VM Preflet: Style cleanup; check for success of fs_stat_dev
* Cleanup as per Axel on the ML
* Remove superfluous else statements
2012-09-07 07:18:20 -05:00
Alexander von Gluck IV f18cace156 VM Preflet: More correctly calculate default swap 2012-09-07 00:46:14 +00:00
Alexander von Gluck IV 5dff42570e VM Preflet: Center properly on screen
* On first run, dialog was at 0,0
* Rename window location/settings file
  from VM_data to virtualmemory_preferences
2012-09-07 00:34:00 +00:00
Alexander von Gluck IV 534268052d Kernel VM: Utilize swap_auto option
* Refine the swap logic a little
* Refine header copyright to preferred format
  I had hamishm's verbal permission to change his entry
2012-09-07 00:13:14 +00:00
Alexander von Gluck IV 91390fb0d3 VM Preflet: Add an automatic swap option swap_auto
* Add swap_auto to the virtual memory settings file
* Disable controls based on the context of what is enabled
* hamishm gave permission to adjust his copyrights to Haiku, Inc.
2012-09-07 00:13:03 +00:00
Alexander von Gluck IV 91a8191a25 VM Preflet: Style fix. bootDev to gBootDev. No functional change 2012-09-07 00:12:54 +00:00
Alexander von Gluck IV ab4f001685 VM Preflet: More throughly translate BAlert window titles
* Ensure we call translate BAlert window titles
2012-09-07 00:12:46 +00:00
Hamish Morrison b8838e91d9 VM Preflet: Add support for device selection
* Enables swap file to be placed on non-boot partition
* Changes tied closely to recent kernel virtual memory change
2012-09-07 00:12:37 +00:00
Axel Dörfler f1cbaf5c8f Fixed warnings, 80 character line limit. 2012-09-06 22:09:42 +02:00
Humdinger f6d33da6a4 Small corrections to AboutSystem.
Thanks Rene.
2012-09-05 19:38:14 +02:00
Humdinger ae7bcbaa12 Updated the list of contributers.
Added people to the list contributers.
Moved people to the list of past maintainers.
Added GCI to our Google thanks.
2012-09-05 18:19:40 +02:00
Ryan Leavengood e665a8baa6 New icons for source code and patch files.
Both are from #8867, created by Justin Stressman. The previous source code icon
was not friendly to those with green color blindness. I also think it was an
ugly green.

Fixes #8867 of course.
2012-09-05 01:36:25 -04:00
Alexander von Gluck IV 4517ef5728 Kernel VM: A few changes as per Axel in #7742
* Avoid floating point numbers in the kernel
* Warning would always show if custom swap file in use
* Don't change a custom swap file size if low space occurs
* Ram > 1GB? Don't double the memory for the automatic size
2012-09-04 15:35:10 -05:00
Alexander von Gluck IV 3e01905aca Kernel VM: Add compatibility logic
* If old-format swap config file found, parse it properly
2012-09-04 13:27:33 -05:00
Alexander von Gluck IV 0606074fd9 Kernel VM: Improve swap file selection
* Heavily based on Hamish Morrison's GCI work with some
  modified logic and cleanup. #3723
* Adds automatic swap as well as user specified swap
* Limits:
  Automatic: (ram * 2) up to 25% of the disk
  User: user specified up to 90% of the disk
* Supports changing the swap disk location
2012-09-04 12:31:56 -05:00
Alexander von Gluck IV 3d87b8120c Kernel VM: Style cleanup; No functional change 2012-09-04 08:42:36 -05:00
Axel Dörfler 098967cee1 Fixed the new issue in #8910 from r44585.
* The ASSERT() I introduced in r44585 was incorrect: when the sub transaction
  used block_cache_get_empty() to get the block, there is no original_data for
  a reason.
* Added a test case that reproduces this situation.
* The block must be moved to the unused list in this situation, though, or else
  it might contain invalid data. Since the block can only be allocated in the
  current transaction, this should not be a problem, though, AFAICT.
2012-09-04 01:00:33 +02:00
Philippe Saint-Pierre 96c30cc820 Tracker: fix warning in gcc2
Refactor a bit the conditions to avoid a warning.
2012-09-03 16:53:53 -04:00
Rene Gollent 139ee87903 Fix some behavioral regressions introduced by previous commit.
- Some parts of Tracker were basing certain assumptions on whether the
  types list was NULL or not. We now check on list emptiness instead.
2012-09-03 16:42:14 -04:00
Rene Gollent 9335e141ba Fix crash when dragging files onto nav menus.
- BNavMenu now keeps its own copy of the cached types list that's passed to it.
  In some circumstances it could happen that the container window would
  delete the list and consequently the nav menu would wind up with a pointer
  to an invalid object. Probably a regression from the async mouse tracking
  rewrites.
2012-09-03 16:28:47 -04:00
Jerome Duval 1d6d4b7872 libtiff: fix ppc build 2012-09-03 19:01:20 +02:00
Ryan Leavengood 33570266f1 Get all parameters from a notification message.
Fixes #8916. Thanks Prodito for the patch.
2012-09-02 19:42:43 -04:00
Philippe Saint-Pierre b5f22a7f78 MediaPlayer: Deletion of playlist entries
Several scenarios of misbehaviour found and fixed, examples :
* Deleting an item sitting before the currently playing item had the effect of
starting the playback of the item before the delete item.
(now it just updates the indexes - setting it to fCurrentIndex - 1 - without altering playback).

* Deleting the last item of the list had for effect of starting the playback of the entry
newingly being the last entry, regardless if the last entry was the active one or not.

Should fix #6689.
2012-09-02 16:14:02 -04:00
Ryan Leavengood 6446fc3582 Rename DecorSettingsView to LookAndFeelSettingsView. 2012-09-02 15:32:09 -04:00
Ryan Leavengood fe855cd550 Appearance preflet: Add a double scrollbar arrows setting.
Rename the 'Decorators' tab to 'Look and feel'.

Fixes #8926.
2012-09-02 15:14:50 -04:00