Commit Graph

38316 Commits

Author SHA1 Message Date
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
Axel Dörfler 51d7642503 * Added a new B_GET_DEVICE_NAME ioctl - this should be implemented by all
drivers in the future, such that NetworkStatus and similar software can show
  nice names for the devices. The device manager should implement this and
  return the B_DEVICE_PRETTY_NAME of the device (and in turn, new style drivers
  should actually set this).
* Implemented handling of this ioctl in the scsi_periph to return the vendor/
  product strings.
* Implemented this in the ATA bus manager to return the model from the info
  block.
* KDiskDevice now fills in the partition_data::name if the B_GET_DEVICE_NAME
  succeeds.
* As a side effect, at least BootManager now shows the drive name; maybe
  DriveSetup does as well for the raw device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-13 19:41:01 +00:00
Oliver Tappe 1f70af0957 * round up the value put into st_blocks
* inject modification time of package folder into root folder of
  package-fs


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-13 15:20:55 +00:00
François Revol 8dfd99a91c Build fix for r40196. Should now be back to previous state (breaks at vm stuff).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-13 12:29:15 +00:00
Ingo Weinhold cd463b4dd2 find_undefined_symbol_beos(): Forgot to return the image in the code
introduced in r40211.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 22:43:01 +00:00
Oliver Tappe 80ddd8dafc * Volume::Mount(): fix KDL in case the volume-name was missing from
the mount parameters
* packagefs_read_stat(): put some sane value into st_blocks

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 22:01:03 +00:00
Siarzhuk Zharski 517621dbc2 Update Finnish localization files with actual version from HTA in
request from Jorma Karvonen.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 21:03:09 +00:00
Oliver Tappe 4ca2f6909f * added support to packagefs for picking up its volume name from the
mount parameters - there doesn't seem to be a way for a filesystem
  to access the path to which it was mounted, is there?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 20:11:13 +00:00
Axel Dörfler b16710b814 * Replaced one occurence of sprintf() with snprintf().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:42:48 +00:00
Jérôme Duval fd4998dce7 Factorized _Update() and _Check() out of Mark(), Unmark(), CheckMarked() and CheckUnmarked().
Inline some methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:42:30 +00:00
Axel Dörfler a1e8da4101 * Removed *_BEN() macros.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:24:43 +00:00
Oliver Tappe 5cf8a6abc4 * rename 'domain'-parameter to 'packages', as that's less generic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:06:04 +00:00
Philippe Houdoin 9b8e30176a Removed Print test page button until the feature is actually available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 18:01:19 +00:00
Jérôme Duval e19ab31f64 Fixed warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:56:44 +00:00
Philippe Houdoin bcd197ad9b Removed last video_rle.cpp reference and made boot_zlib.a requirment more factual.
Thanks François for cleaning up after me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:24:32 +00:00
François Revol 2f6b97dc30 This should hopefully fix build break introduced by r40215.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:16:05 +00:00
Philippe Houdoin e8e66c5cbd WIP: add a print test page button.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 17:08:35 +00:00
Philippe Houdoin 67938b0d59 Switched boot splash compression to use boot_zlib (which was already
used by tarfs anyway) instead of RLE.
While this should allows larger logo/icons, it doesn't remove the
current 300000 bytes size limits for haiku_loader, so #6710 is not yet fixed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 15:43:14 +00:00
Oliver Tappe 6f8d1ab089 * implement fetching of initial domain from the mount parameters in
order to be able to mount packages from somewhere else than
  '/boot/common/packages' (squashes a TODO)
* squashed another TODO about needing to remove nodes of already 
  installed packages if anything goes wrong during the activation
  of a package domain
* fix what to me looks like a bug in Volume::AddPackageDomainJob::Do(),
  fDomain is accessed unconditionally in the destructor, so NULLing
  it here is bad (it doesn't make sense from a reference-passing POV
  either). The problem never showed as this code is never being executed
  currently (no way to add additional package domains as of yet)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 14:56:41 +00:00
Oliver Tappe b29f1f4498 * support "." as parameter when creating a package, in order to
simplify creating a package for the contents of the current folder

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 14:45:57 +00:00
Oliver Tappe 170c1cc032 * fix check in PackageWriter against ".."
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 14:28:58 +00:00
Ingo Weinhold ca7aa99f98 * Added SymbolLookupInfo::requestingSymbol which is passed in by
resolve_symbol().
* find_undefined_symbol_beos(): Does now check whether
  SymbolLookupInfo::requestingSymbol is defined, and, if so, returns it
  directly. This saves the time for the hash table lookup and also works
  around broken files like SoundPlay. Fixes the runtime loader part of #7094.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-12 12:43:13 +00:00
Alex Wilson d49e0a272c In Media preflet: add an ItemWidth() method to MediaListItem::Renderer, which tells us how much space is needed onscreen for a MediaListItem. Use the new ItemWidth() method in MediaListItem::Update() to set our width. Add a MediaWindow::_UpdateListItemMinSize() method that uses the items' width to calculate the new explicit min width of our list view. This fixes a problem I saw with localized strings in the listview not being fully displayed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 19:34:05 +00:00
Alex Wilson 983dbb974b Patch by Hamish Morrison as part of GCI. Refactor Bluetooth server output window gui code to use the Layout API. One small change by me as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 18:09:19 +00:00
Jérôme Duval 776354b0f1 * HTree::_PrepareBlocksForHash() now uses arithmetic sum instead of bitwise, this should help to fix #7084.
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 17:39:51 +00:00
Rene Gollent 2cc2a34c10 Resolve TODO: Use Tracker's NaturalCompare in ImageFileNavigator in order
to preserve a consistent display order regardless of whether Tracker scripting
or the internal navigator is being used to iterate through images.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 00:58:31 +00:00
Rene Gollent 177d3b66f0 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-11 00:53:33 +00:00
Ingo Weinhold 4535495d80 Merged the signals branch into trunk, with these changes:
* The team and thread kernel structures have been renamed to Team and Thread
  respectively and moved into the new BKernel namespace.
* Several (kernel add-on) sources have been converted from C to C++ since
  private kernel headers are included that are no longer C compatible.

Changes after merging:
* Fixed gcc 2 build (warnings mainly in the scary firewire bus manager).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 21:54:38 +00:00
Philippe Houdoin ebf7db3afd Fixed "Haiku Operating System" reference.
This close #7086.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 18:25:38 +00:00
Rene Gollent 0baa186bfb Refactor a little bit in order to better handle the button states as suggested by Axel. Should resolve #7073.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 18:09:13 +00:00
Joachim Seemer ed32e8efbb Set the correct source file for localization in the jam file. Corrected context string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 17:36:06 +00:00
Joachim Seemer b5a719f08e Added even more translators.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 17:15:10 +00:00
Oliver Tappe afd785cf43 * fix build of app-server in debug mode - thanks to Timothy Brown
(stimut) for the hint that it was broken

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 13:37:45 +00:00
Rene Gollent 3927ba4b3d Don't crash if no item is currently selected. Fixes #7085.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-10 01:58:18 +00:00
Siarzhuk Zharski 97873fad0d MIME type for Screen preflet changed globally: x-vnd.Be-SCRN -> x-vnd.Haiku-Screen
Pointed by Axel. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-09 23:00:56 +00:00