Commit Graph

48025 Commits

Author SHA1 Message Date
Rene Gollent
672795a37e BDecisionProvider: Make YesNoDecisionNeeded() non-abstract.
- A subset of jobs that require a BContext don't in fact make use of the
decision provider. As such, make the default implementation usable for
those cases so one doesn't need to always create a dummy derived class.
2013-09-29 17:25:31 -04:00
Rene Gollent
a7a7aaaf3d libpackage: Add global init/terminate routines.
- Currently only used to call libcurl's global initialization and
  cleanup routines.
2013-09-29 17:25:31 -04:00
Rene Gollent
e4227e934e Add libcurl dependency to haiku system package. 2013-09-29 17:25:30 -04:00
Rene Gollent
cd76e0903f libpackage: Use libcurl directly for downloads.
- Initial step towards allowing listening for download progress.
2013-09-29 17:25:29 -04:00
Rene Gollent
9549402d30 Add libcurl build feature. 2013-09-29 17:25:29 -04:00
François Revol
f9ab70a1d1 Guard the __sync_* atomic helper with __ARM__
I didn't notice I was adding to a generic file.
2013-09-29 22:43:34 +02:00
Ingo Weinhold
d61f592d9b freebsd_network(): call uninit_hard_clock() on uninit
Not uninstalling the timer hook could lead to a crash after unloading/
reloading the driver.
2013-09-29 22:11:17 +02:00
François Revol
c436d67da4 ARM: Add note about updating libstdc++
The __sync_fetch_and_add_4() helper is deprecated in newer GCC,
and should be droped when we update libstdc++.
2013-09-29 21:02:11 +02:00
François Revol
624ba5482b Add missing architectures for packages
The list in packagefs wasn't in sync anyway.
2013-09-29 19:48:26 +02:00
François Revol
75453edc01 ARM: Add a C version of __sync_fetch_and_add_4()
It just calls atomic_add().

No need for the asm version, it doesn't need to depend on defines.
2013-09-29 19:46:41 +02:00
Alexander von Gluck IV
48ea3fca49 radeon_hd: Style fix, no functional change 2013-09-29 11:58:27 -05:00
Alexander von Gluck IV
878a8d3fdd radeon_hd: Move to using the first found monitor's EDID
* This has positive and negitive effects. Using the
  first monitor's EDID vs the VESA EDID means DisplayPort
  monitors and adaptors function.  I think the benefits
  outweigh the risks at this point.
* Haiku will use the native display mode of the first
  monitor and set it across all attached displays.
* Please open bug reports if you notice and regressions.
2013-09-29 11:58:27 -05:00
Stephan Aßmus
572c729258 HaikuDepoStore and restore column state
* Better mechanism totore and restore window
   settiings.
2013-09-29 14:57:08 +02:00
Ingo Weinhold
81a828b660 BPackageManager: Auto-refresh if repository cache is missing
This makes the initial "pkgman refresh" superfluous, that was necessary
for "install"/"search" to work.
2013-09-29 13:14:43 +02:00
Niels Sascha Reedijk
b5a871b1bf shasum -a 256 is an alternative for sha256 on Mac OS X
First set of patches from #10028
2013-09-29 11:56:38 +02:00
Niels Sascha Reedijk
3e3ffe6858 Set defines for Mac OS X so that libsolv can be built 2013-09-29 11:56:27 +02:00
Niels Sascha Reedijk
8ce48ae581 Add HOST_LIBSUPC++ to fix compilation on MacOS X 2013-09-29 11:56:22 +02:00
Niels Sascha Reedijk
0e1ec24ac0 Merge all the documentation from Archivable.h together 2013-09-29 11:48:33 +02:00
Niels Sascha Reedijk
b7235efc80 Update support kit documentation to the latest changes on trunk
SetSubDirSupportedPlatformsBeOSCompatible ;
2013-09-29 11:48:33 +02:00
Stephan Aßmus
cb67ac0163 HaikuDepot: Avoid showing ugly rating info when there are no ratings. 2013-09-29 11:41:24 +02:00
François Revol
735ec4c018 ARM: Add longjmp_return.c to the libroot built
Linking was failing with undefined reference to __longjmp_return.
2013-09-29 04:03:09 +02:00
François Revol
396fc0b0eb Add definitions for ARM repositories and package infos 2013-09-29 03:43:02 +02:00
François Revol
3d2c989bb5 disasm: Add stub for ARM 2013-09-29 03:33:19 +02:00
François Revol
4d65f429d0 Fix bashisms
Besides, at least one test was probably incorrect,
trying to match /* with a single = in [[.
2013-09-29 03:01:39 +02:00
Ingo Weinhold
56214e2b30 Update ReadMe
* List library dependencies.
* Remove "Specific: Linux" section. I can only assume that zlib1g-dev
  is/was a package for a specific distribution.
* "Configuring your build" section:
  - Mention that a change of the cross-compilation tools may require
    re-configuring.
  - Update the configure calls as required since the package management
    merge.
* "Building via Jam" section:
  - Use build profiles.
  - Consequently use "-q".
2013-09-29 01:25:09 +02:00
François Revol
6a4f39545c configure: Fix bashism
Debian uses dash as /bin/sh which doesn't know about [[ ]].
2013-09-29 00:14:21 +02:00
François Revol
c608fa61f8 Notes for an Efika MX port, for when I get the time 2013-09-29 00:14:21 +02:00
François Revol
4c1e32d222 Some pointers for whoever would want to port to BeBox 2013-09-29 00:14:21 +02:00
François Revol
e004486647 Mention the ePAPR specification url 2013-09-29 00:14:20 +02:00
Ingo Weinhold
b543870a97 libpackage_build: Fix build for paths with spaces 2013-09-28 23:44:23 +02:00
Ingo Weinhold
a106b5224c x86: Update pe, add missing libpcre_devel packages 2013-09-28 20:16:54 +02:00
Ingo Weinhold
6eb7e259e9 libpackage_build: undefined weak symbols are unsupported
... also for gcc 4 (#8288), so we have to use the dlopen() method
always when building on Haiku. Fixes the build on gcc 4 Haiku.
2013-09-28 16:38:41 +02:00
Ingo Weinhold
ef6f476892 Remove build/jam/HaikuImage
Apparently accidentally reintroduced with the merge.
2013-09-28 15:42:37 +02:00
Ingo Weinhold
52b81e5a60 libpackage_build: Make sure built-in data dir path is absolute
Fixes #10022.
2013-09-28 15:07:06 +02:00
Axel Dörfler
86cdd3f81a PackageWriterImpl: improve error output. 2013-09-28 00:52:06 +02:00
Rene Gollent
c8f47aeac8 Fix build. 2013-09-26 21:00:26 -04:00
Ingo Weinhold
9f81ca838c Merge branch 'package-management'
Conflicts:
	src/preferences/network/Jamfile
2013-09-27 02:01:12 +02:00
Ingo Weinhold
81291304ad Merge remote-tracking branch 'haiku/master' into package-management
Conflicts:
	build/jam/BuildSetup
	build/jam/HaikuImage
	build/jam/board/sam460ex/BoardSetup
	build/jam/board/verdex/BoardSetup
	data/catalogs/apps/icon-o-matic/fr.catkeys
	src/add-ons/kernel/drivers/audio/hda/hda_codec.cpp
	src/add-ons/kernel/drivers/disk/usb/usb_disk/usb_disk.cpp
	src/apps/debugger/files/FileManager.cpp
	src/apps/debugger/files/FileManager.h
	src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp
	src/apps/haiku-depot/MainWindow.cpp
	src/apps/haiku-depot/MainWindow.h
	src/apps/haiku-depot/Model.cpp
	src/apps/haiku-depot/PackageInfo.h
	src/apps/haiku-depot/PackageInfoListener.h
	src/apps/haiku-depot/PackageInfoView.cpp
	src/apps/haiku-depot/PackageInfoView.h
	src/apps/haiku-depot/PackageListView.cpp
	src/apps/haiku-depot/PackageListView.h
	src/system/kernel/arch/arm/arch_timer.cpp
	src/system/libroot/os/arch/arm/atomic.S
	src/tools/translation/bitsinfo/Jamfile
	src/tools/translation/bmpinfo/Jamfile
	src/tools/translation/tgainfo/Jamfile
2013-09-27 01:55:45 +02:00
Rene Gollent
23afdc2ba4 Network preflet: Fix gcc4 build. 2013-09-26 19:44:11 -04:00
John Scipione
7889cac6cf Keymap: Add Defaults button to revert keymap
Fixes #9980

Since hrev44455 we save your modifier keys settings when you switch
keymaps so you could get your modifiers keys messed up and unable to
get back to normal. This Defaults button allows you to override all
that and go back to the default US-International keymap with default
modifiers so you can start with a fresh slate and set things up the
way you want.

Also moved Revert button to the left side next to the Defaults button.
We do this on other preflets, the right side is reserved for an Apply
or OK button, and, if the preflet doesn't have one, is left empty.
2013-09-26 19:37:06 -04:00
Axel Dörfler
5243ff9403 Network: Fix associated networks, support store by MAC.
* The associated networks are now selected by address, not their name.
* Storing the settings now stores the address, too.
* This fixes #10001.
2013-09-27 01:02:01 +02:00
Axel Dörfler
e3beee6b66 net_server: Support joining networks by address.
* Until now, only the SSID name was being used to select a certain network.
* Now, you can also specify an address.
* Unfortunately, I could not test these changes, but they are part of ticket
  #10001.
2013-09-27 01:02:00 +02:00
Axel Dörfler
a3c0790695 BNetworkAddress: accept NULL link address strings. 2013-09-27 01:02:00 +02:00
John Scipione
91de051305 ScreenSaver: Revert the controversial parts of hrev46012
ScreenSaver once again locks up due to the bug described in #4260
awaiting a systemic fix.
2013-09-26 18:56:58 -04:00
Ingo Weinhold
23733521a7 package daemon: Implement writable files handling
* Move Volume::Exception to top level and into own files.
* Add utility class FSUtils, move Volume::RelativePath there and add a
  bunch of FS utility functionality.
* Add FSTransaction, a helper class to record FS operations and revert
  them.
* When activating a package we now extract the writable
  files/directories it declares. The handling is not quite complete:
  - We don't handle merges yet. I.e. the user will have to do that
    manually for now.
  - We don't propagate issues/infos regarding the writable files (e.g.
    that a manual intervention is required) to the user yet.
2013-09-27 00:51:30 +02:00
Ingo Weinhold
99f1939fd8 package daemon: Package: Add RevisionedName[Throws]() 2013-09-27 00:51:30 +02:00
Ingo Weinhold
0ee677e7f1 Add BRemoveEngine
Similar to BCopyEngine, but it (surprise!) removes an entry.
2013-09-27 00:51:30 +02:00
Ingo Weinhold
4cf3529cbb BCopyEngine: Add base class BEntryOperationEngineBase
It contains a helper class Entry, which allows to generalize the
BCopyEngine::CopyEntry() parameters.
2013-09-27 00:51:30 +02:00
Ingo Weinhold
43ff23ebbf <NotOwningEntryRef.h>: Denote BPrivate explicitly 2013-09-27 00:51:29 +02:00
Axel Dörfler
6c7caf44df NetworkStatus now joins networks by address instead of name.
* This solves part of ticket #10008.
2013-09-27 00:21:04 +02:00