Commit Graph

29433 Commits

Author SHA1 Message Date
Stephan Aßmus 18b1ca6bbe * Auto hide the mouse after 5 seconds.
* Disable the screen saver when playing in full screen mode.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 21:13:23 +00:00
Oliver Tappe 8e151a5da5 * Made the AboutSystem be selectable again. Why the credits view used to be
made non-selectable on program start and selectable after the credits have
  been added escapes me.
This fixes #2497 again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 20:44:11 +00:00
Michael Lotz 3793b581f4 Complete move of shared files from Icon-O-Matic sources to icon library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 20:23:22 +00:00
Michael Lotz 8b8d44bfcc Enable just enough of the message based format used in Icon-O-Matic to allow
BIconUtils to understand and render it. This makes it possible to use the
HVIFTranslator to also read Icon-O-Matic files out of the box. Will cleanup
now duplicated files next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 20:15:04 +00:00
Michael Lotz dca631302d Fix GCC2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 19:13:39 +00:00
Michael Lotz 0994c50f8a Adding a BIconUtils based HVIFTranslator. It's not very efficient as it does
the full work twice in the worst case. Also since it only supports actual HVIF
format and not the Icon-O-Matic one directly it is not as useful as one might
think. Still it's a start. You could translate from a HVIF file to a PNG using
the command line translate tool with it (translate infile outfile 'PNG ').


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30792 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 17:37:15 +00:00
Ingo Weinhold 679eee62a1 * Generalized the Licenses class to StringVector.
* Added PackageCredit class that encapsulate all data for a package credit.
* Instead of adding the package credits directly to the text view, we do now
  first collect them and add them afterwards. Also avoid duplicates by guessing
  which package credits are newer. Fixes #3930.
* Removed the query for installed applications. Everything in core Haiku should
  be hard-coded and all optional packages should have
  .OptionalPackageDescriptions anyway. What the user installs afterwards is
  really her business and doesn't need to appear in AboutSystem.
* Removed some commented credits that should belong to optional packages.
* Added TODOs where licenses (or links to them) are missing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 15:52:04 +00:00
Joachim Seemer 8a82317f59 Fixed MIME type of installation.html. Thanks Matt for noticing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 15:46:26 +00:00
Joachim Seemer 999f69ee3a * Included lelldorin's tip on using the html2pdf add-on to overcome BeZilla's
aversion to printing.
* Fixed typo in apps-bepdf.html.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30789 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 15:03:44 +00:00
Axel Dörfler c8e7c8ef86 * _IsSystemApp() did not work anymore with the new directory hierarchy. It will
now check for the complete path instead of just the prefix. This fixes bug
  #3862.
* Made TRoster.h self contained.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 09:10:58 +00:00
Axel Dörfler 49fb9a2eab * Flatten() would create an invalid entry ref if the path did not exist, or the
path was not yet initialized. It will now fail instead.
* Got rid of EBadInput - _MustNormalize() can now return an error code instead.
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30787 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 09:09:23 +00:00
Michael Lotz 2ae482f582 Implement the FIONREAD ioctl for sockets. We already supported it in userland
but the kernel part was missing. It is used to query for the buffer size that
can be retrieved using recv(). It returns the same value we use for the read
select().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 01:13:44 +00:00
Stephan Aßmus e9c3e84e6f Removed debugging left-over... sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 00:24:01 +00:00
Stephan Aßmus 2627bad195 * Removed unnecessary code and simplified some places in the drawing code paths.
* Calling BTextView::SetText() will invoke Window()->UpdateIfNeeded(), maybe
  since some recent changes only - we should perhaps look into this... (zooey),
  but the problem was that we called BControl::SetValueNoUpdate() after that,
  and thus we were drawing the color mark at the old offset and the invalidation
  in SetValue() was rendered effectless. Fixes #3719.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-18 00:20:07 +00:00
Rudolf Cornelissen fa0fea5f25 fixed acceleration engine crashes on at least G72 cards by powering up a new part of the engine. This fixes acc on Geforce 7300/7400/7500 cards, and closes tickets #927, #1535 and #3482. In order to test this you need to go back to Haiku R30277 at least since app_server nolonger uses acceleration. Acceleration code was synced to Xfree86 4.8.0. and no chances were found. Bumped version to 0.90, updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 20:37:20 +00:00
Axel Dörfler 97970c5c26 * Applied a changed patch by Romain that fixes the non-working double click in
BListView. This fixes bug #3919. Got rid of the _TryInitiateDrag() method,
  and let MouseMoved() do it all.
* Style cleanup of the header, automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 16:49:05 +00:00
Bruno G. Albuquerque 68c8eecd08 - Clean up server output. Added more relevant information.
- Added the server to Bootscript.

This closes ticket #3446.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 14:15:00 +00:00
Bruno G. Albuquerque bcfb0a3331 - For audio-related stuff, when going from bits per second to kilobits per
second we should use 1000 as a factor and not 1024. Thanks Fredrik Ekdahl
  for the heads up.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 12:44:59 +00:00
François Revol a21fdd20f1 This check doesn't work when used inside linux32... just remove it. Use linux32 ./configure --use-32bit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 02:44:44 +00:00
François Revol eacc46fabe You also need gcc-multilib and g++-multilib on 64bit...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 02:31:25 +00:00
François Revol b83e8d5fcb - add links to apt: url to install packages for Ubuntu,
- add mention of libc6-dev-i386 which I had to install on a 64bit server,
- fix a typo.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 00:40:43 +00:00
Stephan Aßmus dd09109647 * Refactor the "Remove and Put into Trash" backend a bit to allow giving it an
index and not work on the current selection only.
* Reenable the code in MainWin that implements the shortcuts to trigger this
  feature during playback. Now it uses the Undo/Redo stack and profits from
  existing polish.
* Add missing fPlaylist locking in MainWin at several places. Should not have
  caused any realworld problems, though.
* Add Undo/Redo shortcuts to MainWin and forward to Playlist window.
* Make sure the Playlist window opens on the same workspace as the player
  window. This could be seen when launching MediaPlayer on one workspace, later
  moving the window and then opening the Playlist window, it would open on
  the original workspace. The new behavior additionally pulls the playlist
  when it's already open and you invoke the "Playlist" menu item.
* Added the beginnings of a refactoring to make the Playlist and everything
  else use a PlaylistItem class, instead of entry_refs directly. This stuff is
  not yet used, though, just compiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-17 00:16:08 +00:00
Axel Dörfler e85f80eedf * So many style violations in so few lines of code...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 22:48:45 +00:00
Bruno G. Albuquerque 1bf034d2f5 - Check if we had any changes in status before sending a notification for a new
inserted media. This fixes ticket #3921.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 21:41:33 +00:00
Axel Dörfler ce4db6ae11 * The covered vnode release was never put when it already was a mount point
during fs_mount(). This fixes bug #3934.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 21:28:12 +00:00
Axel Dörfler d69a73dfc7 * The Be API requires that options and mask is 0 to remove a mask using
BView::SetEventMask(). This fixes bug #3928.
* And while the app_server handled that correctly, BView actually did not, and
  stored the wrong value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 21:09:33 +00:00
Axel Dörfler 314854708a * Applied patch by Siarzhuk Zharski that adds support for .rdef files to the
makefile-engine. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 20:10:01 +00:00
Axel Dörfler d88527df5c * Applied a patch by Rene that fixes bug #3856.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 20:00:59 +00:00
Bruno G. Albuquerque 51d94f48fe - Set the CD:do_lookup attribute correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 16:23:16 +00:00
Stephan Aßmus bae0154ca3 * I didn't like so much how the "Remove and Move into Trash" feature was
implemented. It didn't reuse existing code and didn't integrate well. No
  Undo/Redo except via Tracker, but not in the Playlist... some bugs as well
  (Remove had same shortcut as Randomize, Didn't maintain current playback item
  if last entry was removed)
* I need to reenable the main window short cut though. This is only temporary.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-16 11:29:19 +00:00
Oliver Ruiz Dorantes 1343446530 Style cleanup(or not making it worse), fix some statistics(Monni)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-15 22:11:19 +00:00
Stephan Aßmus 4ee70e3bba * Adopt the Init menu to the currently available
disk systems. For disk devices, we allow not only
  file systems, but any disk system. This gets us
  "Intel Partition Map" and "Intel Extended Partition".
  I managed to initialize a disk with Intel Partition
  Map this way.
* I imported a large chunk of currently disabled code
  from Ingo's partitioner command line tool, which can
  eventually be used to create partitions in the empty
  space. I kept the "Create" menu still disabled, but
  the correct content types are actually retrieved already,
  which are "Intel Primary Partition" and "Intel Extended
  Partition".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-15 18:19:10 +00:00
Oliver Tappe cdea942eea * if a dead key sequence does not produce a special character as defined by
the dead key character map - both the dead key itself and the following
  character are being sent. 
  R5 seems to do the same, at least the resulting behaviour in the terminal
  is now identical: e.g. if you press ^ once, you see nothing, if you press ^ a
  second time, you see '^^'.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-15 10:10:47 +00:00
Oliver Tappe b62daa4867 * adjusted _HandleInputMethodChanged() to not blindly insert the string that
has been given via the inline input method, but to feed the individual
  UTF8-characters it contains to KeyDown() - this way special keys like
  B_BACKSPACE and cursor keys will be handled correctly instead of producing
  a "unknown char rectangle"


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-15 10:05:05 +00:00
François Revol c75b5c6c68 Mozilla handles gopher: urls very well btw :P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-15 00:10:32 +00:00
Oliver Tappe 78da6449b0 * corrected the computation of alignment offsets for centered or right-aligned
textviews, such that the characters are drawn at their correct positions and 
  there  are no longer any mismatches between caret and character positions
* fixed too large widths returned by LineWidth() for lines ending with a
  newline: the newline character must not contribute to the width
This makes the textcontrol in DiskProbe work properly again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-14 17:44:49 +00:00
Oliver Tappe 2660bd9be1 * adjusted to allow for switching between alignments (and now makes use of
the layouting engine, too)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-14 17:39:00 +00:00
Joachim Seemer 2f535f20c0 Added a line for adding the Development optional package, so the @ disk case wouldn't be empty.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-14 15:58:15 +00:00
Jonas Sundström e56cb27512 Launch URLs via BUrl class. Rearranged header files according to guidelines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:30:55 +00:00
Oliver Tappe 8ca914d177 * removed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:28:34 +00:00
Jonas Sundström 03458c01a2 More style guide fixes. Removed a lot of preprocessing / conditional building, with intent to fix or remove. Moved urlwrapper class declaration to its header file. Renamed things for clarity. Removed 5 extra mimetypes for IE shortcuts. (We have one, with sniffing rule and extension.) Moved the UnurlString() back to urlwrapper.cpp and renamed it _DecodeUrlString(). Tweaked copyright clauses. A lot more needs fixing, esp. in urlwrapper but also in BUrl, and I intend to keep working on this until we're satisfied. Let me know of any remaining/added style violations! Feedback welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:19:42 +00:00
Oliver Tappe f287ca7dc8 fixed behaviour of non-editable textviews:
* non-editable textviews no longer draw the caret
* the cursor keys scroll immediately, not only when the (invisible) caret 
  reaches the views bounds
* HOME/END work more reliably
* any selection stays active throughout keyboard navigation
Tested with AboutSystem, Mail, StyledEdit and Beam - seems to work ok


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:09:15 +00:00
Jonas Sundström f945cef7cb Adding mime for Internet Explorer shortcuts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 19:58:05 +00:00
Rudolf Cornelissen 52bba50d36 re-enabled ID 0x0141, Geforce FX 6600, since the card is confirmed working OK by me. If someone encounters trouble, contact me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 19:01:08 +00:00
Joachim Seemer d68ad369c3 Added installation.html once more. Sorry for all the mess...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 18:15:30 +00:00
Joachim Seemer 8613c15d30 Once more removed installation.html just
to re-add it afterwards...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 18:14:44 +00:00
Oliver Tappe 246d3119ea * fixed coding style issues
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 15:56:38 +00:00
Ingo Weinhold 6a1e04b121 Symbol resolution functions in the kernel: Removed the unused parameter
allowing optional prepending of a string to the symbol names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 15:25:27 +00:00
Bruno G. Albuquerque 0bd0e0af2a Marco Nelissen: The bitrate of an audio CD is 44100*4*8 (well, the bitrate of
the "files" is, the actual bitrate of the CD is higher because of error
correction).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:54:06 +00:00
Axel Dörfler b0c7d4fa15 * Removed operator=(otherLocker) again. Didn't really make sense this way,
as Stippi correctly pointed out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:45:53 +00:00