Commit Graph

51972 Commits

Author SHA1 Message Date
Rene Gollent
4501776089 Debugger: Style fixes. 2014-10-26 14:11:25 -04:00
Rene Gollent
cda38afb68 Debugger: Initial GUI for expression evaluation.
- Add a simple interface window for expression evaluation. Not yet
  accessible from the team window.
2014-10-26 14:11:24 -04:00
Ingo Weinhold
1714eaf29e pkgman resolve-dependencies: Add --debug option 2014-10-26 13:41:00 +01:00
Ingo Weinhold
f76e8e9d92 Terminal: Fix pagewise scrolling in alternate screen buffer mode
It still used the old modifiers. Now it's shift as elsewhere.
2014-10-26 13:19:45 +01:00
Michael Lotz
831abecd6a kernel: Fix unbalanced release of sync object in FD select race.
When a file descriptor is closed between being selected and adding the
select info to its IO context, the select info needs to be cleaned up.
This is done by deselect_select_infos() which unconditionally also put
the select_sync associated with the infos. In this special case we do
not yet hold a reference to the select_sync however, so avoid putting
the corresponding sync object.

Fixes #11098, #10763 and #10230.
2014-10-26 00:30:08 +02:00
Stephan Aßmus
a88f2beb0f Make HaikuDepot the preferred app for .hpkg files.
Note that double clicking a .hpkg in one of the packages folders will
not yet have a sensible result. I think it should open the regular
HaikuDepot with the full packages list, default to show installed packages
only and pre-select the package that was double clicked. It would be tricky
however if more than one installed package file is opened at once.
2014-10-26 00:25:19 +02:00
Ingo Weinhold
dd15db954b pkgman: Add --debug option for most commands
* Add CommonOptions class and add an instance to Command. It supports a
debug level.
* full-sync, install, search, uninstall, update: Add option --debug.
This allows getting some debug output from the solver in cases where
the result seems weird.
2014-10-26 00:19:35 +02:00
Ingo Weinhold
d228f29f6e BPackageManager: Add SetDebugLevel()
Sets the debug level of the solver.
2014-10-26 00:19:35 +02:00
Ingo Weinhold
74b582a4e5 BSolver: Add SetDebugLevel()
In LibsolvSolver set the debug level of the pool.
2014-10-26 00:19:35 +02:00
Stephan Aßmus
5f52e82c00 HaikuDepot: Some work in progress to prepare "opening" packages
The idea is to parse packages for Deskbar links and offer to "open" them
once they are installed. The added functionality is not yet complete and
will eventually figure out the file system location of a package and parse
the contents. I am mainly pushing this since my git-foo is limited and
I want to push the fix for the discovered deadlock.
2014-10-26 00:13:48 +02:00
Stephan Aßmus
6b147523f1 HaikuDepot: Fixed potential dead-lock in package list refresh.
When the package list was refreshed while package info was still being
pulled from the web app, calling Model::Clear() with the model lock already
held could lead to a dead-lock: The package populator could block on the
model lock to update information, while StopPopulatingAllPackages() waited
for the thread to exit, but held the lock that the thread was blocking on.
So call StopPopulatingAllPackages() before grabbing the lock and calling
Clear() in MainWindow::_RefreshPackageList().
2014-10-26 00:13:47 +02:00
Ithamar R. Adema
9c71c67140 ARM: Fix OMAP3 framebuffer divider setting
QEMU was crashing since when setting the DSS divider we were _clearing_
the TV divider, and QEMU did not check for a divide by zero.

This "fixes" the QEMU crash and gets us a working framebuffer on Beagle ;)
2014-10-25 14:49:51 -07:00
Jonathan Schleifer
1436138938 Update icu_bootstrap
Our code wouldn't compile with the old one anymore (issuing warnings
when -Werror is enabled).
2014-10-25 23:16:57 +02:00
Rene Gollent
72654b61cc Debugger: Add initial skeleton for a C-style expression evaluator.
- Adds a stripped down version of ExpressionParser from libshared,
  which will eventually be modified to support various other capabilities
  needed for debug expressions. Not yet used or complete.
2014-10-25 16:51:09 -04:00
Rene Gollent
732fd84401 Debugger: Add interface for expression evaluation.
SourceLanguage:
- Add a virtual to the language base class that requests expression
  evaluation.
2014-10-25 16:50:45 -04:00
Axel Dörfler
50d274f7f9 fs_shell: Added missing new permission check function.
* Fixes the build.
2014-10-25 19:31:15 +02:00
Axel Dörfler
5a95af70a2 vfs/{b|btr|package|b}fs/ext2/exfat: common access check.
* Added VFS helper function check_access_permissions() that combines
  several partially correct versions to the one true version (tm).
* All but BFS (since recently) missed the S_IXOTH for root on directories,
  and all but packagefs missed proper group handling.
2014-10-25 18:47:15 +02:00
Ithamar R. Adema
2ce0d69a7e ARM: fix bootloader's mmu_map_physical_memory size
When the address is not page aligned, not only adjust the address
to start mapping, but also take the "overflow" on the last page
into account.

This makes the bootloader boot again ;)
2014-10-25 09:43:15 -07:00
Stephan Aßmus
fdec4227f5 HaikuDepot: Resurrect Options menu...
And move the (new) checkmarks into the Options menu. This makes them less
easy to discover, but cleans up the UI, especially since the options to show
development and source code packages are not very important for most users.
2014-10-25 17:30:54 +02:00
Stephan Aßmus
e0a26dce59 HaikuDepot: Centralized user account features in the UI
There is now a right-aligned second menu bar for the account management.
The menu label is what was previously shown underneath the search terms field.
The menu items have moved from the Tools menu into the new user menu. This
means the login/logout functionality is directly available where the login
info is shown in the UI when you click it.
2014-10-25 17:16:37 +02:00
Stephan Aßmus
9303787b1a HaikuDepot: Show ratings in other languages with empty comments 2014-10-25 16:33:02 +02:00
Stephan Aßmus
7102f0d09b HaikuDepot: Disable package action button...
... after scheduling the respective package action.
2014-10-25 16:33:00 +02:00
Axel Dörfler
8efd5b7613 vfs: check the X permission on set cwd.
* When you change the current working directory, you actually
  should have the permission to enter that directory.
* This gives us a 0.04% better score on the perl test suite :-)
2014-10-25 15:57:38 +02:00
Axel Dörfler
49c31016cd bfs: root may always enter directories.
* If you're root, you can now always enter directories, even if they
  don't have the X permission.
2014-10-25 15:57:36 +02:00
Stephan Aßmus
87d1eac74e HaikuDepot: Implement ProgressPackageDownloadStarted()...
... by calling ProgressPackageDownloadActive() with a 0.0f progress
percentage.
2014-10-25 11:12:29 +02:00
Stephan Aßmus
24e3b35816 HaikuDepot: Support installing local package files
* Give the PackageManager either the package name, or the path to a local
   .hpkg package to Install().
 * Implement Warn() to at least print something to the command line. Change
   the TODO to show the warning to the user instead.
2014-10-25 11:12:27 +02:00
Stephan Aßmus
9002c94345 Package Kit: Always allocate local repository
Consequently always register it with the solver in Init(). This solves the
problem that it made a difference at which time Init() is called. Init() is
called at the beginning of Install() and Uninstall(), but HaikuDepot was
calling it before that for other reasons. A second call to Init() will exit
early. If local package files were added to the PackageManager instance,
the local repository was created lazily, but because Init() did not run a
second time, the local repository was not registered with the solver. Now
it already is, since it is no longer created on demand, but always.
2014-10-25 11:12:26 +02:00
Stephan Aßmus
448f707cea HaikuDepot: Never refresh repositories or package lists...
... when in single package mode.
2014-10-25 11:12:25 +02:00
Stephan Aßmus
89fbeddf2a HaikuDepot: Store local package path in PackageInfo...
... when launched with a path to a .hpkg file.
2014-10-25 11:12:24 +02:00
autonielx
24f7b6ad3b Update translations from Pootle 2014-10-25 06:22:10 +02:00
Adrien Destugues
bad2098fd5 HaikuWebKt 1.4.6. 2014-10-24 21:23:17 +02:00
Adrien Destugues
94bb430963 Revert update to ffmpeg 0.11.5 for gcc2.
More testing shown that it crashes when decoding some videos which
work with 0.10 (mostly h263 and h264). Gcc4 versions does not seem to
have a problem, so we can keep the update at least there (WebKit and
other gcc4 compiled apps will use it).

Note that the changes in the media plugin are not reversed: they are
compatible with both ffmpeg versions.
2014-10-24 19:09:16 +02:00
Hamish Morrison
1778ce4bc9 openjdk: update package to u80b02 (also fixes provides) 2014-10-24 17:42:48 +01:00
Adrien Destugues
a975642268 Update ffmpeg for x86_64. 2014-10-24 09:53:07 +00:00
Adrien Destugues
c8d6d0408f Update to ffmpeg 0.11.5.
I could not reproduce the issues in #8856 with this build. Let me know
if you run into files that don't play anymore.
2014-10-24 11:28:37 +02:00
Adrien Destugues
84e70401cd ffmpeg plugin: update to 0.11.5. 2014-10-24 10:54:07 +02:00
Adrien Destugues
7a71a43eaa Add package for gcc6809, lwtools, and dependencies. 2014-10-23 23:10:38 +02:00
Adrien Destugues
2672ea45e0 T9: fix gcc4 build and enable Werror. 2014-10-23 23:10:37 +02:00
Adrien Destugues
a8e95151f6 Add package for SDCC (Small Device C compiler)
A compiler targetting various 8 to 16 bit architectures, including z80.
2014-10-23 21:11:54 +02:00
Michael Lotz
1180b66081 PowerStatus: Implement battery low/critical notifications.
It shows a notification once the "low percentage" is reached (currently
at 15 percent) and once when the battery is about to die. This logic
should probably be revised to be based on remaining time instead. The
notification icons are simple variations of the PowerStatus icon.
2014-10-23 20:07:21 +02:00
François Revol
1b1f0fbee1 Add packages for libuuid 2014-10-23 19:45:36 +02:00
Adrien Destugues
9e19f58294 aiff_reader: fix for hybrid build.
* Not really useful now that ffmpeg can decode AIFF correctly...
2014-10-23 09:12:00 +02:00
Adrien Destugues
9fe5caaee5 Remove useless file.
* This is a leftover of in-tree ffmpeg and was not included anywhere.
2014-10-23 09:11:18 +02:00
Adrien Destugues
96dbc7d533 Remove the workaround for #11018 in two other places.
The bug is fixed, the workaround can be removed.
2014-10-23 09:10:57 +02:00
Automatic Committer
d6d99ac108 Update pci.ids from pciids.sourceforge.net 2014-10-23 05:20:22 +02:00
Michael Lotz
e9922e775f haiku_loader: Fix wrong size of gBootGDT on x86_64.
The BOOT_GDT_SEGMENT_COUNT was based on USER_DATA_SEGMENT on both
x86 and x86_64. However, on x86_64 the order of the segments is
different, leading to a too small gBootGDT array. Move the define to
the arch specific headers so they can be setup correctly in either case.
Also add a STATIC_ASSERT() to check that the descriptors fit into the
array.

Pointed out by CID 1210898.
2014-10-22 21:06:07 +02:00
Adrien Destugues
b137575c46 AreaTest: 64bit fix. 2014-10-22 19:36:05 +02:00
Adrien Destugues
5dbd0f48cc gcc4 fix. 2014-10-22 18:58:37 +02:00
Adrien Destugues
377c5aecf0 Fix AIFF decoding with ffmpeg.
AIFF files are little endian. ffmpeg detects this just fine, but we
overwrote the endianness in the decoded format info with
B_MEDIA_HOST_ENDIAN right after setting it.

Now we can decode both AIFF and WAV files just fine.

Fixes #7047.
2014-10-22 17:26:18 +02:00
Adrien Destugues
1560410ff4 AIFF mimetype: fix sniffing rule.
AIFF files follow EA IFF spec and start with a FORM chunk. They never
start with AIFF or AIFC directly.

See for example:
http://www.onicos.com/staff/iz/formats/aiff.html
http://paulbourke.net/dataformats/audio/
2014-10-22 15:50:10 +02:00