48572 Commits

Author SHA1 Message Date
Michael Lotz
2937bbe3bc MediaPlayer: Move winding code into its own function. 2013-11-24 22:37:27 +01:00
Michael Lotz
dcc56bf748 BNetEndpoint: Fix socket leak and reduce Accept() overhead.
When using the copy constructor of BNetEndpoint the socket of the
original endpoint gets dup'ed. The Accept() method later directly reset
the fSocket member of the newly created BNetEndpoint to the socket
returned by accept(). The socket dup'ed by the copy constructor was
therefore leaked.

Of course dup'ing the socket and copying the local and remote addresses
is superfluous in the accept case, as these members all get set to new
values. To reduce that overhead there is now a new private constructor
that directly gets the final socket and remote and local address.
hrev46434
2013-11-24 22:36:29 +01:00
Stephan Aßmus
5c38483e0c HaikuDepot: Stableize layout of "About" page contents
* Give the left group infinite width and use weighting to make it independent
   of the web and email links width.
hrev46433
2013-11-24 21:20:31 +01:00
Stephan Aßmus
31ecb89c7f HaikuDepot: Fix invalidating view contents...
... when InvalidateLayout() does not result in a change of the layout.
2013-11-24 21:18:13 +01:00
Stephan Aßmus
b7cb4587b0 HaikuDepot: Try slightly harder to keep paragraphs together
* Some commented-out code to require two line-breaks to start a new
   paragraph. Doesn't work well with current set of packages.
 * If the character before a line-break is a space, do not start a new
   paragraph. Doesn't seem to occur in current package descriptions.
hrev46432
2013-11-24 21:12:30 +01:00
Stephan Aßmus
9fb4da1c9d HaikuDepot: Detect more ways to start bullet list items
* Besides the previous " * ", detect " - ", "* " and "- ".
2013-11-24 21:12:29 +01:00
Alexander von Gluck IV
f3c471f44c build: Only build WebPositive on x86, x86_gcc2
* Should fix the non-x86 builds
hrev46431
2013-11-24 14:07:27 -06:00
Stephan Aßmus
62d2f838eb HaikuDepot: Improve filter view layout
* Wrap the two menu fields into a group with unlimited size and give that
   a weight to achieve a stable width for the two which is independent from
   the active menu field entries.
hrev46430
2013-11-24 20:41:39 +01:00
Jérôme Duval
0e3e70a00c USB Stack: enable xHCI module lookup.
* also increase PhysicalMemoryAllocator max to 128KB instead of 16KB.
This translates in a 8MB-sized USB Stack Allocator area.
* tested OK on a Fresco Logic FL1009 USB 3.0 Host Controller but KO on a
Nec Corporation uPD720200 USB 3.0 Host Controller.
* tested a synched copy to a BFS partition on a Lacie USB3 disk takes about
8 seconds for 350MB versus 11 seconds on eHCI.
hrev46429
2013-11-24 15:38:30 +01:00
Jérôme Duval
eea621534b XHCI USB: disabled traces. 2013-11-24 14:53:33 +01:00
Ingo Weinhold
047b2d25f5 DefineDefaultBuildProfiles: Various fixes
* Fix adding WebPositive optional package.
* Fix adding wonderbrush package. Add it only for gcc2 to avoid a
  warning by AddHaikuImagePackages.
* Simplify adding xz_utils package.
hrev46428
2013-11-24 13:34:20 +01:00
Ingo Weinhold
5ce49bd3db rule FFilterByBuildFeatures: Fix output 2013-11-24 13:34:20 +01:00
Jérôme Duval
cb00db5bf0 libmedia: fixed minor leak in BDiscreteParameter::AddItem.
* CID 992460
hrev46427
2013-11-24 12:41:28 +01:00
Ezo
aeaf492157 Terminal: Fixed resource leak CID:702031
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
hrev46426
2013-11-24 12:18:09 +01:00
Ingo Weinhold
8304ec7c12 configure: Fix for whitespace in path (2nd try)
May fix #10170.
hrev46425
2013-11-23 20:08:17 +01:00
Alexander von Gluck IV
29996a0199 build: Disable WebPositive on x86_64 to fix build
* This commit is temporary and should be reverted
  when the x86_64 build is fixed.
hrev46424
2013-11-23 12:32:36 -06:00
Alexander von Gluck IV
bae76b3783 Revert "configure: Fix for whitespace in path"
This reverts commit 5369d17d119d1ae8e496805ed7c820bbfaa9accd.

Breaks the build. Take the walk of shame.
hrev46423
2013-11-23 12:13:26 -06:00
Ingo Weinhold
5369d17d11 configure: Fix for whitespace in path
May fix #10170.
hrev46422
2013-11-23 17:58:12 +01:00
Ingo Weinhold
a1c42e7189 Replace missed alpha-raw release build profile occurrences hrev46421 2013-11-23 16:58:53 +01:00
Matt Madia
54de8bbe8f Replace alpha-* profiles with release-*. Remove beta-*. 2013-11-23 16:58:53 +01:00
Humdinger
4494d99eba Added TermViewStates.cpp to the Jamfile.
TermViewStates.cpp wasn't translatable before.
hrev46420
2013-11-23 12:04:21 +01:00
autonielx
7b38619bdb Update translations from Pootle hrev46419 2013-11-23 06:14:14 +01:00
Urias McCullough
c19e7bb32b Remove all menu items in unambiguous way on x86_64
Signed-off-by: Rene Gollent <rene@gollent.com>
hrev46418
2013-11-22 22:47:47 -05:00
Ingo Weinhold
d85bab41bd Add target for building a Haiku package repository
* Add rule HaikuRepository to build a repository from a repository info
  file and a list of package files. It calls a build_haiku_repository
  script which does all the work.
* Add target <repository>haiku for building the Haiku package
repository.
  It should be built via "jam -q @alpha-raw build <repository>haiku";
  the build profile is only needed to activate all build features.
hrev46417
2013-11-23 01:46:04 +01:00
Ingo Weinhold
8e0eb17508 makefile_engine package info: Fix vendor 2013-11-23 01:40:44 +01:00
Ingo Weinhold
35c76fab52 TextSnifferAddon: Move includes out of namespaces hrev46416 2013-11-22 23:36:06 +01:00
Ingo Weinhold
b2806f310e RepositoryRules: Automatic whitespace cleanup 2013-11-22 23:36:06 +01:00
Rene Gollent
2d1c064a54 Fix STXTTranslator build.
- Adjust include path for new location of names.h.
hrev46415
2013-11-22 17:02:45 -05:00
Adrien Destugues
ef3d8f5731 Fix missing revision indicator for haikuwebkit. hrev46414 2013-11-22 19:23:38 +01:00
Adrien Destugues
3451901447 Add libxslt package (required by haikuwebkit). hrev46413 2013-11-22 19:10:10 +01:00
Adrien Destugues
d0826b6a53 Update haikuwebkit packages for gcc4.
This should bring the nightlies again.
hrev46412
2013-11-22 17:30:02 +01:00
Scott McCreary
a6f9bcb55e Added license file for SIL Open Font License v1.1 hrev46411 2013-11-22 08:15:56 -08:00
Ezo
7f6991c35e Fixed resource leak and possible strings corruption
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
hrev46410
2013-11-22 13:44:10 +01:00
Ingo Weinhold
4981e77645 TextSnifferAddon: Fix warnings hrev46409 2013-11-22 13:41:48 +01:00
Ingo Weinhold
83f63a216e pkgman [un]install/update: Add non-interactive mode (-y) hrev46408 2013-11-22 13:33:48 +01:00
Ingo Weinhold
2b76973fa2 mimeset: Use TextSnifferAddon when using a custom MIME DB
That addresses the problem that packaged text files aren't correctly
identified (ticket #9972). All concerned packages have to be rebuilt,
of course.
hrev46407
2013-11-22 12:24:13 +01:00
Ingo Weinhold
6140f897d4 TextSnifferAddon: Use MIME DB directly
A DatabaseLocation is passed to the constructor and used to verify that
the sniffed MIME type is installed instead of BMimeType::IsInstalled().
This makes the add-on independent of the default MIME DB.
2013-11-22 12:24:13 +01:00
Ingo Weinhold
85835e4186 registrar: Move more classes to libstorage_kit_mime.a
Move MimeSnifferAddon, MimeSnifferAddonManager, and TextSnifferAddon to
libstorage_kit_mime.a, so we can reuse them.
2013-11-22 12:24:12 +01:00
Julian Harnath
eb539d59e7 Don't try to open another menu window if there already is one.
* Fixes crash when using Gobe Productive toolbar.
hrev46406
2013-11-22 11:38:30 +01:00
John Scipione
c70a1cf836 Touchpad: Use font relative spacing units hrev46405 2013-11-22 00:35:35 -05:00
John Scipione
65423794de Touchpad: Obligatory style fixes 2013-11-21 23:52:26 -05:00
John Scipione
5632a8f0de Touchpad: Update copyright header 2013-11-21 23:51:03 -05:00
Ingo Weinhold
fc198cc3e4 PackageWriteImpl: Report error when failing to read .PackageInfo
Fixes #10228.
hrev46404
2013-11-21 21:11:07 +01:00
Scott McCreary
64c8d8c126 Updated cdrtools to 3.01~a18, and added _devel package hrev46403 2013-11-21 08:32:48 -08:00
Ingo Weinhold
73254051b1 makefile engine: Improve template makefile
Use findpaths to find the makefile-engine to include. This addresses the
remaining aspect of #10011. I.e. the package can now also be installed
in home.
hrev46402
2013-11-21 13:47:53 +01:00
Ingo Weinhold
676481a5f6 BPathFinder: Fix resolvable expression support
We need to use the package's .self symlink, since that does point to
the package's installation location. The containing directory lives in
/boot/system/package-links and would therefore always resolve to the
system installation location.
2013-11-21 13:45:37 +01:00
Ingo Weinhold
556e8b250a Update BPathFinder API docs
* Update FindPath() wrt. B_FIND_PATH_PACKAGE_PATH handling.
* Add documentation for BResolvableExpression version of constructor and
  SetTo().
hrev46401
2013-11-21 13:29:21 +01:00
Ingo Weinhold
0122bbf08b findpaths: Add '-r' option
It allows finding a path for a resolvable expression.
2013-11-21 13:29:21 +01:00
Ingo Weinhold
62b164bd71 BPathFinder: Add BPackageResolvableExpression initialization
Add a constructor and a SetTo() method with a
BPackageResolvableExpression parameter instead of a path. The path of
the package satisfying the expression is used.

The new functionality lives in libpackage as it uses the package kit.
2013-11-21 13:29:21 +01:00
Ingo Weinhold
ee8e91583e BPackageManager::UserInteractionHandler: Make non-abstract
Most of the hooks don't strictly need a non-empty implementation. The
defaults now simply throw exceptions in those that do. This allows the
class to be instantiated, which is useful when a BPackageManager is only
used for finding packages.
2013-11-21 13:29:21 +01:00