Commit Graph

45503 Commits

Author SHA1 Message Date
Rene Gollent
3f7664ad1c Revert part of previous commit.
The aforementioned ReleaseReference() exposes what appears to be a somewhat
more severe issue, leading us to a deadlock. Need to rethink this a bit.
2013-04-15 21:10:44 -04:00
Rene Gollent
00d0a0eae3 Fix reference count problem as suggested by Ingo.
During DefaultNotificationService's constructor, we get registered
with the NotificationManager, which acquires a reference. When
uninitializing the module we need to release this reference before
calling the destructor in order to balance the books, as it were.
2013-04-15 20:54:31 -04:00
Pawel Dziepak
9f3bd49737 runtime_loader: explicitly randomize rld_heap and _rld_debug_ positions 2013-04-16 02:44:47 +02:00
Pawel Dziepak
db1ca60528 runtime_loader: randomize position of runtime_loader
* make runtime_loader a dynammically linked object
 * add kernel support for loading user images that need to be relocated
 * load runtime_loader at random address
2013-04-16 02:29:05 +02:00
Rene Gollent
001d65dba7 Disable broken hardware cursor accelerant hooks. 2013-04-15 18:07:01 -04:00
Rene Gollent
38cb1c9196 Improve debug output. 2013-04-15 18:06:01 -04:00
Rene Gollent
59a998dc1d Fix userland build with tracing enabled. 2013-04-15 18:05:35 -04:00
Axel Doerfler
c946981296 This should get the DEBUG=1 build further than the net.
* We need to start with a zero reference count, and we also don't want to
  be deleted by that mechanism.
* Note, I could not test the changes yet.
2013-04-15 20:26:09 +02:00
Jessica Hamilton
c61ed599d4 Fixes #9673 2013-04-14 20:38:02 -05:00
Rene Gollent
1fd93573e6 Fix incorrect type. 2013-04-14 20:30:34 -04:00
Rene Gollent
58a2847a12 Improve debug output.
Should make it easier to determine the exact reason the debugger
call is triggered.
2013-04-14 18:44:54 -04:00
Rene Gollent
eab9d5b444 Fix reference leak. 2013-04-14 18:44:54 -04:00
Rene Gollent
57245d2b73 Slight cosmetic adjustment.
If the current node is an address type and has as its only child an array type,
use the same approach we do for pointers to objects and hide the intermediate
dereference.
2013-04-14 18:44:53 -04:00
Rene Gollent
3fe982232b Fix array typecasting.
Since a C/C++ array is essentially pointer math, the derived type
needs to take this into account, otherwise the array indices wind
up being based off the address of the variable itself rather than
the array it points to.
2013-04-14 18:44:52 -04:00
Rene Gollent
d12519423f Adjust CreateDerivedArrayType to also take the lower bound.
Since valid array bounds vary by language, this needs to be passed
in by the source language creating the derived type. Adjust callers
accordingly.
2013-04-14 18:44:51 -04:00
Alexander von Gluck IV
88e9c0961a libnetwork: Check for ipv4 flag in resolv.conf
* Add option for forced IPv4 resolution.
* Helps with #8293
* Very slightly modified patch by donn
2013-04-14 17:03:32 -05:00
David Höppner
8bf3802f53 Fix #9671: sysinfo misses some extended features 2013-04-14 16:23:31 -05:00
Siarzhuk Zharski
4a65972ac4 Fix GCC2 build. Thanks to John for the warning. 2013-04-14 22:48:33 +02:00
Siarzhuk Zharski
a6ea4a194f Fix "Error opening terminal:xterm-256color" issue (#9636)
Looks like switching to declare "xterm-256color" terminal emulation was
made a bit early: there are lot of servers that still do not know about
this terminal. As was discussed in #9636 the only acceptable way is to
switch back to "xterm" and adjust corresponding entry in our local
termcap database to support 256 colors. So this changeset:

* Declare emulated terminal as "xterm";
* Change the colors and color pairs of "xterm" termcap entry to support
  256 colors;

Workarounds the #9636. Should be upgraded to "xterm-256color" some time
in the future.
2013-04-14 21:39:19 +02:00
Siarzhuk Zharski
f8668ab42f Improve File Encoding StatusView cell. (Fixes #9653)
* Encoding cell of the StyledEdit StatusView is visible now only in case
  the currently opened file encoding is not equal to default UTF-8 one;
* The Encodings menu that was opened by click on this cell is removed;
* Cmd-Opt-PgDn/PgUp shortcuts are added for quick iteration through the
  list of encodings.
2013-04-14 21:39:16 +02:00
Siarzhuk Zharski
1f8d927251 Make Windows-1250 encoding consistent with other
In sake of consistency with other Windows CP encodings:
* print_name is expanded to "Windows Central European (CP 1250)";
* B_MS_WINDOWS_1250_CONVERSION id looks like should be added into UTF8.h;
* mime_name set to NULL as other windows codepages have. That prevents
  at least from duplicating too much 1250's in the Terminal, Mail and
  StyledEdit encodings menus.
2013-04-14 21:39:13 +02:00
John Scipione
d52ffca978 If above the scroll limit, scroll to limit.
This case happens when you are scrolled to the end of the list and
you do an action that causes the view to shrink but not enough for
the scroll arrows to be detached such as remove a team or unexpand
an application. Before it would keep you where you were showing an
extra grey area, now it scrolls you back to the new scroll limit.
2013-04-14 14:53:58 -04:00
John Scipione
753d86ac84 Need to SaveExpandedState() before rebuilding items.
Also, if mini-mode we can skip updating the view because it doesn't get drawn
until you click the TeamMenu expander.
2013-04-14 14:05:29 -04:00
John Scipione
f2e15d076c Need to remove items after Subscribe() 2013-04-14 13:39:55 -04:00
John Scipione
d6d8b95a6d Set the TeamMenuItems to a more reasonable width in mini mode 2013-04-14 13:28:08 -04:00
John Scipione
0af37cd3bc NULL check 2013-04-14 13:26:23 -04:00
John Scipione
004175c0d9 Eliminate unused DrawBackground method and restyle header 2013-04-14 13:26:00 -04:00
John Scipione
0969e20ee1 Refactor ExpandoMenuBar::BuildItems a bit 2013-04-14 13:25:09 -04:00
John Scipione
01f35d103f Style fixes to TeamMenu 2013-04-14 13:24:32 -04:00
John Scipione
8f0935ac21 Whoops, hide if minimode 2013-04-14 12:20:22 -04:00
Matt Madia
b2c9c184b5 Added GitHub as a possible source search location. Fixes #9623. 2013-04-14 08:40:10 -04:00
John Scipione
a5172b4415 Fix bug where application menu items were wrong size
...in horizontal mode, also make CheckItemSizes more efficient
2013-04-14 02:49:37 -04:00
John Scipione
251ece3c74 Style fixes in BarView.h 2013-04-14 02:49:37 -04:00
John Scipione
777fffe8f7 Build the fBarMenu object in the BarView constructor
... then resize it and move it to the desired size and location on update.

* Create an fBarApp pointer and use it, this is easier than having to keep casting to TBarApp.
2013-04-14 02:49:37 -04:00
John Scipione
541decfaab Remove this code from FullState. Use default sMinimumWindowWidth 2013-04-14 02:49:36 -04:00
John Scipione
4ae3e5421d Fix a bug where the Deskbar menu was incorrectly sized in horizontal mode
Actually, the Deskbar menu was sized correctly but the separator item was not,
so, I've replaced the separator item with a new TSeparatorItem class that is derived
from BSeparatorItem but does it's own drawing. This neatly avoids the bug since
the TSeperatorItem doesn't need to be resized explicitly.

Also, there were some instances of AddSeperatorItem (with an e) that I renamed to
AddSeparatorItem (with an a). I also eliminated includes in the header which means
I added them in some cpp files where they were needed.
2013-04-14 02:49:36 -04:00
John Scipione
e83b2f0b9c Create a SetMaxItemWidth() method and set it in horizontal mode on update 2013-04-14 02:49:35 -04:00
John Scipione
03f7c11ece Rename SetWidthHeight to SetContentSize 2013-04-14 02:49:35 -04:00
John Scipione
bec7990562 Remove yet another unneeded include 2013-04-14 02:49:34 -04:00
John Scipione
5d6f247bb3 Reverse loop to eliminate checking count each iteration 2013-04-14 02:49:34 -04:00
John Scipione
9439677a9c Check if icon size is the same, if so, don't resize 2013-04-14 02:49:34 -04:00
John Scipione
ee78e4de9f Convert state variable from a uint32 to an int32 2013-04-14 02:49:32 -04:00
John Scipione
2de4b0463f Remove unneeded includes from BarView 2013-04-14 02:49:30 -04:00
John Scipione
b54536b20d Don't need to check if Lock() succeeded here, I don't anywhere else. 2013-04-14 02:49:30 -04:00
John Scipione
fe624b3937 Style fixes only
Most indentation and newlines with a few comment updates
2013-04-14 02:49:29 -04:00
John Scipione
10a5b6946c Remove unneeded includes 2013-04-14 02:49:29 -04:00
Alexander von Gluck IV
1f4fe8a48a MusicCollection: Fix build
* Include Debug.h for printf
2013-04-14 06:00:53 +00:00
Rene Gollent
f21f5c7cee Fix build. 2013-04-13 17:46:48 -04:00
Rene Gollent
692d2db52a Notify user if the we fail to parse the type. 2013-04-13 17:25:52 -04:00
Rene Gollent
8598af7ec9 Rework parsing a bit to handle some cases better.
Disable array parsing for now until creating array types works correctly.
2013-04-13 17:25:51 -04:00