Commit Graph

39430 Commits

Author SHA1 Message Date
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
Jonas Sundström
3291a30df3 Create parent folders, if missing. More robust.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-07 10:21:32 +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
Matt Madia
04b7a7e27b Updated to mention the USPTO registration of the HAIKU logo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:36:20 +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
917235a8b6 add some needed generic radeonhd registers, added Xorg copyright as I am taking a lot of their register definitions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 17:20:05 +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
Matt Madia
00a625f4b8 Revert APR and APR-Util to pre-r41106 builds, until the issue reported in #7412
can be fixed properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41168 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-03 00:11:21 +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
Joachim Seemer
274bc74366 Updated Norwegian catkeys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41160 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-04-01 15:07:00 +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