Commit Graph

46425 Commits

Author SHA1 Message Date
Stephan Aßmus
ffc424b51a HaikuDepot: Show the publisher mail and website as in the mockup.
TODO: Should be clickable of course.
2013-08-01 23:26:44 +02:00
Stephan Aßmus
dd75adcdfa HaikuDepot: Fixed bugs with MimeType icon loading 2013-08-01 23:26:14 +02:00
Stephan Aßmus
c58a02bab6 HaikuDepot: Added icon loading from BMimeType to SharedBitmap
* Also added publisher email and website fields to PackageInfo.
2013-08-01 22:56:51 +02:00
Ingo Weinhold
a56422b448 VFS: fs_mount(): fix FS name leak
Fixes #9909.
2013-08-01 15:43:24 +02:00
Jérôme Duval
8f5dbad65b FreeBSD compat layer: root->softc needs to be zeroed, not root. 2013-08-01 07:37:59 +02:00
Stephan Aßmus
2285a7451d HaikuDepot: SharedBitmap, when constructed with BBitmap, return that. 2013-07-31 22:34:37 +02:00
Stephan Aßmus
0ee1699a5d HaikuDepot: Added vector icons to package list and info area
* SharedBitmap can be pointed to a resource (later the icons will
   likely be fetched from somewhere else).
 * SharedBitmap caches 16, 32, and 64 icons.
  * Added icon resources for WonderBrush and Paladin dummy packages.
2013-07-31 22:34:36 +02:00
Jerome Duval
d66a9a6072 FreeBSD compat layer: init the struct root_device_softc.
Should help to fix things for devices without MSI or with MSI-X.
2013-07-31 20:50:52 +02:00
Jerome Duval
3ae0742de7 FreeBSD compat layer: fix typo ...
introduced in 656e05ec86
2013-07-31 16:58:12 +02:00
Rene Gollent
17d68fd24c Debugger: Fix handling of modified types with no base type.
In the case of a modified type pointing to an unspecified base type,
i.e. const void*, gcc appears to omit the DW_AT_type attribute entirely.
This had the result that such variables wouldn't appear in the var list.
If we encounter such a case, simply assume that the base type is unspecified
rather than failing early.
2013-07-30 22:12:26 -04:00
Alexander von Gluck IV
4623dc73d0 Radeon HD: Add trinity / thames / aruba pciid.
* For #9894
* No clue how that is going to work, seems mulitple
  GPU onboard.. we will likely just use the first
  card we see.
* We may need to remove one of these if additional
  work is required to switch GPU's.
2013-07-30 18:42:20 -05:00
Jerome Duval
96adf3ffad XHCI USB: add MSI support
* similar to OHCI support by mmlr.
* interrupt handler is removed on destruction.
2013-07-31 00:40:33 +02:00
Jerome Duval
c45ac5ad59 UHCI USB: add MSI support
* similar to OHCI support by mmlr.
* interrupt handler is removed on destruction.
2013-07-31 00:40:23 +02:00
Jerome Duval
b3dbb4d23b OHCI USB: disable MSI on destruction
* also remove interrupt handler and put the PCI x86 module.
2013-07-31 00:40:16 +02:00
Jerome Duval
010b06a16e EHCI USB: add MSI support
* similar to OHCI support by mmlr.
* interrupt handler is removed on destruction.
2013-07-31 00:40:11 +02:00
Jerome Duval
c01fadcadb AHCI: add MSI support. 2013-07-31 00:39:59 +02:00
Jérôme Duval
656e05ec86 FreeBSD compat layer: implement MSI-X support. 2013-07-31 00:39:13 +02:00
Stephan Aßmus
cdbf478fbf HaikuDepot: PackageInfo, added SharedBitmap and BitmapRef classes
* Use in UserInfo for avatar field.
 * Use in PackageInfo for icon.
 * Use in PackageListView.
2013-07-30 22:57:30 +02:00
Stephan Aßmus
3a98600e80 HaikuDepot: Tweak default, min and max column widths 2013-07-30 22:28:09 +02:00
Stephan Aßmus
46d5f6b433 HaikuDepot: PackageInfo: Split description into short and full 2013-07-30 22:27:31 +02:00
Stephan Aßmus
28538208de HaikuDepot: PackageInfoView, use more views and layouts...
... instead of re-inventing the weel. Add simple BitmapView
implementation that can later be used for the package icon
and other icons.
2013-07-30 22:02:44 +02:00
John Scipione
8c660dab60 WonderBrush Translator: fix warnings
src/add-ons/translators/wonderbrush/WonderBrushView.cpp: In constructor 'WonderBrushView::WonderBrushView(const BRect&, const char*, uint32, uint32, TranslatorSettings*)':
src/add-ons/translators/wonderbrush/WonderBrushView.cpp:58:8: warning: variable 'xbold' set but not used [-Wunused-but-set-variable]
src/add-ons/translators/wonderbrush/WonderBrushView.cpp:58:15: warning: variable 'ybold' set but not used [-Wunused-but-set-variable]
src/add-ons/translators/wonderbrush/WonderBrushView.cpp:64:8: warning: variable 'yplain' set but not used [-Wunused-but-set-variable]
2013-07-29 19:58:39 -04:00
Rene Gollent
3d286f4454 Debugger: Fix BMessage handling on x86-64.
Unlike the header or field members, the 'what' field is always a 32-bit
integer, rather than being arch-dependent. This would cause us to bail
out early without ever trying to process/resolve children.
2013-07-29 19:11:13 -04:00
Jérôme Duval
6391a955fc PCI-x86: merge MSI-X unconfigure and disable with MSI.
* get rid of unconfigure_msix and disable_msix from the API.
2013-07-29 22:48:00 +02:00
Humdinger
be92485f65 Fixed default vertical alignment of BTextControl.
Courtesy of Rene who broke it a while back and remote
controlled me on IRC to commit the fix...
2013-07-29 18:56:46 +02:00
Jérôme Duval
46f7a54d8c MSI: Use the effective APIC id of the boot CPU for the address destination.
* This should only affect systems where the CPU ids aren't sequential (mostly
non Intel).
* Fixes #9807.
2013-07-29 17:36:03 +02:00
Rene Gollent
e52af6a9e1 Add LibLayout and BePDF x86-64 packages.
Thanks to Chris Roberts for contributing the former.
2013-07-28 22:09:20 -04:00
Rene Gollent
998b880a61 libbe: Fix MessageAdapter on x86-64.
When unflattening an R5 formatted message, explicitly use int32 rather
than ssize_t, since the latter's size differs by architecture.
2013-07-28 21:29:25 -04:00
Rene Gollent
293d5b1ede Add 64-bit package for CMake. 2013-07-28 19:33:18 -04:00
Rene Gollent
f270c76a2e Debugger: Cleanups.
ResolvePICFunctionAddress() needs to restore the CPUState object back
to how it was when it was originally passed in. Fixes various issues
that would occur as a result.
2013-07-28 18:59:36 -04:00
Rene Gollent
aef9e4fce2 Debugger: Fix return value for PIC functions on x86-64.
- Add Architecture::ResolvePICFunctionAddress() and pull out the
previous code in DwarfImageDebugInfo into the x86-specific
implemementation.

- PIC handling works a bit differently on x86-64 than it does on x86
since x86-64 is likely to use RIP-relative addressing. Implement
ArchitectureX8664::ResolvePICFunctionAddress() accordingly.
2013-07-28 17:30:49 -04:00
Rene Gollent
0a1334de28 Fix wget on x86-64.
Define HAVE_ARPA_INET_H for the wget build. Otherwise, e.g. inet_ntoa
would get an implicit declaration with a return type of int, leading to
the returned character pointer getting truncated on x86-64, and
consequently random crashes.
2013-07-28 14:14:22 -04:00
Rene Gollent
e7c4ad324e Add 64-bit Pe package. 2013-07-28 13:19:03 -04:00
Rene Gollent
5eb4aaba42 Add 64-bit Vision package. 2013-07-28 11:28:15 -04:00
Murai Takashi
7f98c6653e Fix double free
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2013-07-28 16:22:13 +02:00
Stephan Aßmus
0aea921993 HaikuDepot: Show package in info area when selected in list
* Includes fixes along the way. Shows only package title as of
   now.
2013-07-28 15:46:54 +02:00
Stephan Aßmus
cc4fa3bf29 HaikuDepot: Beginnings of transformation from BTabView 2013-07-28 15:30:53 +02:00
Stephan Aßmus
6c28726eab HaikuDepot: Moved some extra classes into .cpp file 2013-07-28 15:30:20 +02:00
Stephan Aßmus
3883c02097 HaikuDepot: Create dummy model (2 items)
* Added methods to fill the package list view, creating PackageRows
   from PackageInfos, various TODOs.
 * Some additions in the info classes, UserRating needs language.
2013-07-28 14:59:11 +02:00
Stephan Aßmus
686357a30c HaikuDepot: MainWindow: Class members for the created views 2013-07-28 14:12:37 +02:00
Stephan Aßmus
6d367ba439 HaikuDepot: Beginnings of Model class 2013-07-28 12:20:27 +02:00
Stephan Aßmus
f34f805b1a HaikuDepot: Added DepotInfo class 2013-07-28 12:20:00 +02:00
Stephan Aßmus
82bdec56d4 HaikuDepot: Implementation of model classes for package info representation 2013-07-28 11:57:56 +02:00
Stephan Aßmus
10ad1350c5 HaikuDepot: Removed unneeded includes. 2013-07-28 11:57:55 +02:00
Stephan Aßmus
e9e74b7bab List class which stores objects (not pointers) or plain old data. 2013-07-28 11:57:54 +02:00
Rene Gollent
8add07a8e1 Debugger: Fix some handling in DisassemblerX8664.
Take into account the operand and offset size as needed, otherwise
we'd potentially use the wrong value for our calculations.

Gets return values somewhat working on x86-64, though in some cases
looking up a PLT slot's destination fails, for as yet undetermined
reasons.
2013-07-27 22:58:13 -04:00
Rene Gollent
4dcab59fe7 Debugger: Implement ArchitectureX8664::GetReturnAddressLocation(). 2013-07-27 22:57:37 -04:00
Rene Gollent
d1189a6c75 Debugger: DwarfImageDebugInfo - fix potential crash.
If the subroutine address in question required us to in a different
image, that lookup would overwrite our pointer to the starting image.
If said lookup then also failed, a crash would occur when performing
operations to look up the next return value, since the image pointer
would then be NULL.
2013-07-27 22:55:51 -04:00
Rene Gollent
c0a7796007 Debugger: Fix step over on x86-64.
DisassemblerX8664::GetNextInstructionInfo() was mistakenly truncating the
instruction address due to a copy-and-paste bug when it was initially
spawned off DisassemblerX86. This would result in the temporary breakpoints
for skipping over function calls never getting set properly, leading to us
stepping into the PLT on a step over.
2013-07-27 19:10:55 -04:00
Ingo Weinhold
5163e1c62d Revert "Introduce vnode op supports_operation(), fix devfs_io()"
This reverts commit 98a5231fe5.
2013-07-27 23:31:23 +02:00