Commit Graph

47585 Commits

Author SHA1 Message Date
Stephan Aßmus
7eec822d5e HaikuDepot: Package information can be retrieved asynchronously 2013-09-17 14:42:01 +02:00
Rene Gollent
62b27e6277 Fix previous format problem more correctly.
Thanks Ingo, Oliver and Ithamar for the hint.
2013-09-17 14:42:01 +02:00
Rene Gollent
153c6c4a40 Debugger: Fix data copy issue.
- B_PRIx8 unfortunately doesn't necessarily strictly stay within the bounds
  of an 8-bit hex constant, so force the size passed to snprintf to make it
  that way.
2013-09-17 14:42:00 +02:00
Rene Gollent
59cef1fa18 Build fix. 2013-09-17 14:42:00 +02:00
Rene Gollent
f7e1dc6c46 Debugger: Add selection support to MemoryView.
- The Inspector's memory view now supports selecting chunks of the hex display in
  the manner one would in a TextView. The selection can also be copied to the clipboard,
  or if it matches the size of a target address, can be used as input for an address to
  inspect directly.

Still needs some fine tuning, but basically works.
2013-09-17 14:41:59 +02:00
Rene Gollent
ad054cf1e1 Debugger: Implement #9961.
- FileManager now saves any explicitly located file mappings,
  and properly restores them when reloading the same team/files later.
2013-09-17 14:41:59 +02:00
Rene Gollent
64aae11716 Fix incorrect name usage. 2013-09-17 14:41:58 +02:00
Rene Gollent
af8e2aa473 Debugger: add settings manager for source location mappings.
- If it was necessary to help the debugger locate a particular source
  file due to it not being found on disk at the location specified in
  the debug information, the associated user-supplied path mappings
  are now saved and restored in the team settings. The file manager still
  needs a bit of extra work to apply these as files are added though.
2013-09-17 14:41:58 +02:00
Jerome Duval
8f284ef32d intel_extreme: don't expose overlay in accelerant when not allocated
... in the driver.
2013-09-17 14:41:58 +02:00
Jerome Duval
1a07e84d03 usb_disk: fixed mounting a USB disk on x86_64
* usb_disk_prepare_partial_buffer() was miscalculating the offset in the temp buffer,
which led to a page fault later when copying to the user buffer.
2013-09-17 14:40:41 +02:00
Jerome Duval
6b48fa0994 usb_disk: fixes 64bit trace build 2013-09-17 14:40:40 +02:00
Siarzhuk Zharski
1c38517e25 ListView: More safe ScrollToSelection implementation
The Problem was observed in the Time Preferences Zone view - the
selection was set inside of TimeZoneView::DoLayout() call on
the OutlineListView control that had zero-sized Bounds. After
the control was resized the selection stay mainly hidden "under"
the upper edge. The Problem looks like generic so should be fixed
in the interface kit code. Proposed fix introduces additional check
for the scroll position to not cross the top edge of control.
2013-09-17 14:40:40 +02:00
Stephan Aßmus
92dbf1869f HaikuDepot: Added some listener support to PackageInfo 2013-09-17 14:40:40 +02:00
Jerome Duval
697c0d7c63 hdaudio: check pin sense on init, don't wait for a switch event
with headphones plugged on boot, sound was still enabled on speakers.
see #9956
2013-09-17 14:40:39 +02:00
Stephan Aßmus
9202a719e1 HaikuDepot: Add interface for PackageInfoListener.
Also defines PackageInfoEvent.
2013-09-17 14:40:39 +02:00
Stephan Aßmus
779d8213e9 HaikuDepot: Use PackageInfoRefs instead of PackageInfos
Instead of storing PackageInfo objects directly in the
 PackageLists, store PackageInfoRefs instead. This makes a
 lot of operations much cheaper, and it also allows making
 changes to a PackageInfo (which now exists only once)
 and have those changes reflect everywhere. In particular,
 it will be easier to populate some information of the
 PackageInfo lazily, and to listen for changes on a
 PackageInfo object.
2013-09-17 14:40:38 +02:00
Rene Gollent
02cac49250 Debugger: Implement #9960.
- DebugReportGenerator now retrieves and dumps disassembly for the crashing
  function up to the crashing line.
2013-09-17 14:40:38 +02:00
Jerome Duval
c75ca47d05 dpc: fix comments spelling. 2013-09-17 14:40:38 +02:00
Ithamar R. Adema
dc377ab522 beos_mime: add sniffer rule for .mp3 files
Patch from markh (ticket #9790), thanks!
2013-09-17 14:40:37 +02:00
Ithamar R. Adema
92ab471c49 ntfs: make sure our confidence is higher then the intel partition add-on
This as the intel partition addon just does a very weak test, and the
NTFS test is much safer. This prevents NTFS filesystems that have a
valid boot sector signature but no partition table, from being
picked up by the intel partition table add-on instead of the ntfs
add-on.

Patch provided by markh, thanks!
2013-09-17 14:40:26 +02:00
Jerome Duval
5308f23025 usb_disk: returns B_DEV_NOT_READY for SCSI_SENSE_KEY_NOT_READY
...instead of B_DEV_NO_MEDIA. The latter seems to imply we stop testing
the unit is ready in usb_disk_device_added().
Based on a patch provided by markh in #9589.
2013-09-17 14:40:26 +02:00
Ithamar R. Adema
ed6722adc4 norflash: Add hack to hide start of NOR flash
This is a workaround for hiding U-Boot that is stored in the first 2
128k blocks, so we can put a BFS image into NOR to boot from (since
we do not have support for SD/MMC yet in Haiku).

When manually putting a BFS filesystem at block 3 we actually get
right up to the point where BootScript is attempted to be executed!
2013-09-17 14:40:26 +02:00
Ithamar R. Adema
38bd76a0e5 u-boot: make sure host makebootable builds too
Somehow missed these few lines in my last commit.
2013-09-17 14:40:25 +02:00
Ithamar R. Adema
ae4ad7037f ARM: stub out makebootable so we can build a full haiku-image 2013-09-17 14:40:25 +02:00
Ithamar R. Adema
0fa2d68cdf ARM: stub out missing int64 atomic functions
Also, add an item to the TODO list for this. Really need to figure it out soon...
2013-09-17 14:40:24 +02:00
Ithamar R. Adema
b9e8ec7bc0 debugger/debuganalyzer: Remove the explicit -Werror from Jamfile
Specifying -Werror in the Jamfiles directly prevents the build
system from disabling error-on-warning for some arch specific
warnings (or even globally), breaking the ARM build.

The "src/apps" directory is already setup to compile with -Werror
by the build system anyway, so remove the explicit setting here.
2013-09-17 14:40:24 +02:00
Ithamar R. Adema
89f89a07e1 ARM: boot: pass boot disk identifier
This to stop the vfs_boot.cpp code from complaining.
2013-09-17 14:40:24 +02:00
Jorma Karvonen
6a66acded8 Localize tgainfo
Closes ticket #7168
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-17 14:40:23 +02:00
Jorma Karvonen
cae234acf0 Localize bmpinfo
Closes ticket #7164
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-17 14:40:23 +02:00
Jorma Karvonen
736c1f8c51 Localize bitsinfo
Closes ticket #7162.
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-17 14:40:22 +02:00
John Scipione
a7e9ce676f Use uname -s instead of uname -o
...since BSD uname (on OS X at least) doesn't have a -o param, only a -s,
Haiku has both, and both print "Haiku".
2013-09-17 14:40:22 +02:00
Ithamar R. Adema
acd58c2f6c ARM: boot: Make dd on MacOS happy
Turns out dd on MacOS does not like '1M' as size descriptor, but
wants '1m'. To prevent us breaking Linux builds (as it does not
accept 1m), just use the actual number of bytes explicitely instead.
2013-09-17 14:40:21 +02:00
Jérôme Duval
5a2c5827e4 add a constant for 10G base T ethernet. 2013-09-17 14:40:21 +02:00
Jérôme Duval
28cf626d45 virtio_net: allocate queues, read macaddress, handle ioctl. 2013-09-17 14:40:21 +02:00
Jérôme Duval
eb8616334b virtio_net: add feature labels. 2013-09-17 14:40:20 +02:00
Rene Gollent
5077cb09cb Debugger: add Inspect context item to Registers view.
- Allows one to treat the value of a register as a memory
  address and jump directly to inspecting said address.
2013-09-17 14:40:20 +02:00
Rene Gollent
1ea8fd5216 Debugger: Add missing std::nothrow. 2013-09-17 14:40:19 +02:00
Ithamar R. Adema
672b2600bc ARM: kernel: Fix compilation issue with new gas.
Turns out the new gas does not like spaces :(
2013-09-17 14:40:19 +02:00
Rene Gollent
5594217b7f Fix accidentally truncated addresses in call frame unwind. 2013-09-17 14:40:19 +02:00
Jérôme Duval
a933ad6dbc virtio_net: initial skeleton driver. 2013-09-17 14:40:18 +02:00
Jérôme Duval
28390f6964 ext2: access the parent variable once checked it's non null
* cleanup
* add some inode flags we don't use
2013-09-17 14:40:18 +02:00
Niels Sascha Reedijk
1a6ebaa02e Update translations from Pootle 2013-09-17 14:40:17 +02:00
Pawel Dziepak
278f66b6b1 x86[_64]: Enable NX on non-boot CPUs as soon as possible 2013-09-17 14:40:17 +02:00
Ingo Weinhold
0af009d250 package daemon: Fix use of destroyed objects
Fixes #9957.
2013-09-15 11:21:42 +02:00
Ingo Weinhold
33dc65c7ff package daemon: Ignore only entry events of packages to remove 2013-09-15 11:21:42 +02:00
Oliver Tappe
af8587ce40 Added new jam command 'build-remote-repository'.
* build-remote-repository <packages> uploads the given set of packages
  to the server and builds the remote repository
2013-09-14 19:51:09 +02:00
Oliver Tappe
8f3f0ee615 Added next version of Pe for x86_64. 2013-09-14 19:48:49 +02:00
Oliver Tappe
689cebd222 Add version of Pe working on x86_64 2013-09-14 15:52:20 +02:00
Oliver Tappe
c911075e52 Drop debug output. 2013-09-14 00:22:30 +02:00
Ingo Weinhold
cf70d345b2 Merge remote-tracking branch 'haiku/master' into package-management
This reverts 8f7f28a7c3 (OpenGL: Upgrade
to
Mesa 9.2).

Conflicts:
	build/jam/BuildFeatures
	build/jam/HaikuImage
	build/jam/OptionalPackages
	build/scripts/build_cross_tools_gcc4
	src/add-ons/opengl/swpipe/Jamfile
	src/apps/diskusage/Jamfile
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/Jamfile
2013-09-13 01:02:28 +02:00