Commit Graph

38200 Commits

Author SHA1 Message Date
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
Philippe Houdoin 1071298672 Okay, by quick and dirty, one should read broken.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 20:08:48 +00:00
Philippe Houdoin ec4c457ca3 Add ACCM support (Async Control Char Map) for RX & TX.
Add quick & dirty receive_data() hook.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 19:57:22 +00:00
Philippe Houdoin bf243977ff Made local variables actually local.
Both JPEGTranslator and JPEG200Translator were "exporting" gSettings symbol,
which when loaded within a app (like Paladin) exporting the same global symbol
was leading to a symbol resolution error. See #7114 for details.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 19:39:13 +00:00
Jérôme Duval 63652401db * Applied patch from Karvjorm #7119: EXRTranslator localization
* minor style cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 19:24:07 +00:00
Jérôme Duval 823a23829a * support for setting volume label (bug #7100).
* minor cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 19:03:46 +00:00
Joachim Seemer 65012a2746 Localized Revert button.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-18 17:11:04 +00:00
Philippe Houdoin 26119abd20 Port value in servent struct is in network byte order.
This was making net_server listening wrong service port. Telnet & FTP
works again in non stand-alone mode.
This close #7108.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-17 17:50:31 +00:00
Philippe Houdoin 4499da3990 Moved generic boot platform code to its own static lib, boot_platform_generic.a.
I hope I didn't break anything, as I can and have only test
bios_ia32's haiku_loader. Flame me otherwise.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-17 16:50:58 +00:00
Philippe Houdoin 28b7d1d410 Switched to new BNetwork* classes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-17 11:21:12 +00:00
Oliver Tappe 137c5fe2ba * add implementation of bindfs, which can be used to bind-mount
a folder to some other place in the filesystem hierarchy
* add helper function to VFS that encapsulates the "conversion" of a
  vnode-pointer to a fs_vnode-pointer (used by bindfs)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-16 16:33:11 +00:00
Alex Wilson 6420e23bca Patch by Hamish Morrison in bluetooth server: simplify code in the bluetooth console 'Output' class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-15 06:36:18 +00:00
Rene Gollent c5b852f95f Patch by Shade: If the volume does not return a valid capacity, don't crash with a division by zero error. Resolves #7103. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-14 14:06:08 +00:00