Commit Graph

45961 Commits

Author SHA1 Message Date
John Scipione
0184cbec0a Eliminate variable, set directly 2013-04-27 19:40:34 -04:00
John Scipione
f7467fd1ff Set the PaneSwitch arrow rect based on the be_plain_font size 2013-04-27 19:40:32 -04:00
John Scipione
bedc69662e Put checkboxes under query box in more options 2013-04-27 19:40:31 -04:00
John Scipione
d3277fa8e7 Tweak the latch position 2013-04-27 19:40:28 -04:00
John Scipione
e8a78127bd Sentence case Recent queries, clip count from 0 to 10 2013-04-27 19:40:26 -04:00
John Scipione
1db0bf0058 Make the logic menu fields non-navigatable, tab order 2013-04-27 19:40:25 -04:00
John Scipione
16c46df9b1 Remove dead code, de-indent comment 2013-04-27 19:40:24 -04:00
John Scipione
c65c2a54bd Rename add and remove to add button and remove button 2013-04-27 19:40:22 -04:00
John Scipione
c00d064252 Right align Add and Remove buttons 2013-04-27 19:40:21 -04:00
John Scipione
56fe9fad23 Refactor attaching FindPanel to FindWindow 2013-04-27 19:40:19 -04:00
John Scipione
8e8b861c83 Set the initial rect to 0 and center the window on screen 2013-04-27 19:40:18 -04:00
John Scipione
a12df99d53 Use font relative spacing units 2013-04-27 19:40:15 -04:00
John Scipione
1b98948370 Style fixes 2013-04-27 19:40:13 -04:00
Jessica Hamilton
21fd5809a7 Update Tracker's Find Panel to use the Layout API.
Signed-off-by: John Scipione <jscipione@gmail.com>
2013-04-27 19:34:17 -04:00
Rene Gollent
a10aec9c5c Fix some cases where return values failed to resolve.
- Sometimes the return type doesn't appear to have a
  an associated byte size attribute. If so, simply
  revert to using the architecture's register width,
  since at least empirically all such cases appear
  to be primitive types that fit into one anyways.
2013-04-27 18:15:31 -04:00
Ingo Weinhold
274ca38fd1 BOpenHashTable::Clear(): Set fItemCount to 0
If not empty, the count would afterwards be out of sync with reality.
2013-04-27 16:21:41 -04:00
Rene Gollent
6a2d6f5062 Fix a case where values wouldn't be requested properly.
- If a node was already expanded, and we then removed/replaced
  its children, those wouldn't automatically get their value nodes
  added. Consequently, value retrieval for them would fail until
  the parent was collapsed/re-expanded. If we encounter such a
  model node when receiving a value request, notify the table model so
  it can construct the value node appropriately.
2013-04-27 16:04:33 -04:00
Rene Gollent
7198436cc2 Fix several crash problems in Debugger.
- When removing a value node in response to ValueNodeChildrenDeleted,
  we need to recurse down and ensure that each node's children are
  likewise notified/removed. Otherwise we end up with deleted child
  nodes in the node table, which in turn led to potential crashes when
  either adjusting a node's type and/or its visible array range.
2013-04-27 15:11:04 -04:00
Rene Gollent
fc23dd2ca2 Implement ranged container hooks for B{Object}List handler. 2013-04-27 14:21:45 -04:00
Rene Gollent
920576bbfe Implement setting visible ranges on containers.
- Objects that act as ranged containers now expose a menu option
  which allows the user to input a comma-separated list of ranges to
  show. These need not be contiguous, ergo one can show only
  the first and last elements of an array, or some random set of
  indices in the middle as well.
2013-04-27 14:04:37 -04:00
Rene Gollent
7969833f35 Add utility functions for parsing a range expression.
- Fills out the supplied RangeList with the set of ranges that
  the expression stipulates.
2013-04-27 14:04:36 -04:00
Rene Gollent
874abbdaaf Remove unnecessary cast. 2013-04-27 14:04:35 -04:00
Rene Gollent
8a9423ee95 Add RangeList utility class.
- Tracks a set of ranges. Implicitly deals with collapsing overlapping
  ranges as they're added.
2013-04-27 14:04:35 -04:00
Rene Gollent
b11fd75b4b Fix broken ValueNodeChildrenDeleted() behavior.
- Due to the way the item list was being iterated,
  ValueNodeChildrenDeleted() would only actually remove every
  other child.
2013-04-27 14:04:34 -04:00
Rene Gollent
aa366c07b1 Add an information blurb option to PromptWindow.
- PromptWindow now takes a parameter which contains optional
  informational text to display above the text control.

- Adjust callers.
2013-04-27 14:04:33 -04:00
Ingo Weinhold
31bc74d4bf Remove x86_cpuidle driver from image
Apparently it isn't ready yet. I haven't found a single syslog on Trac
that shows a successful initialization of the driver, and on my
machine, where it does that at least, the system freezes during boot.
2013-04-27 17:13:05 +02:00
Ingo Weinhold
a83983a2cd acpi_cpuidle: Fix driver initialization
* For some reason the code in acpi_processor_init() assumed that the
  CPU index returned by ACPI was 1-based. On my machines it is 0-based
  and the syslogs on Trac from the last months don't show any
  exception. The code even contained a hack to force satisifying that
  assumption for a single-CPU machine.
* Instead of calling intel_cpuidle_init()/acpi_cpuidle_init() when
  initializing the driver for the device node for CPU 0 -- thus
  depending on the order the device manager iterates through the CPU
  device nodes -- rather check whether all CPU nodes have indeed been
  encountered.
* acpi_cpuidle_init_driver(): Don't leak the cookie in error case.
* acpi_cpuidle_uninit_driver(): Clear the sAcpiProcessor element for
  the uninitialized CPU node. We'd also have to unregister the idle
  callback when acpi_cpuidle_uninit_driver() is called for the first
  CPU device node, but there isn't any API for it ATM.

Fixes a crash on machines with multiple CPUs where acpi_cpuidle_setup()
wouldn't already fail early (apparently only mine).
2013-04-27 17:13:04 +02:00
Ingo Weinhold
b28421c927 acpi_cpuidle.cpp: Some style cleanup
Just what I spotted at the first glance. There's more general cleanup
to be done, e.g. regarding the public API.
2013-04-27 17:13:04 +02:00
Michael Lotz
a064168869 Fix truncation of comparison value introduced in 848acd67.
Casting the difference of the two off_t values to size_t may truncate
the result. Doing so before the comparison will therefore break it.
Instead cast the size to off_t to get around the signed versus unsigned
integer expression comparison and then cast the result of the comparison
to size_t again. Should fix #9714.
2013-04-27 18:42:05 +02:00
Jérôme Duval
32d7bcb470 VMAnonymousCache.cpp: use off_t instead of page_num_t
* use off_t instead of page_num_t to fit in swap_hash_key struct.
* this fixes narrowing conversion and signedness warnings on GCC 4.7.
2013-04-27 14:43:20 +02:00
Matt Madia
db6fcc4952 Fixed typo in variable use. 2013-04-27 08:20:53 -04:00
Jerome Duval
dc0e22d800 Revert "VMAnonymousCache.cpp: changed page_index type to page_num_t"
This reverts commit f7176b0ee5. Citing Ingo:
"off_t is the correct type to use for addressing pages in a cache/file,
which page_num_t should only be used for physical pages." I'll see how to
fix the GCC 4.7 warnings differently :)
2013-04-27 13:36:49 +02:00
Niels Sascha Reedijk
a2af961a1a Update translations from Pootle 2013-04-27 06:17:12 +02:00
Alexander von Gluck IV
b4764ec2fe Mesa: Update Mesa 9.1.1 gcc4 build package
* New package uses mmap vs malloc for exec memory
* Solves #9685 on gcc4
2013-04-27 01:41:45 +00:00
Alexander von Gluck IV
e514bc713c usb_asix: Add DUB-E100 rev.C1 USB ID 2013-04-27 00:28:49 +00:00
Jérôme Duval
f7176b0ee5 VMAnonymousCache.cpp: changed page_index type to page_num_t
* consistently use page_num_t for page numbers and off_t for offsets and sizes.
2013-04-26 21:17:39 +02:00
Jérôme Duval
cc3fb1f518 icon-o-matic: converts the result of round() to uint8 to fit in struct rgb_color.
* GCC 4.7 warning: narrowing conversion of '(int)(((ColorPickerView*)this)->ColorPickerView::r * 2.55e+2f)'
from 'int' to 'uint8 {aka unsigned char}' inside { } is ill-formed in C++11 [-Werror=narrowing]
2013-04-26 21:17:38 +02:00
Jérôme Duval
5f08555a59 GCC 4.7.x doesn't allow writes in a referenced packed struct.
* error: cannot bind packed field 'image->preloaded_elf64_image::elf_header'
    to 'ELFLoader<ELF64Class>::EhdrType& {aka Elf64_Ehdr&}'
2013-04-26 21:17:36 +02:00
Jérôme Duval
44d2f5f53e scsi bus manager: casts path_id to uint8.
* added a TODO about create_id() generating int32 ids when we need uint8.
* GCC 4.7 warning fixed: narrowing conversion.
2013-04-26 21:17:36 +02:00
Jérôme Duval
848acd672c devfs: casts as size_t before comparing.
* error: comparison between signed and unsigned integer expressions.
2013-04-26 21:17:34 +02:00
Jérôme Duval
8b9c0710cd PCI bus manager: changed the type of domain from int to uint8.
* fixed narrowing conversion problem found by GCC 4.7.
2013-04-26 21:17:33 +02:00
Jérôme Duval
f92b1f2eaf GCC 4.7.x finds that 1 << 31 is a signed integer, use the unsigned notation
* error: narrowing conversion of '-2147483618' from 'int' to 'uint32 {aka long unsigned int}'
 inside { } is ill-formed in C++11
2013-04-26 21:17:33 +02:00
Jérôme Duval
d762df1df1 GCC 4.7.x doesn't allow setting a field in a referenced packed struct.
* error message: error: cannot bind packed field
'args->kernel_args::platform_args.platform_kernel_args::apm' to 'apm_info&'
* the reason would be that the reference doesn't have alignment information anymore.
* changed the reference to const for read access, and use the long form for setting a field.
2013-04-26 21:17:31 +02:00
Jérôme Duval
40cf1c0518 net_server: 0xff is out of the bound of char, use uint8 instead
* found by GCC 4.7.3
2013-04-26 21:17:29 +02:00
Rene Gollent
3e9e1e11b2 Resolve TODO: get team information via DebuggerInterface. 2013-04-25 18:54:59 -04:00
Rene Gollent
2a5d40cbe9 Add GetTeamInfo() call to DebuggerInterface.
- Abstracts out retrieving team information, since this may need to be
  done differently depending on the interface type.
2013-04-25 18:54:58 -04:00
Rene Gollent
aecef63c52 Add team information model class. 2013-04-25 18:54:58 -04:00
John Scipione
4cbcabff5f Add documentation for BListView and BListItem classes 2013-04-25 17:58:13 -04:00
John Scipione
2d5697e109 A few fixes to TextView.dox, \see BView::method() 2013-04-25 17:57:35 -04:00
John Scipione
926535abb0 Style update to BListView.
Mostly rename msg argument of MessageReceived to message. Also a couple
of pointer style fixes.
2013-04-25 17:55:21 -04:00