Commit Graph

49425 Commits

Author SHA1 Message Date
Alexander von Gluck IV 4d449fccfe radeon_hd: Fix superfluous DPMS hook calls
* The DPMS hook would be called on all
  possible displays causing lots of link
  training on incomplete connector structures
  that may be not attached / connected.
2014-02-03 02:53:04 +00:00
Jonathan Schleifer d229280a80 .gitignore: Remove the NFD entry
The correct way is to set precomposeunicode = true in .git/config so
that git handles NFC vs. NFD. Not sure what a good place to document
that would be, though.
2014-02-02 08:47:59 +01:00
Stephan Aßmus b5364215d0 ClipToPicture: Correct the scaled clipping tests. 2014-02-01 23:22:23 +01:00
Stephan Aßmus 3c43cf1c40 OffscreenDrawingContext: Implement ResyncDrawState()
This is called whenever the DrawState is modified, so that it gets applied
to the DrawingEngine. Otherwise, the DrawingEngine works with an out-dated
state.
2014-02-01 23:15:21 +01:00
Stephan Aßmus b971358df3 AlphaMasks: Use correct DrawState when playing picture
The current drawing state when the picture starts playing is the base
state that drawing commands in the picture itself should not be able to
modify. In the ClipToPicture test, the nested state test now at least
draws the last picture at the correctly scaled location.
2014-02-01 22:35:19 +01:00
Stephan Aßmus ce2c561521 ServerPicture: Set correct pen location after DrawString() 2014-02-01 22:33:50 +01:00
Stephan Aßmus 7212dd427a ClipToPicture test: Start the interesting test.
* Also fix the compare graphics to what they are actually supposed to look
   for the nested states test.
2014-02-01 22:12:21 +01:00
Stephan Aßmus ad3318b33d DrawState: Coding style cleanup 2014-02-01 22:11:55 +01:00
John Scipione 77acb43273 TextView: Remove Cmd+Up and Cmd+Down Shortcuts
to go to the beginning and end of the document.
2014-02-01 11:04:34 -05:00
Stephan Aßmus 94518ff277 Completely reworked ClipToPicture test.
* The window lets you pick the test via drop-down.
 * The tests are concise and focus on a single thing.
 * There is a second view showing the expected result via "regular" drawing.
2014-02-01 14:56:25 +01:00
Gerasim Troeglazov 6882e5ef83 NTFS: Codestyle cleanup 2014-02-01 10:36:34 +00:00
John Scipione 9bd08d10ab Tracker: Don't change selection if right-click
... inside a selection. If you click outside a selection extend the
selection to include the new items as Tracker normally would and
then pop up the dialogs.

Works with control-click as well, same utility function used.

Fixes #10449
2014-02-01 04:42:39 -05:00
John Scipione 80f4300a72 Tracker: Make context menu work with control-click
in additional to secondary mouse button click, uses same utility function.
2014-02-01 04:42:38 -05:00
John Scipione 898f108250 Tracker: Add SecondaryMouseButtonDown method
Create this utility method in Utilities.cpp and use it elsewhere tell if the
secondary mouse button is pressed or if it is emulated with a control-click.
2014-02-01 04:42:36 -05:00
John Scipione eed35bac80 Tracker: add class name to pragma 2014-02-01 04:42:35 -05:00
John Scipione e37767b0d2 Tracker: some style fixes to BContainerWindow() 2014-02-01 04:42:34 -05:00
John Scipione 6be6813f23 Tracker: swap using std::swap() 2014-02-01 04:42:33 -05:00
John Scipione fcb24e82c4 Tracker: Only open items if doubleclick w/ primary MB
Also rename fLastClickPt to fLastClickPoint
2014-02-01 04:42:32 -05:00
John Scipione 9d33fe6896 Tracker: Style fixes to BPoseView 2014-02-01 04:42:31 -05:00
Stephan Aßmus 6a6060d8fe ServerWindow: Fix converting the clip picture origin
The current view state is already used for the picture playback, the
remaining conversion needs to take into account screen location and scrolling
offset of the view. This may need further investigation: a) When is this
updated? It needs to be whenever a View changes screen location, size or scroll
offset, which may not be the times when this method is called. b) I am not
sure if the scrolling offset is indeed part of this conversion...
2014-02-01 10:39:12 +01:00
Stephan Aßmus b58b8cdd30 BView: Fix ClipTo[Inverse]Picture() syncing.
When BPictures are created on the stack and go out of scope, they send a
AS_DELETE_PICTURE command to the ServerApp thread, and that command may be
processed sooner than the AS_VIEW_CLIP_TO_PICTURE command in the ServerWindow
thread, causing that command to no longer find a ServerPicture for the given
token. Apparently, the Be API leaves you the choice not to sync, in case for
example when you cache your BPictures and they remain valid. The default
value for "sync" is true. The BeBook could explain the situation better when
sync is needed and when not.
2014-02-01 10:39:12 +01:00
Stephan Aßmus 138e4c77eb BPicture: Attach as many picture tokens as promised. 2014-02-01 10:39:11 +01:00
Gerasim Troeglazov 1cbc486e1f NTFS: Code cleanup 2014-02-01 07:20:24 +00:00
Gerasim Troeglazov 154570e8f9 NTFS: Remove checking for NULL 2014-02-01 07:03:11 +00:00
autonielx eefd86b752 Update translations from Pootle 2014-02-01 06:16:24 +01:00
John Scipione 3042958bab Mail: Change quote and unquote shortcuts
to Cmd+' (quote) and Cmd+Shift+'

This should also work better for International users who don't have
ready access to the [ and ] keys.
2014-01-31 18:41:24 -05:00
John Scipione 0875173246 TextView: Update nav shortcuts again
Make Cmd+Left and Cmd+Right work the same as Option+Left and
Option+Right, that is, they do word-wise navigation.

Make Option+Up go to beginning of paragraph and Option+Down go to end
of paragraph like Cmd+Left and Cmd+Right used to.

Unfortunately option shortcuts are currently eaten by S&T until #9431
gets fixed.
2014-01-31 18:30:07 -05:00
Gerasim Troeglazov 712bf7552d NTFS: Fix TRACE position 2014-01-31 09:26:40 +00:00
noryb009 385e65fd21 NTFS: Fix Coverity CID 1108342: resource leak 2014-01-31 09:24:50 +00:00
John Scipione 8197db540b S&T: Add the arrow key tab nav back
This undoes the partial fix to #9431, both sets of shortcuts are supported
for the time being. This mirrors the functionality of ctrl+arrows and
ctrl+tab/ctrl+shift+tab to cycle through apps and windows via Twitcher.

We really need system keybinding settings to fix #9431 properly.
2014-01-30 19:48:37 -05:00
John Scipione fb6ab24a07 Update S&T copyright headers 2014-01-30 19:48:36 -05:00
John Scipione 94d4c31912 App Server: Update S&T window group navigation
Partially fixes #9431

Cycle through tabs in current S&T group with option+tab and backwards
with option+shift+tab
Cycle through S&T groups with option+PgDn and backwards with option+PgUp

This change allows apps to once again use option+arrows when inside of a S&T group
The problem isn’t truely fixed though, just moved to different shortcuts that hopefully will
conflict in fewer applications.

I also made some improvements to how S&T cycling works.

A single window is now considered to be part of a S&T group for the purposes
of cycling through S&T groups.

We loop around when you get the last tab/group.

When you cycle through S&T groups it remembers the active tab in the group
instead of always activating the first tab.
2014-01-30 19:48:36 -05:00
John Scipione 5002366cf4 App Server, a few more style fixes 2014-01-30 19:48:36 -05:00
John Scipione cdffe36124 App Server: Move empty destructor to header. 2014-01-30 19:48:35 -05:00
John Scipione 3779f5cff7 App Server: Style fixes only
* 80 char limit fixes
* remove leading tabs/spaces
* Add some helpful pragmas
* Add some newlines to separate stuff
* Compare pointers to NULL explicitly
2014-01-30 19:48:35 -05:00
John Scipione 27b7673793 App Server: Fix typo
WindowActitvated => WindowActivated
2014-01-30 19:48:34 -05:00
John Scipione c21873f063 WebPositive: BTextView shortcuts work in URL bar
Pass Cmd+Left/Right to the BTextView base class if the URL bar is focused.
This allows us to make use of the navigation shortcuts in BTextView when we
are focused on the URL bar, and activates back and forward navigation
otherwise.

Unfortunately this doesn't also work for text fields inside webpages.

Also make modifierKeys signed.
2014-01-30 19:48:34 -05:00
John Scipione 741987bed7 WebPositive: Style fixes, 80 char limit and ws 2014-01-30 19:48:33 -05:00
John Scipione 9f7f92dd7f Mail: Make quote work with B_OPTION_KEY too.
This is for AZERTY keymaps that don’t have ready access to
[ and ] in the normal map.
2014-01-30 19:48:33 -05:00
John Scipione 2a64403471 Mail: Tiny style fix 2014-01-30 19:48:32 -05:00
John Scipione 37fa8227e3 Mail: Make quote and unquote work better
Always quote and unquote starting from the beginning of the line
instead of the current cursor position.
2014-01-30 19:48:32 -05:00
John Scipione c40938ad1f Mail: update quote shortcuts.
* Quote goes from Cmd+→ to Cmd+]
* Unquote goes from Cmd+← to Cmd+[

This frees cmd+arrow keys up for text navigation.
2014-01-30 19:48:32 -05:00
John Scipione eb774c2948 TextView: Update navigation shortcuts
* Command+Left goes to beginning of line, ignoring softwrap
* Command+Right goes to the end of line, ignoring softwrap
* Home goes to beginning of line, accounting for softwrap
* End goes to end of line, accounting for softwrap
* Option+Left goes to previous word
* Option+Right goes to next word
* Command+Home and Command+Up go to beginning of document
* Command+End and Command+Down go to end of document

Shift with any of the above also selects the text.

This is similar to how the text editor Eddie works.
2014-01-30 19:48:31 -05:00
Axel Dörfler cc94643724 Screenshot: fixed alpha channel handling.
* Screenshot always used B_RGBA32 color space, but did not care about the
  alpha channel at all. Now it only uses that space when "includeBorder"
  is used.
* Utility::_MakeTabSpaceTransparent() now also makes sure that the rest
  of the bitmap has the correct alpha channel set. This fixes bug #10491.
* Minor cleanup.
2014-01-31 00:43:31 +01:00
Alexander von Gluck IV 6464f4f659 x86_64: Add a bunch of video drivers that compile.
* Added cards need testing.
* 3dfx, ati, neomagic, and s3 still don't build due to some
  more complex pointer size issues. (and I don't have hardware
  to test on)
2014-01-30 14:55:19 -06:00
Alexander von Gluck IV 33d1fedd0c s3: fix driver for x86_64 2014-01-30 14:53:32 -06:00
Alexander von Gluck IV 9f22edc2fa intel_810: fix for x86_64 2014-01-30 14:53:05 -06:00
Humdinger 02d8dd1561 Coding style fixes 2014-01-29 13:03:06 +01:00
Humdinger 4c56a102ca Truncate names of files/folders that are being grep'ed 2014-01-29 12:57:38 +01:00
Humdinger cff5000f79 Show search term in window tab 2014-01-29 12:39:01 +01:00