Commit Graph

45611 Commits

Author SHA1 Message Date
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
Stefano Ceccherini
501201761b In case the BMenu is inside a BMenuField, override the items width to
span over the BMenuField's width. Note that if the BMenu is already
wider, we don't shrink it, at least for now.
Fixes #5015.
2013-04-13 10:31:20 +02:00
Niels Sascha Reedijk
c57854947d Update translations from Pootle 2013-04-13 06:27:53 +02:00
Rene Gollent
2dc96a685d Add support for specifying array delimiters.
- Extend CppLanguage::ParseTypeExpression() to also grok array
specifiers. This theoretically lets one now typecast to array types
as well as pointer types, though things don't entirely work as expected
yet.
2013-04-12 23:35:42 -04:00
Rene Gollent
d18be78af7 Implement DwarfType::CreateDerivedArrayType().
Will be used for array typecasting.
2013-04-12 23:35:41 -04:00
Rene Gollent
8db1d0fc06 Add function for creating derived array types. 2013-04-12 23:28:49 -04:00
Rene Gollent
b607f92d4e Improve tracing. 2013-04-12 23:28:48 -04:00
Rene Gollent
2298b5fc23 Resolve TODO.
- Added GetSystemInfo() to DebuggerInterface. Use that from
  DebugReportGenerator instead of calling get_system_info()/utsname()
  directly since otherwise we'd get the information for the wrong system
  in the eventual case when we have remote debugging support.
2013-04-12 23:28:48 -04:00
Rene Gollent
5a1b505fa1 Add model class for representing system information. 2013-04-12 23:28:47 -04:00
Rene Gollent
d04cbc3f3c Add missing const. 2013-04-12 23:28:46 -04:00
Stefano Ceccherini
3ef837fd40 If a submenu was opened, the parent menu tracking loop would continue calling
_HitTestItems() even if the user didn't move the mouse.
2013-04-12 23:07:47 +02:00
Rene Gollent
a53db18937 Fix #9663.
When clearing the filter state, don't disable filtering entirely if we
have a ref filter present. Otherwise, it won't be invoked again
until the next time a typeahead filter is engaged.
2013-04-12 00:05:27 -04:00
Rene Gollent
04b78a402d Fix #9659.
BUnicodeChar::ToUTF8() had the same regression as ::FromUTF8() as far as
not advancing the input string pointer, which broke building
case-insensitive queries.
2013-04-11 18:03:56 -04:00
Siarzhuk Zharski
07d1d01afc Fix resize freeze on full-width chars in Terminal history
In the Terminal data model every full width character occupies two cells
in the data buffers. The second cell of such characters is not drawn and
used mainly to differentiate between full width and half width
characters.
Proposed fix zeroes the attributes of the second cell in the
HistoryBuffer::GetTerminalLineAt() that prevents the potential endless
loops in the BasicTerminalBuffer::_ResizeRedraw(). Those loops were
result of the random attributes in full width character's second cells.
2013-04-11 22:23:22 +02:00
Jérôme Duval
7e1f963596 style clean up 2013-04-11 18:09:35 +02:00
Jérôme Duval
575cfdf28a GCC4 cross tools: fixes the build with --use-gcc-graphite on another machine
* libsupc++ wasn't required, the build failed on x86_64.
* PPL: --disable-maintainer-mode configure option seems not enough to avoid an autoconf launch.
Solved by redefined AUTOCONF AUTOHEADER ACLOCAL AUTOMAKE variables to the noop command "true".
2013-04-11 17:57:42 +02:00
Pawel Dziepak
cf35dcc5bc vm: make aslr use more secure PRNG 2013-04-11 17:16:49 +02:00
Pawel Dziepak
d0a8e6ef2b vm: remove unused static function log2() 2013-04-11 12:32:32 +02:00
Pawel Dziepak
87d1bdb87c util: add secure pseudorandom number generator 2013-04-11 12:31:58 +02:00
Pawel Dziepak
69042ecd1b util: style fixes 2013-04-11 12:15:47 +02:00
Pawel Dziepak
d9fa99bb60 scheduler: let schedulers use kernel utils for random numbers 2013-04-11 04:37:23 +02:00
Pawel Dziepak
b56330de8e nfs4: let nfs4 use kernel utils for random numbers 2013-04-11 04:35:11 +02:00
Pawel Dziepak
5c455f803f vm: let aslr use kernel utils for random numbers 2013-04-11 04:35:11 +02:00
Pawel Dziepak
6003243ef3 util: introduce kernel utils for pseudorandom number generation
Currently there are two generators. The fast one is the same one the scheduler
is using. The standard one is the same algorithm libroot's rand() uses. Should
there be a need for more cryptographically PRNG MD4 or MD5 might be a good
candidates.
2013-04-11 04:34:59 +02:00
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
Pawel Dziepak
feae2b5a00 vm: force userland to use B_RANDOMIZED_* address specifications 2013-04-09 23:25:19 +02:00
Pawel Dziepak
bf65fc1dfe vm: remove B_RANDOMIZED_IMAGE_ADDRESS address specification
This address specification is actually not needed since PIC images can be
located anywhere. Only their size is restriced but that is the compiler and
linker concern. Thanks to Alex Smith for pointing that out.
2013-04-09 22:09:13 +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