Commit Graph

47982 Commits

Author SHA1 Message Date
Stephan Aßmus
d2c9f2e651 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-15 17:21:11 +02:00
Rene Gollent
92d6655640 Debugger: Implement #9960.
- DebugReportGenerator now retrieves and dumps disassembly for the crashing
  function up to the crashing line.
2013-09-15 15:32:19 +02:00
Jerome Duval
c11cdf8d88 dpc: fix comments spelling. 2013-09-15 14:41:43 +02:00
Ithamar R. Adema
4ace94e6b1 beos_mime: add sniffer rule for .mp3 files
Patch from markh (ticket #9790), thanks!
2013-09-15 11:45:40 +02:00
Ithamar R. Adema
b9f280cb8c 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-15 11:35:31 +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
Jerome Duval
b119365b21 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-15 11:21:01 +02:00
Ithamar R. Adema
b9fa914d1e 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-15 07:26:02 +02:00
Ithamar R. Adema
c00e42d577 u-boot: make sure host makebootable builds too
Somehow missed these few lines in my last commit.
2013-09-15 04:55:07 +02:00
Ithamar R. Adema
a1d6968848 ARM: stub out makebootable so we can build a full haiku-image 2013-09-15 04:39:37 +02:00
Ithamar R. Adema
ef5e0ba938 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-15 04:22:04 +02:00
Ithamar R. Adema
20d9063c36 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-15 04:21:39 +02:00
Ithamar R. Adema
90742b59be ARM: boot: pass boot disk identifier
This to stop the vfs_boot.cpp code from complaining.
2013-09-15 04:18:31 +02:00
Jorma Karvonen
9d79ce816b Localize tgainfo
Closes ticket #7168
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:52:43 +02:00
Jorma Karvonen
ba4746794a Localize bmpinfo
Closes ticket #7164
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:47:58 +02:00
Jorma Karvonen
d05bb5a8e6 Localize bitsinfo
Closes ticket #7162.
Signed-off-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>
2013-09-14 22:43:44 +02:00
John Scipione
eeb345aa17 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-14 14:55:53 -04:00
Ithamar R. Adema
cfa8ecbc86 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-14 20:15:33 +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
Jérôme Duval
b31f2d53e0 add a constant for 10G base T ethernet. 2013-09-14 18:11:43 +02:00
Jérôme Duval
4b308f30ca virtio_net: allocate queues, read macaddress, handle ioctl. 2013-09-14 18:05:54 +02:00
Jérôme Duval
d038239669 virtio_net: add feature labels. 2013-09-14 18:05:54 +02:00
Rene Gollent
729075a5e8 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-14 17:55:33 +02:00
Rene Gollent
20c5fc4aa6 Debugger: Add missing std::nothrow. 2013-09-14 17:55:32 +02:00
Ithamar R. Adema
fda9d308e1 ARM: kernel: Fix compilation issue with new gas.
Turns out the new gas does not like spaces :(
2013-09-14 17:27:17 +02:00
Rene Gollent
74e89b3446 Fix accidentally truncated addresses in call frame unwind. 2013-09-14 17:07:55 +02:00
Oliver Tappe
689cebd222 Add version of Pe working on x86_64 2013-09-14 15:52:20 +02:00
Jérôme Duval
b5082c11cc virtio_net: initial skeleton driver. 2013-09-14 11:48:37 +02:00
Jérôme Duval
0ce7ab1ebe ext2: access the parent variable once checked it's non null
* cleanup
* add some inode flags we don't use
2013-09-14 11:00:07 +02:00
Niels Sascha Reedijk
aba841d810 Update translations from Pootle 2013-09-14 06:14:15 +02:00
Pawel Dziepak
b8dc812f3e x86[_64]: Enable NX on non-boot CPUs as soon as possible 2013-09-14 05:28:50 +02:00
François Revol
c14bca2958 Merge branch 'master' into sam460ex 2013-09-14 01:16:51 +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
Ingo Weinhold
f11d742feb HaikuCD: Support package resolution 2013-09-13 00:06:21 +02:00
Ingo Weinhold
76cd5b091e Move stuff from HaikuImageCommon to new rule
... AddPackagesAndRepositoryVariablesToContainerScript.
2013-09-13 00:06:21 +02:00
Ingo Weinhold
cc0838da34 VFS boot: Mount packagefs when booting off an image
... and the mounted boot volume looks like a PM Haiku. This gets the CD
boot going.
2013-09-13 00:06:21 +02:00
Ingo Weinhold
3465e718e7 boot tarfs: Support resolving "." and ".." directory entries
This makes resolving the boot module symlinks work.
2013-09-13 00:06:21 +02:00
Ingo Weinhold
b0d7a45c3d FloppyBootImage: Add packagefs 2013-09-13 00:06:20 +02:00
Ingo Weinhold
dee358f0ec AddBootModuleSymlinksToContainer: Fix symlink target
The symlink was only correct, if the container was a package. For
containers with a non-empty path to the system directory the link would
duplicate the system directory path.
2013-09-13 00:06:20 +02:00
Oliver Tappe
b3eaedd14a Add missing packages for x86_64 to repository.
* the Pe package doesn't work (Pe won't start), I'm still
  investigating as to why that is
2013-09-12 14:34:47 +02:00
Rene Gollent
426f721b81 Fix default alignment on BCheckBox.
Was most readily noticeable in WebPositive's Find pane, where the
CheckBox was incorrectly top-aligned. Thanks to Humdinger for reporting.
2013-09-11 18:23:07 -04:00
Ingo Weinhold
6c88312170 package daemon: Replace changes alert by a window 2013-09-11 15:06:44 +02:00
Ingo Weinhold
f2cba19f53 package daemon: ProblemWindow: Fix message constant types 2013-09-11 15:05:30 +02:00
Pete Goodeve
78e450554e Fix to std dev calculation in ping 2013-09-11 14:30:47 +02:00
Ingo Weinhold
9f12d254b1 package daemon: ProblemWindow: Simplify getting the font height 2013-09-11 13:39:58 +02:00
Ingo Weinhold
c159d0cfd1 BActivationTransaction: Fix unarchiving constructor 2013-09-11 05:07:14 +02:00
Ingo Weinhold
b53a2e6af5 package daemon: ProblemWindow: Use a scroll view 2013-09-11 04:53:06 +02:00