Commit Graph

49724 Commits

Author SHA1 Message Date
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
Stephan Aßmus
224641c4b5 Install scripts can define a NULL path...
... don't try to call InitPath() then.
Also replace more hard-coded paths. Added TODO about refactoring this
code and not using hard-coded paths myself, which is no better than these
scripts.
2014-02-17 23:20:28 +01:00
Axel Dörfler
891babcf29 AHCI: fixed broken debug output.
* Thanks Urias!
2014-02-17 21:14:27 +01:00
Adrien Destugues
67d06c8802 Httprequest: remove "chunked" from http accept-encoding.
This is useless, chunked support is mandatory in HTTP1.1, and it's not a
content-encoding, but a transfer-encoding, so accept-encoding wouldn't
help anyway.
2014-02-17 14:48:57 +01:00
Stephan Aßmus
3f5014ec86 PackageInstaller: Run install scripts in the correct directory
* From debugging with the Gobe and Moho installer, scripts define which
   folder to run them from. The PackageInstaller is supposed to run the script
   in that working directory. The parser seems to have the correct folder in
   "installPath" when adding the script as PackageItem, but that code is rather
   horrible. I've changed it so PackageScript items also set the path, use
   InitPath() to obtain the final working directory and set it before running
   the script.
 * Both Moho and Gobe create the Deskbar link from that script, the folder
   is rewritten in the script via ReplaceAll().
 * Correctly running the script makes a bug visible: Dynamically added files
   in the install location by these scripts are not removed when uninstalling
   the package. When re-installing a package, it is first uninstalled and this
   currently gives an error for both Moho and Gobe, since they create some
   links in these scripts which never worked before. To install again, the
   install folder needs to be deleted manually.
 * Some cleanup along the way... sorry.
2014-02-16 23:32:01 +01:00
Stephan Aßmus
4407020ba4 PackageInstaller: Install apps to non-packaged "apps" folder.
Previously, the target folder was always unset, which meant one needed
to select a target folder manually. When running from a read-only media,
this would still be a problem (a TODO), so that instead of failing to install
the package, the user is simply prompted for a path.
The change means that together with rewriting old paths to packaged
locations to the non-packaged equivalents, just double clicking a PKG and
hitting "Install" will now work. Tested with Moho installer and
Gobe Productive.
2014-02-16 12:19:16 +01:00
Stephan Aßmus
735727da48 PackageInstaller: Converted to use layout API
* Also auto-hide vertical scroll-bars when not needed.
 * Nicer margins everywhere
 * TODO: Install type description could collapse when empty or display
   a default message.
 * More refactoring and cleanup
2014-02-16 12:12:25 +01:00
Stephan Aßmus
a16a1437a7 PackageView: Small coding-style cleanup 2014-02-16 12:12:25 +01:00
Stephan Aßmus
193a4de178 PackageView: Refactored a lot of repetitive code...
... to create menu items.
2014-02-16 12:12:24 +01:00
Stephan Aßmus
236dd276ac PackageInstaller: Make window title properly localizeable 2014-02-16 12:12:24 +01:00
Stephan Aßmus
a1b7cb6256 PackageInstaller: Another round of cleanup. 2014-02-16 12:12:23 +01:00
Stephan Aßmus
2a7d988dc5 PackageInstaller: Cleanup PackageWindow
* Also center main package installation window on screen.
2014-02-16 12:12:23 +01:00
Axel Dörfler
ef18b77adc trim: added debug output.
* Can you give it another try, Alexander? The outcome won't change, I'm afraid,
  but maybe we'll know some more afterwards.
2014-02-15 20:50:57 +01:00
Ithamar R. Adema
8f4db360bc arm/atomic: round of atomic function changes
* change vint{32,64} to int{32,64} in:
  * kernel implementation
  * syscall definitions
  * libroot prototypes
* update syscall functions with new atomic prototypes.
2014-02-15 11:46:12 +01:00
Ithamar R. Adema
f5e19a38de board/arm: cleanup setting of ARM compiler options
The ones with ARCH extension are used for setting up the KERNEL
ones, so no need to try and set both.
Also, the verdex target was not setting the ARCH one, and therefore
never configured gcc for ARMv5.
2014-02-15 11:46:11 +01:00
Ithamar R. Adema
4b47d96a77 arm: fix compiler ARM architecture detection
For determining if to define ATOMIC{,64}_FUNCS_ARE_SYSCALLS, use
the proper macro.
2014-02-15 11:46:11 +01:00
Ithamar R. Adema
5cef6be21f arm/atomic: fixup arch_atomic.h
* Remove _inline functions, since we're not using inlines
* Use compiler barrier instead of GCC builtin
2014-02-15 11:46:11 +01:00
Ithamar R. Adema
3eb1ffdb6c kernel/arm: implement stubs for new functions
These were mostly introduced after the scheduler merge.
2014-02-15 11:46:11 +01:00
Jonathan Schleifer
2937677524 Downgrade libpcre for x86
The new version breaks git, but only once it's in the repository.
Installing it manually alongside the old one works. Rebuilding git and
uploading a new package does not work, as for the package management,
the new version is exactly equal to the old, as the port revision isn't
newer. We need to come up with a proper way to handle this.

Also removes zsh, as that requires the new libpcre.
2014-02-15 11:39:39 +01:00
Jonathan Schleifer
47343f61a5 Update libpcre to 8.33-1 for x86 2014-02-15 02:54:58 +01:00