Commit Graph

45361 Commits

Author SHA1 Message Date
Jerome Duval
341c03f988 GCC4 cross tools: a static libGMP requires linking with the host libstdc++ 2013-04-10 23:25:39 +02:00
John Scipione
b76cec7d9c Pass a pointer to the TBarView object into the ExpandoMenuBar constructor
I fear that perhaps the fBarView variable may be accessed before it has a
chance to be set in AttachedToWindow(). By setting it in the constructor there
is no chance of this. Might fix #9656
2013-04-10 15:23:17 -04:00
Jerome Duval
e0d1980015 GCC4 cross tools: build libGMP before PPL and CLooG
* libGMP is actually a CLooG dependency, we now build it before CLooG
and tell to GCC where to find it when Graphite build is activated.
2013-04-10 18:47:01 +02:00
John Scipione
429ae1b151 A few more style fixes to ListView and ColorSet, thanks Axel 2013-04-09 19:24:51 -04:00
Rene Gollent
26f129eff2 Fix #9649.
- Fix regression introduced in hrev45462: BUnicodeChar::FromUTF8 was no
longer advancing the passed in string pointer, resulting in endless
loops in functions relying on that behavior such as the locale kit's
CoerceFormatTo*() functions.
2013-04-09 18:21:56 -04:00
Pawel Dziepak
5b4fb267ad textencoding: add CP-1250 encoding 2013-04-09 23:39:10 +02:00
Jerome Duval
024f78deeb GCC4 cross tools: disable "maintainer mode" on PPL configure.
* PPL: make could run autoconf in certain conditions, thus generating artefacts
in the source tree. Added --disable-maintainer-mode when launching
configure to avoid this situation.
* cleanup: there are no info files in CLooG and PPL.
2013-04-09 21:55:06 +02:00
John Scipione
1af184248a Pass the B_FILTER_BITMAP_BILINEAR for scaling backgrounds
Fixes #6536
2013-04-09 03:38:01 -04:00
John Scipione
7e702e5226 Covert Tracker Find window to use ControlLook arrows
Also fix a few style issues and make the MiniMenu control have a nice keyboard
focus border.
2013-04-09 02:58:58 -04:00
John Scipione
d45ea79290 One more style fix that I missed 2013-04-09 00:20:46 -04:00
John Scipione
63f3755c5f Many style fixes to ListView 2013-04-09 00:17:37 -04:00
John Scipione
29ceb649f8 Style fixes to ListView 2013-04-08 23:49:57 -04:00
John Scipione
135f35e5c7 SetColor and redraw listitems on revert. Fixes #9640
Finally the point of these commits, to fix this bug.
2013-04-08 23:13:34 -04:00
John Scipione
0112415f3b Reverse loop variable avoidance 2013-04-08 23:13:33 -04:00
John Scipione
eba68f6124 Update header and other style fixes 2013-04-08 23:13:32 -04:00
John Scipione
034643d4ca Reorder Revert to order of tabs, same as Defaults action 2013-04-08 23:12:48 -04:00
John Scipione
7ef12e5cad Eliminated _UpdateControls(), some style fixes 2013-04-08 23:11:42 -04:00
John Scipione
4600a90cd0 Pointer style fixes 2013-04-08 23:11:41 -04:00
John Scipione
aff2fb8750 Loop count premature optimization 2013-04-08 23:11:39 -04:00
John Scipione
3e30da293d Stylish style fixes for ColorSet 2013-04-08 23:11:39 -04:00
Pawel Dziepak
968cf7c83d nfs4: make sure retry delay won't get out of bigtime_t range 2013-04-09 03:40:54 +02:00
Pawel Dziepak
75ff6e996f nfs4: silent "suggest parentheses" GCC warning 2013-04-09 03:31:19 +02:00
Pawel Dziepak
6f840fdf69 Merge branch 'nfs4' 2013-04-09 03:15:11 +02:00
Pawel Dziepak
9ac4430cd6 nfs4: fix incrementing owner sequence id in some cases
If in a compound request an error occurs before the operation that takes
sequence id is executed (e.g. OPEN or LOCK) do not increment sequence id
regardless of the error code.
2013-04-09 03:13:59 +02:00
Pawel Dziepak
fa1ca5e20c nfs4: use exponential backoff when the server ask to wait 2013-04-09 01:55:23 +02:00
Alexander von Gluck IV
876e5db83d usb_asix: add a few missing device usb id's
* Taken from the Linux asix driver
* Untested, but same chipset so they
  *should* work.
2013-04-08 18:19:12 -05:00
John Scipione
2b8d413116 Remove dead code 2013-04-07 14:54:06 -04:00
John Scipione
86c4eae3ce Also nullify other saved items on delete 2013-04-07 14:46:24 -04:00
John Scipione
1dccb7aaaf Don't call DrawExpanderArrow() directly, set a variable and Invalidate() 2013-04-07 14:46:23 -04:00
Siarzhuk Zharski
3d1492487d Fix support of East Asian Full Width characters
* Re-enable full-width characters detection and display;
* Fix cursor drawing on full-width characters;
* Fix debug dump for multi-byte characters;
* Fix file permissions for debug capture log.

Fixes #6717. Also may improve behaviour related to #6227.
2013-04-07 20:18:21 +02:00
Siarzhuk Zharski
b6fd91b409 Switch BUnicodeChar to wrap the ICU's UChar32 one
Improve the unicode character processing and classifying routines by
wrapping up the UChar32 procedures from ICU. That fixes functional
regression introduced in hrev38017 and allows to fix East Asian Width
problems int the Temrinal.
2013-04-07 20:14:37 +02:00
Siarzhuk Zharski
4e17bdd83f Fix CID991252: Possible NULL dereference on scheme name
The color scheme name pointer is dereferenced but was not checked for
NULL value.
2013-04-07 19:47:51 +02:00
Siarzhuk Zharski
b249a7ce43 Fix CID991683: Uninitalized scalar field
fOldTitleUSerDefined was (surprice-surprice!) not defined.
2013-04-07 19:47:39 +02:00
Siarzhuk Zharski
34a1a44dad Fix CID609944: Uninitialized scalar field
Default constructor for UTF8Char has not initialize it's data.
2013-04-07 19:46:57 +02:00
Siarzhuk Zharski
0d75239fb7 Fix CID991133: Same if expression was duplicated 2013-04-07 19:46:12 +02:00
Siarzhuk Zharski
4755a0794e Fix CID992335,CID992334: Check FindRef/String returns
Satisfy Coverity by checking return values of FindRef and FindString
calls for fSavedMessage.

Resolves CID992335 and CID992334.
2013-04-07 19:46:00 +02:00
John Scipione
9f2cce2faa Eliminate repeating CountItems() loop premature micro-optimization
Loop backwards if possible, if not, set a variable and use that instead.
There were a couple of instances where the loop style got changed from
    for (int32 i = CountItems(); --i >= 0;)
to
    for (int32 i = CountItems() - 1; i >= 0; i--) {
but should be functionally equivalent.
2013-04-07 13:01:29 -04:00
Alexander von Gluck IV
7cb974614f NetworkSetup: Use std max vs max_c 2013-04-07 11:16:24 -05:00
John Scipione
17c9912b90 Another tweak, make the left diagonal arrows flush left.
This moves the left up and left down arrows 1px to the left so that they are
flush with the left side of the container they're drawn in.
2013-04-07 11:40:22 -04:00
John Scipione
348cd0c5de Tweak the diagonal arrows so they are square 2013-04-07 04:03:00 -04:00
John Scipione
e6b6af80bd Fix a crash bug I introduced to Deskbar last commit
Need to set fLastClickedItem to NULL so it doesn't point to a deleted item.
Sorry about that.
2013-04-07 03:29:11 -04:00
John Scipione
5b0fd10d23 Animate the expander arrow
On MouseDown draw a diagonal arrow, on MouseUp complete the animation and
expand. If you hold down the button it will stay diagonal until you MouseUp
and either return to normal or animate and expand if over the arrow.

Reformatted ExpandoMenuBar.h and TeamMenuItem.h
Renamed fLastClickItem to fLastClickedItem
Added a DrawExpanderArrow() method
Renamed private InitData() method to _InitData() and moved it to the bottom
2013-04-07 03:02:05 -04:00
John Scipione
1b41173c8a Add diagonal arrows to ControlLook DrawArrowShape() method 2013-04-07 03:02:01 -04:00
John Scipione
c6b72ad6e4 Tiny style fix, thanks Axel 2013-04-07 03:02:00 -04:00
Alexander von Gluck IV
2895c48c12 NetworkSetup: Add stats and wifi network name
* Add ability for fSettings to pass on network
  stats
* Show KB Sent / Received for interface
* Drop the wireless / wired tab name.
  (we are going to need another tab for wifi)
* Add wifi network name to connection field
  if interface is wifi.
2013-04-07 06:44:37 +00:00
Alexander von Gluck IV
960bf9918b NetworkSetup: Cleanup headers; No functional change 2013-04-07 05:41:04 +00:00
Alexander von Gluck IV
93708c3da3 NetworkSetup: Spelling: Wirless -> Wireless 2013-04-07 05:16:50 +00:00
Alexander von Gluck IV
04b7652fea NetworkSetup: Build fix. max vs max_c
* max can only be used in C apps.
  C++ apps use max_c
2013-04-07 05:15:22 +00:00
John Scipione
542de916c4 Add and use an _Init() method for BarTeamInfo 2013-04-06 22:45:33 -04:00
John Scipione
de49a051ea Update expander arrows to point right or down (if expanded)
... like BeOS R5. I looked in the commmit logs for this one and there wasn't really any
explination for why this got changed, so, I'm changing it back to the way it was in R5 which
is right arrow for unexpanded, down arrow for expanded. Please yell at me if this change
was intentional.
2013-04-06 22:12:47 -04:00