Commit Graph

33992 Commits

Author SHA1 Message Date
Philippe Houdoin
e65843e8c9 Revert files that were commit by mistake in previous commit. Sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:56:02 +00:00
Philippe Houdoin
9ff5266f3a Avoid deadlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:52:16 +00:00
Philippe Houdoin
302a7082ba Quit AutoconfigLooper when switching to static configuration.
Before, DHCP will still run after a link down & up event, which could 
leads to break the user-defined static configuration.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 01:02:02 +00:00
Philippe Houdoin
84fdf2c3ca Made _AddressToString() static methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-23 00:48:11 +00:00
Philippe Houdoin
03f6ab7fd1 Add dhcp_message::FindOption(), to retrieve a specific option.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 21:52:15 +00:00
Philippe Houdoin
6d5ad15714 Check node monitoring messages to handle them only when it make sense.
Before, the "interfaces" settings file creation/removal notification was 
leading to a attempt to configure/remove an interface named 
"/boot/common/settings/network/interfaces"!
Could help fixing issue #7475.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 21:33:43 +00:00
Philippe Houdoin
d09c1f8e8d Made message retransmission delay +1/-1 randomized as required per RFC2131
spec (see paragraph 4.1)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 20:45:34 +00:00
Clemens Zeidler
eb32094b24 Fix wrong debug output and disable it, might help with #7448.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-22 06:53:40 +00:00
Philippe Houdoin
ec2878c3cf Patch by SHINTA: add MediaPlayer cover image/artwork support.
This implemented #7430 enhancement.
Arigato gozaimasu!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-20 17:58:07 +00:00
Jérôme Duval
bf3381e771 activate some traces for EHCI bus driver (see bug #4718)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 21:25:00 +00:00
Siarzhuk Zharski
dfd93e239f Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 20:11:41 +00:00
Siarzhuk Zharski
d0c2d8e437 Keymap for Kazakh language. Made by Baurzhan Muftakhidinov. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 20:09:59 +00:00
Philippe Houdoin
6e5af4cdc4 Check a menu item is actually marked, just to be safe.
Remove leftover commented code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 10:03:02 +00:00
Philippe Houdoin
8859d46e56 Patch by Sean "jalopeura" Healy: save and restore account and encoding of draft mails.
This fix #4789. Thanks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-19 09:38:37 +00:00
Jonas Sundström
73f124eb41 Add highlighting of apps that will not quit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-18 23:44:20 +00:00
Axel Dörfler
18ebc7918d * Temporary commit to be able to test new focus behaviour, see #7280.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-18 20:15:46 +00:00
Jonas Sundström
e1b526b95a Code style correction by Barret, ticket #7453. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-18 11:27:43 +00:00
Stephan Aßmus
22c7e6324c Implemented loading a new icon into the same window when that
window is empty.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-17 19:21:09 +00:00
Stephan Aßmus
5a6d9c8288 Rotating path indices is implemented since some time...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-17 19:20:25 +00:00
Axel Dörfler
81e0b76f43 * Applied patch by idefix that improves the integration with Linux, and let
bfs_fuse act as a mount helper. This closes ticket #7433. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-15 21:10:40 +00:00
Alex Wilson
e3919359d6 Update OpenGL preferences to accommodate for the fact that empty columns in a BGridLayout are now collapsed to nothingness. Fixes part of #7446.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-15 18:44:34 +00:00
Alex Wilson
5e5a8daf68 Update CollapsingLayouter to fix crashes in a few applications. All these crashes were related to empty layouts. Fixes some of #7446
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-15 18:35:26 +00:00
Jonas Sundström
4d9ffa5ff9 Set view non-editable. (The cursor would show up and blink if one clicked the text view.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-15 00:01:56 +00:00
Jonas Sundström
e724a832b9 Remove ellipsis, used wrong.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:51:38 +00:00
Jonas Sundström
22e0bde18b Change strings to sentence casing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:45:53 +00:00
Alex Wilson
de667551ce Add a new layouter 'CollapsingLayouter', which is used by BTwoDimensionalLayout to collapse empty rows or columns. Update BGridLayout so that empty rows/columns are given min/max constraints of B_SIZE_UNSET by default, which allows them to be collapsed. Fixes #6979
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:20:27 +00:00
Jérôme Duval
745e924303 we don't report stats for now, as some init is missing for ratectl, this should avoid KDL for these drivers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 23:00:33 +00:00
Jonas Sundström
95bd470555 Show localized app names. Show reboot count-down in bold type. Layout changes to support multiline strings, and for this purpose adding a BTextView derivate which enforces its height. (I did look at BTextView itself, but it wasn't obvious to me how approach it.) Making use of the IconView class.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 17:48:52 +00:00
Jonas Sundström
eb88c867c1 Move the info button's general informative text to the main view, and set as intro screen. Remove About window. Fix memory leak of config views. Replace the info BAlert's tab characters with a single space for more consistent spacing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-14 11:08:13 +00:00
Jonas Sundström
9b4ad591d8 Make IconView icon_size:able. Adapt DataTranslations. Disable DataTranslation's info button on list deselection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-13 22:56:10 +00:00
Jérôme Duval
2c31ec7222 added some glue to register correctly rate control modules
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-13 18:27:36 +00:00
Jonas Sundström
73f559a4c7 Move IconView from kits/interface to kits/shared.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-13 08:22:03 +00:00
Matt Madia
3c613df4ef Updated (R) to be B_UTF8_.* Added (TM) as well. thanks phoudoin!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-13 00:34:28 +00:00
Jonas Sundström
4b42867495 Make DataTranslations' IconView available privately in the interface kit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-12 20:38:09 +00:00
Jonas Sundström
924253e4ff Localization. Cleanup.
CID 6338, 6339, 8912 - Replace strcpy with strlcpy.
CID 9523 - Initialize class member.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-12 18:31:07 +00:00
Matt Madia
cfbbba0820 Another update relating to the USPTO registration of the HAIKU logo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 23:55:01 +00:00
Jérôme Duval
8dc03de632 merged changes from 8.2 FreeBSD release for most wlan drivers and net80211.
updated several firmwares for iprowifi4965 and iprowifi3945. Tested on iprowifi4965 only.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 22:48:42 +00:00
Jonas Sundström
fcde0c6292 Cleanup. Removal of superfluous UpdateList() call.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 16:55:56 +00:00
Jonas Sundström
4787e491e6 Add a Quit button to the Team Monitor.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 15:22:40 +00:00
Jonas Sundström
1c09002cbe Set the exclusive launch flag on servers, daemons, Tracker and Deskbar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-11 12:23:51 +00:00
Stephan Aßmus
e6da4edf67 Update window title with file name when it is known.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-10 22:53:38 +00:00
Stephan Aßmus
61ee19d10f * A whole buch of refactoring and other changes to make Icon-O-Matic
a multi-document application. This is already more useful than
   before, but will be even more useful once it is possible to copy
   more types of objects to the system clipboard and paste them into
   other open icons.
 * Fixed wrong snapping menu item being marked when restoring settings
   that enable a different snapping mode from the default.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-10 22:32:51 +00:00
Joachim Seemer
a4cf8811e5 Aligned strings and sliders by pushing them a few pixels here and there. But really, the whole app is in need of proper layouting using the layout API...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-09 12:34:32 +00:00
Joachim Seemer
fe02d18b1d Renamed a few strings as discussed in #7327 by applying xray's patch with a few additions. Closing #7327.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-09 12:21:04 +00:00
Stephan Aßmus
e9e50497fc Don't prevent shapes from being rendered when the global
icon scale is larger than the maximum visibility scale of
4.0f. This just means you cannot prevent shapes from
rendering in icons rendered larger than 256x256.
visibility scale is 4.0


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 18:34:11 +00:00
Jonas Sundström
805cd0be8c Make cut/copy/paste/undo work.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 18:21:14 +00:00
Alexander von Gluck IV
f63f06d62e add InterfaceHardwareView which will show more general hardware information and give somewhere to configure wireless connection settings; add a few hardware calls to NetworkSettings, maybe we just want to pass back BNetworkDevice instead?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 18:04:34 +00:00
Alexander von Gluck IV
008779b3b4 added tool tips to IP address fields, BTRANSLATE comes later
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 17:46:23 +00:00
Stephan Aßmus
94fd94986a * The window uses layout management in principle. This was necessary
to get the main menu bar to report the correct minimum size. My
   previous commit with regards to setting the correct minimum window
   size introduced a regression that the window could not shrink below
   it's initial size because of some backwards compatibility behavior
   of BMenuBar (IIRC).
 * Inserted a content view to hold the tool bar and the show image
   views. This one does not use layout management, so that everything
   pretty much works as before.
 * Showing/Hiding the tool bar is now animated.
 * When the tool bar is enabled in principle, it will automatically
   show in full screen mode when the user moves the mouse. When the
   mouse is not above the tool bar, it is hidden after a delay.
 * Added a right-aligned "Leave full screen" icon to the tool bar.
 * Improved the workings of the slide show icon. As before, it automatically
   triggers full screen mode. It is now pressed when the slide show is
   running. Clicking it again just stops the slide show without affecting
   the full screen mode (i.e. also not when the user left full screen mode
   meanwhile).

There are some problems with images not being automatically sized to
the full screen size as would be expected. This needs to be fixed, yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 15:08:33 +00:00
Stephan Aßmus
e1ae00a962 Added icon for leaving full screen mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 15:00:25 +00:00
Stephan Aßmus
11b2388364 * Added AddGlue() method. If this is not used, the tool bar
will stretch the icons across the available space. However,
   it's possible to still add items afterwards, which makes those
   items right-aligned.
 * Added SetActionVisible() to show or hide icons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 14:59:54 +00:00
Stephan Aßmus
9b13c4181c Compute window size limits at least with the minimum menu bar
and tool bar width taken into account.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 12:21:53 +00:00
Stephan Aßmus
65b917918b Decreased the unused spacing in the tool bar.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 12:08:39 +00:00
Jonas Sundström
5987b2a380 Offer a 'Real name' column in Tracker list view mode, when set to show localized names. As discussed a while back. I honestly don't know if this is such a great idea after all. Name + real name is kind of silly. Ideally it would be labeled in a more logical way, or the feature should be dropped.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-08 05:11:23 +00:00
Jérôme Duval
d7b15506c1 * improves traces
* added _ProbeCommitFormat() and _SelectBestAlternate()
* to be noticed: BUSBInterface::SetAlternate() isn't const and there is no mean to get a non-const BUSBInterface.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 21:54:25 +00:00
Jérôme Duval
c5a669052f * style fixes.
* added SuggestVideoFrame() so that this can be overriden.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:59:30 +00:00
Jérôme Duval
d7411ad2ec added traces for unimplemented isochronous transfers for ehci and ohci
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 20:39:17 +00:00
Joachim Seemer
73c8170c25 Using DefaultItemSpacing() and DefaultLabelSpacing() as suggested by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 16:37:05 +00:00
Jonas Sundström
3252a2a09d Remove old debugging output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 12:09:57 +00:00
Clemens Zeidler
9b35c5d38d - Generate helper events for ALPS touchpads. This is needed for tap drag and edge motion. This emulates the synaptics touchpad somehow. For example, we need more events to decide if a tap is a
simple click or becomes a tap drag. ALPS does not send these events.
- Enable ALPS.
- Force const edge motion speed. Synaptics sends events with a certain frequency ALPS don't. Even worse ALPS stops sending events durring a edge motion when you don't move your finger. Current 
speed is 200 pixel/s. In theory synaptics has different event frequency modes which would result in a different edge motion speed in the previous approach. Please check if synaptics works/speed is correct. Will try to get a synaptics laptop for testing...
- fix class variable names.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-06 22:14:27 +00:00
Clemens Zeidler
a16bab72a7 Initialize the synaptics cookie again. Not sure but maybe this fixes a crash on startup (if there is an interrupt before the ring buffer is created...).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-06 19:59:10 +00:00
Stephan Aßmus
871620540d Follow up commit on r41184, which removed the Edit->Clear menu item.
I suppose it was discussed on the i18n list as mentioned in that
commit. However two things, Humdinger: 1) You did not test your commit,
and 2) You did incomplete cleanup. If you had removed the member variable
from the StyledEditWindow header, you would have gotten at least a
compile error. Those things being said, I did not test my changes
either... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-06 08:47:48 +00:00
Axel Dörfler
0da447f917 * There is no good reason to use a tiny font size here that doesn't even render
as well with our default font.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-05 22:11:57 +00:00
Joachim Seemer
9f1c3cfece Added a bit of space in front of the 'seconds' string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-05 17:37:56 +00:00
Joachim Seemer
329daa448d Changed a few strings as discussed on the i18n mailing list. Added localization of license descriptions in AboutSystem.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 17:36:39 +00:00
Stephan Aßmus
73b0cf2c46 Removed dead code (CID 2858).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 15:47:16 +00:00
Stephan Aßmus
1c3b1649cd Fixed buffer overrun, CID 4338.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 15:36:23 +00:00
Stephan Aßmus
9705667601 * Created separate PNG exporters for 16x16, 32x32 and 64x64 sizes.
* When exporting for the first time, use the native saver's file
   name to initialize the file panel save text.
 * Don't shadow exportMode variable.
 * Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:39:25 +00:00
Stephan Aßmus
aedb8a1c34 * Small cleanups.
* Do not implement backbuffering. Besides being inefficient on Haiku it solves
   the grey area on start up.
 * Reimplement scrolling and layouting the canvas. The mouse cursor is now the
   anchor when scrolling with the mouse wheel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:37:33 +00:00
Stephan Aßmus
59383a8c46 * Exposed ValidScrollOffsetFor() as public method.
* Make validating the scroll offset in SetDataRect() optional.
 * Introduced SetDataRectAndScrollOffset() to set both atomically.
   This avoids some unwanted feedback when having to set them
   both anyway, but hook methods are called and re-enter back into
   the client code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:25:07 +00:00
Stephan Aßmus
e62d9c79e1 * Inherit from SimpleFileSaver, which enables the logic in
the application to set the file panel save text to the previous
   ref name.
 * Wait for the export thread to finish writing the file before
   trying to set the icon attribute. Usually it never worked when
   saving a file for the first time, since the file did not yet
   exist.
 * Report errors to std::err.
 * Code style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:21:43 +00:00
Stephan Aßmus
1c4001e299 * Code style cleanup.
* Make WaitForExportThread() available.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:19:48 +00:00
Stephan Aßmus
1f3678c179 * Don't return the export thread id as error code in Export().
* Added WaitForExportThread() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 09:18:27 +00:00
Jonas Sundström
04a59db1ff Add function to update fingerprints. May come in handy some day.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-04 02:21:31 +00:00
Alexander von Gluck IV
08e39e82f7 add new Write/Read PLL calls to AtomBios callbacks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:26:02 +00:00
Alexander von Gluck IV
fde69f1647 stub out Read/Write MC, add functional Read/Write PLL
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:21:01 +00:00
Alexander von Gluck IV
4ef919830e clean up superfluous parenthesis and add parenthesis to construct as per axel; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 16:02:54 +00:00
Jonas Sundström
a1b4aa7b94 Show localized names in Deskbar's Recent applications menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 06:33:01 +00:00
Oliver Tappe
2a06b5bdba Closing #6721: avoid unescaping when linking catalogs together
* add SetRawString() to both implementations of DefaultCatalog which sets
  the translated string as given
* use SetRawString() in both (standard- and build-)versions of linkcatkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-02 13:37:59 +00:00
Alexander von Gluck IV
017d6353fb fix missed incorrect tab spacing; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-02 04:31:00 +00:00
Alexander von Gluck IV
2617169152 simple space style cleanup; fix case of bool; no functional change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-02 04:29:19 +00:00
Alexander von Gluck IV
1927d0ab3e add basic register read/write to AtomBIOS callbacks
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 21:01:11 +00:00
Jonas Sundström
8afad97685 Unburying the bug of ticket #6721.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 20:25:25 +00:00
Brecht Machiels
8e9e1577cc * added notify headers to the ACPI header (from actypes.h)
* adjusted acpi_battery accordingly



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 20:14:01 +00:00
Axel Dörfler
70e2a184d2 * Followed korli's suggestion and use the existing BDate API instead, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41161 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 15:51:08 +00:00
Jonas Sundström
1ea9f437ea Fix for #7372. Don't use an uninitialized buffer. Some BString replacement of C strings. Replace Mail's ReadAttrString() function with the BNode method. Define a B_MAIL_ATTR_BCC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 06:18:49 +00:00
Jonas Sundström
6f4b593285 Workaround for ticket #6721 by using %b (line break) instead of \n for newline. (I looked into the string escaping issue in the locale kit and it appears to work as expected, so I don't know.) Simplification of some code. Addition of a default reply preamble. The name variable now results in just the name. Removal of commented out First/Last name variables, as the order of these is culture-dependent. Insert at point of selection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 02:07:48 +00:00
Jérôme Duval
0e76cf0b69 added some hub ports information to listusb
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 21:58:06 +00:00
Axel Dörfler
12d7d464bc * Fixed "Month +/-" not working on the 31th.
* Renamed _UpdateUI() to _UpdateDate().
* Added copyright year when Karsten wrote that code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 21:53:36 +00:00
Axel Dörfler
c8b618048e * The last month was computed by setting a possibly invalid date (ie. the
February only has 28 to 29 days, so setting the current day may fail).
* This caused bug #7421.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 21:35:53 +00:00
Brecht Machiels
3e59de2e62 Disabled overlay for the IGD series.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 18:09:55 +00:00
Stephan Aßmus
3587919e02 Fixed possible dead-lock. The export thread invokes fDocument->CommandStack()->Save();
which triggers MainWindow::ObjectChanged() and locked the window, this could
happen at a time where the application already has the MainWindow locked in _Open(),
and tries to execute fDocument->MakeEmpty(), which in turn waits for the export
thread to finish.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 14:43:09 +00:00
Stephan Aßmus
c9c3e1ab81 Removed some dead and broken code for setting a document icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 11:45:25 +00:00
Stephan Aßmus
d19e434d9c Style cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 11:43:14 +00:00
Stephan Aßmus
cf4224b6da Use layout aware BMenuBars and do not shrink the
left side of the interface below the menu bars
minimum width. Resolves cut off strings with
localization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 10:10:59 +00:00
Jonas Sundström
edb7106763 Localization of the most user-visible folders. Ignoring subfolders of common/, system/ and home/config/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 07:31:56 +00:00
Jonas Sundström
28373dd18a Remove superfluous function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 07:17:05 +00:00
Clemens Zeidler
08444962ae Interpret a year like 10 as 2010 and not as 1910 if the now time is near 2010. Add test case for that.
Should fix #7257.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 04:55:08 +00:00
Clemens Zeidler
5a44e07cca Patch taos fixes #7413 thanks! Updates the provider info readme and fix yahoo settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-31 04:07:35 +00:00
Michael Lotz
8c28e64bcd Check some of the previously unchecked error cases when loading firmware. This
makes it abort earlier when no firmware files are available. Note that this
worked some time ago and seems to be an edge case triggering an issue in the
slab allocator. Freeing the buffer (possibly allocated with an invalid size)
in the error case triggered the assert in #6679. That should probably be looked
at, but meanwhile this should close #6679.
Note also that looking for firmware is deliberatly done only at open() time,
since the configured operational mode determines the firmware to be used and
having the firmware loaded later makes the mode easily changeable at runtime.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-03-30 21:30:28 +00:00
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