Commit Graph

46186 Commits

Author SHA1 Message Date
Ingo Weinhold
bc07db8f0a Declare more package dependencies
Probably still a lot missing, but we want to get rid of the file soon,
anyway.
2013-05-05 18:31:02 +02:00
Ingo Weinhold
b38b279649 Move package definitions to their own files 2013-05-05 18:25:31 +02:00
Ingo Weinhold
bcbf22a316 x86[-64]: Fix arch_cpu_user_strlcpy() for small buffers
The case for small buffers was broken, since scasb operates on edi/rdi,
not esi/rsi.
2013-05-05 18:01:12 +02:00
Ingo Weinhold
2bf492b64b Add optional package Man to alpha, nightly release profiles 2013-05-05 15:05:06 +02:00
Ingo Weinhold
d0e6e17436 rule KernelStaticLibrary: Fix comment 2013-05-05 15:04:08 +02:00
Ingo Weinhold
25a7b01d15 Merge branch 'master' into package-management
Additional changes:
* Add src/system/kernel/lib/zlib, which builds a kernel version of zlib,
  needed by packagefs.
* BuildFeatures: Add a build feature "gcc2" to allow for easier checks.
* Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter
  is not needed and prevents building for the build platform.
* zlib/zutil.h: Fix gcc 2 build. We really should use the external
  package instead.

Conflicts:
	.gitignore
	build/jam/BuildSetup
	build/jam/FileRules
	build/jam/FloppyBootImage
	build/jam/HaikuImage
	build/jam/ImageRules
	build/jam/KernelRules
	build/jam/NetBootArchive
	build/jam/OptionalBuildFeatures
	build/jam/OptionalLibPackages
	build/jam/OptionalPackageDependencies
	build/jam/OptionalPackages
	build/scripts/build_haiku_image
	configure
	data/bin/installoptionalpackage
	data/system/boot/Bootscript
	headers/os/app/Message.h
	headers/os/package/PackageInfo.h
	headers/os/package/PackageInfoAttributes.h
	headers/os/package/PackageInfoSet.h
	headers/os/package/PackageRoster.h
	headers/os/package/PackageVersion.h
	headers/os/package/hpkg/PackageInfoAttributeValue.h
	headers/os/storage/FindDirectory.h
	headers/os/storage/Node.h
	headers/os/support/StringList.h
	headers/private/system/directories.h
	src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile
	src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp
	src/add-ons/kernel/file_systems/packagefs/Jamfile
	src/add-ons/kernel/file_systems/packagefs/Package.cpp
	src/add-ons/kernel/file_systems/packagefs/Package.h
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.h
	src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageNode.h
	src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.h
	src/add-ons/kernel/file_systems/packagefs/Volume.cpp
	src/add-ons/kernel/file_systems/packagefs/Volume.h
	src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp
	src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c
	src/apps/deskbar/BarApp.cpp
	src/apps/deskbar/BarMenuBar.cpp
	src/apps/deskbar/BarMenuBar.h
	src/apps/deskbar/BarView.cpp
	src/apps/deskbar/BarView.h
	src/apps/deskbar/BarWindow.cpp
	src/apps/deskbar/BarWindow.h
	src/apps/deskbar/DeskbarMenu.cpp
	src/apps/deskbar/DeskbarMenu.h
	src/apps/deskbar/DeskbarUtils.cpp
	src/apps/deskbar/DeskbarUtils.h
	src/apps/deskbar/ExpandoMenuBar.cpp
	src/apps/deskbar/ExpandoMenuBar.h
	src/apps/deskbar/TeamMenu.cpp
	src/apps/processcontroller/ProcessController.cpp
	src/apps/remotedesktop/RemoteDesktop.cpp
	src/bin/bash/config-top.h
	src/bin/finddir.c
	src/bin/package/Jamfile
	src/bin/package/command_add.cpp
	src/bin/package/command_create.cpp
	src/bin/package/command_list.cpp
	src/bin/package_repo/command_list.cpp
	src/bin/pkgman/command_refresh.cpp
	src/build/libbe/support/Jamfile
	src/build/libpackage/Jamfile
	src/build/libroot/Jamfile
	src/build/libroot/fs.cpp
	src/build/libroot/remapped_functions.h
	src/kits/locale/MutableLocaleRoster.cpp
	src/kits/opengl/GLRendererRoster.cpp
	src/kits/package/PackageInfo.cpp
	src/kits/package/PackageInfoSet.cpp
	src/kits/package/PackageRoster.cpp
	src/kits/package/PackageVersion.cpp
	src/kits/package/RepositoryCache.cpp
	src/kits/package/hpkg/PackageWriterImpl.cpp
	src/kits/package/hpkg/ReaderImplBase.cpp
	src/kits/package/hpkg/WriterImplBase.cpp
	src/kits/print/PrintTransport.cpp
	src/kits/print/Printer.cpp
	src/kits/screensaver/ScreenSaverRunner.cpp
	src/kits/support/StringList.cpp
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/PoseView.cpp
	src/libs/print/libprint/Transport.cpp
	src/preferences/printers/AddPrinterDialog.cpp
	src/preferences/screensaver/ScreenSaverWindow.cpp
	src/servers/debug/DebugServer.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/media_addon/MediaAddonServer.cpp
	src/system/boot/Jamfile
	src/system/boot/loader/Jamfile
	src/system/boot/loader/loader.cpp
	src/system/boot/loader/vfs.cpp
	src/system/kernel/fs/vfs.cpp
	src/system/kernel/fs/vfs_boot.cpp
	src/system/libroot/os/find_directory.cpp
	src/system/runtime_loader/runtime_loader.cpp
	src/tools/package/Jamfile
2013-05-05 15:03:26 +02:00
Philippe Houdoin
1a84d6b362 Skip timeout computation in is_syscall_restarted case. 2013-05-04 11:27:04 +02:00
Jérôme Duval
843a122fd9 MediaPlayer: some 64 bit fixes 2013-05-04 11:15:41 +02:00
Niels Sascha Reedijk
b01fc26d76 Update translations from Pootle 2013-05-04 06:09:50 +02:00
Rene Gollent
966966a38d Cleanups. 2013-05-03 20:51:06 -04:00
Rene Gollent
57745c4eb9 Minor tweak to allow window to be resizable. 2013-05-03 20:46:50 -04:00
Rene Gollent
aad822734d Add message for starting a new team. Implements #9682.
- The Debugger app now accepts a message asking it to start a new team.
  It attempts to do so given the path and arguments, and passes the
  result back to the sender if desired.
2013-05-03 20:37:48 -04:00
Rene Gollent
9b57eae7e6 Wire up Start new team button. 2013-05-03 20:35:55 -04:00
Rene Gollent
1953ec9d1d Add UI window for starting a new team. 2013-05-03 20:35:53 -04:00
Rene Gollent
72354d6759 Also disable Attach button for kernel. 2013-05-03 19:05:23 -04:00
Ingo Weinhold
0d6e950639 Update mercurial and python packages 2013-05-04 01:02:44 +02:00
John Scipione
5041cdf4d9 Fix a few minor BMenu issues, follup on hrev45610
Only AttachScrollers() and scroll if B_ITEMS_IN_COLUMN because if not we don't
support scrolling anyway. Also, rename superpoint variable to superPoint.
2013-05-03 16:27:05 -04:00
Jessica Hamilton
4898c615d6 BMenu: scroll marked item into view when menu has scrollers attached.
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
2013-05-03 21:10:51 +02:00
Axel Dörfler
4e78098e7c DatagramSocket: don't use absolute timeout 0.
* Use relative instead, or else the return value will be B_TIMED_OUT instead
  of B_WOULD_BLOCK.
* This fixes bug #9734.
2013-05-03 21:03:54 +02:00
Jérôme Duval
e5d65858f2 Fix more GCC4 narrowing conversion warnings.
* Code style would be to fix.
2013-05-03 19:42:04 +02:00
Murai Takashi
2e1347b2bf Fix more GCC4 narrowing conversion warnings
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2013-05-03 19:34:40 +02:00
Ingo Weinhold
6b1789577a Update/add packages for readline, cvs, doxygen, python,
... and timgmsoundfont.
2013-05-03 15:47:11 +02:00
Axel Dörfler
3bf9915247 Removed superfluous class definitions from OutlineListView.h
* Why?
2013-05-03 13:24:30 +00:00
Rene Gollent
c7b441ac1e Cleanup. 2013-05-02 22:08:37 -04:00
Rene Gollent
22dc5f2bcd Add tooltips to breakpoint marker view.
- If the user hovers over a valid breakpoint marker location, emit a
  tooltip message indicating the action that can be taken.
2013-05-02 22:03:03 -04:00
Rene Gollent
12abf3b280 Various cleanups to Teams window.
- Convert to using layout APIs.
- Add buttons to attach to an existing team or create a new one (not
  implemented yet).
- Various minor style cleanups.
2013-05-02 22:02:52 -04:00
John Scipione
a56ddb2bea BOutlineListView: Refactor to eliminate repeat vars
The latch width, height and indent width are now all set in one
place in LatchRect() and then LatchRect() is used in multiple places.
2013-05-02 20:13:55 -04:00
John Scipione
f56bf5b03e Add class declarations to header 2013-05-02 20:13:47 -04:00
Jerome Duval
c33b645d33 ext2: Return more than a single dirent at a time in ext2_read_dir().
* similar to what mmlr did in hrev45575 for bfs.
2013-05-02 23:44:03 +02:00
Jerome Duval
795f13d6f2 btrfs: Return more than a single dirent at a time in btrfs_read_dir().
* similar to what mmlr did in hrev45575 for bfs.
2013-05-02 23:44:02 +02:00
Michael Lotz
8a43cad2ef BPlusTree: Fix fCurrentKey in backward TreeIterator traversal.
When reaching the next node the current key should be set to the next
valid index within that node (0 for forward and NumKeys() - 1 for
backward). This did not cause any harm as BFS uses forward traversal
only.
2013-05-02 23:26:05 +02:00
Michael Lotz
50ef2db4a8 BPlusTree: Fix GCC4 false positive of possible unintialized use. 2013-05-02 23:26:04 +02:00
Michael Lotz
1a5e87cc64 haiku_loader: Reuse BPlusTree implementation of the BFS add-on.
Instead of having an almost exact, albeit read only, duplicate of the
implementation.
2013-05-02 23:26:03 +02:00
Michael Lotz
6b65a838e0 BPlusTree: Style cleanup only, no functional change. 2013-05-02 23:26:02 +02:00
Stefano Ceccherini
bb16974758 Cleanups.
Removed code path for be_control_look == NULL.
Improve comments.
2013-05-02 20:59:56 +02:00
Ingo Weinhold
a82e49aeb0 Update cdrtools and keymapswitcher packages 2013-05-02 17:18:12 +02:00
Philippe Houdoin
ca4f3ba33c Patch by Pete Goodeve fixing #9311. Thanks.
* Respect device's declared max packet size.
  This improve support of USB midi controlers which don't support
  arbitrary bulk read size, like iCON ones.
* Fix an logic inversion regarding O_RDONLY/O_WRONLY
  and output or input ports only devices.
2013-05-02 09:06:20 +02:00
Jessica Hamilton
3bf528b59c Fix positioning of BPopUpMenu when a nested item is selected.
Signed-off-by: John Scipione <jscipione@gmail.com>
2013-05-02 00:44:07 -04:00
John Scipione
ecc0703995 Use a static_cast in place of a C cast 2013-05-01 22:32:41 -04:00
John Scipione
01b1b8bdaa BPopUpMenu style fixes 2013-05-01 22:18:56 -04:00
Rene Gollent
211e7b396d DwarfImageDebugInfo: Minor optimization.
In the fallback case where full debug information is unavailable,
query the underlying DWARF file to see if CFI is available at all.
If it isn't, skip creating function debug info objects.
2013-05-01 20:08:18 -04:00
Rene Gollent
9dce79360b DwarfFile: Add hook to query availability of frame unwind info. 2013-05-01 20:05:52 -04:00
Rene Gollent
99fac5a9dc Extend SpecificImageDebugInfo::GetFunctions() ...
...to also take the list of symbols in the image as a parameter.
This allows us to prefetch the symbols once in
ImageInfo::FinishInit() for each image and then let each specific info
subclass use them if/as needed, rather than having to do the entire
symbol lookup/sort twice for every image.

- Adjust callers accordingly.
2013-05-01 19:53:00 -04:00
Rene Gollent
736cc3dcb4 Move comment to correct function. 2013-05-01 19:52:00 -04:00
John Scipione
c19cb4ddc6 Update BOutlineListView arrows to new style
...from BControlLook, and while I'm at it, use font-relative spacing dimensions.
2013-05-01 18:22:35 -04:00
Adrien Destugues
28a3906351 Web+ AboutWindow changes: fix build. 2013-05-01 15:44:41 +02:00
Adrien Destugues
df3b8173ee Fix Web+ for AboutBox API changes. 2013-05-01 15:09:30 +02:00
Adrien Destugues
df2257de36 Make BAboutWindow movable again.
Also fix build, forgot some files in previous commit.
2013-05-01 13:07:29 +02:00
Adrien Destugues
31535ac63b Make BAboutWindow modal
* Set its type to B_MODAL_WINDO, and also set B_NOT_MOVABLE
 * Since this removes the window tab, add an "Ok" button to close the window
 * Remove the GetWindow mess and just use it as any regular window
 * Adjust all callers again

The AlertPosition method doesn't seem to work right, the window pops up
offset to the right. I also noticed that some of our calls to BAboutWindow
are actually not reacable because we removed Abutrequested from the apps.
Maybe we should clean them up (locale preflet and activity monitor are examples)

More annoying is the fact that opening a modal window from a deskbar replicant
is modal against the whole deskbar. Not sure what to do about that.
2013-05-01 10:10:37 +02:00
Rene Gollent
196ab88d06 Extend debug_create_symbol_lookup_context().
- debug_create_symbol_lookup_context() now takes an image ID
  parameter that can optionally be used to restrict the symbols
  it gathers to only those of the targeted image rather than the
  entire team, allowing for significantly more lightweight usage
  when the desired image is known. The previous behavior can still
  be obtained if desired by passing -1 as said ID.

- Adjust callers.
2013-04-30 21:34:45 -04:00