Commit Graph

36697 Commits

Author SHA1 Message Date
Ryan Leavengood
9f5864ab09 Handle the scroll wheel changing over scrollbars.
* Extract the scrollbar change based on the mouse wheel delta into a protected
  method of BView.
* Call that method from BScrollBar's MessageReceived.

With this change it is now a bit easier to scroll horizontally around the
system by putting the mouse cursor over a horizontal scrollbar and using the
wheel.

Fixes #8631.
2012-06-24 10:50:42 -04:00
Fredrik Holmqvist
91102c544e Logging calculations was done outside the #def TRACE_VM_PAGE, but never printed.
Now done inside #def as well as this triggered unused variables warnings.
2012-06-23 22:43:24 +02:00
Humdinger
6f55e249df Fixed redrawing bug when coming out of fullscreen mode.
After coming back from fullscreen mode, horizontally scrolling a zoomed
image would draw vertical lines from the right border. Seems like an
off-by-one issue. This fixes it in my tests... hope it's properly done.
2012-06-23 20:53:42 +02:00
Humdinger
ccae01d421 Fixed issue when auto-showing toolbar in fullscreen mode.
If you've zoomed in fullscreen mode and moved the mouse to the top of the
screen, the toolbar didn't appear. You had to scroll up to the top of zoomed
image first. Using the screen coords instead of the view coords fixes this.
2012-06-23 20:16:58 +02:00
Jérôme Duval
24df347e9c Patch by X512 for Icon-O-Matic.
* support HVIF icons and SVG images in rdef

Signed-off-by: Stephan Assmus <superstippi@gmx.de>
2012-06-20 19:57:24 +02:00
Axel Dörfler
d6e44a2a3a Fixed BootLoaderTest build and debug build. 2012-06-18 21:52:30 +02:00
Axel Dörfler
90f510906d When the value hint mode is active, keep it active.
* Ie. when a different value is pressed, the hint is now being shown for
  the new value instead of turning of the value hints.
2012-06-18 21:52:29 +02:00
Axel Dörfler
7b2ba07326 The size control now actually sets the size instead of the offset.
* SizeSlider::MaxPartitionSize() also now returns the size instead of the end
  offset.
* Renamed CreateParamsPanel::_UpdateTextControl() to _UpdateSizeTextControl().
* Removed code duplication, and instead just call _UpdateSizeTextControl()
  twice.
* Minor other cleanup.
2012-06-17 20:04:39 +02:00
Axel Dörfler
2ffea8e8a3 Minor cleanup, no functional change. 2012-06-17 20:04:37 +02:00
Rene Gollent
a663e90506 Fix #8640.
- Automatic whitespace cleanup.
- Remove no longer exposed show/hide time setting. The methodology for
  saving it on exit was broken anyways, since it relied on the current
  show/hide state of the time view, which would be hidden if the deskbar
  was currently in Autohide mode.
2012-06-16 16:45:28 -04:00
Philippe Saint-Pierre
919d3b7601 Pulse deskbar replicant couldn't be removed. Fixes #4244. 2012-06-16 14:08:53 -04:00
Humdinger
d8bddb6d01 Cosmetic change: Set minimal size of TouchPad sliders. 2012-06-13 17:16:52 +02:00
Ryan Leavengood
30e7dbeb72 Save and load scrollbar settings in app_server.
Added to the appearance settings since menu info was already there.
2012-06-11 00:10:22 -04:00
Alexander von Gluck IV
b937bd211c ahci: Initial TRIM work
* Since ahci devices are emulated as scsi, we use
  the SAS style TRIM call (unmap in scsi write same)
* This prevents the need for special, one off trim
  calls.
* We don't perform the TRIM just yet, just laying
  the goundwork for the request.
2012-06-10 18:47:13 -07:00
Philippe Saint-Pierre
163cd4bf53 Prevent ressource leak in time preferences (ntp update) CID 702055. 2012-06-10 16:57:45 -04:00
Ryan Leavengood
9609fb5050 Double scrollbar thumbs have returned!!!
Let the flamewar begin.
2012-06-10 00:23:51 -04:00
Ryan Leavengood
b9d90cb109 Remove superfluous check for Height() since it is checked above 2012-06-10 00:21:06 -04:00
Ryan Leavengood
585d44f283 Improve the workspace view tab rendering.
Before this the height and width of the tab would jump around as the window was
moved. In addition there was an off-by-one error which caused right-aligned
tabs to not be drawn right (as reported in ticket #4615, which this fixes.)
2012-06-10 00:14:21 -04:00
Ryan Leavengood
70a5df3878 Use the correct color for the tab border for inactive windows.
Before this the active window border color was used, resulting in ugly inactive
window tabs if the active and inactive border colors were quite different.

This was not noticed before because the defaults are two very similar grays.
2012-06-09 22:27:29 -04:00
Ryan Leavengood
20b3f78f8d Draw the chosen color next to the name of system colors.
I copied BStringItem::Draw then modified it. I couldn't find a clean way
of doing it otherwise, since the color box drawing needs to occur between the
selection and text drawing, and the text needs to be offset while the selection
shouldn't be.
2012-06-09 17:12:42 -04:00
Humdinger
131161928c Small correction to heading 2.1 in Installer text 2012-06-09 18:29:52 +02:00
Ryan Leavengood
88495a828e Focus the Team Monitor list view when the window shows.
This allows immediate use of the arrow keys to navigate the list.

Fixes ticket #8564.
2012-06-08 23:24:57 -04:00
Ryan Leavengood
e5cca9b6cf Add Team Monitor shortcuts for kill and quit.
Fixes ticket #8561.
2012-06-08 23:23:50 -04:00
Alexander von Gluck IV
581f28eb9b ahci: Add pretty name to AHCI devices
* Naming is a little rough, but I can't think of
  anything better.
* Two less "Unknown Devices" in Device application
2012-06-07 15:00:13 -07:00
Alexander von Gluck IV
7c8e561489 ATA: Display trim support of ata disk 2012-06-06 12:35:12 -05:00
Axel Dörfler
2996f64881 Implemented a value hint, changed colors.
* When you press on a value, that value will be shown with a
  highlighted background across the board until another value is set.
* Changed the colors to those from the Haiku logo rather than the BeOS
  logo. This makes it a bit more colorful which one might need to get
  used to -- comments welcome.
2012-06-06 00:35:51 +02:00
Axel Dörfler
0ba36860ad Added a few convenience methods. 2012-06-06 00:34:51 +02:00
Axel Dörfler
bea2387b68 Made constants static, coding style cleanup. 2012-06-05 23:15:54 +02:00
Jérôme Duval
75d1324b91 ntfs: fix double free #8484 2012-06-05 21:55:41 +02:00
Alexander von Gluck IV
966df2f98b cpuidtool: Style cleanup 2012-06-04 11:05:36 -05:00
Alexander von Gluck IV
548b1a4988 cpuid: Rework AMD CPUID numbers
* If family is 0xF, we grab extended family and model
  like Intel does
* Idenfify AMD cpu's more correctly
2012-06-04 11:01:39 -05:00
Alexander von Gluck IV
bd12d75f96 cpuid: consolidate tools to one tool
* Don't move vendor mask
* Place extended cpu info before vendor *if* amd
  cpu family == 0xF
2012-06-04 08:34:44 -05:00
Humdinger
931b441f63 Added info on configuring GRUB via os-prober, see #8578. 2012-06-04 14:51:59 +02:00
Jérôme Duval
411272adfd Work in progress on xHCI bus driver
* added a thread to handle events, locking wasn't easy in an interrupt
  handler
* the td struct can now track several buffers instead of just one.
* use Transfer::Data*() instead of Vector*() for the time being
  until support for fragmented transfers is done
* added CreateDescriptorChain, WriteDescriptorChain and ReadDescriptorChain,
  chained tds not working yet though.
* added a mutex lock per enabled endpoint, lock when touching the endpoint
  transfer ring.
* correctly configure interval and average trb length for endpoint contexts.
* interrupt transfers seem to work on real hardware
* xhci qemu driver doesn't advance ring dequeue pointers on link trbs, thus
  accessing freed trbs that could already be reused, leading to crash.
2012-06-03 22:51:28 +02:00
François Revol
dc09611aad U-Boot: move gFDT declaration to shell.S
* this avoids it falling into the BSS section which we clear quite late,
and allows setting it from asm code if needed.
2012-06-02 13:46:45 +02:00
François Revol
cce9d8cf89 U-Boot PPC: Enable ppc440 FPU correctly
* On ppc440, the FPU is implemented as an Auxiliary Processing Unit,
we must therefore enable sending commands to it,
in addition to setting the MSR bit.
2012-06-02 01:30:48 +02:00
Alexander von Gluck IV
d995d3c634 intelcpuid: A small tool for OS.h
* Takes an Intel CPUID and converts it to a number for OS.h
2012-06-01 11:01:29 -05:00
Alexander von Gluck IV
c84fd0f0fe amdcpuid: Redo how we store amd cpuid's
* Ran out of space, so we do AMD chips as VVFFMM
* Longer family and model masks work
* Plug in any raw hex AMD CPUID and get back Haiku format
2012-05-31 23:57:53 -05:00
Alexander von Gluck IV
f0aca319b9 amdcpuid: A small tool for OS.h
* Takes an AMD CPUID and converts it to a number for OS.h
* Splits on family 0xF as per AMD recommendation
2012-05-31 19:16:30 -05:00
Axel Dörfler
0084fa5209 Reverted the rounded buttons again.
* Following the previous discussion on the mailing list and Stippi's final mail.
* I tried to get used to it in the last couple of weeks, but I think it just
  looks out of place, and not good either.
2012-05-30 23:36:03 +02:00
Axel Dörfler
712fdb70b2 Style cleanup. 2012-05-30 23:36:02 +02:00
Axel Dörfler
d6e44c9c82 If all fields for a specific value are set, mark it.
* In this case, the value is drawn a bit less intense than incomplete values.
* Make the keyboard focus background color depend on the actual background
  color.
* No longer allow to drag remove random hint values after removing a value
  from a field.
2012-05-30 23:36:02 +02:00
Axel Dörfler
3a1a1e1b82 Style cleanup. 2012-05-30 23:36:01 +02:00
Alexander von Gluck IV
0e8316cc90 intel_810: Style cleanup. No functional change
* I think the FunctionNames need to change to function_name
2012-05-30 16:11:09 -05:00
Gerald Zajac
e0ee3b7971 driver: New intel 810 video driver
* Introduced by Gerald Zajac in #8615
* Will need reviewed, tested, and some style cleanup
* Not in images until steps above complete
2012-05-30 15:21:18 -05:00
Rene Gollent
f4ee2d048e Slight and cleanup and fix potential section leak. 2012-05-28 15:48:00 -04:00
Rene Gollent
dbf07c84a2 Fix problems unwinding call frames.
Our more recent build of gcc4 appears to have switched to using
.eh_frame for almost all useful call frame information when built
with debugging. Use a somewhat crude heuristic (size) to determine
if the .debug_frame section we've been given might actually be of use
or not (assuming it exists at all, this was inconsistent in my tests.
Sometimes apps had no .debug_frame at all, other times it was present
but was only roundabouts 100 bytes).

Fixes ticket #8508.
2012-05-28 15:39:38 -04:00
Rene Gollent
e0a6e07bb3 Minor cleanup, no functional change. 2012-05-28 14:51:58 -04:00
Reznikov Sergei
72b7db341b Added resize to fit shortcuts. Partially fixes #7467.
* Adjusted initial tracker windows width to fit modified column.
* Resolved a TODO: Added get info shortcut to Open with window.

 Author:    Sergei Reznikov <diver@gelios.net>

Signed-off-by: Alexandre Deckner <alexandre.deckner@uzzl.com>
2012-05-28 16:29:43 +02:00
Rene Gollent
c2d1fc4ffa Fix updating of source path.
Factor out updating of the source path view into a dedicated function,
and fix some errors that would sometimes result in the text not updating
properly when switching stack frames, particularly if the target frame
didn't have source code available.
2012-05-27 21:46:50 -04:00