Commit Graph

38462 Commits

Author SHA1 Message Date
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
Siarzhuk Zharski
a5237f5fc6 Fixed crash of the Time Preflet in case localization catalog for current
system Locale persists. Pointed by Diver. Thanx!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 22:12:21 +00:00
Siarzhuk Zharski
2dfee1f79a Fixed exessive internationalization: the names of the:
- thread;
- preferences file;
- preferences file parameters;
should not be translated. Pointed by Diver. Thanx!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 21:49:08 +00:00
Siarzhuk Zharski
5552f88f04 Updating Belarusian localization with files from HTA.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 21:11:46 +00:00
Oliver Tappe
11a4ecfd82 * added support for interactive decisions to package kit and pkgman
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 19:30:21 +00:00
Rene Gollent
ea3e07b3f1 CID 10360: Remove incorrectly placed return.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 19:08:20 +00:00
Rene Gollent
67a473f7d5 CID 10361: Slight code simplification to remove superfluous for loop.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 19:06:15 +00:00
Rene Gollent
ef83c28376 CID 10351: Fix incorrect indentation that resulted in
DiskSystemAddOnManager::PutAddOn() being broken in various ways
due to incorrect curly brace placement. Among other things this
probably led to add-ons not being unloaded correctly when they should
have been.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 18:39:16 +00:00
Rene Gollent
908d7185b0 Remove unused Draw function. Fixes CID 10350.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 13:52:57 +00:00
Siarzhuk Zharski
d2f34ea3e7 Fixed cosmetic problem in diagnostic messages: one space was missed, one was extra.
Pointed by Diver. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-22 13:20:46 +00:00
Jérôme Duval
8dca2efd62 Applied patchs from Karvjorm (tickets #7125, #7131, #7126, #7129): Localizations for PNG PCX HVIF and HPGS translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 22:42:52 +00:00
Oliver Tappe
500bb6305c * WIP-commit of the first parts of the package kit and the pkgman
(console-)tool


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 22:18:58 +00:00
Philippe Houdoin
90a81ace91 Add Sean "jalopeura" Healy to contributors list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 17:29:59 +00:00
Philippe Houdoin
0c19b8569d Removed forgotten commented-out code. Spotted by Jerome, thanks.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 16:37:25 +00:00
Philippe Houdoin
42ef6afd4e Applied patch (with small cosmetic changes) by jalopeura (see #7134):
search e-mail addresses in every volume, not just boot one.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-21 15:37:19 +00:00
Oliver Tappe
8e407ca0e8 * err, 40255 was missing the essential part, actually
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 20:55:45 +00:00
Siarzhuk Zharski
a6d4fdb231 Belarusian translation updated from HTA;
Outdated "print" and "bootman" modules are removed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 20:24:43 +00:00
Oliver Tappe
84f05bd08b * fix build problem on Haiku hosts caused by recent move of
ObjectList.h into public header space


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 18:52:21 +00:00
Oliver Tappe
81b0e79a7b * adjusted 'message' to be able to deal with more than a single message
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 13:17:34 +00:00
Philippe Houdoin
439859b9a7 Screensaver name must support being localized too.
Thanks Jorma Karvonen to point this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 12:12:58 +00:00
Oliver Tappe
915a7b8c24 Make BObjectList<> publically available:
* cleaned up ObjectList.h
* switched several uses of new() to new(std::nothrow)
* moved ugly AsBList() hack into BObjectList<>::Private class and
  adjusted all callers accordingly


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 12:09:16 +00:00
Philippe Houdoin
260f2d0994 Add a draft test page.
The gradients are not recorded or played back by BPicture currently,
so they're not visible outside the dummyWindow (code commented out).
Needs to be polished before R1.
Another issue is that ConfigPage() allow user to switch to another printer
than the one selected when Print Test Page button was pressed.
We needs a programmatic way to setup a printjob config for a specific printer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 11:58:03 +00:00
Philippe Houdoin
a6b6cbbcdd Add Leaves screensaver localizzation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-20 10:54:48 +00:00
Alex Wilson
d2772fb43e Add missing breaks in SettingsView::MessageReceived() switch-statement.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-19 22:14:30 +00:00
Ingo Weinhold
b7786ebd30 find_undefined_symbol_add_on(): Resolve non-weak symbols defined in the add-on
to themselves. This works around the problem that those symbols could be
resolved to symbols in the application, which is usually undesired. Weak
symbols have the same problem, but the the runtime loader cannot decide which
should be resolved locally and which mustn't.

The root issue is that BeOS style add-ons simply cannot be supported by a
standard-complying ELF loader.

Affects gcc 4 only, since with gcc 2 we link everything symbolically. The best
solution for the time being would be to build gcc 4 add-ons with default
hidden visibility, exporting only the symbols that should be visible.

Related ticket: #7114


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-19 11:59:03 +00:00