Commit Graph

20263 Commits

Author SHA1 Message Date
Stephan Aßmus
708491da60 * fix stupid bug that prevented the playlist to be seen at all in Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 15:18:31 +00:00
Stephan Aßmus
09464bc90b * extraced PlaylistListView into it's own files
* lots of changes, besically these make the Playlist window usable
  - drag sorting works (hold shift to copy instead of move items)
  - removing items with the delete key works
  - dragging files/folders from Tracker works (hold shift to insert
    them in the existing playlist, othewise the new files replace
    the playlist)
* some refactoring and bug fixes in previously unused functionality
* Playlist can now be locked (needed to be), and is in ControllerView,
  MainWin and PlaylistListView


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 14:35:48 +00:00
Axel Dörfler
c1dac92abf Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 12:36:39 +00:00
Stephan Aßmus
1ad1713ad2 * applied patch by Jonas Sundström,
makes the Escape key cancel the restart/shutdown dialog


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 08:18:34 +00:00
Stephan Aßmus
0d9c65d558 * applied patch by Jonas Sundström, the draggable icon in the Find window
will be drawn with alpha channel


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 08:16:13 +00:00
François Revol
0f609eb290 Fix some warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-03 00:45:56 +00:00
Stephan Aßmus
d329f1d6c1 * cleanup in MainWin, better grouping of functions in .h and
moved functions in .cpp accordingly, prepended private methods with _
* disabled InfoWin, because it accessed members of MainWin directly, 
  will be reimplemented with notification mechanism
* fixed the bug with the multiple error alerts for an unsupported file,
  the window should use the current file index from the notification
  itself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 23:22:30 +00:00
Marcus Overhagen
9e448b6224 cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 23:16:54 +00:00
Stephan Aßmus
b2d0e81723 * as an observer, the view needs to handle all observer notification messages,
or else these messages end up in the window MessageReceived()
  (since the MainWindow was observing the same notifier, it received some
  notifications twice, which was part of the reason that unrecognized files
  produced multiple error messages as reported by Marcus)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 22:53:09 +00:00
Marcus Overhagen
f56bdbb994 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 21:01:38 +00:00
Marcus Overhagen
1d18292953 Moved creating and destroying of Reader and Decoder plugins into the PluginManager class.
Removed deferred initialization from BMediaDecoder. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 20:00:48 +00:00
Stephan Aßmus
1518e4101b * Icon-O-Matic prepends a magic number when writing native files, this way
we can associate these native files with Icon-O-Matic (they also get their
  own mime type)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 18:35:29 +00:00
Marcus Overhagen
81fb129880 put InitCheck back
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 16:49:37 +00:00
Stephan Aßmus
b52415cc2e * added Ithamar R. Adema to the list of active developers
* moved Siarzhuk Zharski and François Revol from contributors
  to the list of active developers
* moved Thomas Kurschel to the list of contributors
* added Michele aka zuMi to the list of contributors
Disclaimer:
* I might have forgotten someone who should be in active developers
* I didn't mean to discourage anyone
* I am against having three separate lists anyways... :-)
* Please take it as what this is: I wanted to put Ithamar and zuMi in there
  and did some cleanup along the way...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 11:17:38 +00:00
Stephan Aßmus
7a883ee67a * new video icon, based very much on icon submitted by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-02 11:05:57 +00:00
Stephan Aßmus
1dde2ccb3e * added bookmark and volume mimetimes, don't know about bookmark, but I think
it should be reused by whatever browser we end up with



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 21:32:50 +00:00
Ingo Weinhold
46f4d84912 * Got rid of sLoadingImages. It was always empty.
* The previous symbol resolution code was incorrect. It would search all
  loaded images in the order they had been loaded. Thus an add-on would
  possibly see a symbol of an earlier loaded add-on. Now we search
  recursively starting with the respective root image (executable or
  add-on).
* Added BeOS style symbol resolution and made it the default. A symbol
  undefined in an image is only searched in its direct dependencies.
  Fixes bug #889 (BeOS apps crashing under Haiku when opening a file
  panel).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 18:09:32 +00:00
Stephan Aßmus
b31d4c4373 * messed up the build... ICON->VICN
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 17:32:55 +00:00
Stephan Aßmus
6bcb391782 * added icons for Devices, Joystick and Printers
-> done by zuMi with very minor modifications by myself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:37:03 +00:00
Stephan Aßmus
9f566fb9c2 * added modem icon done by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:32:30 +00:00
Stephan Aßmus
df50d6f79d * added query, query-template, printer, generic printer, floppy and bookmark icons.
-> all done by zuMi sometimes with minor modifications by myself


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:28:39 +00:00
Stephan Aßmus
61e7b772ea * added the symlink type, icon is also based on work by zuMi
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:26:04 +00:00
Stephan Aßmus
fe2d08af25 * added mimetypes for query and query-template
-> icons were done by zuMi, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 16:23:07 +00:00
Ingo Weinhold
0c0fea5de2 elf.c -> elf.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-01 06:46:57 +00:00
Axel Dörfler
d6f8cacab9 Moved the (currently very simplistic) code to check if a display_mode is valid into
it's own (static) method. In case setting the display mode fails, the returned mode
is now checked for validity as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:39:16 +00:00
Axel Dörfler
c15a5012ef The team monitor now shows the large icon correctly, thanks to Jonas Sundstrom.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:12:07 +00:00
Axel Dörfler
176f0604ed Continuing from the kernel debugger did not work on SMP machines, as SMP_MSG_CPU_HALT was
a one way ticket. It now works as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:09:39 +00:00
Axel Dörfler
9b39fc10cb Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-31 22:05:57 +00:00
Stephan Aßmus
8c113568ce * fixed GCC 4 build, thanks Fredrik Ekdahl
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-30 17:39:26 +00:00
Stephan Aßmus
7d3aade673 * added two autoheader and gawk to the list of dependencies
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-30 16:55:47 +00:00
Stephan Aßmus
5fa5e5fea7 * added notification support to Playlist and Controller
* added AbstractLOAdapter by Ingo Weinhold which makes
  notifications asynchronous
* removed "Player" interface/concept, replaced it by
  the notification mechanism (window loads new file
  when "current" ref index changes in Playlist)
* removed some cross classes dependencies
* the wind buttons are not displayed anymore for now
* lots of changes to the Controller
  - the decoder/player threads are kept running for the
    entire lifetime of the Controller object (in essence, makes
    it possible to playback seamless)
  - abstracted BMediaTrack usage into "Video-" and "AudioSupplier"
    objects (the BMediaTrack pointers are only still there, because
    I have not gotten around to fix the messy/hacky InfoWindow)
  - reaching the end of the stream will trigger a notification,
    so that the next file from the playlist is played
  - fSoundOutput is managed by the Controller
  - tried to make seeking seem more controlled (slider doesn't
    jump back to previous position)
  - playback position is correctly updated in GUI
  - volume is maintained independend of SoundOutput so
    that it can be transfered from one to the next output
  - performance time is maintained correctly (?) even if
    no audio stream is present
* work in progress Playlist window (drag sorting does not work yet!)
* rearranged menus a bit
* rearranged overlay code in the VideoView, but it cannot work
  like it is currently designed, since the buffers need to be
  switched all at once, which the video decoding thread
  is not doing yet
* dragging files into the main window with shift held down
  appends to the existing playlist
* dropping folders adds files recursively
* pressing space toggles playback (instead of changing some
  settings of the GUI)
* fixed some more minor issues or unimplemented stuff in the UI


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 22:29:50 +00:00
Stephan Aßmus
406228de63 * don't turn off anti-aliasing
* use B_OP_OVER in order to do anti-aliasing with the real background



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 21:17:37 +00:00
Stephan Aßmus
7ce678aa5f * implement conversion of absolute mouse coordinates (0..1) in device
messages to normal screen coordinates



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 20:21:33 +00:00
Stephan Aßmus
9249ebc02b * added icon for bzip2 file type
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 20:11:11 +00:00
Stephan Aßmus
7fc7e14b31 * removed left-over include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:50:26 +00:00
Stephan Aßmus
13eaf8fa00 * fixed one potential leak
* truncated lines to 80 chars


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:49:23 +00:00
Stephan Aßmus
d7a45ca813 * came across one app in the repo that used these color constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:38:53 +00:00
Stephan Aßmus
fb9a2a52bb * slight modifications to the original zuMi icons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:30:35 +00:00
Stephan Aßmus
71cb68083c * same tweak as to ProcessController, I would suppose...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:27:50 +00:00
Stephan Aßmus
4e49f8ff2b * small tweak
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:15:14 +00:00
Stephan Aßmus
b5116faced * cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 19:12:14 +00:00
Ingo Weinhold
ae585f87af Removed Jorge at his own urgent request.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 16:04:37 +00:00
Niels Sascha Reedijk
37503f54ec Technical proofreading by David Weizades.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-29 15:24:25 +00:00
Ingo Weinhold
e200a8e9b9 Unknown variable referred to in DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 15:23:03 +00:00
Axel Dörfler
f415aa28be * create_vnode() now panicks when it could not find the freshly created vnode
in the vnode hash; that's a bug in the FS that shouldn't be ignored that way.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 14:17:18 +00:00
Axel Dörfler
aac3ed8c03 * Reverted r21199 (and therefore r21254) - it actually did work correctly initially,
see bug #1248.
* Closing a pipe now also removes it from the public namespace and marks it for
  deletion, and thus, there are no more left-overs after using a pipe.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 14:12:43 +00:00
François Revol
a046c487d0 Never trust someone else's patch until you built it...
Sorry guy, reverted that part, breaks the build here.
Either fix the types everywhere or don't fix at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 12:52:13 +00:00
François Revol
f6bdd7b4a9 Patch by Salvatore Benedetto:
Code readability; portability fixes.
Added unimplemented SubmitIsochronous().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 12:36:02 +00:00
Niels Sascha Reedijk
dc84754eef Patch by Thom Holwerda:
"Phase III .diff for BlockCache.dox.

Not much to change here, some really minor things only. The thing
that makes the .diff large is the fact that many lines were more like
70char than 80char."

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 12:18:49 +00:00
Niels Sascha Reedijk
8ace9affed Work in progress. I'm still working on documenting many of the fs hooks, but I just wanted to commit this to quiet down the amount of warnings that are produced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-05-28 08:18:43 +00:00