Commit Graph

47897 Commits

Author SHA1 Message Date
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
Jérôme Duval
1bc85a38d5 libroot: spawn_thread() now creates a detached pthread.
* __pthread_destroy_thread() will in turn free the pthread_thread object.
* this fixes a leak of 2072 bytes on each thread construction/destruction
and #9945. MediaExtractor spawns a thread on construction, which leaked
its pthread_thread object on destuction.
2013-09-26 21:30:59 +02:00
Alexander von Gluck IV
53e2862144 radeon_hd: Style cleanup of displayport.cpp
* These errors slipped in from an external patch
* No functional change
2013-09-25 20:49:15 -05:00
Alexander von Gluck IV
e1d4323c6c radeon_hd: Style cleanup of display.cpp
* These errors slipped in from an external patch
* No functional change
2013-09-25 20:46:14 -05:00
Adrien Destugues
e813a15846 Minimal support for uname -p
* This is used by cmake to know which CPU to build for.
2013-09-25 18:39:00 +02:00
Pawel Dziepak
2b66a08acb nfs4: Ignore superfluous slashes and get proper NFS4 share name 2013-09-25 00:58:43 +02:00
François Revol
1f4aeff06a Some places where to find OpenFirmware specs... 2013-09-23 20:21:53 +02:00
Rene Gollent
a5d9833346 HaikuDepot: Minor optimization.
- PackageAction now stores/returns a type code indicating the embodied
  action. Adjust PackageActionView accordingly in its comparison of
  the old/new package action list.
2013-09-22 17:30:02 -04:00
Rene Gollent
dd9658f010 HaikuDepot: Sort package list by name column on startup. 2013-09-22 17:26:26 -04:00
Jérôme Duval
4c78b73b8a ps2: added initial support for elantech pads.
* also added a license to ps2_alps.h
* added ps2_dev_sliced_command()
* moved some ps2 commands definitions to ps2_defs.h
2013-09-22 23:15:23 +02:00
Rene Gollent
f4058a3f9f HaikuDepot: Adjust displayed publisher.
- If available, show the package's copyright information for the
  publisher rather than the vendor, as the latter simply indicates
  the maintainer of the repository rather than the actual developers
  of the software contained in the package.
2013-09-22 16:49:38 -04:00
Rene Gollent
34f4c3ec4f HaikuDepot: Fix #10000.
- When switching selected packages, compare the new and old package action
  list. If they're the same, don't bother rebuilding the button bar.
2013-09-22 16:49:38 -04:00
Matt Madia
d68208fa16 Use double parenthesis for math expressions.
This allows FreeBSD with a pure /bin/sh (not a symlink to /bin/bash) to build
the cross-tools to a dedicated directory, outside of the generated folder.
2013-09-22 13:57:53 -04:00
Rene Gollent
99b3982f2c PackageListView: Force status field to update properly. 2013-09-22 09:04:59 -04:00
Rene Gollent
9e8ffcbb8f HaikuDepot: Rework to get actions working properly.
- BPackageManager doesn't (currently) support being reused for multiple
  differing actions, so instantiate it on the fly for each action to be
  performed.

- As such, pull the package action worker out of PackageManager and into
  MainWindow. Define abstract interface PackageActionHandler for other
  parts of Depot to use to instruct it to queue actions.

- Adjust other parts of code to take the above into account.
2013-09-22 09:02:46 -04:00
Rene Gollent
c996b65a89 HaikuDepot: Init with correct repo flags before performing actions.
Still something not entirely correct with the uninstall case though.
2013-09-21 16:58:14 -04:00
Pawel Dziepak
afaa6ed4b3 x86[_64]: Randomize initial stack pointer on alternative signal stacks
If the alternate signal stack is used randomize the initial stack
pointer in the same way it is randomized on "normal" thread stacks.
Also, update MINSIGSTKSZ value so that regardless of where the new
stack pointer points to there is at least 4k of stack left.
2013-09-21 21:52:13 +02:00
Rene Gollent
e550d7b8c5 HaikuDepot: Miscellanous improvements to package state tracking.
- MainWindow now listens for package installation state changes so
  it can keep Model's package location lists in sync.
- PackageListView now updates its status column on package state changes.
- PackageInfoView now updates the available action list when package
  installation state changes.
- PackageManager populates the expected user-specified install/uninstall
  package sets for ProblemWindow so that one can properly filter those out.

There still remain some issues with the installed locations for ResultWindow
not being entirely correct though, which causes issues for package
uninstallation.
2013-09-21 14:27:12 -04:00
Rene Gollent
fdcd014b1d HaikuDepot: Only send package status change notifications...
...if the package status actually did change.
2013-09-21 08:41:18 -04:00
Niels Sascha Reedijk
18ad64f227 Update translations from Pootle 2013-09-21 06:13:38 +02:00
Jerome Duval
3ffd22ce6d usb_disk: base the error sense handling on a reference table.
* imported asc-num.txt as a reference, was used to generate the asc sense table.
* use the sense asc and key tables to know which action and status codes are
to be applied.
* tested with an hard disk and a dvd reader.
* these tables could be reused by the scsi_periph module.
2013-09-20 23:56:06 +02:00
Alexander von Gluck IV
8304a88369 radeon_hd: Add PCIID for another REDWOOD card.
* Resovles #9993
2013-09-20 15:41:30 -05:00
Rene Gollent
7cf0e76439 HaikuDepot: Cleanups.
- Fix passing the force parameter to the refresh worker. This makes the
  refresh depots menu item actually work.

- Make failure messages regarding depot initialization/refresh visible to the
  user.
2013-09-20 14:40:04 -04:00
John Scipione
09c9f21ce4 ScreenSaver: tabs hug window boundary
Taking a page from HaikuDepot's book, remove the border from the tab
view and set the inset to 0 in order to position the tabview right on
the window's edge. Looks a bit better than the previous method since
the tabview border appeared to extend the thickness of the window
border.
2013-09-19 19:03:38 -04:00
Ingo Weinhold
acc6f8326a Update x86 openssh and perl packages, add libedit_devel 2013-09-19 23:52:15 +02:00
Oliver Tappe
7092893bdd Actually rename the updated repository to the target name. 2013-09-19 22:38:31 +02:00
Rene Gollent
4f9db8d66d Should have been part of previous commit. 2013-09-19 21:23:45 +02:00
Jessica Hamilton
59f1891eda Change volume label for MOUNT_TYPE_HOME to "config". Fixes #9968.
Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2013-09-19 21:07:10 +02:00
Ingo Weinhold
1c521f0b31 BString::Split(): Fix check 2013-09-19 20:58:31 +02:00