Commit Graph

48152 Commits

Author SHA1 Message Date
Rene Gollent
72eb88f5c8 Add non-packaged fonts directory to default image. 2013-10-20 16:06:51 -04:00
Rene Gollent
a8a5b7a4a1 Update Vision package. 2013-10-20 16:00:04 -04:00
John Scipione
31005da9b8 Update BWindow shortcut docs 2013-10-20 15:51:34 -04:00
Rene Gollent
1c9b1111f7 Implement #10116.
- BColumnListView now accepts middle click as well as double click
  to resize a column to preferred.
2013-10-20 15:21:13 -04:00
Murai Takashi
ebea2b79f1 Fix use of memory after it is freed
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-10-20 14:41:20 -04:00
Matt Madia
ab1ba83536 Add 'which' to the "mandatory" packages.
Note: untested on non-x86 archs.
2013-10-20 14:37:57 -04:00
Jeroen Oortwijn
eaef83a97a configure: fix error message
Signed-off-by: Matt Madia <mattmadia@gmail.com>
2013-10-20 14:02:06 -04:00
Matt Madia
80262a91e2 configure: secondary architecture packages have canonical names 2013-10-20 13:46:40 -04:00
John Scipione
103e868bf9 Style fix, spaces to tabs 2013-10-19 19:40:31 -04:00
John Scipione
bd336e3abc Update semantic shortcuts
Update BKeymap::GetModifiedCharacters() to translate a given character
and set of modifiers filling out a list of all characters that match for another
set of modifiers.

This allows us to, for example, get all characters in the normal map that
have the '+' character in the corresponding shift map.

It is fully generic allowing one to get a list of characters in any map given
a character and modifiers of another map.

Also I converted from using a BList to using a BObjectList.

With this, along with BWindow::HasShortcut(), the semantic shortcuts now
work not only with Command+'=', but any key in the normal map that has
'+' in it's shift map as long as it isn't already taken by another shortcut.
2013-10-19 19:30:47 -04:00
John Scipione
26a23118e7 BWindow: use Unicode lowercase method 2013-10-19 19:30:46 -04:00
Jérôme Duval
6180dde498 Revert "usb_disk: retry when usb disk not ready"
This reverts commit d46d383800.

Regression: CD/DVD-ROM media changes are not recognized anymore.
2013-10-19 22:06:10 +02:00
Jérôme Duval
5d9aaba22f x86_64: added acpi to the image.
* embedded_controller crashes on x86_64, disabled for now.
* removed the -fno-pic compile option.
* synched HaikuBootstrap package with Haiku package.
2013-10-19 21:46:56 +02:00
Jérôme Duval
c74afb578a try to avoid a media_addon_server crash on quit (bug #5863).
* BMediaRosterEx::ReleaseNodeAll(): if media_server isn't available,
try to contact the node locally.
* BMediaRoster::UnregisterNode(): if media_server isn't available,
try to get the addon_id from the local node.
* BMediaNode::AddOn() as a pure virtual methode isn't available in the
BMediaNode destructor. Workaround that by calling UnregisterNode()
in DeleteHook() instead of the destructor.
* MediaAddonServer::_DestroyInstantiatedFlavors(): give time to each
flavor to clean up.
2013-10-19 19:51:48 +02:00
Adrien Destugues
79ce2c2d1b finddir: reintroduce the B_COMMON directories
* Not having them here breaks the "ABI" for scripts and YAB-based apps.
 * They will point to the system non-packaged directory, where you are
likely to have old non-packaged BeOS stuff living now.
 * This is limited to the constants that were already defined on BeOS.
None of the new ones was re-added.
2013-10-19 18:05:53 +02:00
François Revol
3940abc9b8 ARM: add a TODO for KDL disasm module
Possible source is NetBSD, thanks pulko for mentionning.
2013-10-19 15:55:18 +02:00
Niels Sascha Reedijk
b21a346919 Update translations from Pootle 2013-10-19 06:14:23 +02:00
Rene Gollent
1bcd34c4da libdebug: Improve handling of stripped binaries.
- When searching for the symbol table, first see if the normal SHT_SYMTAB
  section is present. If not, fall back to trying to use SHT_DYNSYM if
  present. This allows us to resolve non-static functions/symbols
  in stripped binaries for the purposes of crash reports/disassembly.
2013-10-18 19:07:02 -04:00
Stefano Ceccherini
e9487c70c5 Style fixes. Thanks Axel for noticing. 2013-10-18 21:18:44 +02:00
Jérôme Duval
7d827cb864 FreeBSD compat layer: try 10BaseT if setting autoselect failed.
* This fixes PCnet Fast III on VirtualBox with pcn driver (#10088).
2013-10-18 17:49:47 +02:00
Jérôme Duval
ae29523f9b pcnet: minor clean up 2013-10-18 16:44:59 +02:00
Jérôme Duval
6c30a6bc0c ifconfig: typo fixes 2013-10-18 16:43:47 +02:00
Stefano Ceccherini
c8cc2f3e5d FirstBootPrompt: sort keymaps 2013-10-18 15:50:37 +02:00
John Scipione
959a0ca10d WebPositive: Add semantic zoom in shortcut.
Fixes #7428

iif '+' is localed in shift + '=' in your keymap, add a shortcut for
Command + '=' to zoom in.
2013-10-18 03:10:01 -04:00
John Scipione
57f830cef7 Tracker: Add semantic zoom in shortcut.
Fixes #6692

iif '+' is localed in shift + '=' in your keymap, add a shortcut for
Command + '=' to zoom in.
2013-10-18 03:10:01 -04:00
John Scipione
1d04310459 Keymap: Add a method to get modified characters for a key
This method fills out the passed-in BList of modified utf-8 characters for
a given utf-8 character and set of modifiers.

For example if you pass in "=" and B_SHIFT_KEY the list will get filled
out with each character in the shift map that has "=" in the normal map.

Each supported keymap modifier combination is available.

The reason this is useful will soon become apparent.

A BList is used because the character might be mapped multiple times,
for example if you have a Mac keyboard you've got two "=" keys, one in
0x1d and one in 0x6a.

The caller is responsible for creating the BList and destroying it as well as
freeing the resulting character strings.
2013-10-18 03:10:00 -04:00
John Scipione
000e7d4088 Tracker: Add zoom shortcuts to menuless windows
(for instance the desktop)
2013-10-18 03:10:00 -04:00
Rene Gollent
2809b77fc6 HaikuDepot: Fix #10108.
- Set default installation location to system for now, pending support
  for choosing the destination.
2013-10-17 17:12:19 -04:00
Adrien Destugues
25b034e99c HttpRequest: docs and memory management fixes
* Now takes ownership of headers, form data and input data
 * Split Set* and Adopt* methods to help with proper use of this (Set
does a copy)
 * Write documentation.
2013-10-17 14:24:20 +02:00
Adrien Destugues
106b257edd Revert hrev46245
* Quitting the Installer when the user clicks "Continue" isn't what we want.
2013-10-17 13:31:42 +02:00
Adrien Destugues
2ec95f5fd9 Add beam,liblayout,rsync,lua,unrar packages
* Some of these are mine, others provided by augiedoggie.
2013-10-17 11:14:30 +02:00
John Scipione
916be2df3c Consolidate adding add-on directories
This builds off of hrev46243 adding add-on directories all in one place
in AddOnMonitorHandler instead of repeating the code 3 times in
IndexServer, AddOnManager, and MediaAddOnServer.

The safe mode checking in InputServer is now redundant since it all
gets funneled into AddOnMonitorHandler::AddAddOnDirectories()
and the safe mode flags are checked there.

We should probably remove the InputServer::SafeMode() method, but,
I didn't want to break anything that depended on it so I left it.
2013-10-17 01:28:31 -04:00
Philippe Saint-Pierre
96cb5c35a3 fix #9982: make installer quit when alt+w in eula window 2013-10-16 20:43:47 -04:00
Murai Takashi
02402d0049 Fix Mismatching allocation and deallocation
Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
2013-10-16 19:59:24 -04:00
Murai Takashi
b29295c7da Fix loading add-ons in safemode
Signed-off-by: Philippe Saint-Pierre <stpere@gmail.com>
2013-10-16 19:51:34 -04:00
Adrien Destugues
ced0e0be04 BUrl: use a regex to parse URLs
* The RFC provide a regular expression for URI parsing, so just use it.
 * Allows parsing URIs with missing components (no scheme or authority)
 * This allows to parse relative URLs as expected
 * Can also handle things such as data: or mailto:
 * Also more fixes to handling of incomplete URIs, some flags weren't
always set to the right values.

This gets Windows Live Mail (or is it called Outlook?) working, with
some other fixes on WebKit side.
2013-10-16 21:01:43 +02:00
Adrien Destugues
831819980e RegExp: fix match count computation
* There actually is a way to count the matches, so use it instead of
attempting to guess
 * In some cases (when using optional groups (xxx)?, for example), there
may be a non-matching group (with offsets set to -1) and matching groups
after it, so the binary search wasn't quite working
 * Instead, we always return the number of capturing groups in the in
the given expression, which is the maximal number of matches. Some (or
all) of these may not have any content. We do return 0 matches on any
error, including when the regular expression didn't match anything.
2013-10-16 21:01:42 +02:00
Jérôme Duval
a905216770 pcnet: only disable interrupts, without acknowledging them.
* related bug #10088.
2013-10-16 17:34:29 +02:00
Adrien Destugues
f289aa4c74 BNetworkCookie: Allow cookies without a path
* They will be valid for the whole domain
 * login.live.com cookie test now works
2013-10-16 13:51:55 +02:00
Adrien Destugues
400153ebf5 BUrl: parse URLs using a regular expression.
* RFC3986 provides the regexp to parse URIs properly
 * Code is simpler and safer
 * Avoids an infinite loop when trying to parse some data: URIs
2013-10-16 13:51:54 +02:00
Adrien Destugues
5faf4d55b7 Fix max-age setting
* It would not work for cookies set to expire tomorrow or later, since
setting the time in a BDateTime does not overflow to the date.
 * The BDateTime API could be improved to make this look nicer.
2013-10-16 13:51:52 +02:00
François Revol
7cbc41ae32 U-Boot: Split fdt_support.cpp, move serial stuff to fdt_serial.cpp 2013-10-15 23:05:09 +02:00
François Revol
3f92e864a1 Style fixes 2013-10-15 22:17:55 +02:00
François Revol
b55cb439e7 U-Boot: pass around argv and /chosen/bootargs
Not really handled correctly yet, but at least they are passed.
2013-10-15 22:15:04 +02:00
François Revol
cf7f92c013 bootloader: Use stage2_args:arguments_count
The code probably doesn't work correctly yet though,
I believe only the last line will be taken into account.
2013-10-15 22:15:04 +02:00
François Revol
70b50f3865 bootloader: Set stage2_args:arguments_count when needed 2013-10-15 22:15:03 +02:00
François Revol
bc1184c253 bootloader: Add an arguments_count field to stage2_args
Some boot platforms pass a non-NULL-terminated list of args
to the loader, so store the count here to avoid having to copy
the list itself.
2013-10-15 22:15:03 +02:00
Jérôme Duval
fc3b9496eb freebsd_network: probes each driver and only attach the best probe.
* related bug #10088.
2013-10-15 20:28:55 +02:00
Adrien Destugues
7895042a8a Service Kit: Fix behavior in release mode
* Code put inside an ASSERT will not be executed at all in release mode.
 * In release builds, don't print any messages to the standard output.
2013-10-15 16:48:46 +02:00
Adrien Destugues
bb1d0adcd1 BUrl: fix handling of @ character
* @ is a separator (between user:password and host) only if there are
no slashes before it
 * All slashes in user and password should be urlencoded (as well as any
@ and :)
 * On the other hand, it's possible to have @ as part of an URL path or
query. An example is Google Maps.

Gets Google Maps working.
2013-10-15 14:45:16 +02:00