Commit Graph

38236 Commits

Author SHA1 Message Date
Alexander von Gluck IV
2ab028f7d4 style cleanup and tab correction; clean up single character vars
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 16:50:27 +00:00
Oliver Tappe
95d84e4176 * attributed copyright in all public HPKG headers to Haiku, Inc.
* added my own copyright to a couple of files that I changed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 15:15:33 +00:00
Oliver Tappe
5fb1c6ff1f Refactored hpkg implementation to provide some separation between
public and private API (still far from ideal, but a start):
* moved several HPKG-classes into the public namespace BPackageKit::HPKG
* added fImpl-wrappers around PackageReader and PackageWriter to hide
  most of the gory details
* adjusted 'package'-binary and packagefs accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-30 15:05:38 +00:00
Brecht Machiels
2f4d9fdbab * added support for the Atom IGD, based on the X driver sources (fixes #6202)
* fixes G4x PLL limits


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 21:20:00 +00:00
Siarzhuk Zharski
476bfd22cb Fixed checksum for Polish catkeys. Fixes #7176. Pointed by Matt Madia. Thanx!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40318 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 20:46:51 +00:00
Alexander von Gluck IV
83dbb57171 added *basic* ability for services addon to parse xinetd, now we can list active network services in the services view
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 20:36:01 +00:00
Oliver Tappe
3aeae97f65 * added type-support to BPackageResolvable
* split BPackageResolvable, BPackageResolvableExpression
  and BPackageVersion into separate files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 17:59:58 +00:00
Alexander von Gluck IV
fbf800f60c add rdef for services preference panel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40315 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 16:01:44 +00:00
Alexander von Gluck IV
8422bd4a5e style cleanup; added missing public source headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40314 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-29 15:42:20 +00:00
Oliver Tappe
30222ff141 Completed PackageInfo-parser and fleshed out BPackageVersion, BPackageProvision and BPackageRequirement.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 23:36:08 +00:00
Alexander von Gluck IV
28e96d8542 re-organize interface listitem drawing to be more efficent; move profile management button into profile drop-down
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 22:36:13 +00:00
Alexander von Gluck IV
f74b3ec2d0 clean up calculations of ListViewItem positions in Interfaces add-on; remove delete profile option which doesn't make sense
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 20:21:06 +00:00
Jérôme Duval
c9f72f4333 Applied patch from stimut (#6353), thanks!
In ServerWindow::_DispatchViewDrawingMessage(), for AS_DRAW_STRING_WITH_OFFSETS,
the string length rather than the number of UTF8 glyphs is used, thus leading
to an app_server crash.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 19:34:37 +00:00
Joachim Seemer
8c95e40e18 * Changed full screen shortcut to B_ENTER like in Terminal, ShowImage, Web+.
* Put "Always on top" into context menu.
* Rearranged items in context menu to have interface related options together.
* Disable "No interface" in full screen mode context menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 19:18:09 +00:00
Oliver Tappe
a2ad60869d * adjusted to earlier move of NaturalCompare() to libshared.a
(wasn't broken, it's just a bit clearer now).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 12:24:45 +00:00
Oliver Tappe
9daff3323b * moved NaturalCompare() from libtracker.so to libshared.a, in order
to make it available elsewhere


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 11:05:26 +00:00
Ryan Leavengood
f71910c068 Apply the patch from Pete Goodeve from #7165 and therefore fix that ticket.
Instead of forcing a click to open rect this just restarts menu tracking if the
mouse was clicked. It seems to work great and is cleaner than my solution which
is removed in this commit as well.

This still fixes the problem of accidentially selecting menu items but also
maintains the API.

Good job Pete!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 05:31:40 +00:00
Ryan Leavengood
91f0846f8a Add a default right click context menu to BTextView.
This fixes #7022 and is mostly based on the patch attached to that ticket, with
these changes:
- The patch was adding this to the private _TextInput_ class, not BTextView.
- The patch had a Clear menu item too. I removed that due to the different
semantics between Clear in a BTextView and in a TextInput. The former just
clears the selection where the latter clears the whole view.

We could later add a virtual callback for adding menu items to this context
menu which could be used to add Clear with the two semantics in each class
(this is mainly needed for the enabling logic...each class could handle a clear
message in its own way.) This callback could also obviously be used for other
things, like a spell-check menu or whatever an application would want to add.
Since BTextView has 10 free virtual slots it seems reasonable to add.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 05:09:52 +00:00
Alexander von Gluck IV
df8054e9fc added GPL designation, fixed incorrect folder name
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-28 02:06:39 +00:00
Alexander von Gluck IV
f9ea8c1140 clean up licensing, make sure Beceem is acknowledged correctly under GPL for the moment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 23:53:15 +00:00
Alexander von Gluck IV
49b0cb3b8a initial import of first Haiku WiMAX USB driver for Beceem chipsets
- Based on GPL code in linux kernel staging
- Low level communications mostly done
- Probes GPIO pins and detects LEDs
- Sets device up and pushes firmware
- Detects MAC address
- blinks LED through a spawned thread based on driver state



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 23:31:50 +00:00
Oliver Tappe
0d6b3b20e1 More work on package kit:
* added class BPackageInfo, which contains packaging attributes of
  a package (the values relevant for package management) 
* implemented parser (mostly) for reading a BPackageInfo from a config
  file (.PackageInfo) in order to pass them on to the PackageWriter 
  when creating a package
* pulled hpkg-related stuff from bin/package into the package kit
* adjusted packagefs-Volume to skip .PackageInfo files when populating
  the mountpoint, as those files shouldn't appear as part of an
  activated package


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 23:17:03 +00:00
Alexander von Gluck IV
fe0019dda4 allow end users to modify linker used in makefiles, resolves #5375
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 22:30:25 +00:00
Clemens Zeidler
550ffadf08 Add two more test, cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-27 21:50:42 +00:00
Jérôme Duval
03901b6cae Applied patchs from Karvjorm (tickets #7118, #7128, #7137) with fixes by myself: Localizations for JPEG, BMP, ICO translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 22:58:47 +00:00
Clemens Zeidler
a0ad88e002 Fix min/ max calculation by removing all soft constraints before doing so. Smaller fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 22:06:02 +00:00
Jérôme Duval
1ec6a0ccb3 added btrfs to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 21:50:39 +00:00
Jérôme Duval
2c2074ba13 added some const and fixed a typo
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 21:38:19 +00:00
Jérôme Duval
b16c945272 removed executable props
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 21:37:25 +00:00
Siarzhuk Zharski
2d30da7c01 Fix the fi.catkeys build problem introduced by my commit in r40292. Looks like
HTA generates sometime zero-length catkeys and jam dependencies are not worked
in this case. Probably the modification date of file was not updated by wget?

Catched by Build-O-Matic. Thanx! ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 12:54:28 +00:00
Siarzhuk Zharski
86efe5e255 Finnish localization files are updated from HTA. In request from Jorma Karvonen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 10:13:34 +00:00
Siarzhuk Zharski
0fe08f7332 Polish localization files are updated from HTA in request from Scott MC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-26 09:52:36 +00:00
Oliver Tappe
733c783dc9 more work on package kit:
* rip BRepositoryHeader out of BRepositoryConfig and add support
  for it to BRepositoryCache
* implement repository removal
* some minor cleanups


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 19:36:09 +00:00
Siarzhuk Zharski
eac4e22b9a 1) Belarusian localization files are updated from HTA;
2) LaunchBox: excessive internationalization removed - debug messages sent 
into stdout and stderr should not be localized. Pointed by Diver. Thanx!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 19:14:31 +00:00
Rene Gollent
a6aa0c5f6d CID 91: Fix copy/paste error where the wrong variable was passed to an attribute read call, leading to unreachable code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 18:01:02 +00:00
Oliver Tappe
7d7ed9bf4b Mostly style-related changes to package kit:
* drop 'Haiku' namespace
* rename 'Package' namespace to 'BPackageKit'
* renamed all public classes to begin with a 'B'
* renamed BPackageKit::Roster to BPackageKit::BPackageRoster to not
  clash with the BRoster from the application kit.
* fix some instances of public headers including private ones

Some functional changes, too:
* JobQueue now removes and deletes dependants of failed jobs 
  automatically
* JobQueue supports waiting for jobs to become runnable
* added a couple of InitCheck() methods where they make sense
  and invoke those in users of these classes



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 17:07:27 +00:00
Clemens Zeidler
5ba9397df3 Change S&T to make it work with the new solver. It also still works with lp_solve.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 05:02:32 +00:00
Clemens Zeidler
7583db5a1e Add an alternative solver to lp_solve. The solver based on Ingo's active set solver but is able to handle arbitrary hard and soft constraints. The advantage to lp_solve is that the active set solver can optimize variable in respect to a quadratic objective function. This makes it possible to minimise the quadratic derivation to a desired value e.g. \Sum_i(x_i - x_{i,pref})^2 -> min.
The solver part has been refactored in this way that both solver can be used with the same layout specifications. The active set solver is default now; the performance is not as good as lp_solve, though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-25 04:59:40 +00:00
Jérôme Duval
6537cf9750 Applied patchs from Karvjorm (tickets #7149, #7148, #7147) with fixes by myself: Localizations for WebP, Wonderbrush and TIFF translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 22:50:46 +00:00
Jérôme Duval
c44966dff2 Applied patch from Karvjorm (ticket #7154): Localization for JPEG2000 translator.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 22:20:42 +00:00
Jérôme Duval
6f4c36e297 * Implemented a read-only btrfs file system, tested with a 400MB image.
* Inline extent data isn't read with the file_cache yet as the data is not block aligned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 22:10:43 +00:00
Jérôme Duval
85f15b4bf0 * uses std::nothrow when calling new.
* fix an UDF reference.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 21:33:20 +00:00
Oliver Tappe
35edda8f0b * more work on the package kit, repositories can now be added and
refreshed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 20:48:03 +00:00
Oliver Tappe
77a8a5cce3 * added B_COMMON_CACHE_DIRECTORY to find_directory()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 20:42:48 +00:00
Michael Pfeiffer
ccd062a898 Fixed off by one error. The port number should now be taken from the
URL.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-24 20:01:31 +00:00
Rene Gollent
d78e0dc9d7 CID 10326 - remove superfluous for loop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 23:12:26 +00:00
Jonas Sundström
f72663929e CID 3037: missing return after deleting itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 23:00:15 +00:00
Siarzhuk Zharski
717d3ee213 Ukrainian localization data downloaded from HTA.
That was requested by Oleksandr Rudyk.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 20:03:29 +00:00
Michael Pfeiffer
399cfca5a0 Fixed self assignment (#7158).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 19:07:34 +00:00
Siarzhuk Zharski
07910542fd Audio driver for SiS 7018, Trident DX/NX and Acer Labs M5451 hardware
was rewritten to Haiku MultiAudio API.

This changeset replaces both old version of the same driver written for
BeOS R3 Sound API and ali5451 driver that handles the same audio hardware.
The driver was tested with SiS 7018 and ALi M5451 cards. Trident DX/NX
support still should be tested.

Some parts, related to ALi M5451 support were inspired by original ali5451
code so the copyright (c) 2009 by Krzysztof Ćwiertnia was added in the source.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-23 18:47:57 +00:00