Commit Graph

49605 Commits

Author SHA1 Message Date
Ingo Weinhold 374cf8c85d Localize keymap names in Keymap preferences 2014-02-20 23:51:38 -05:00
Pawel Dziepak d072da2344 nfs4: Don't flush cache when closing read only share reservation
NFS4 specification requires that modified data has to be flushed before
sending CLOSE request. Our original implementation was stricter than that
by flushing all modified data at each file close. That caused problems
with e.g. Tracker, which likes to periodically open files for read only,
in a situation when there were still asynchronous writes pending
(e.g. large file copied).
2014-02-21 04:53:45 +01:00
Pawel Dziepak b637b72e15 nfs4: Notify listeners when file grows 2014-02-21 04:52:29 +01:00
Pawel Dziepak 90213f44ac nfs4: Fix coding style
No functional change intended.
2014-02-21 04:19:00 +01:00
Pawel Dziepak e1be7a26a4 nfs4: Make sure OpenDirCookie::fSnapshot is properly initialized 2014-02-21 04:19:00 +01:00
Pawel Dziepak afc21e1367 nfs4: Fix gIdMapper resource leak
Mounting another nfs4 volume loses reference to the previous idmapper
service. Thanks Stephan for pointing this out.
2014-02-21 04:19:00 +01:00
John Scipione 6a6d5a80a1 Add decorators to system non-packaged decorator directory
... commented out still for now. BeDecorator is almost ready,
MacDecorator and WinDecorator need a bunch more work still.
2014-02-20 19:31:51 -05:00
John Scipione 14aa801ae9 Update DecorInfo to scan for decorators
Look in system and user packaged and non-packaged decorator directories.
2014-02-20 19:31:49 -05:00
John Scipione b8187adfc7 normalize Jamfiles 2014-02-20 19:31:48 -05:00
John Scipione 125ee2cb57 Update header guards, copyright 2014-02-20 19:31:47 -05:00
John Scipione 5f5f085b42 Update copyright, Be and Win Decorator descs 2014-02-20 19:31:45 -05:00
John Scipione ebf02ff745 Fixup the Mac Decorator, it compiles and works
... but it still needs a lot more work to integrate with S&T.
2014-02-20 19:31:44 -05:00
John Scipione 6f99a609e3 MacDecorator: Give credit and update description
... to Adrien Destugues and DarkWyrm.
2014-02-20 19:31:43 -05:00
John Scipione a8159e3bc6 Give DarkWyrm credit on WinDecorator 2014-02-20 19:31:42 -05:00
John Scipione cfe0652a5e Move Tab code into Decorator and refactor 2014-02-20 19:31:40 -05:00
John Scipione 699dd3e776 Refactor WinDecorator 2014-02-20 19:31:38 -05:00
John Scipione e0cbe1aa5d Refactor BeDecorator 2014-02-20 19:31:37 -05:00
John Scipione 709282cb85 Maintain the zoom box size ratio 2014-02-20 19:31:35 -05:00
John Scipione e37b01b01d Invalidate bitmaps when you change font size 2014-02-20 19:31:34 -05:00
John Scipione 5a32087b8e Redo close and zoom buttons
... to draw into a cached bitmap and border for BeDecorator.

Make the box positioning closer to BeOS too.

Also rearrange methods in DefaultDecorator and TabDecorator a bit.
2014-02-20 19:31:32 -05:00
John Scipione 63720e0fd0 Convert BeDecorator to derive from TabDecorator
Also, make the close and zoom buttons update when clicked.
2014-02-20 19:31:30 -05:00
John Scipione 106fe8b325 Create a TabDecorator class
Which contains methods common to Default Decorator and BeDecorator, aka
"tabbed" decorators.

Derive DefaultDecorator from a new TabDecorator base class.
2014-02-20 19:31:29 -05:00
John Scipione 662298bc9d BeDecorator: Update header guard definition 2014-02-20 19:31:27 -05:00
John Scipione 87c5118275 Decorators: Update copyright headers 2014-02-20 19:31:26 -05:00
John Scipione 719b56b055 DefaultDecorator: updateRect not update 2014-02-20 19:31:24 -05:00
John Scipione 78a987cc9b Make the decorators not crash 2014-02-20 19:31:22 -05:00
John Scipione 6b585e268a Fix _SetLook() and _SetFlags() methods 2014-02-20 19:31:21 -05:00
John Scipione db9c24a651 BeDecorator: make it compile, use tabs.
Crashes spectacularly like WinDecorator.
2014-02-20 19:31:17 -05:00
John Scipione a19e96e3ad BeDecorator not ClassicBe 2014-02-20 19:31:15 -05:00
John Scipione 196fc0d6ae WinDecorator: Make it compile, use tabs
but stub out the missing pieces for now.

At this point selecting it crashes app server spectacularly.
2014-02-20 19:31:13 -05:00
John Scipione 45b17fde13 Some style fixes 2014-02-20 19:31:05 -05:00
John Scipione 7204235793 Include some needed headers in the Jamfile
was done for MacDecorator aready in  hrev44313.
2014-02-20 18:38:30 -05:00
Stephan Aßmus 0aa2c1fca3 PackageInstaller: Fixed more problems with working directories
I've encountered three different ways of specifying the working directory
for install scripts: Relative to target folder, relative to install folder
and absolute. At least those three now work...
2014-02-20 23:47:39 +01:00
Stephan Aßmus 4ccc40a15c app_server: Fixed BFont::GetEscapements()
Both versions effectively ignored the provided escapement_delta.
Also when layouting glyphs, the space/non-space delta were applied
off-by-one. It should affect the advance for the current glyph,
not the offset.
2014-02-20 22:31:44 +01:00
John Scipione a073305c96 keymap: limit set of left/right swap options
For Shift, Control, Option, and Command assume that you want to shift
on the same side, left-for-left, right-for-right. The Menu key is
available on either the left or right side, and lock keys can be
swapped with any other modifier left or right.

If we have multiple unmapped modifiers we need to do a little extra
work to figure out which of the unmapped modifiers to swap with.

Convert private class member methods to static functions.

Also update copyright info
2014-02-20 15:18:37 -05:00
John Scipione 8eb27eaa79 Keymap: Allow you to unset modifier keys
Selecting the marked menu item will unset the mapping for that modifier.

We can't rely on there being a unique mapping for a key (more than one
could be set to 0 aka unset) so we have to set the menu item names based
on the interface defs constants intead.
2014-02-20 15:03:45 -05:00
John Scipione ab0f7d6627 Keymap: activate popup for all modifiers
not just those that have a modifier key mapped to them already

Also check for control+click == RMB
2014-02-20 15:03:44 -05:00
John Scipione f97a4a3ceb Keymap: Backward loop count optimization 2014-02-20 15:03:42 -05:00
John Scipione e90aead4f9 KeymapListItem comment and style fixes 2014-02-20 15:03:41 -05:00
John Scipione a62422fc9c Swap buttons with primary mouse button instead of secondary 2014-02-20 15:03:40 -05:00
John Scipione 7e9644053f Return early if dragging, unindent the rest 2014-02-20 15:03:39 -05:00
John Scipione c959ce4612 Some small style fixes 2014-02-20 15:03:37 -05:00
John Scipione 4346099683 No longer need to check for this here 2014-02-20 15:03:36 -05:00
John Scipione 173b5a686d Keymap: swap modifiers keys via context menu
When the user right clicks on a modifier key pop up a menu listing the
available modifiers. When the user selects a modifier from the menu swap
the key with the selected modifier. This provides an alternative way to swap
modifier keys other than drag&drop that works for just modifier keys.
2014-02-20 14:59:15 -05:00
Humdinger 9de067d5d9 Added UberTuber and youtube-dl to HaikuPorts repo 2014-02-20 19:46:01 +01:00
Stephan Aßmus b935e4d54f HaikuDepot, text stuff: Removed work around.
* The extra glyph or white space offset no longer needs to be removed from
   the first glyph.
2014-02-20 17:55:45 +01:00
Stephan Aßmus 24c156daf5 app_server: Don't offset first glyph with additional spacing
Untested, but should be correct... will test in a minute.
2014-02-20 17:40:11 +01:00
Stephan Aßmus ab29480f78 PackageInstaller: Increase install type description height
* In case the scroll bar needs to appear, it had not enough room.
2014-02-20 17:12:00 +01:00
Stephan Aßmus 8e8869a916 Fix more Freetype build feature dependencies in app_server 2014-02-20 17:10:37 +01:00
Stephan Aßmus e75f469d34 PackageInstaller: Implement John's suggestions
* Rename "Install" button to "Begin" so it matches most packages instructions
   at least for the English locale.
 * Restore right-alignment of the menu field labels.
 * Also move the "Begin" button onto its own line to allow more of the target
   folder to be readable on the menu field.
2014-02-19 22:23:56 +01:00