Commit Graph

33992 Commits

Author SHA1 Message Date
Alexander von Gluck IV
2e43bcca24 added new Nvidia, Marvell, and Intel AHCI controlers.. please test if you have the hardware
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 21:18:22 +00:00
Jérôme Duval
18451a0c36 Added skeleton XHCI driver by Jian Chiang, based on the specs and the EHCI driver.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 18:00:30 +00:00
Clemens Zeidler
c152c70b46 - ALPS and synaptics are sharing the same code to generate mouse events now. The movement generation is calibrated on the synaptics touchpad, though.
ALPS movements are fine now, hope the synaptics is still working. Please test! There are still some leftovers form switching from a c struct to a c++ 
class will fix that later.
- Support ALPS devices with passthrough.
- ALPS is still disabled because tap and edge motion is not working yet. The 
problem is that synaptics generates more helper events which makes this a lot
easier to implement. My plan is to emulate this events to imitate the synatics touchpad.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 09:37:40 +00:00
Jonas Sundström
f011dde511 Add the B_COMMON_CACHE_DIRECTORY constant introduced in r40279.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-29 22:51:41 +00:00
Alexander von Gluck IV
ff37eb80fc enable bios.c in Jamfile; impliment malloc/free/delay Cail callbacks; stub out rest of the Cail callbacks for now
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 21:29:11 +00:00
Jonas Sundström
8860817432 Disable menu item 'Edit name' for Desktop, Root, Trash and entries with localized names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 11:05:17 +00:00
Clemens Zeidler
e637ccf5c1 Reapply the ps2 cpp patch. Thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 08:18:31 +00:00
Clemens Zeidler
79bdca0650 Revert r41129 to get history back.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 08:10:26 +00:00
Jonas Sundström
2d93b5283f Set Escape as shortcut for BAlert Cancel option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 07:43:41 +00:00
Jonas Sundström
77e2c2dad3 Have ConfirmChangeIfWellKnownDirectory() protect the folders Common, Desktop, Root and Trash from renames and moves. Shift-key dialog protection added for the Home folder. Attempts on Desktop, Root and Trash are blocked silently. I admitt it's a bit odd to protect these so resolutely, unlike system, common and home, which are truly essential to the system. Would it be patronizing to enforce a stricter regime?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 06:44:46 +00:00
Clemens Zeidler
5a63a4576e Delete old c files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 02:23:07 +00:00
Clemens Zeidler
278a2b8aaa Making the ps2 busmanager c++.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-28 02:20:41 +00:00
Jonas Sundström
fdd2b7ebb1 Removal of the About window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 21:59:49 +00:00
Jonas Sundström
8a5f363dd8 Add menu item 'Select all' to playlist window.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 19:14:55 +00:00
Jonas Sundström
ee6a2e5589 * Extend the Model class with a method bool HasLocalizedName().
* Disallow renaming of entries with localized names for now - this is meant to be temporary - and so far only in Tracker's Info window. Renames do not result in a change, visually, as the localized name hides the real name, and results in a bad user experience. One could possibly allow renames of the localized name, writing it back to the catalog. I've experimented with using BCatalogAddOn::SetString() but haven't been able to make it stick yet.
* Disallow renaming Trash in Tracker's Info window via Command-E.
* Adjust the argument order of BLocaleRoster::GetLocalizedFileName().
* Add a BLocaleRoster::GetLocalizedFileName() variant to look up another app's name given its signature and unlocalized, canonical name.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 18:38:05 +00:00
Jérôme Duval
6ccba002a8 adding more usbvce definitions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 15:21:15 +00:00
Clemens Zeidler
b78920b3f1 Work in progress on a ALPS touchpad driver. The driver is roughly working but disabled at the moment. Its
more or less a copy of the synaptics driver. Next step is to refactor the movement generation and share the 
code with the synaptics driver.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-27 08:53:57 +00:00
Jonas Sundström
e28afdf1ea Changes to the MediaPlayer's playlist window's menu options Remove, Remove all, Move to Trash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 23:21:13 +00:00
Axel Dörfler
5b82a6b615 * Obviously forgot to compile after a last minute change, sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 22:07:27 +00:00
Jonas Sundström
77fa0e9269 Add an -l option to 'query' - enabling lookup of path for localized names (or parts thereof). I'm not sure it should be part of 'query', but here it is. Due to using BString it is currently case-sensitive beyond plain ascii names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 20:32:58 +00:00
Axel Dörfler
ea8749b6b5 * legacy_driver::devices_used was not taken into account when deciding to
unload a driver. This was causing bug #4608 depending on the order of events;
  now you should have less worries removing your USB device before having it
  unmounted.
* Added a "legacy_device" KDL command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 20:26:33 +00:00
Axel Dörfler
31cf5e520a * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 20:23:21 +00:00
Axel Dörfler
2545ff58c1 * Applied patch by VinDuv/Jonas to use the existing check_for_key() that fixes
a problem on the Mac which obviously messed up its BIOS.
* This busy loops, but CPU utilization should be a maxed out in the boot loader
  anyway - we could add a pause, though.
* This closes bug #2654.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 20:01:37 +00:00
Jonas Sundström
62769fc6d5 Follow-up on r41108. Removal of About-windows and menu items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 17:29:28 +00:00
Alexander von Gluck IV
63f50c210b put AtomParser into header file, clean up var names to match style guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 16:25:59 +00:00
Alexander von Gluck IV
0ceb83958d add first accelerant atombios wrapper sources, atombios is now accessible from accelerant; atombios calls PCI register read/write routines from the main accelerant that need implimented, thus bios.cpp is disabled atm... going to be tricky
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 16:19:25 +00:00
François Revol
d05e1481da Colorize "BeOS" in the credits, oh, nostalgia... (shouldn't it say "the BeOS" btw?)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 14:57:03 +00:00
Jonas Sundström
11c7ff531a Removing most About windows and menu items as discussed here
http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3
Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here
http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70
Some sporadic cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 02:18:52 +00:00
Jonas Sundström
b552b728d8 Crediting Takashi Murai and Kazuho Okui as contributors, for MuTerminal, from which the present Terminal was developed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-26 01:57:20 +00:00
Jérôme Duval
e34d20ad08 fix dstcheck rdef. Thanks diver!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:47:19 +00:00
Jérôme Duval
da97b3ed7a support for top to bottom BMP files see #7342
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:28:30 +00:00
Jonas Sundström
560ff4478d Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 22:13:48 +00:00
Jérôme Duval
c8cf09df90 add a resource file for dstcheck. Fixed #6903
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 20:31:17 +00:00
Alexander von Gluck IV
f931d8315e make atombios headers available to radeon_hd accel; one small change to atombios to stop Werrors in accelerant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 03:18:44 +00:00
Alexander von Gluck IV
9d9ecaca74 revert last change, disable warnings; this will keep us from having to make any additional modifications to atombios
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 02:05:32 +00:00
Alexander von Gluck IV
2b972a5652 make one time use functions static... this stuff is a mess. Fixes 'no previous prototype' warn->error
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-25 01:32:19 +00:00
Jonas Sundström
9e8a970bd5 A better for the leaf logo bitmap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-24 22:43:48 +00:00
Jonas Sundström
b2290dd804 Reverting part of r41096. Those kBeLogoBits were actually the leaf bitmap.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-24 22:30:11 +00:00
Jonas Sundström
6e5ffd78c6 Farewell, Be logo, and thanks for all the bits! Credit Be Inc in AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-24 21:23:48 +00:00
Alexander von Gluck IV
682f910a4c reduce changes on vendor sources, reverted and reworked; put Decoder.c back to stock moving define into Jamfile; put single ifdef wraper around un-needed typedefs; Move SubInclude to bottom of Jamfile;
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-24 02:02:02 +00:00
Clemens Zeidler
8066fbc766 Remove semi unused variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 21:28:14 +00:00
Clemens Zeidler
9d214f419d Switch back to isspace for now. Have to read some utf8 stuff first. Feel free to fix it, though! will not do it in the near future...
Fix header order, ups never changed a libbe file before ;) thx Oliver. Add small optimization as pointed out by Ingo.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 21:22:42 +00:00
Clemens Zeidler
a647218ee5 Only delete fully downloaded messages on the server! Clean up a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 19:13:21 +00:00
Clemens Zeidler
6d9f904958 Take leave mail on server into account. Should fix #7400.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 02:02:20 +00:00
Jonas Sundström
2d5868f8b3 Use short-circuit evaluation to avoid out-of-bounds string access. Thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-23 00:47:21 +00:00
Alexander von Gluck IV
e940d6c348 working towards making AtomBios compile under Haiku, almost there
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 23:00:27 +00:00
Alexander von Gluck IV
9ae5efb10b add stock atombios from AMD
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 22:58:26 +00:00
Alexander von Gluck IV
5e89302676 removing atombios and starting clean, after some review I going with Axels suggestion to put it all in the accelerant.. I don't see the radeon_hd driver using AtomBios in the future. sorry for the commit spam
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 22:24:27 +00:00
Jonas Sundström
7758e371f4 Enable localization of Tracker add-on names and shortcuts, with the canonical name and shortcut as fallback.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 22:09:35 +00:00
Clemens Zeidler
b5ddb5072e Switch to iswspace. Fix space detection at the right. Thanks Jérôme and Ingo. Please review, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 20:38:13 +00:00
Alexander von Gluck IV
065dfab8a0 move AtomBios to atombios, move includes to radeon_hd private
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 19:33:47 +00:00
Jérôme Duval
4375e3f99c * changed ERRPRINT macros to ERROR and TRACE
* ntfs log handler wasn't included for Haiku, it should be used to set up a log handler.
* style fix


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 18:42:34 +00:00
Alexander von Gluck IV
57601618e3 add full AMD AtomBIOS Parser from Xorg driver (http://bit.ly/dNXMdh). License is verified open minus AMD copyrights. Will need to remove Xorg specific stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 15:07:49 +00:00
Clemens Zeidler
b4a14f3234 Incoming and outgoing protocols can be disabled/enabled using a right click menu in the account list view. Fixes #7384.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 10:31:54 +00:00
Clemens Zeidler
08606d49da Add settings to enable and disable in and outgoing mail accounts.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 10:28:22 +00:00
Clemens Zeidler
37ffb53fb4 Fix Trim() method for empty strings and strings only containing spaces. Fixes #7392.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 03:05:39 +00:00
Jonas Sundström
6f477364cc Make BLocaleRoster::GetLocalizedFileName() take a const entry_ref& rather than a non-const entry_ref&. Remove private GetLocalizedFileName() from libtracker and make Tracker and Deskbar use the one in BLocaleRoster.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-22 01:35:38 +00:00
Jonas Sundström
85366cb58b Add BLocaleRoster::GetLocalizedFileName()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 23:23:57 +00:00
Alexander von Gluck IV
75f51fc787 remove a bunch of leftover Intel extreme registers, add in relevant ATI r600 registers from Xorg driver, remove kATIVendorId from driver and use vendor var from global private header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 21:52:01 +00:00
Alexander von Gluck IV
3ca4651192 added Radeon HD 2600 pciid, resolves #5722
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 20:16:11 +00:00
Clemens Zeidler
a1f765fb1a Create an index for MAIL:account_id. If you using POP3 update to this revision! POP3 queries for this attribute and if no mails are found with this id it will delete the missing mails on the server (if the option is ticked).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 20:02:48 +00:00
Jérôme Duval
f2df488aec improves uvc information dump
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 19:32:58 +00:00
Axel Dörfler
cf9f46bc60 * Double click now toggles full screen, as in the MediaPlayer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 15:32:23 +00:00
Jonas Sundström
bfb8680ff1 Cleanup. Thanks korli!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 12:26:05 +00:00
Philippe Houdoin
9c87cb1b9f Moved the whole testpage into its own (offscreen) window, and
print from this window's looper.

There is two majors bugs raised by the test page feature, which sports both
gradiants and vector drawing (leaf, gradiant colors):
- radiants are not recorded/handled in BPicture
color gradiants presents in the test page
- scale is not correctly recorded or handled in BPicture, as seen when zooming on
the leaf drawing in Preview window...
I will investigate how to fix both.

Anyway, an incomplete test page is better than none.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 12:14:37 +00:00
Philippe Houdoin
89aa6cbe13 Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 11:39:54 +00:00
Stephan Aßmus
a877c0e7d8 * Changed the previous/next icons to the ones intended by zuMi.
* Removed the full-screen icon, since the zoom icon of the window
   already does the job.
 * Added an icon for the slide show, but it additionally goes into
   full-screen mode.
 * Added appropriate work arounds for bugs in the Interface Kit
   concerning the hiding of tool-tips, and a bug in the app_server
   concerning the invalidation of unhidden views...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 10:59:10 +00:00
Clemens Zeidler
1c3b35f125 Return the email address if the name is empty. Fix some side cases.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 10:20:02 +00:00
Clemens Zeidler
f1785f82fe Leave status when quit window using the control+shift+w shortcut. Fixes #7382.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 09:38:12 +00:00
Clemens Zeidler
a64bd5649d Write MAIL:name, MAIL:thread and MAIL:account attribute. The account id is now stored in MAIL:account_id. This requires to re-download all mails to write the correct attribute (sorry).
Fixes #7375.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 09:13:12 +00:00
Clemens Zeidler
a694218113 Fix wrong check (#7385).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-21 05:24:48 +00:00
Jonas Sundström
0368c55322 Remove translated debugging output. This being primarily a GUI app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 21:13:59 +00:00
Jonas Sundström
eef42c403b Script for downloading and committing strings from the HTA (Haiku Translation Assistant) website.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 17:04:02 +00:00
Alexander von Gluck IV
9b3e3604c3 import ATI atombios.h from Xorg driver, the licensing is open as long as the ATI copyright remains in place. atombios.h shouldn't be edited as ATI notes the version at xorg may be periodically updated to reflect changes in new hardware
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 15:34:31 +00:00
Alexander von Gluck IV
09295be8a1 added 4270 PCIID from user submission; corrected R600, R700 series ranges thanks to Xorg Radeon decoder ring
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 14:36:22 +00:00
Stephan Aßmus
ddc9530b4d The frame that the bitmap is centered in has already
an appropriate offset when the button is drawn in
pressed look. Fixes the bitmap being drawn with a 
much too big offset.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 12:59:01 +00:00
Stephan Aßmus
cf0d830818 * Display a tool bar by default (setting can be toggled in the
View menu)
 * The previous/next, selection mode, zoom actions and full screen
   mode are accessible via tool bar.
 * The tool bar can currently not be shown in full screen mode.
   Eventually, I want it to work like in MediaPlayer when it is
   generally enabled.
 * Fixed capitalization "Selection Mode" into "Selection mode"
   (needs catalogs update for all languages).
 * When leaving selection mode, clear the selection. Especially
   with the new tool bar icon, it looked really weird and irritating
   when the selection persisted.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-20 12:53:38 +00:00
Alexander von Gluck IV
47ad511f59 pre-work style cleanup; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 18:49:14 +00:00
Stephan Aßmus
d1901581f4 Introduced DataSource::InternalName(), which must be implemented by all
derived classes. This is now used for storing and restoring DataSources
in/from the ActivityView archive. Fixes replicant restoration after
switching the preferred system language.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 16:38:30 +00:00
Stephan Aßmus
e6c49e10f9 Don't ignore the entire var directory, but rather only
the swap file specifically. There is already a TODO in
the code for replacing this mechanism with something
cleaner and more flexible. Resolves ticket #7367.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 13:49:28 +00:00
Fredrik Holmqvist
7fae779766 Just some cleanup. We won't need pci module for setup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 11:47:18 +00:00
Alexander von Gluck IV
04de4ed00e added Radeon HD 4200 IGP
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-19 01:58:31 +00:00
Jonas Sundström
c3cd5321d5 Localization of Screensaver unlock window. Ticket #7232
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 22:45:59 +00:00
Clemens Zeidler
07bd7cf4e6 When iterating through mails in a tracker read query window, don't mark the old message as read before retrieving the next message. This would fail because the old message left the query.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 10:15:42 +00:00
Siarzhuk Zharski
4d1288ba20 Fix for the typo in alert message. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 09:15:28 +00:00
Clemens Zeidler
165991b56a When fetching the message body also fetch the flags in one go. For example, gmail does not send flag change updates. If a message is
marked as read by another client the haiku client at least updates the flags and mark it as read when fetching the body. Thats the way Opera is 
doing it.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-18 04:49:32 +00:00
Michael Lotz
6339610f44 Add a way to override report descriptors with fixed ones based on vendor and
product id. Currently the list only has an example entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 22:21:55 +00:00
Siarzhuk Zharski
4115645af6 Localization of some UI parts:
- context menu of the replicant dragger. Fixes #7363;
- default <empty> menu placeholder. Fixes #7072;
- other messages used in PrintJob, Dragger and ZombieReplicantView classes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 20:25:44 +00:00
Alexander von Gluck IV
89534eeb88 added Radeon HD 3870 IGP, this is also the Radeon HD video card that AMD SimNow Emulates
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 14:20:02 +00:00
Jonas Sundström
52a055c405 Removing localization of name of class instance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 03:57:26 +00:00
Jonas Sundström
4cbdf74761 Build fix. (fwiw, both failed revisions built fine over here, with both gcc2 and gcc4.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 03:22:33 +00:00
Jonas Sundström
bffb78de5b Build fix. CID 3165 FORWARD_NULL, avoid casting be_app.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 02:28:45 +00:00
Jonas Sundström
f4265833aa Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 01:15:04 +00:00
Clemens Zeidler
495ecdfea8 Do not recreate the account file when saving the settings. This fix
alternating account names (once AccountName_1 the other time just 
AccountName).
Sort accounts by creation time. This fix the order in mail
preferences.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-17 00:45:30 +00:00
Jonas Sundström
d374a27286 App name localization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:33:35 +00:00
Clemens Zeidler
dd64744e69 Check first if the QUOTA extension is available.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:24:13 +00:00
Clemens Zeidler
2e20611a4f Hacked in a "used storage on server" status string in the IMAP folder window.
The complete window need some love so do not complain at this stage, feel free to fix it, though :-) (Main problem is to add a cancel button to abort the folder fetch and show an error message, see #7258).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 20:01:28 +00:00
Clemens Zeidler
86be65dc7a Disconnect connection if login failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:46:01 +00:00
Clemens Zeidler
3f9320c6a2 Add a GetQuota command for the IMAP QUOTA extension.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:12:30 +00:00
Clemens Zeidler
f96f677b90 Fix ExtractBetweenBrackets. It was assumed that the string starts with a bracket, be a little bit more lenient now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 19:09:19 +00:00
Jonas Sundström
71302e7c6d Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 18:48:41 +00:00
Jonas Sundström
7b3cdb9657 Prepare BFilePanel for localized names.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 18:32:25 +00:00
Jonas Sundström
8f8e1924c9 CID 6942, 6943. SECURE_CODING. Replacing sprintf() with BString::SetToFormat(). App name localization. Partially untested. I have no TV card.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 13:28:31 +00:00
Jonas Sundström
31db75d0ae New stippi on the block? Nah. Just a typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 10:58:38 +00:00
Jonas Sundström
b97c51490a Making use of B_TRANSLATE_APP_NAME, BAboutMenuItem, BAboutWindow. Clean-up. Removal of some ellipsis. ('About Haiku' in Deskbar.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-16 00:42:18 +00:00
Jonas Sundström
d7f342e8a3 Simplifying the BAboutMenuItem and adding it properly to the locale kit's DoCatalogs list.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 21:00:16 +00:00
Jonas Sundström
2708c3e1c8 Making it build. Mostly untested. I just wanted to be able to jam from within src/apps. Not part of the image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 17:41:41 +00:00
Jonas Sundström
c53bd10cbb Remove ellipsis. The about-window is not a dialog requiring additional information from the user.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 11:07:33 +00:00
Jonas Sundström
12d8a9f85b Introducing BAboutMenuItem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-15 01:04:41 +00:00
Clemens Zeidler
21b9693bd2 Clear variables after free them. Don't leak fSSLBio. Should help a bit for #7365. Note: the IMAP ServerConnection should be reused for POP3 and SMTP.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 21:20:42 +00:00
Michael Lotz
6e499760b3 * Since the usages of the local state are now processed also for collections
there is no need to do the usage page and usage id handling anymore.
* As this also removes the only use of the global state it is removed as well.
* Try the usage maximum as a fallback as well and print something if none of the
  usage sources are valid and the collection ends up without a proper usage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:21:38 +00:00
Michael Lotz
baba9584dd Do the usage preprocessing also for collections. While the collection handles
the conversion, it makes it easier to do it for all items the same. This fixes
the missing initialization of the usage stack as pointed out by caz_haiku in
#7354, thanks for the pointer!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 20:10:01 +00:00
Michael Lotz
6391a79957 * Correct case for long items (didn't matter as no long items are defined).
* Move the main data declaration to where it's used.
* Tiny cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 19:03:42 +00:00
Jonas Sundström
825c2d76d2 Disallow quitting Installer silently, midinstall, in the LiveCD/post-install case. Allow quitting Installer without first quitting BootManager/DriveSetup in the LiveCD/post-install case. Make use of B_TRANSLATE_APP_NAME. Stop-icon in abortive BAlerts. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 17:24:52 +00:00
Jonas Sundström
066522e87b Localization changes. Use of B_TRANSLATE_APP_NAME(). Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 14:41:13 +00:00
Ithamar R. Adema
e59aab0981 ARM: Some header cleanup in preperation of more CPU support code...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 13:48:21 +00:00
Jonas Sundström
47798a10f7 Localization changes. Stop using AddCatalogEntryAttribute rule in Jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 02:16:35 +00:00
Clemens Zeidler
ac2d675877 Store path instead of an entry_ref. Should fix part of #7364.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 01:59:25 +00:00
Clemens Zeidler
5eb5a9be1a Update table demo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:25:31 +00:00
Clemens Zeidler
ef93b55df4 - Areas with same tabs are put in a column/row automtically. Move preferred size constraint from Area to the column/row. This avoids a "spring" effect of the
quadratic solver if multiple Areas are in the same column/row.
- Replace GetString by ToString.
- some clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:24:12 +00:00
Clemens Zeidler
66c782cdc0 Soft constraints can now be weighted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:17:30 +00:00
Matt Madia
f6c4812a09 Added '`' to the list of escaped characters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:06:23 +00:00
Matt Madia
32e5ce1060 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-14 00:05:39 +00:00
Ithamar R. Adema
36fa904ede Fix aligment of data segment, by moving our ARM ldscript closer to the X86 one. This restores
the state of the ARM port to booting all the way up to the idle thread again.

However, will still need to investigate why we need the PHDRS magic, likely due to improper
setup of the ARM toolchain. If anyone has ideas, please let me know!



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 23:17:29 +00:00
Jonas Sundström
da7a08abb8 Rename System tab to Options. Suggested by deejam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 21:20:53 +00:00
Clemens Zeidler
e3beb7c047 Init ssl variables. Replace "/" in temporary filename. This should fix #7267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 20:32:45 +00:00
Philippe Saint-Pierre
85c3d59821 dstcheck:
* Change button labels to use verbs.  Since the labels are now "Use this time" and "Manually adjust time...", don't ask for a second confirmation in case you chose to adjust time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 19:28:24 +00:00
Jonas Sundström
480d660fb0 Introducing a catalog app name context, related macros, and making use of this in DeskCalc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 17:29:10 +00:00
Ithamar R. Adema
60644e6de6 * Add support for R_ARM_ABS32 to kernel ELF linker
* Removal of some commented out (messy) code



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 15:48:52 +00:00
Ithamar R. Adema
5707f2519c * Quiet down VM debug output, so we can easily find errors ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:42:18 +00:00
Ithamar R. Adema
8bbaee6124 * Fix ARM kernel compilation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-13 10:28:51 +00:00
Philippe Houdoin
61698f2dad Audio clips are also concerned with backgroup volume level settings, so actually
"clips" was valid. Also adds a missing : after menu labels.
Thanks Humdinger for proofreading and suggestion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 13:06:08 +00:00
Philippe Houdoin
b17cf6ff58 The "movies" term was used everywhere else, for coherency use it instead of "clips".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40923 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 10:41:02 +00:00
Jonas Sundström
ed7ee7a432 Localization support for filesystem entries in Tracker and Deskbar (leaf menu). (It appears to work, but is likely incomplete and quite possibly incorrect.) Fix issue with RosterData::Refresh() resulting in a B_LOCALE_CHANGED broadcast, and Deskbar looping. Add a global boolean gLocalizedNamePreferred to avoid calling BLocaleRoster::Default()->IsFilesystemTranslationPreferred() too often from Model instances. Following Tracker code style in libtracker, so as to not mix in too much clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-12 00:53:30 +00:00
Alexander von Gluck IV
5fb615a3b5 change Heal to Renegotiate for now as it is the most technically correct; add missing delete of fNetworkInterface from deconstructor; remove un-needed RemoveDefaultRoute as per Axel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 23:31:11 +00:00
Clemens Zeidler
f5753b4af0 Add debug output to debug #7267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:17:10 +00:00
Clemens Zeidler
37f85698cf - Fix race condition when start watching a mailbox and directly afterwards stop watching it. A BLooper was not suitable to synchronise start and stop watching. Wait till the IDLE command is send before returning the SyncAndStartWatchingMailbox method now. That ensures that a later StopWatchingMailbox call find the maibox in an expected watching state.
There is one thread (BLooper) to handle new commands and one watcher thread which is just listening at the server port for updates. The race condition occurred for example when a sync/watching and a fetch body message are send to the looper. The sync message just triggered the IDLE command in the watcher thread. In the meantime the fetch body command send a DONE command, because the IDLE command has not be send at this time the watcher keeps watching. 

- fix int32 -> ssize_t thanks Axel and Stippi
- clean up



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40919 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 20:13:54 +00:00
Jonas Sundström
07cffb4786 Introducing a Locale option to display localized filesystem entries (primarily apps and folders) in Deskbar, Tracker, etc. Making use of this in Deskbar's list of apps. The option currently defaults to off, to avoid exposing everyone to unfinished work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40918 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 19:52:15 +00:00
Alexander von Gluck IV
a991d18159 implement *basic* network interface Healing action; make fNetworkInterface a pointer so it actually works right
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40917 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-11 18:20:57 +00:00
Siarzhuk Zharski
55f0b964a3 Applying revized localization patch prepared by Jorma Karvonen.
Fixes #7347. Thanks.

Additionally: single function for About alert added - replaces the triplication of 
the same text in original code.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:32:12 +00:00
Siarzhuk Zharski
80cdaa81fd Partially applying localization patch prepared by Jorma Karvonen.
Fixes #7350. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:25:29 +00:00
Alexander von Gluck IV
a0a9cb5c21 remove right-click menu in InterfaceView; add FrameResized hook to invalidate to correct tearing right status text; Add heal button to renegotiate interface address.. this also balances the buttons on the bottom.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 22:20:23 +00:00
Alexander von Gluck IV
b4725a13b7 fix another possible passing of unsigned int into a function requiring a signed int, CID 10665
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 21:44:36 +00:00
Stefano Ceccherini
cb90adfacd Partly revert the previous commit: don't reset ffd in the destructor since
it's useless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 10:59:52 +00:00
Stefano Ceccherini
aac111dc76 Initialize ffd to -1 in the constructor otherwise many checks may fail
afterwards, and BJoystick won't work.
Also reset it to -1 in the destructor for symmetry.
Found by Carwyn Jones. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 08:21:44 +00:00
Clemens Zeidler
0a3b9e75e0 Fix spelling. Thanks Marcus.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:58:55 +00:00
Clemens Zeidler
00413d511c Fix default "check interval" and "show status window" values.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:47:49 +00:00
Clemens Zeidler
7f10625e83 Add provider info for yahoo.com.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:29:47 +00:00
Clemens Zeidler
c3a1b99caf Fix gcc2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 07:27:51 +00:00
Clemens Zeidler
6467e4b16d Fix reading of compressed strings. This fixes #7266. Some clean up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 06:25:57 +00:00
Clemens Zeidler
8b254785bb The IDLE watching command is supposed to timeout after 29 min if nothing happens. Add an mechanism to not treat this timeout as an
error.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-10 01:31:33 +00:00
Clemens Zeidler
7aafe6e5e7 There could more then one message fetch failing, count them to notify the listener.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:22:36 +00:00
Clemens Zeidler
f686f2f564 Cleanup the ongoing commands when disconnect otherwise we wait for them forever the next time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 22:18:27 +00:00
Jonas Sundström
212e4c4243 Jamfile changes to make <build>mimeset pick up headers/build/os/storage/AppFileInfo.h rather than the one in /boot/develop/headers on a BeOS-compatible host. This enables use of BAppFileInfo::Get/SetCatalogEntry() in <build>mimeset. Thanks Ingo!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-09 13:18:34 +00:00
Jérôme Duval
e680f0fa21 rename the printf function in the compat layer to avoid symbol clash with kernel printf (at least on gcc4)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 23:11:48 +00:00
Alexander von Gluck IV
eadb4f9f20 improve tracing in freebsd_network compat library, better log spam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 22:38:16 +00:00
Stephan Aßmus
1d1031cf27 Duh, of course fStyle can be NULL in SetStyle(), which is for example
called from the constructors...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:47:57 +00:00
Stephan Aßmus
663738e98e The whole file assumes fStyle cannot be NULL, and it can't be NULL unless there is
no default font at all, in which case we have more serious worries. CID 1559.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:36:35 +00:00
Stephan Aßmus
87911f6c6e fClippingRegion cannot be NULL at this point (or at least is not supposed to be). CID 3167.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:26:17 +00:00
Stephan Aßmus
a498a54794 Don't hide the dragMessage parameter (which was unused). CID 5333.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 21:04:29 +00:00
Stephan Aßmus
de68adf69b Secure coding, sprintf->snprintf. CID 6321.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:59:00 +00:00
Clemens Zeidler
3e3735a84c Add some error checks. Fix memory leak in mx record list. Remove debug translation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:56:37 +00:00
Stephan Aßmus
f1aceeca70 Initialize hash_link. I don't think it could be used uninitialized, but it never hurts...
CID 9468.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:55:01 +00:00
Stephan Aßmus
54fff0c456 Fixed resource leak in error code path. CID 5888.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:48:09 +00:00
Stephan Aßmus
feacc2de79 Patch by starsseed from ticket #7341: Use correct format strings
in sprintf() invokations, specifically to avoid reading more
bytes than are contained in the passed arguments. Thanks! Small
cleanups of the touced code by myself included.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 20:23:03 +00:00
Axel Dörfler
7b2d26701f * Fixed style violations introduced with the previous patch, and a few more
that were already present.
* Removed one more case of excessive translating that I missed before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 17:47:58 +00:00
Axel Dörfler
15301dc49b * Applied patch by Karvjorm that localizes Sudoku - thanks!
* I removed translating the debug output, though. Style fixes come in the next
  commit with the hope for improvement in future patches.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 17:40:58 +00:00
Alexander von Gluck IV
160de9e03d overzealous close bracket, thanks Oliver for catching it!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:51:29 +00:00
Philippe Houdoin
26b61bd984 Clean wrong spacing, as spotted by Jerome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 16:17:22 +00:00
Philippe Houdoin
0ceae11007 Remove leftovers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:49:31 +00:00
Alexander von Gluck IV
3cd1b88812 fix possible passing of signed int to function that only receives unsigned ints, CID 3491
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:42 +00:00
Philippe Houdoin
9f76097f9e Add WebP write support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:27:33 +00:00
Philippe Houdoin
463c0d1e8d Upgrade to latest libwebp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:26:16 +00:00
Alexander von Gluck IV
d4167620d8 quick bit of style cleanup, no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 15:22:46 +00:00
Clemens Zeidler
548402bb7c Close the status window again when an error occurred durring a message fetch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 03:09:41 +00:00
Philippe Saint-Pierre
c45c76e658 DeskCalc
Move the Invalidate() call introduced in r40863. It is now in FrameResized().

This now seems to fix #7010 for good.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-08 01:50:25 +00:00
Philippe Saint-Pierre
13b4be3fb2 DeskCalc:
Invalidate the CalcView after changing the Show Keypad option, to force to redraw the keypad.

Fixes ticket #7010.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 23:33:08 +00:00
Philippe Saint-Pierre
d8e2b9fea6 dstcheck:
* Make alerts closeable using escape

fixes ticket #6902.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 23:01:45 +00:00
Philippe Saint-Pierre
95780b6475 Allow DiskUsage to be used as a Tracker add-on again.
Fixes #7343.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 19:13:21 +00:00
Jonas Sundström
82e7ef6709 Add app filename localization catalog entry support to BAppFileInfo, registrar and mimeset. Need help to understand why the build-version of UpdateMimeInfoThread.cpp does not compile with the added code, currently commented out. Sorry about the arbitrary B_MIME_TYPE_LENGTH*3. Advice and review welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 15:14:46 +00:00
Philippe Houdoin
b70b735dca Fix error message formating.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 14:25:32 +00:00
Alexander von Gluck IV
b09a1ac2bd small fix for multiple addons, need to track tabs for each add-on as well as overall number of tabs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-07 03:17:21 +00:00
Alexander von Gluck IV
df3ba0993e fix static message names to remove abbreviation; add secondary click menu to InterfacesListView; make interface icon adjustable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 23:10:56 +00:00
Alexander von Gluck IV
28ff2040e9 myself and #c++ think this really doesn\'t do anything good, removing to ensure the Beceem Wimax driver compiles under gcc2... also removes a warning on gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 21:33:57 +00:00
Jonas Sundström
cb9c3e9ced Support added to the resource compiler and resource definition files (.rdef) for application name catalog reference. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 19:04:59 +00:00
Alexander von Gluck IV
17202e2f0f add newlines after case breaks to enhance readability
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:30:16 +00:00
Alexander von Gluck IV
4b7b79d52f fix a few missed style corrections in BeceemCPU; style cleanup in BeceemDDR; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 18:26:19 +00:00
Fredrik Holmqvist
1687edd0fd Final set of style cleanup patches by John Scipione as part of #7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:57:59 +00:00
Joachim Seemer
044f12ae62 Localization of screensavers. Fixes #7326.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 16:42:58 +00:00
Fredrik Holmqvist
1ad8c760ed More style cleanup patches from John Scipione as part of #7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 15:57:48 +00:00
Alexander von Gluck IV
e0728fa558 BeceemCPU style cleanup, little functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 15:54:37 +00:00
Philippe Saint-Pierre
d020e3568f Screenshot
* Fix violations to coding guidelines
 * Error checks on the received entry_refs
 * Typo in comment

Thanks Axel!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 14:14:37 +00:00
Jérôme Duval
0f4ab8dfd3 Comparing with i915 DRM:
* add a INTEL_TYPE_915M type to be used by 0x2592 (mobile version)
* 0x2e32 is actually non mobile, added its brothers 0x2e02, 0x2e12, 0x2e22, 0x2e42, 0x2e92
* 0x27a2 is actually mobile.
* added 0x2972, 0x2982, 0x2992 for INTEL_TYPE_965 type, and 0x2a12 for INTEL_TYPE_965M.
* added corresponding entries in intel_gart.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 11:57:20 +00:00
Stephan Aßmus
670fbd136a Typo fixed and debug left-over removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 10:34:16 +00:00
Stephan Aßmus
45739d5d4b * Added creation of default indices, as are currently present on regular Haiku
volumes. I've decided not to put this into InstallerInitScript, as I reckon
   the script is to customize the installation process more than to be a critical
   part of the process.
 * Make mirroring the existing indices onto the target volume ignore more errors.
This should be the final fix for ticket #7320.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 10:25:25 +00:00
Clemens Zeidler
13ee057787 Fix spelling, thanks Jérôme!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:41:11 +00:00
Jérôme Duval
0961433d2a Patch from diver (bug #7329) with cleanup by myself: remove excessive localization
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 09:33:39 +00:00
Clemens Zeidler
f5a2f7b79d Set progress after the body has been fetched. This fixes #7255.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:49:00 +00:00
Clemens Zeidler
8c018efae7 Add some check if we are still connected.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:42:20 +00:00
Clemens Zeidler
faad334022 Fix endless loop when try to logout and the connection is already lost.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-06 07:36:45 +00:00
Philippe Saint-Pierre
c6d2f9af2c Screenshot
* Consider the message that the FilePanel returns and add the path to the output destination MenuField.

Ticket #6886


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 22:13:12 +00:00
Stephan Aßmus
df4e063a13 Of course I did not get this right on first try... the targetDevice
was taken from sourceDirectory, and fs_read_index_dir does not set
errno when returning NULL (i.e. no more index entry), which resulted
in the logic to think an error happened, but it only carried over from
fs_create_index() when the index already existed. I think lsindex
needs to be fixed as well, since it checks errno after
fs_read_index_dir(). In case fs_read_index_dir() is supposed to set
errno, it should reset it internally before it's possible to encounter
any error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 17:37:24 +00:00
Jérôme Duval
8775d8d25d dir_remove() now handles a path which ends with "/./" and fixed #6817.
Another way would be to disallow removing such a path, as Linux does.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 17:17:19 +00:00
Fredrik Holmqvist
1075cc34a0 Missed these as part of r40817. Style cleanup by John Scipione from bug 7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:33:57 +00:00
Fredrik Holmqvist
c562239723 Even more style clean up patches by John Scipione from bug 7052.
(I modified BeMenu.h to have consistent style for pointer variables.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:22:42 +00:00
Stephan Aßmus
a2dc49b516 * Mirror all the indices from the source volume to the target volume.
Note that it would have been an option to invoke mkindex, which has
   a similar mirroring option, in the InstallerInitScript, but I favor
   making Installer depend on as few external tools as possible.
 * Very small cleanup in _PerformInstall(). It should be broken up more
   into individual methods.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 16:14:52 +00:00
Fredrik Holmqvist
4ec67d2b37 Patches from John Scipione as part of bug 7052.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 15:52:49 +00:00
Fredrik Holmqvist
62a78b3566 Style cleanup patches by John Scipione from bug 7052. (Modified header to have consistent style).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 15:40:24 +00:00
Jonas Sundström
4d15b48647 Reordering for readability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 12:11:45 +00:00
Clemens Zeidler
4e401f8153 Fix crash when opening a new mail. Thanks Jonas.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-05 00:18:25 +00:00
Jonas Sundström
cd7548f537 Some apps get the name lookup attribute.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 22:34:20 +00:00
Clemens Zeidler
c8057498b3 One more sanity check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 21:31:11 +00:00
Jonas Sundström
fca835f134 Style fixes. Thanks, Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 18:42:48 +00:00
Axel Dörfler
65763c9728 * Fit image to the view bounds again after a rotation (it's quite annoying when
you suddenly only see part of the image). This could be improved by only doing
  so if the image was fit before, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 18:04:10 +00:00
Joachim Seemer
d4f58f5cf9 Added DateTimeView.cpp to Jamfile to DoCatalogs. Thanks diver for pointing that out in #7278.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 14:34:01 +00:00
Jonas Sundström
ec3ead230b Style fixes. Doxygen comment. Use standard strchr function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 11:11:03 +00:00
Ryan Leavengood
8a99b1dc31 Apply patch from stimut to avoid a C++ exception in the JPEGTranslator.
Should fix the remaining issue on #6975.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-04 03:21:53 +00:00
Clemens Zeidler
b5d2724841 Add a safety check. Should helps with #7266.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 21:44:46 +00:00
Clemens Zeidler
b0acdd1578 Remove some code that pretty much looks like some legacy code to add additional attributes to a running system.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 21:42:29 +00:00
Jonas Sundström
f5c0a9970a Support for showing localized app entries in Deskbar. Just the app entries so far, and not yet the items in the leaf menu. Please review.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 20:58:58 +00:00
Clemens Zeidler
2e1acbe269 Re-add Mail support declaration for mails again, thanks Stippi.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 20:10:40 +00:00
Clemens Zeidler
443561c08d Add another mime type file for partial downloaded messages. Clean up a bit, could somebody check if this is all right?
Removed the partial downloaded bitmap icon since I was unable to load a bitmap it in the mime type file. I'm using the new mail icon now. Could somebody create a partial vector icon?



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 19:58:09 +00:00
Philippe Houdoin
7703b15314 Those should have been part of r40791. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 14:07:57 +00:00
Philippe Houdoin
662c94f6c4 Reorganized to follow libwebp source layout.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 13:27:41 +00:00
Clemens Zeidler
b8d2bbd616 - Partial downloaded messages are now opened by Mail and not by the mail daemon. Mail request the body fetch and get notified when the daemon is done. During this time the Mail window title is showing "Downloading: subject". This fixes #7256.
- Some cleanup in Mail.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 09:05:04 +00:00
Oliver Tappe
e8226ce48d * fix support for influencing tzset() via TZ environment variable
(now at least <std> and <offset> are supported properly)
* instead of creating a TimeZone object whenever needed, we now
  create it in tzset() and keep it around
* add tests for TZ to locale_test

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-03 00:34:51 +00:00
Jérôme Duval
548836e4f8 * if ioctl hook wasn't found, now returns B_DEV_INVALID_IOCTL
* in case fd_ioctl() was about to return B_DEV_INVALID_IOCTL, translate to ENOTTY to satisfy #7279.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:58:14 +00:00
Jérôme Duval
e523d3cfc1 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:49:02 +00:00
Jérôme Duval
f53ec236e2 changed ioctl hook return code when the opcode isn't supported.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 18:24:19 +00:00
Philippe Houdoin
552c44608f Change a bit the tooltip text, per Axel suggestion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 17:37:02 +00:00
Philippe Houdoin
a559946f03 Use string_for_size() to format and localize sizes in a consistent way.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 16:08:24 +00:00
Philippe Houdoin
d25cab17b0 * Check data size before trying to translate it into a picture image
* Remove leftover debug traces


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:28:09 +00:00
Siarzhuk Zharski
8b921e3650 - Localization of the global popup menu name is removed as invidible to the end-user;
- In consistency with other applications, following units were replaced: MB -> MiB, KB -> KiB;
Pointed out by Jean-Loic Charroud. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 15:08:26 +00:00
Philippe Houdoin
372bd6a113 Use be_control_look to draw the progressbar. The previously hardcoded one was
following the BeOS look, not our.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 11:17:19 +00:00
Philippe Houdoin
e5dca0c2c0 * Scale down a bit the picture view, now using the same ration than
official (passport, ID card) photos
* Add a tooltip to give user some hints on the picture "field"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 09:54:30 +00:00
Philippe Saint-Pierre
471b5ec496 DiskUsage :
* Reduce the height of the StatusView. It was way taller than necessary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-02 00:22:24 +00:00
Alexander von Gluck IV
c0467a9613 fix two missed style issues in switch, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:27:28 +00:00
Alexander von Gluck IV
f7008de829 change to kMsg style BMessage; introduce a new BMessage for listitem click events so I can implement a BPopUpMenu; style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 22:21:21 +00:00
David McPaul
0df942b65c Use multiplication instead of shifts and adds. Include SSSE3 routine
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 21:32:01 +00:00
Jonas Sundström
146d274d81 Return of the on-stack buffer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 20:24:04 +00:00
Alexander von Gluck IV
ea76002c38 style cleanup; fixed missing break on i2c disable check... it looks as though i2c was always enabled, even on chips where it was known to be broken. Lets hope this fixes a radeon graphics bug. CID 3234
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 19:26:35 +00:00
Alexander von Gluck IV
f02c85adba Fix non-static, non-initialized member fProcessID CID 9946; Remove non-used fLockFlag, set un-initilized fSavedAttr member, CID 9945; fixed a few extra spaces
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 18:42:18 +00:00
Alexander von Gluck IV
1c9368988e remove a double free of fOurInfo. CID 10563
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 18:00:28 +00:00
Jonas Sundström
a29fb9388d Rename and a small simplification. Thanks, Clemens and Ingo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 08:26:00 +00:00
Clemens Zeidler
8e4e1a2880 Reset status view when fetch failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-01 03:19:15 +00:00
Clemens Zeidler
8209ab9c98 Hopefully handle cases when the connection to the server is lost. This should trigger a reconnect.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 23:16:57 +00:00
Clemens Zeidler
fecd4735be The read-next button was not working in a tracker query window because the message was marked as read too early. In this case the
mail left the unread query and the next message can't be retrieved from tracker.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 23:13:09 +00:00
Siarzhuk Zharski
0a1ce0a8a4 Localized some still missed strings pointed out by Diver. Thanks!
Use more safe snprintf calls instead of sprintf ones.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:59:23 +00:00
Fredrik Holmqvist
57a096382a Starting to apply style cleanup patches by John Scipione from bug 7052.
This will force me to practice our code style.
(As a sidenote, we are aware of the no of patches in the bug). 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:27:29 +00:00
Clemens Zeidler
c38ff3e36c Remove unused files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 21:26:23 +00:00
Philippe Houdoin
f22fe14c4c * Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
  to be itself such target (copying a person picture to another one),
  though.
* Remember the source type and MIME and use them to save the picture in same
  format when possible.
* Avoid flickering when only focus is changing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 19:37:16 +00:00
Joachim Seemer
860c710dca Unlocalized playlist settings file of MediaPlayer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 18:36:07 +00:00
Joachim Seemer
3a0dfaf3f2 Patch by taos to un-localize CharacterMap's settings. Thanks. Fixes #7303.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 17:26:33 +00:00
Clemens Zeidler
78e0108c39 google expunge all deleted flagged messages automatically but some server keep them and EXPUNGE has to be executed explicit. Add the infrastructure for expunge but don't use it for now. The problem is that with each expunge all messages are deleted and calling expunge each time when a mail is deleted would delete messages in a virtual trash folder on other clients. Have to think about how to deal with it first. So it might be that you delete a message and the message will be downloaded again when you sync the next time (but the message is flagged as deleted).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 08:27:23 +00:00
Clemens Zeidler
093a895c3f Very bad idea to not add kDeleted flagged mails to the message list since the position in the list is used as a message id. The result was that the server synced the wrong messages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-28 06:44:37 +00:00
Siarzhuk Zharski
3bd9bbd5d4 I suspect, that the "application/" prefix is not required here.
I remember there was a ticket about the localization problem in one of 
this components. I'll look for it tomorrow and close them all. If I'll find them.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 22:44:21 +00:00
Siarzhuk Zharski
c4489236c7 Additional and hopefully final fix for #7281 "Shutdown is not localized".
PS: Yes, I'm not brave enough to change the character case in the signature for 
one of the most significant servers in the system ;-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 22:38:02 +00:00
Clemens Zeidler
0a0ce30e65 Quitting the mail window should result in a normal attribute update so remove the custom status string from the quit message. Cleanup. Fix #7290.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 19:57:31 +00:00
Clemens Zeidler
179d0b37ee Don't alter custom status attribute. Part of #7290.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 19:53:40 +00:00
Alexander von Gluck IV
1b2142ff26 ignore loopback interface as we will not be configuring that one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 17:26:28 +00:00
Alexander von Gluck IV
7ab22792c7 make network settings window save button send save call to all add-ons; set interface address via BNetworkInterface; still have work to do.. but we can apply ipv4/ipv6 ip/netmask changes to the interfaces now!!!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 16:58:09 +00:00
Jonas Sundström
3838fb9359 Using the buffer of the string instead of one on the stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 15:19:54 +00:00
Siarzhuk Zharski
551c9f15a4 Localization-related fixes:
- unify the character case of the same looking strings;
- removed excessive translation for strings unvisible for end users;
- beginning spaces are handled outside of B_TRANSLATE;
- meaningful captions for warning Alerts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 12:03:27 +00:00
Siarzhuk Zharski
0e7ade19b4 Looks like any \-shadowed characters in comment string of
the B_TRANSLATE_WITH_COMMENT macro are misinterpreted by our
localization routines. I fix this one, because it provocate
permanent fingerprint check failure during catkeys link procedure.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 11:19:50 +00:00
Siarzhuk Zharski
aef9025a8f Using of B_UTF8_ELLIPSIS in B_TRANSLATE_WITH_COMMENT should be avoided,
looks like it make troubles in looking for the translated lines at run-time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 10:22:53 +00:00
Jonas Sundström
c9e27adabf Cleanup. Efficiency makerover.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 09:25:26 +00:00
Jonas Sundström
10444a4364 CID 8952 STRING_OVERFLOW
CID 6753 SECURE_CODING
CID 3299 MISSING_BREAK

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 06:16:30 +00:00
Jonas Sundström
19b0b28182 Crediting also myself and Patrik Gissberg for translation to Swedish.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-27 03:08:27 +00:00
Siarzhuk Zharski
e6b48d2c0f Fix the crash during priority menu building - use the snprintf instead of sprintf.
The buffer 32 + 20 bytes become too small for localized strings - increase it too. 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 23:10:20 +00:00
Siarzhuk Zharski
53e3cc5227 Some buffers become too small for localized strings. Pointed out by Diver. Thanks.
Fixes #6664 and #6591.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 22:04:38 +00:00
Philippe Houdoin
fede04962c Remove "priority" from the mask to allow free localization.
--This line, and those below, 
will be ignored--

M    processcontroller/PriorityMenu.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 20:06:24 +00:00
Jérôme Duval
57ceeee424 copy sig_action structure from the current thread if we're the same team. Helps with #7235
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 15:26:47 +00:00
Joachim Seemer
9717d515fd More localization for Time preflet, with a patch by taos. Thanks! Fixes #7278.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 12:45:45 +00:00
Jérôme Duval
fa90700d74 reverted r40686
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 10:45:03 +00:00
Stephan Aßmus
7d805b2d52 * Fixed unlocking the window before suspending the
tracker task thread, which got broken/removed in r40226.
 * Also fixed a race condition that the previous code
   had, which is that after unlocking the window, the task
   thread could be interrupted, the window could theoretically
   go away and the view be destroyed before the thread continues,
   but we still access/dereference the BView pointer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 09:56:48 +00:00
Jonas Sundström
c91c2de735 Printf-like assignment method for BString.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 07:26:19 +00:00
Jonas Sundström
9f0f6fcd99 Fix mixed up button labels.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 05:57:46 +00:00
Jonas Sundström
0805772b3f Use the correct ICU country code for the Swedish flag resource.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 04:26:54 +00:00
Philippe Houdoin
3d1ed0fb56 Fix ShowImage crash when image loading fail: we don't have a CacheEntry then, but still
should notify our listener (of the error, in such case).
Closes #6842.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 01:37:44 +00:00
Philippe Houdoin
30a498f4a6 Localized priority submenu.
Closes #7283.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-26 00:10:36 +00:00
Siarzhuk Zharski
435b323040 - Finnish localization updated from HTA in request from Jorma Karvonen;
- InfoWin.cpp forgotten to be added into DoCatalogs in r40688 added with this.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 23:05:54 +00:00
Siarzhuk Zharski
2ee8f3f65f Bunch of localization fixes pointed out by Diver. Thanks!
Notes:
- FileTypes: The "Same as" button label separated to two entities in dependency of 
             context: "Same Type as ..." and "Same Application as ...";
- Tracker:   The sentences like "If you do %action [...]. To do %action [...]"
             now use separately translated verbs for so called
             "ifYouDoAction" and "toDoAction";
- NetworkStatus: NetworkStatusView _ShowConfiguration is fixed back after previous
			 attempt to localize it in r37337: useless code bloating purged out,
             broken quasi-header "ifaceName information:" pulled back from Hell;
- StyledEdit: Menu item "Can't undo" had different casing in some situation. Looks
             like HTA cannot detect such situation, so right lines "Can't undo"
             were masked by wrong one "Can't Undo" and this line stay untranslated
             for most time.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 22:18:31 +00:00
Alex Wilson
c97121d35b Remove the realtime stuff from the media preflet, as these controls actually have no effect whatsoever. Also remove the message to restart the media server after default audio/video inputs or outputs are changed, as these changes take effect immediately. fixes #6012
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 22:09:05 +00:00
Jérôme Duval
3116b031dc FIONBIO and FIONREAD don't apply to directories, files, attributes: returns ENOTTY in these cases. This fixes #7279.
ENOTTY could also be replaced with a B_ error code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 19:58:25 +00:00
Alex Wilson
0611a317da Fix graphical erros in Tracker's status window by truncating the destination path as needed. (Fixes #5914). Also remove fallback drawing code for when be_control_look is NULL, as that shouldn't be the case ever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 19:28:27 +00:00
Philippe Houdoin
55535ac178 Adapt after IconUtils.h being made public header.
Forgot to add PictureView.cpp to localization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:47:16 +00:00
Philippe Houdoin
589d9759a4 Since _SetToRet() check previous value of fRef, an sane initial value must be
set at construction.
Closes #7264.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:45:43 +00:00
Philippe Houdoin
ea56573776 Localized Shutdown process.
Closes #7281.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 13:16:04 +00:00
Stephan Aßmus
4153964a10 Moved IconUtils.h to Interface Kit and therefor made it an "official" header. Since the class has no
virtual but only static methods, it is not so likely that binary compatibility issues may arrise
from using it in new apps. Adjusted all the Jamfiles that included the private libicon headers. Note
that it was never necessary to link against libicon.a, since it's part of libbe anyway. There was one
instance where that was done. Hopefully it does not break the build, but I did this change a while ago,
tested it and then the harddrive began failing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 09:12:38 +00:00
Stephan Aßmus
ed95053221 Applied patch by John Scipione that adds the scale2x algorithm to BIconUtils
and uses it when old B_CMAP8 icons are to be upscaled exactly 2x. Looks much
better than the previous blurry bilinear scaling. Small cleanups by myself,
closes #7130, thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 08:34:18 +00:00
Jonas Sundström
70da0d8639 CID 6331, 6333, 6334, 6335 SECURE_CODING
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 06:43:39 +00:00
Philippe Saint-Pierre
85b2f68b69 Fix build on gcc2.
(Note, I honestly have no idea what was initially wrong with the code; everything seamt right to me..)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-25 01:49:26 +00:00
Jérôme Duval
3a04b74922 Don't dereference thread after free(). Thanks to Stephan for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 22:53:01 +00:00
Siarzhuk Zharski
1e61f4b782 Still unlocalized strings in Process Controller, Devices and Touchpad preferences
are localized. Pointed out by Diver. Thanks.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 19:03:47 +00:00
Philippe Houdoin
8cf55acfff When update the original image, we can't set it directly as its address has changed,
and _SetPicture() will then delete it behind our back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:52:07 +00:00
Philippe Houdoin
433dc78379 As spotted by Stephan, pulled out items enabling/disabling of the if block,
as menu items must be updated even when the focus is not a text view!
Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:23:46 +00:00
Philippe Houdoin
e23bbaff47 Factorize a bit more.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 18:14:08 +00:00
Philippe Houdoin
bb0416a246 * PictureView is now keyboard navigable
* Alpha transparency of image is now respected
* Add a popup menu to load an image or remove the current one.
* The current picture can also be removed by pressing Delete key
* ... or by dragging the image to desktop's Trash


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:48:21 +00:00
Philippe Houdoin
b2435cc021 Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:40:26 +00:00
Jérôme Duval
70e1a40a1d replaced use of malloc.h with stdlib.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-02-24 17:33:12 +00:00