Commit Graph

50126 Commits

Author SHA1 Message Date
John Scipione
ca6cc0aa50 BMenu: Replace min_c and max_c
... with std:min and std:max
2014-04-24 15:31:13 -04:00
John Scipione
b7096fd76b BMenu: remove useless default case 2014-04-24 15:31:13 -04:00
John Scipione
cb30cf1423 BMenu: style fixes 2014-04-24 15:31:12 -04:00
John Scipione
a631719fb4 BButton style fixes 2014-04-24 15:31:12 -04:00
Adrien Destugues
c161ea9ac2 WebPositive: add a bookmark bar.
* This is a BMenuBar with IconMenuItems.
* Uses node monitoring to live-update the bar as bookmarks are modified.
* Bookmark folders are BNavMenus and can be browsed.
* This needs some improvements, for example handling more bookmarks than
the window width allows us to show (with an extra menu like for tabs?)

Fixes #10232.
2014-04-24 14:33:54 +02:00
Adrien Destugues
53286932c0 Move IconMenuItem.h to headers/private/tracker.
* This can be useful outside of Tracker, so make it more visible.
2014-04-24 14:33:53 +02:00
Adrien Destugues
84da57fd56 MediaRoster: remove another message to app stdout. 2014-04-24 14:33:52 +02:00
Adrien Destugues
9f97d1cca2 Remove useless include. 2014-04-24 14:33:51 +02:00
Adrien Destugues
1cb5adb698 TabManager: better delay detection for closing the menu.
As suggested by stippi, we can use system_time and the CurrentMessage
when field to determine the relative time of the actual mouse clicks,
rather than the time of message delivery.
2014-04-24 14:33:49 +02:00
Adrien Destugues
422265608e Add a sniffing rule for XML.
* Set to a weak priority, to let more specific rules be used (svg,
xhtml, etc.)
2014-04-24 14:33:48 +02:00
Stephan Aßmus
e08beebef9 HaikuDepot: Work on retrieving more pkg info
* Simple, incomplete JSON string-builder.
 * Not yet using the new bulk information method of the web-app.
 * Not yet parsing the reply and doing anything with it, consequently
   commented out.
 * What works is generating a JSON command and receiving the reply.
2014-04-24 00:21:33 +02:00
Alexander von Gluck IV
5153d5ee57 mesa: Add x86 10.1.1-1 build package based on recipe 2014-04-23 13:51:38 -05:00
Jérôme Duval
6e9926d050 MPL 2.0: added a v in the name 2014-04-23 18:33:13 +02:00
Jérôme Duval
dba5c2a286 Added license file for MPL 2.0. 2014-04-23 17:33:32 +02:00
Adrien Destugues
179c6ec2fd Remove some traces sent to application stdout.
* This may be fine in media server where it lands in logs, but certainly
not when the code is run in applications.
* Helps with all media-related webkit tests.
2014-04-23 15:13:14 +02:00
Adrien Destugues
804056af27 More tweaks to the HTML related sniffing rules:
* MHTML: give a higher priority than HTML to improve detection results,
as MHTL is likely to contain HTML in the first chunk.
* HTML: scan the first 512 bytes to increase likeliness of finding a tag
* XHTML: don't try to identify on the dectype, this is not reliable and
missing from some documents. Recognize "<html xmlns" and the utf-16
equivalent, as well as part of the DTD tag.
2014-04-23 15:13:12 +02:00
PulkoMandy
e70c4c6404 configure: allow setting HAIKU_BOOT_BOARD
* Since this affects generated objects and needs a clean build anyway,
it is better set and fixed at configure time.
* It could also be used when building the cross compiler to set
appropriate options.
2014-04-22 22:26:20 +02:00
Adrien Destugues
507a03cfe0 Clsoe the tab list menu when clicking the button twice.
The menu was closed, but immediately reopened by the click on the
button. If the time since the menu closing is shorter than a
double-click delay, don't open the menu again.

Fixes #9538.
2014-04-22 16:29:11 +02:00
Adrien Destugues
d62f3e4a33 Forgot to commit this. Fixes the build. 2014-04-22 14:52:48 +02:00
Adrien Destugues
48d90a5092 Notifications: only color the left stripe
* Setting the important/failure color on the whole view looked ugly.
* Important notifications use B_CONTROL_HIGHLIGHT_COLOR, instead of
white.
* We may want to select better success and failure colors. Pure red and
green don't look very good. Suggestions welcome.
2014-04-22 13:46:46 +02:00
Adrien Destugues
567a96acc9 Pop a BNotification on download success/failure.
Clicking the notification opens the downloaded file for succesful
downloads.
Fixes #10689.
2014-04-22 13:31:28 +02:00
Adrien Destugues
976bc77c7c Activate download window when starting a download.
Fixes #9575.
2014-04-22 11:19:08 +02:00
Adrien Destugues
de3e2b5186 BGradient: don't allow out of bounds stops.
* They crash app_server if you try to use them, which is not a good idea.
* we could clamp them to 0/255, but reporting the error to the user
seems better.
2014-04-22 10:45:24 +02:00
PulkoMandy
574dbabb00 Configure the ARM compiler to default to Cortex-A8
Ideally, we would only need to set this in build/jam/board/*, but the
flags set there are not passed to the build of packages. The default is
using some early ARM variant, for which gcc lacks some more atomic
operations and emits calls to helper functions we don't implement.

Setting the default architecture avoids this, as all packages will now
be built to target the Cortex-A8.

Also set the proper VFP version in BeagleBoard config file.

Note this breaks the Verdex and Pi builds, but ARMv7 is what we should
focus on for now. We can try to make older archs work after finishing
the m68k port.
2014-04-22 09:49:32 +02:00
Oliver Tappe
f35543f6bd Correct gcc_bootstrap versions.
* Referring to a gcc_bootstrap version that actually exists improves
  the bootstrap insofar as it will no longer try to build gcc_bootstrap
  every time.
2014-04-21 23:26:21 +02:00
PulkoMandy
b8058ea8ee Disable multilib for the ARM compiler build.
* This avoids mixup of the soft/hard float libs
* It also means we can use the hard-float libs for targets that supports
it
* Again, we could introduce an arm_softfp compiler for targets that
don't have floating point support, with a different gcc build.
2014-04-21 21:21:28 +02:00
Adrien Destugues
bfcb02267b Mesa_x86: fix libstdc++ dependency. 2014-04-20 22:34:38 +02:00
Adrien Destugues
57fb066606 Add glew_x86 package. 2014-04-20 21:02:14 +02:00
Adrien Destugues
dcf0e44768 Fix glu dependency to libstdc++. 2014-04-20 20:40:56 +02:00
Adrien Destugues
fd015f0118 Add several SDL games with their dependencies
Road Fighter, Maze of Galious, Mirror Magic, Super Transball, Goonies,
F-1 Spirit, and Rocks'n'Diamonds.
2014-04-20 15:12:09 +02:00
Adrien Destugues
69e44d4732 Add qemu package with dependencies. 2014-04-20 13:41:04 +02:00
Ingo Weinhold
8c6e1bf548 package daemon: Sever Volume-CommitTransactionHandler friendship
Move quite a bit of transaction related methods from Volume to
CommitTransactionHandler.
2014-04-20 11:54:10 +02:00
Ingo Weinhold
933e7b3280 Move Volume::CommitTransactionHandler to top level
Also move constant definitions to Constants.h/cpp.
2014-04-20 11:09:56 +02:00
Ingo Weinhold
273763d052 package daemon: Move Volume::State to top level
... and rename it to VolumeState.
2014-04-20 09:44:01 +02:00
Ingo Weinhold
6cf0a86499 findpaths: Add missing --list long option 2014-04-20 09:44:00 +02:00
Oliver Tappe
94089b909d Revert 6f68e52 and fix the gcc2 build via template.
* Instead of forcing the hash-table to use a copy of the key,
  introduce and use TypeOperation template to avoid taking a
  reference of a reference type (which gcc2 doesn't allow).
2014-04-20 00:26:29 +02:00
Adrien Destugues
8116f47f3e Add more packages: vcmi, cvsps, ... 2014-04-19 23:58:40 +02:00
PulkoMandy
279c181ab8 Import stdatomic.c from freebsd for ARM port
* Fixes missing atomic stuff that gcc requires
* The gcc build still fails further down, because of a mixup of
VFP/nonVFP objects (at least for beagle build).
2014-04-19 23:44:32 +02:00
Adrien Destugues
2a765fb358 Update various packages. 2014-04-19 18:07:29 +02:00
Jessica Hamilton
94febdfe87 AboutSystem: use BPathFinder correctly 2014-04-20 01:41:38 +12:00
Jessica Hamilton
07fae11ef8 AboutSystem: use BPathFinder instead of find_directory. 2014-04-20 01:06:06 +12:00
Jessica Hamilton
8173945dc4 AboutSystem: license hyperlinks were missing due to incorrect count 2014-04-20 00:05:17 +12:00
Jessica Hamilton
6f68e52f1f packagefs: BOpenHashTable keys are already reference types. 2014-04-19 22:22:24 +12:00
Jessica Hamilton
57fc26c16b Moved myself to current maintainers list. 2014-04-19 20:50:26 +12:00
PulkoMandy
aa284789e6 Update gcc version to match bootstrap repo.
* Fix bootstrap image build.
2014-04-19 10:11:40 +02:00
PulkoMandy
2c8f0c5015 Fix compile error on 64-bit machines.
* This is built for the host system, so we can't use B_PRIdOFF.
* Until POSIX introduces a format constant for off_t, cast the variable
to long long to avoid a warning.
2014-04-19 10:11:39 +02:00
Pawel Dziepak
744dfa3c4c kernel: make sure thread priority is within valid range
The scheduler expects that all threads expect the initial idle threads
have priority in range [THREAD_MIN_SET_PRIORITY, THREAD_MAX_SET_PRIORITY].
If the requested pririty is out of range the value is clamped. Failing
with B_BAD_VALUE is probably an overkill since there isn't any real
change in the guarantees provided by the scheduler about the behavior
of such thread. Also, BeBook suggests that spawn_thread() can specify
priority 0.
2014-04-18 23:55:18 +02:00
Ingo Weinhold
2d91773d2e Adjust packagefs ioctl interface to support old states
* PackageFSVolumeInfo: Add the directories for all relevant states.
* PackageFSPackageInfo: Include the package file's parent directory node
  ref.

Package daemon and package kit still don't support old states yet.
2014-04-18 23:31:40 +02:00
Ingo Weinhold
5d55f327ed packagefs: Initial support for booting into old states
If an old state is specified via mount parameters we load the packages
as specified in its activated-packages file.

The interface for the package daemon, the package daemon itself, and
the package kit are still to be adjusted, so ATM some PM components
might be a bit confused when an old state was booted.
2014-04-18 23:31:40 +02:00
Ingo Weinhold
6b3a5caf99 VFS: Pass packages state selected in boot loader to packagefs 2014-04-18 23:31:40 +02:00