39273 Commits

Author SHA1 Message Date
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
hrev41200
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
hrev41199
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
hrev41198
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
hrev41197
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
hrev41196
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
hrev41195
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
hrev41194
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
hrev41193
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
hrev41192
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
hrev41191
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
hrev41190
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
hrev41189
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
hrev41187
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
hrev41186
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
hrev41185
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
hrev41184
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
hrev41183
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
hrev41182
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
hrev41181
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
hrev41180
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
hrev41179
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
hrev41178
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
hrev41177
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
hrev41176
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
hrev41175
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
hrev41174
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
hrev41173
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
hrev41172
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
hrev41171
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
hrev41170
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
hrev41169
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
hrev41168
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
hrev41167
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
hrev41166
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
hrev41165
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
hrev41164
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
hrev41163
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
hrev41162
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
hrev41161
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
hrev41160
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
hrev41159
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
hrev41158
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
hrev41157
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
hrev41156
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
hrev41155
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
hrev41154
2011-03-31 18:09:55 +00:00
Joachim Seemer
6cbd97b79d Updated Swedish catkeys.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41153 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev41153
2011-03-31 17:59:21 +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
hrev41152
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
hrev41151
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
hrev41150
2011-03-31 11:43:14 +00:00