Commit Graph

49629 Commits

Author SHA1 Message Date
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
Pawel Dziepak
b637b72e15 nfs4: Notify listeners when file grows 2014-02-21 04:52:29 +01:00
Pawel Dziepak
90213f44ac nfs4: Fix coding style
No functional change intended.
2014-02-21 04:19:00 +01:00
Pawel Dziepak
e1be7a26a4 nfs4: Make sure OpenDirCookie::fSnapshot is properly initialized 2014-02-21 04:19:00 +01:00
Pawel Dziepak
afc21e1367 nfs4: Fix gIdMapper resource leak
Mounting another nfs4 volume loses reference to the previous idmapper
service. Thanks Stephan for pointing this out.
2014-02-21 04:19:00 +01:00
John Scipione
6a6d5a80a1 Add decorators to system non-packaged decorator directory
... commented out still for now. BeDecorator is almost ready,
MacDecorator and WinDecorator need a bunch more work still.
2014-02-20 19:31:51 -05:00
John Scipione
14aa801ae9 Update DecorInfo to scan for decorators
Look in system and user packaged and non-packaged decorator directories.
2014-02-20 19:31:49 -05:00
John Scipione
b8187adfc7 normalize Jamfiles 2014-02-20 19:31:48 -05:00
John Scipione
125ee2cb57 Update header guards, copyright 2014-02-20 19:31:47 -05:00
John Scipione
5f5f085b42 Update copyright, Be and Win Decorator descs 2014-02-20 19:31:45 -05:00
John Scipione
ebf02ff745 Fixup the Mac Decorator, it compiles and works
... but it still needs a lot more work to integrate with S&T.
2014-02-20 19:31:44 -05:00
John Scipione
6f99a609e3 MacDecorator: Give credit and update description
... to Adrien Destugues and DarkWyrm.
2014-02-20 19:31:43 -05:00
John Scipione
a8159e3bc6 Give DarkWyrm credit on WinDecorator 2014-02-20 19:31:42 -05:00
John Scipione
cfe0652a5e Move Tab code into Decorator and refactor 2014-02-20 19:31:40 -05:00
John Scipione
699dd3e776 Refactor WinDecorator 2014-02-20 19:31:38 -05:00
John Scipione
e0cbe1aa5d Refactor BeDecorator 2014-02-20 19:31:37 -05:00
John Scipione
709282cb85 Maintain the zoom box size ratio 2014-02-20 19:31:35 -05:00
John Scipione
e37b01b01d Invalidate bitmaps when you change font size 2014-02-20 19:31:34 -05:00
John Scipione
5a32087b8e Redo close and zoom buttons
... to draw into a cached bitmap and border for BeDecorator.

Make the box positioning closer to BeOS too.

Also rearrange methods in DefaultDecorator and TabDecorator a bit.
2014-02-20 19:31:32 -05:00
John Scipione
63720e0fd0 Convert BeDecorator to derive from TabDecorator
Also, make the close and zoom buttons update when clicked.
2014-02-20 19:31:30 -05:00
John Scipione
106fe8b325 Create a TabDecorator class
Which contains methods common to Default Decorator and BeDecorator, aka
"tabbed" decorators.

Derive DefaultDecorator from a new TabDecorator base class.
2014-02-20 19:31:29 -05:00
John Scipione
662298bc9d BeDecorator: Update header guard definition 2014-02-20 19:31:27 -05:00
John Scipione
87c5118275 Decorators: Update copyright headers 2014-02-20 19:31:26 -05:00
John Scipione
719b56b055 DefaultDecorator: updateRect not update 2014-02-20 19:31:24 -05:00
John Scipione
78a987cc9b Make the decorators not crash 2014-02-20 19:31:22 -05:00