Commit Graph

49643 Commits

Author SHA1 Message Date
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
Oliver Tappe
b6bd9f7b46 Fix build problem of haiku-bootstrap package.
* adjust names of Tracker add-ons to match the ones used in the 'Haiku'
  package, otherwise jam complains about not knowing how to build them
2014-02-19 17:17:23 +01:00
Kacper Kasper
db0132297b Fix button layout consistency issues in preflets
Signed-off-by: Stephan Aßmus <superstippi@gmx.de>
2014-02-19 09:33:53 +01:00
John Scipione
1d5c1fc35d packageinstaller: style fixes 2014-02-18 20:09:51 -05:00
Jonathan Schleifer
0992d43c0b Add clang-3.4-3 for x86 2014-02-19 01:22:34 +01:00
Alexander von Gluck IV
1b38c3412c mips: Remove mips
* As per the ML discussions. Bumps MIPS to tier 3.
* We've reached a unanimous descision that MIPS doesn't
  target any real / valid hardware Haiku wants to pursue
  at the moment.  In the event that anyone wants to pursue
  MIPS, feel free to fork Haiku into your own repository
  (and we'll even link to it on the website ports page)
* If someone develops a viable plan for MIPS (and gets the
  port working, it can be readded at a later date)
2014-02-18 16:29:09 -06:00
Stephan Aßmus
39d7cced9f PackageInstaller: Ignore uninstall-error before install 2014-02-18 23:06:15 +01:00
Stephan Aßmus
1835c16d8e PackageInstaller: Disable debug output of scripts 2014-02-18 23:05:52 +01:00
Stephan Aßmus
51f34888d9 PackageInstaller: More robust way to select destination...
... after file panel is cancelled.
2014-02-18 23:01:51 +01:00
Stephan Aßmus
1e35b8fc96 PackageInstaller: Handle aborting the file panel
* Select the first item and reset the path.
2014-02-18 22:57:24 +01:00
Stephan Aßmus
bb322d3500 BMenuField: Draw everything on resize
* The label might be truncated, in which case the entire width needs to be
   redrawn when the menu field shrinks or grows.
 * Invalidating the border in the parent looked a bit weird. Simplified.
2014-02-18 22:50:07 +01:00
Stephan Aßmus
5da0005349 PackageInstaller: Improved main window layout
* Moved "Install to:" besides the "Install" button again.
 * Don't right-align menu field labels.
 * Give the install type description some default text when no description is
   given. Give it a smaller font, align with the type menu.
2014-02-18 22:34:27 +01:00
Adrien Destugues
9046835de9 Patch by Ingo Weinhold: fix stack alignment on x86.
This is required to use some SSE instructions, which are generated by
gcc 4.8, most notably when compiling WebKit code (but it may happen
elsewhere as well).

Fixes about 900 crashes and 10000 test failures in WebKit, so this must
be working. Fixes #10509 for x86.
2014-02-18 20:55:37 +01:00