Commit Graph

49653 Commits

Author SHA1 Message Date
John Scipione 94f8ac8cf1 ScreenSaverRunner: print errors to stderr instead of stdout.
Also print on a couple of new error cases:
* print and error if fSaver is NULL,
* print and error if unload_add_on failed.
2014-02-25 15:00:11 -05:00
John Scipione 06f133c1f2 ScreenSaverRunner: treat load_add_on return value like an image_id
... rather than a status_t, because that's what it is.
2014-02-25 15:00:09 -05:00
John Scipione 84466cefd3 ScreenSaverRunner: check return value of methods 2014-02-25 15:00:08 -05:00
John Scipione d960838b5b ScreenSaverRunner: clarify some comments 2014-02-25 15:00:07 -05:00
John Scipione 4116ae4ffd ScreenSaverSettings: check find_directory return value 2014-02-25 14:58:38 -05:00
John Scipione 6d55c2c490 ScreenSaver: check function return values for success 2014-02-25 14:58:38 -05:00
John Scipione a3dc72e69c ScreenSaverSettings: Silly indentiation fix 2014-02-25 14:58:37 -05:00
Jérôme Duval 8b804bc17b findutils: use the HaikuPorts package.
* removed in-tree version.
* added as bootstrap package.
* note: HaikuPorts package has no rdef for binaries.
2014-02-25 17:58:32 +01:00
Stephan Aßmus 99d23e5198 app_server: Apply scale to round corner radius. 2014-02-24 11:43:54 +01:00
Stephan Aßmus fe3c024016 EXRTranslator: Catch any exception.
Experimenting with avoiding some RTTI bug that triggers
when old BeOS binaries iterate Translators.
2014-02-24 11:43:54 +01:00
Humdinger 15a4535714 Updated UberTuber to v0.9.10 2014-02-24 10:56:38 +01:00
Puck Meerburg 92d40f5451 ARM Kernel stubs: Fix mutex stubs 2014-02-23 22:11:22 +01:00
Oliver Tappe 5c9657b7e5 Fix creation of haikuports.conf for bootstrap image.
* comments in here-documents don't work (the shell filters them out),
  so we echo the comment line explicitly
2014-02-23 18:46:18 +01:00
Adrien Destugues fd621a0291 Use the TARGET_* variable instead of the HAIKU_* one.
HAIKU_* variables are copied to TARGET_*, making it possible to also
build for other targets (libbe_build, or BeOS R5 when we still allowed
that).

Thanks to Ingo for explaining how this is meant to work.
2014-02-23 18:38:22 +01:00
John Scipione 0810449709 HaikuImage: Add empty system non-packaged directories
... mirroring home/config/non-packaged/

Also, sort the list lexographically and move the creation of the non-packaged
decorators directory from HaikuImage to HaikuImageCommon along with the rest.
2014-02-23 12:10:13 -05:00
Adrien Destugues 22011f8b6c ARM Atomics: implement __sync_syncronize
GCC doesn't provide an ARM implementation of it. It's easy to write one
for ARMv6 and above, while older archs will need this implemented as a
syscall just like other atomics.
2014-02-23 16:25:34 +01:00
Adrien Destugues faa2d8a95b Don't link the kernel as a shared lib on ARM
We have the same problem as on x86_64: posiiton dependant code isn't
allowed in shared libraries. Since Kernel.so is not used at runtime,
we can use the same hack as on x86_64, and use elfedit to make the
linker think our kernel is a shared library.
2014-02-23 16:23:45 +01:00
Adrien Destugues 81e7f1e992 Fix definition and use of target ASFLAGS.
* ArchitectureRules define a variable named HAIKU_ASFLAGS, so other
Jamfiles can append to it.
* But, TARGET_ASFLAGS was used instead in the single place where we
tried to make use of this (the verdex BoardSetup), and in the As rule
* Moreover, the As rule used $(architecture) instead of
$(TARGET_PACKAGING_ARCH) (I suspect a bogus copypaste?). So, it never
actually made use of the flags

With this working, add the proper flags to the BeagleBoard BoardSetup,
so we implement atomic operations the ARMv7 way (no need to syscall).
This helps with compiling, as the As and Cc/Cpp rules now agree on the
defines and the atomic implementation to use.
2014-02-23 15:50:11 +01:00
John Scipione cbc568498d Flurry: Show a preview... try number two
Also, we are safe to enable direct mode now (it already was)

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.

Remove obvious comment in DirectConnected
2014-02-23 04:10:09 -05:00
John Scipione 25952f8e92 Revert "Flurry: Show a preview"
This reverts commit 61935d56e6.
2014-02-23 04:06:43 -05:00
John Scipione 8e727810a7 Gravity: Live update settings and cleanup
Now that this screensaver shows a preview, update the settings live
so that the display updates immediately.

Since this didn't work before this screensaver took a shortcut and only
updated the settings when the saver started.

Some other changes include:
* Update copyright header, add myself to the authors list.
* Convert Particle from using a BList to a BObjectList and remove casts.
* Use switch statement to set particle color that has a default case for blue.
* Initialize member variables to a default value in the constructor.
* Remove Constants.h, the remaining constants are in ConfigView.cpp
* Convert deprecated GroupLayoutBuilder to a LayoutBuilder template instance
* Convert GravitySource from a class to a struct since all members are public.
* Simplify realCount calculation to just a single left shift.
* A bunch of style fixes
  - lots of whitespace fixes
  - rename rect to frame in GravityView and ConfigView
  - reorder the frame parameter first in GravityView and ConfigView
  - curly brace goes on same line as class or struct declaration

This turned out to be a bigger change than I originally intended to make.
2014-02-23 03:50:15 -05:00
John Scipione 60f8c91355 Gravity: Style fix, rename msg parameter to message 2014-02-23 02:16:29 -05:00
John Scipione ed18c89481 Gravity: Show a preview
Also, we are safe to enable direct mode now.
2014-02-23 02:14:09 -05:00
John Scipione 61935d56e6 Flurry: Show a preview
Also, we are safe to enable direct mode now.

This is untested due to this screensaver currently crashing but it should
work once #10206 is fixed.
2014-02-23 02:12:39 -05:00
John Scipione 823781426f GLifeSaver: Show a preview
Also, we are safe to enable direct mode now.
2014-02-23 02:10:18 -05:00
John Scipione 0fb019bbf2 Screensaver: Convert Screensaver to a BDirectWindow
This allows OpenGL screensavers to be able to show a preview.
2014-02-23 02:07:23 -05:00
John Scipione ada2a0a1ef Screensaver: Small style fixes to PreviewView 2014-02-23 02:05:49 -05:00
Jérôme Duval 339e00cc32 Add findutils package for x86 and x86_gcc2. 2014-02-22 18:09:09 +01:00
Jérôme Duval 2811570586 Add findutils package for x86_64. 2014-02-22 15:02:26 +01:00
Adrien Destugues a94260d895 Add less and netcat packages for x86_gcc2
* Waiting for x86 and x86_64 ones before we can remove the built-in
version in Haiku...
2014-02-22 14:59:17 +01:00
Julian Harnath d10ecc2c41 Style fix: add parameter name
* As pointed out by Axel.
2014-02-22 13:51:55 +00:00
Julian Harnath dad49763d8 Disallow copy-construction of BCertificate.
* Prevents accidential creation of multiple instances with
  ownership of same fPrivate.
2014-02-22 13:51:52 +00:00
Jérôme Duval c2d994b00e HaikuImage: activate GL components with mesa feature. 2014-02-22 14:32:10 +01:00
Julian Harnath c99d7ea45c Fix double-free crash in BSecureSocket when cert. verification fails
* BSecureSocket::CertificateVerificationFailed() took a BCertificate
  instance by value as parameter.
  BCertificate deletes internal data in its destructor. Passing an
  object by value creates a copy, so the copy attempted to delete
  the internal data again during its destruction.
  This caused mail_daemon to crash here when it came across a failed
  certificate.

* Fix: pass BCertificate object as reference.
2014-02-22 02:09:55 +00:00
Alexander von Gluck IV 2eccf32862 x86_64: Add latest Mesa packages
* Solves #9362
2014-02-22 01:38:20 +00:00
John Scipione 5e96d7d537 Localize keyboard layout names in Keymap preferences 2014-02-21 20:05:26 -05:00
John Scipione 4e152efced Keymap modifiers: make it a floating window 2014-02-21 17:11:47 -05:00
John Scipione 73ee1578a9 Keymap: Hide/show warning/stop icon views 2014-02-21 17:11:47 -05:00
John Scipione a7b27d4916 Keymap: 80 char limit style fix 2014-02-21 17:11:47 -05:00
John Scipione 528688c0c8 Keymap: Sentence case these pragmas 2014-02-21 17:11:46 -05:00
John Scipione 313b1c624f Keymap: Center Modifier Keys window in main window 2014-02-21 17:11:46 -05:00
John Scipione a44b74d545 Keymap: static functions back to private methods 2014-02-21 17:11:45 -05:00
John Scipione 2943ba1354 Keymap mod keys: Add warning icon.
That shows when the left and right side key roles don't match.
e.g. The left control key has a different key role than the right
control key.

The warning doesn't actually stop you from setting the modifier
keys though.

Add tooltips on the warning and stop icons explaining the
problem.

Also a couple minor style fixes.
2014-02-21 17:11:45 -05:00
Adrien Destugues 64c12b418f Reintroduce BeOS compatible en/decode_base64.
Fixes #8579.
2014-02-21 22:30:18 +01:00
Stephan Aßmus 838c4c8779 PackageInstaller: Fix rewriting paths to system
In BeOS, there was no /boot/system, there as /boot/beos/system. If memory
serves. Fixes install location of GoBe Translators.
2014-02-21 22:11:05 +01:00
Stephan Aßmus 09b0602fff Tracker: Revert not offsetting the text.
It actually looked better before. It completely depends
on the first and last letter of the text whether there is
a pixel too much on the left or right. On average, it
looks better with the offset, since the string width often
includes the spacing needed before the next glyph on the
right, while the string touches the bounding box on the left.
What should be changed is how tight everything is in general,
the selection box should simply extend more outward. But I
don't really feel like diving into that right now.
2014-02-21 09:51:52 +01:00
Stephan Aßmus 06a4c38e3a Tracker: Don't offset text in selection box
Either the offset was a workaround for some BeOS bug or
backwards compatibility (I know of at least a vertical off-by-one
text positioning on BeOS for backwards compatibility reasons), or
the Haiku (FreeType) text rendering simply differs slightly, which
can't be avoided. In any case, relevant here is what looks better.
Should fix #1319.
2014-02-21 09:41:16 +01:00
Alexander von Gluck IV 122d1cddc9 Haiku: Fix posix INT64_C macros on x86_64
* Was causing LLVM to fail to build on x86_64
* Make XINT64 adjust based on architecture like
  config/types.h to ensure these macros match
  uint64 and int64 at all times.
* Resolves #10566
2014-02-21 01:38:54 -06:00
Ingo Weinhold 374cf8c85d Localize keymap names in Keymap preferences 2014-02-20 23:51:38 -05:00
Pawel Dziepak d072da2344 nfs4: Don't flush cache when closing read only share reservation
NFS4 specification requires that modified data has to be flushed before
sending CLOSE request. Our original implementation was stricter than that
by flushing all modified data at each file close. That caused problems
with e.g. Tracker, which likes to periodically open files for read only,
in a situation when there were still asynchronous writes pending
(e.g. large file copied).
2014-02-21 04:53:45 +01:00