Commit Graph

45348 Commits

Author SHA1 Message Date
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
John Scipione
9bc3b671fb Fix a bug involving the Vulcan Death Grip closing the wrong app
If you have expander turned on with expanded apps and you quickly remove teams with the VDG
you can remove a team not under your mouse pointer, instead you remote the team above. This
is because the window watcher thread hasn't updated yet so the TeamItemAtPoint() method
reads a window menu item instead of the team item. The solution is to lock the window
watcher thread and explicitly remove the window menu items in RemoveTeam().

This bug can be really bad if you accidentially VDG Tracker as your system gets hosed until
you restart Tracker or reboot.
2013-04-06 22:12:46 -04:00
Rene Gollent
e257ac49cb Add human-readable formatting for area protection/locking flags. 2013-04-06 20:38:04 -04:00
John Scipione
ab3c19541d Move B_COLOR_WHICH_COUNT to private ServerReadOnlyMemory header.
This means the B_COLOR_WHICH_COUNT goes from being a public constant to a
private one. It sill looks like a public constant starting with a B_ though.
I hope that's not a big deal. Too bad we can't get the count of an enum.
2013-04-06 17:13:36 -04:00
Stefano Ceccherini
cb5f68f44c Don't open a socket, since we don't use it.
Also removed fSocket from the class.
2013-04-06 19:36:52 +02:00
Jerome Duval
0837d6c650 GCC4 cross tools: builds with ppl and cloog when --use-gcc-graphite is given 2013-04-06 14:32:12 +02:00
Jerome Duval
ed38d2efcc Forgot to add the usage for --use-gcc-graphite 2013-04-06 14:07:24 +02:00
Jerome Duval
748c10f222 Added a configure option to activate Graphite compilations flags
* check if GCC actually supports Graphite flags when the option
  --use-gcc-graphite is used
2013-04-06 13:58:46 +02:00
Niels Sascha Reedijk
f18ed048c2 Update translations from Pootle 2013-04-06 06:27:13 +02:00
John Scipione
3302521556 Remove dependence on color constants in ServerReadOnlyMemory.
This fixes a maintainance problem where you have to update this otherwise
unrelated file to keep it in sync whenever you add a color constant.

I've added a B_COLOR_WHICH_COUNT constant to the color_which enum which should
be updated to point to the newest color constants as new ones are added. I
reworked ServerReadOnlyMemory to use this constant instead of using to the
current largest color constant directly. If you use B_COLOR_WHICH_COUNT to
refer to a color in your code expect to get unpredictable and nonsensical
results. Most likely you'll get an undefined result which will return black
but don't depend on it.

The net effect of this is that ServerReadOnlyMemory doesn't need to be updated
anymore when new color constants are introduced but will continue to produce
correct results.

Eliminate kNumColors constant, replace it with B_COLOR_WHICH_COUNT
2013-04-05 22:46:22 -04:00
John Scipione
9f24981a56 Add B_SCROLL_BAR_THUMB_COLOR constant.
This allows you to change the scrollbar thumb color in Appearance preferences.
The default color is 216, 216, 216 so the scroll bar thumb looks the same by
default. Perhaps someday this can be updated to something a bit more colorful.
2013-04-05 19:26:41 -04:00
Rene Gollent
631624fb01 Dump semaphore information in reports.
Implements final part of #9510.
2013-04-05 09:43:22 -04:00
Rene Gollent
81ccf71fa2 Fix x86-64 build. 2013-04-05 09:42:56 -04:00
Rene Gollent
dbf6921a9f Extend DebuggerInterface for semaphore information retrieval. 2013-04-05 09:34:01 -04:00