Commit Graph

43308 Commits

Author SHA1 Message Date
Ryan Leavengood
e19488b2cc Make Deskbar respect the menu text color settings.
Hard-coding black is bad, mmmkay?

This makes Deskbar usable on dark background with light text color schemes.
2012-08-03 01:59:53 -04:00
Ryan Leavengood
ab4e79c351 Fix Deskbar based on my recent menu change.
Thanks augiedoggie for pointing it out.
2012-08-03 01:58:41 -04:00
Ryan Leavengood
477a6b7bfb What if Magnify displayed a hex color instead of a useless index?
Well now it does.

The code needs much more love, but I fixed the coding violations in this code I
touched.
2012-08-03 00:09:08 -04:00
Ryan Leavengood
16e4281d0a Remove the no longer needed hack from WebPositive. 2012-08-02 23:25:29 -04:00
Ryan Leavengood
0eed2a7c98 Fix flickering menus, especially menu bars.
Figured out by Stephan originally and only hacked in WebPositive, I knew
something about WebPositive was different because it did not flicker when
everything else did.

Since we fully draw the menus there is no need to have app_server fill in the
background with the view color. That is what was causing the flickering.

Should fix #484, #532 and #4335. Thanks diver for confirming the patch against
those tickets.
2012-08-02 23:25:29 -04:00
Rene Gollent
886f1456af Printf format adjustments to get ahci building on x86_64. 2012-08-02 20:29:12 -04:00
Ryan Leavengood
81033e260a Add TODO about the Shortcuts settings file management.
Now we can close #6278.
2012-08-01 22:31:08 -04:00
Jessica Hamilton
da2f4733e6 Preserve state of lock keys when keymap is loaded.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2012-08-02 00:04:52 +02:00
Ryan Leavengood
894bce690b Add easier keyboard shortcuts to the Team Monitor window.
* Delete and q quit the application.
* Shift-Delete and k kill the application.

Used a message filter since I want these handled by the window.

Fixes #8561.

Also:
* Removed DeselectAll() from the class declaration since it was never defined.
* Re-ordered methods in the class definition to match the order in the declaration.
* Added the underscore to _UpdateList() since it is a private method and moved
  it to the right place.
2012-08-01 13:21:46 -04:00
Alexander von Gluck IV
43af2c93af radeon_hd: Resolve thermal crash on SI
* Forgot to add card register base to register
  offset.
* Resolves #8816
2012-08-01 08:20:47 -05:00
John Scipione
57e436840b Revert "Remove the ellipses for About App in the replicant menu."
Apparently ellipses are used for all dialog boxes on Haiku.
Sorry for the noise.

Thanks AnEvilYak

This reverts commit 147ef3a9e8.
2012-08-01 07:54:39 -04:00
John Scipione
147ef3a9e8 Remove the ellipses for About App in the replicant menu.
The ellipsis character (...) after a menu item means that
the command needs more information from the user before
the operation executes.

The ellipsis character doesn’t simply mean that a dialog
box or window will appear.

The window appearing completes the command and doesn’t
require additional input from the user before it executes.
2012-08-01 07:46:44 -04:00
Alex Smith
f7010474bb Changed resource alignment behaviour for ELF64 binaries.
The current behaviour of aligning to the maximum value of p_align seen
is problematic for x86_64, as the default segment alignment is 2MB.
This causes all x86_64 binaries to be padded to at least 2MB when
resources are added to them. There is no need to align to p_align in
the file itself (it's only an in-memory requirement), therefore
instead just align up to an 8-byte boundary. The current behaviour is
retained for ELF32, so this won't cause any compatibility problems
(there are no existing ELF64 BeOS/Haiku binaries to worry about).
2012-08-01 10:35:34 +01:00
Fredrik Holmqvist
57e2ce542e CID-701956: list_remove_head_item may return null.
Simplified from while (1) to while that checks sem directly.
2012-07-31 20:51:02 +02:00
Alexander von Gluck IV
66f16cca0a JamFile: Remove SerialConnect from HaikuImage
* It's not ready *just* yet.
* Accidently added in hrev44447
2012-07-31 12:14:41 -05:00
Alexander von Gluck IV
f8af317470 radeon_hd: Final round of header cleanup
* This puts the registers in a better state and ensures
  all model dependant defines are prefixed with card series
* Consolidate evergreen defines into single header
2012-07-31 12:10:51 -05:00
John Scipione
7d404dbcae Rename the angle mode menu items to just 'Radians' and 'Degrees'. No reason for the word Mode. 2012-07-31 09:37:08 -04:00
John Scipione
fa37d94d1b Fix radian/degree mode toggling bug in Deskcalc
I overlooked this problem in my last commit...

If you select the current angle (radian/degree) mode from the menu
it toggles the angle mode, fixed this to make it keep the current
mode.
2012-07-31 08:01:32 -04:00
Alex Smith
bd97ee39e0 Style fix. 2012-07-31 12:15:26 +01:00
Alex Smith
caa1e8b742 Fix CID 712419, 712420, 712421, 712422: Unintentional sign extension to 64 bits. 2012-07-31 12:08:45 +01:00
John Scipione
8ffd0477dd Implement degree mode in DeskCalc.
Default is radian mode,  You set the option in the right click menu
like the other options.

Note: degree mode does not affect hyperbolic trigonometric functions.
This is how Mac Calculator, Windows Calculator, and Google Calculator
work.
2012-07-30 22:35:57 -04:00
Alexander von Gluck IV
93aac98d0a radeon_hd: r5xx to Avivo define cleanup
* Reorganize and clean up card defines
* Fix define spaces
* Unify card naming
* No (real) functional change
2012-07-30 15:57:53 -05:00
Alexander von Gluck IV
8ef0a0d2a6 radeon_hd: Card define cleanup
* Trying to do cleanup on the layout of these headers
2012-07-30 15:57:52 -05:00
Matt Madia
7e38f21a04 Fixed typo. Fixes #8755 2012-07-30 13:12:02 +00:00
Fredrik Holmqvist
f099314535 Use a rw_lock instead of a mutex.
This however doesn't seem to improve performance here.
Need to investigate lock contention I think.
2012-07-30 17:26:16 +02:00
Alexander von Gluck IV
45dc5c4664 radeon_hd: Add Southen Island gpu temp sensor code
* Add AMD SI defines in si_reg.h
* Prefix SI registers with SI_
* Tab and space cleanup
2012-07-30 09:45:45 -05:00
Matt Madia
caf06f6e06 Added 'device' to the library name map. Fixes #8800 per korli. 2012-07-30 09:28:54 +00:00
Matt Madia
d5c9967333 Created mime sniffer rule for HVIF icons. 2012-07-30 08:36:46 +00:00
Matt Madia
724a6712ec Utilize the new PDF file and PDF writer icons.
Closes #8807.  Thanks again, Justin Stressman for the new icons!
2012-07-30 08:34:38 +00:00
Matt Madia
47b7182a24 Updated HVIF icons relating to PDFs.
As per #8807,
 * Removed icons that contain Adobe's trademarks.
 * Replaced with icons designed by Justin Stressman.

Thanks!
2012-07-30 08:15:37 +00:00
John Scipione
b79561ad9c Redo some reverted style changes. 2012-07-30 02:45:45 -04:00
John Scipione
78341a9351 Revert "Fix gcc2 build on Mac OS X Lion"
now that Alex Smith has fixed the build system on Lion this
work-around can now be reverted.

This reverts commit 7c369a4b3f.
2012-07-30 02:10:08 -04:00
John Scipione
c15ad4e6b9 Space after for, thanks Ryan 2012-07-30 01:59:11 -04:00
Ryan Leavengood
45ecce1d57 Fix #6978: Add and close tabs on middle mouse down, not up.
This reduces perceived latency. One day when I add a tab close undo stack, this
will be even better. But generally using the middle mouse button is not
accidental.
2012-07-29 22:25:45 -04:00
Ryan Leavengood
cc467a28d9 Remove .swp file, and add a rule to ignore them in .gitignore. 2012-07-29 22:06:53 -04:00
Ryan Leavengood
f893514b87 Remove custom Zoom method from Web+ which goes fullscreen.
This leaves the default BWindow behavior of a maximized window.

Alt-Enter and F11 still will go fullscreen.

Fixes #7966.
2012-07-29 21:13:09 -04:00
Alex Smith
e715eca04c Worked around broken GCC 2 on OS X hosts.
GCC 2 built for OS X 10.7/10.8 was broken, the Haiku build would fail
with some strange errors. Forcing compilation of GCC 2 in 32-bit mode
results in a working GCC.
2012-07-29 21:03:14 +01:00
John Scipione
1ac528017d Refactor IconUtils.cpp
Mostly style changes, some functional changes although there is no
change in functionality for the success case, just cleaner code.
2012-07-29 13:07:45 -04:00
Rene Gollent
224f75100b Implement support for separate debug info files.
- When loading an image, we now check if it has a .gnu_debuglink section.
  If so, we try to load the linked file for our symbolic debugging information.
  The file is searched for with the following rules:
    1) If self-contained app, app image is looked for in ./debug while
       library/add-on images are looked for in ../debug/.
    2) If the image in question is in one of the global locations
       (/boot/{common,system,home/config}/{lib,add-ons}), we search
       in develop/debug for the corresponding global dir.

  Implements #8135.
2012-07-29 07:12:49 -04:00
Humdinger
200dec066f Adjust strings to the Haiku style. 2012-07-29 10:47:10 +02:00
Ryan Leavengood
6a03786cc9 Draw menus using the user chosen colors. 2012-07-28 23:02:17 -04:00
John Scipione
1510ac0081 Refactor icon scaling, fix off-by-one error.
Refactor the icon scaling code in IconUtils.cpp to avoid code
duplication. Basically create and delete the temp bitmap to
convert from B_CMAP8 to B_RGBA32 for scale2x/scale3x/scale4x
just one time instead of 3.

There was an off-by-one error in Deskbar which was causing
it to scale up the 16x16 Bitmap icon to 32x32 instead of just
using the 32x32 icon. This only affected BeOS bitmap-based
icons, not Haiku HVIF icons.
2012-07-28 22:00:22 -04:00
Ryan Leavengood
688e878807 Don't check for double click if it was a right mouse click.
Fixes #8714.
2012-07-28 19:58:28 -04:00
Ingo Weinhold
d266c87d17 Debugger: CliContext: Introduce the notion of events
* The input loop can now wait on abstract events, which other threads
  (or even the input loop thread itself) can signal.
* Use the new mechanism in QuitSession().
* Also (with the exception of the SIGINT part) implement
  WaitForThreadOrUser().
2012-07-29 00:28:56 +02:00
Ingo Weinhold
4d8eaa5b11 Debugger: UserInterface.h: style cleanup 2012-07-29 00:28:56 +02:00
Ingo Weinhold
726d557c9e Debugger CLI: Wait for TeamDebugger thread to die before exit() 2012-07-29 00:28:56 +02:00
John Scipione
e51854a127 Add 96x96 and 128x128 icon sizes to tracker including scaling of BeOS icons using scale3x and scale4x algorithms. 2012-07-28 14:07:43 -04:00
John Scipione
ea001e585a Round 2 of style changes to Tracker
* focused on 80-char limit fixes.
* also some whitespace and case statement indentation fixes
2012-07-28 14:02:35 -04:00
John Scipione
a51764c53e WIP: Yet more style fixes, mostly 80 char violations. 2012-07-28 14:02:34 -04:00
Alex Smith
0d47dc5dd2 Fixed incorrect variable name in generated BuildConfig. 2012-07-28 16:26:07 +01:00