Commit Graph

1510 Commits

Author SHA1 Message Date
Stephan Aßmus
3639baa4b0 * add more classes:
PathContainer - a list of VectorPath objects
  ShapeContainer - a list of Shape objects
  Icon - the object contains VectorPaths and Shapes using these paths
  IconRenderer - renders an Icon into a BBitmap using AGG compound shape
  rasterization with additional gamma correction
* Shape has a PathContainer instead of a single VectorPath
* Document has an Icon instance
* changed the inheritance of some classes to us Referenceable more


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-18 19:05:44 +00:00
Stephan Aßmus
6ebf703166 * implemented more needed classes, Style, StyleManager, Gradient, Shape
* added Referenceable
TODO: Shape needs list of paths instead of one single path,
also transformers, and such stuff


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-17 19:02:32 +00:00
Stephan Aßmus
e39da397f5 * long overdue update to AGG 2.4
* removed the useless parts of AGG (which are only needed for the
  interactive examples)
* make sure to jam -a libagg.a to solve any linking issues


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 14:30:17 +00:00
Axel Dörfler
a3fef6d1fc * added --notmovable option.
* the flags are no longer mutually exclusive.
* nicer about window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 21:37:07 +00:00
Stephan Aßmus
128277c969 the first steps towards Icon-O-Matic
* added a framework with many classes that I think will be useful
* currently, the StateView and Manipulator interface are used to
  allow editing a single VectorPath object, nothing more... the
  CommandStack framework is also used to support Undo/Redo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:43:13 +00:00
Axel Dörfler
c0b1668798 Now makes sure the window is frontmost when entering full screen mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:29:42 +00:00
Stephan Aßmus
1f84dba758 the finishing touches...
* now displays the calculator icon besides the text entry
when the keypad is off, also draws a frame around the text
entry and uses standard black on white...
* fixed a few other issues
* should hopefully be complete now
* on R5, there are sometimes rendering bugs with the 
  app_server (sometimes it doesn't invalidate views that
  are transparent and have been resized before the window is
  shown)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 00:34:02 +00:00
Stephan Aßmus
d2176a2d86 * fix leading spaces after evaluating
* increase to 13 digits after decimal point
* load and save the expression history


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 22:42:00 +00:00
Stephan Aßmus
19f75b98e6 I hope Daniel is not upset, but Ingo and I have written a new parser:
* it supports white spaces
* it supports , and . for the decimal point
* it gives parse errors and where the error occured
* it supports more functions
I also added evaluating an expression given on the command line, it doesn't
show the UI then.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 22:05:03 +00:00
Stephan Aßmus
3866a1f6d2 Oops, I commited the destroyed version... but restoring the header
is not half as bad...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 18:24:54 +00:00
Stephan Aßmus
b4d21c8325 Quite a bunch of changes... but it doesn't work perfectly yet.
I ran into an obscure Pe bug which resulted in me overwriting
the wrong file... but then the machine KDLd, which it almost
never does... and I got lucky and the file was there again...
But this teaches me to commit more often.
* replaced expression area with a custom text view
* added expression string history (a bit dumb yet)
* added option to hide the keypad


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-07 18:14:55 +00:00
Axel Dörfler
b765295970 Added a FontDemo replacement, contributed by Mikael Konradson.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 19:40:16 +00:00
Stephan Aßmus
e61b54a291 remembers option window position and avoids opening another instance of it, options window is not resizable anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:43:42 +00:00
Stephan Aßmus
b962260488 fixed build and applied yet more cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:25:46 +00:00
Stephan Aßmus
a216b33aed more cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:21:02 +00:00
Stephan Aßmus
7cb395c433 adding DeskCalc by Timothy Wayper
huge cleanup of the DeskCalc code:
* applied style guide
* fixed any TODOs from timmy
* slightly nicer looking options window
* new way to store settings
* code should be more robust
* includes parser kindly donated by Daniel Wallner


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-06 16:07:47 +00:00
Jérôme Duval
c43d7cdc2e added a app version in MediaPlayer resource
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-05 09:46:41 +00:00
Jérôme Duval
42f70a5d3d TrackSlider now uses an offscreen bitmap to avoid flickering on side thumbs
I'm not so pleased with the code, though it works nice on Dano at least. Still lot of graphics bugs on Haiku
DrawButton is now transparent
little refactoring in ScopeView


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-04 13:49:44 +00:00
Axel Dörfler
cd6e1e7084 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 16:06:01 +00:00
Axel Dörfler
c0c04085ba * Replaced direct Draw() calls with calls to Invalidate().
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 15:57:35 +00:00
Axel Dörfler
56a7c23d08 * StyledEditWindow::_LoadFile() now traverses symlinks when opening a file.
This fixes bug #593.
* No longer opens an empty document for every non existing path - it now only
  opens a new document if there is none yet.
* No longer open an empty document for non existing files - instead, it just
  passes the ref to StyledEditApp::OpenDocument(). StyledEditWindow::_LoadFile()
  now treats those files gently as well, so that you can create new documents
  via StyledEdit as on BeOS without getting annoyed too much.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 15:20:18 +00:00
Axel Dörfler
9427e13a87 Added Calculator to the build, and fixed build for Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 09:27:37 +00:00
Axel Dörfler
93ae98bf0a Added John Drinkwater to the list of contributors for his ongoing testing
and bug reports.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 07:50:04 +00:00
DarkWyrm
0d960ff17f Initial checkin with some style cleanups from original sources
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 21:43:25 +00:00
François Revol
3860abe353 (unitialized) make sure Terminal doesn't start fullscreen (what, you didn't like it ?)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 12:14:48 +00:00
Axel Dörfler
16466e8a73 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 11:42:52 +00:00
Axel Dörfler
a12827f24d * Moved "install to Deskbar" alert into the application.
* If you install ProcessController to the Deskbar after startup, its window
  is not opened anymore.
* When you install ProcessController, the Deskbar is only restarted if needed;
  this can probably be removed completely under Haiku.
* Renamed some menu items.
* Removed "Use Pulse's settings" menu item.
* Fixed remaining issues from bug #633 as far as ProcessController was concerned.
* Removed unused source files.
* Big cleanup, even though there could be done much much more.
* Compacted the source files a bit, merged PCView.cpp and PCView2.cpp to
  ProcessController.cpp to match the name of the class.
* Renamed PCUtils.{cpp|h} to Utilities.{cpp|h}


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 01:32:41 +00:00
Axel Dörfler
f4ccbdaa3a * Made memory menu font sensitive (fixes part of bug #633).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 19:43:45 +00:00
Axel Dörfler
c4da198b30 Not pretty, but fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 18:20:16 +00:00
Stephan Aßmus
292027a476 use the new logo from the artwork folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:30:40 +00:00
Stephan Aßmus
ef64b24102 added Siarzhuk Zharski to the list of contributors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 10:01:46 +00:00
Axel Dörfler
a93fb72be9 * If only a part of the data could be read, the part that couldn't been read
is now cleared - this changes the behaviour of bug #603, but doesn't fix
  it (as this is no DiskProbe bug).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-28 15:27:47 +00:00
Axel Dörfler
9057d59d6c * Replaced the nice ProcessController about window with a boring one that looks
like any other.
* Added ProcessController to the image.
* Have BeUnited made any changes to the sources besides putting "copyright beunited"
  everywhere? If so, we could just remove them to reduce the clutter. If anyone
  knows, please tell.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-26 13:56:41 +00:00
Axel Dörfler
e2940ab6f0 Some changes to make it better fit into a Haiku distribution:
* Fixed Terminal signature to Haiku's Terminal.
* Removed documentation menu item.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 13:43:27 +00:00
François Revol
265fea4ad4 Add a --fullscreen option to start fullscreened.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-25 13:23:47 +00:00
Axel Dörfler
ce2beb27aa Now we have a resource file as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:22:51 +00:00
Axel Dörfler
1d13cc310e It does now compile - turns out the utterly broken MemorySpyWindow.cpp is not
needed at all (and so I removed it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:15:17 +00:00
Axel Dörfler
ed7a35012e Imported ProcessController from BeUnited's CVS into our repository.
Doesn't compile yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17568 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-23 20:01:09 +00:00
François Revol
0a36b17ec0 Use B_ENTER instead of hardcoded \n
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17555 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 21:44:25 +00:00
François Revol
289ca930ab Added a Fullscreen shortcut (ALT-ENTER).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17554 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 21:43:02 +00:00
Marcus Overhagen
bb15b0769b increased thread priorities
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 20:37:43 +00:00
Marcus Overhagen
453f642e2e Rewrote audio decoding to provide timing information
that is used to sync with video.
Separated audio decoding and playing into two threads, 
the same applies to video decoding and playback.
This was inspired from code written by Stephan.
Added video decoding and display, added play/pause/stop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-22 15:56:10 +00:00
Axel Dörfler
b0bc48fbd3 Some more GCC 4 and PPC fixes.
* Mesa doesn't compile yet, as some PPC specific stuff seems to be
  missing, Philippe?
* Cortex and some other stuff has been marked x86-only, although
  it's more of a "GCC 2.95.3"-only.
* I'm not sure if it's a bug in GCC 4, or if that's what the C
  standard demands, but sizeof(some_type::some_field) is not
  valid anymore :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-19 15:52:21 +00:00
Stephan Aßmus
b0cdd6481d synced to 1.17 from OpenTracker CVS (fixed a deadlock when dragging something over Deskbar)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 17:08:26 +00:00
Stephan Aßmus
3702e4734e synced to 1.8 from OpenTracker CVS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 17:07:41 +00:00
Stephan Aßmus
2c7fad579c synced to rev 1.9 and 1.4 from OpenTracker CVS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-17 17:02:25 +00:00
Marcus Overhagen
d38c8112a7 cache the track duration
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:53 +00:00
Marcus Overhagen
afc66bbbc3 Made copying into overlay save, by locking the bits.
This could be further optimized, by always holding the lock,
and only unlocking when app-server requests it. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-16 19:07:25 +00:00
Axel Dörfler
a45ebf0c79 * StyledEdit now has "haiku" in its signature, no longer "obos".
* Removed the separate version rdef, and put it into the main rdef.
* Also moved the application icon into the main rdef.
* Removed text/plain icon from the icons rdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-15 16:39:05 +00:00
DarkWyrm
8cb10e136c Fix build for all platforms and remove a hack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-14 11:32:08 +00:00
Jérôme Duval
8c2f5082ec made timestamp font sensitive
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17419 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-11 05:50:33 +00:00
Marcus Overhagen
0f0bbc9751 implemented seeking and position update
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:47:19 +00:00
Marcus Overhagen
3b55bd0c3c dont send notifications if the value is not changed by the user
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 21:46:48 +00:00
Marcus Overhagen
3d8b4bab1f Did some renaming, Changed* is now used when the user modifies the controls.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:57:04 +00:00
Marcus Overhagen
131d97be80 Connected volume control GUI with Controller class, and made slider non-linear.
This should be reviewed, and a better algorith should be selected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 20:40:58 +00:00
Stephan Aßmus
fb36570967 * added a simple seeking slider for Marcus to play with...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 19:18:19 +00:00
Marcus Overhagen
d4ab13e6f1 changed latency reporting
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-08 18:53:44 +00:00
Marcus Overhagen
2fd148f926 dont crash when opening another file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:05:23 +00:00
Marcus Overhagen
c04b6d2dfb dont wait too long
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 22:03:47 +00:00
Marcus Overhagen
3e070a9ee4 added a crude hack to play sound
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 21:08:01 +00:00
Axel Dörfler
5dfe4fc749 Build fix for Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:54:42 +00:00
Marcus Overhagen
0e49470a24 added starting/stopping of playback threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:41:07 +00:00
Marcus Overhagen
0aaf5eb1ae added a sound output class to push data to the mixer, also started audio and video play threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-07 20:25:45 +00:00
Marcus Overhagen
84123592e9 use case insensitive sorting for the playlist
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:46:55 +00:00
Marcus Overhagen
bcc46b4b92 implemented opening media files for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17350 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-06 21:17:42 +00:00
Stephan Aßmus
e1fcb5e4b8 added Carwyn Jones to the list of contributors, he seems to have been involved in writing BDirectWindow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-01 10:18:52 +00:00
Jérôme Duval
fdfbd66456 should fix bug #501, Terminal title can be set with special characters
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-27 19:46:45 +00:00
Axel Dörfler
fe2b2c822f * The window is now maximized on startup if there is no settings file.
This fixes bug #407.
* The OpenWindow was not really font-sensitive (fixed window size).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-27 17:43:47 +00:00
Ryan Leavengood
649ddde05f Fixing bug 541:
The arguments passed on the command-line were not checked if they were files before being opened. This caused StyledEdit to crash if a directory was one of the arguments. Now each argument being passed is checked to see if it is a file before being opened, and if all arguments are directories, an empty document will be opened.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-26 05:28:55 +00:00
Ryan Leavengood
5e09d5dbe5 1. Added myself to About box.
2. Fixed bug 537.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-26 03:05:50 +00:00
Axel Dörfler
7225520c09 Made the corners of the play button transparent, so they look better with another
background color. Just as a hint to Stephan... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-25 11:33:12 +00:00
Axel Dörfler
73988372cd Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-25 11:20:42 +00:00
Ryan Leavengood
69eee339ba More changes to ShowImage:
1. The newly renamed "Flip Sideways" and "Flip Upside Down" have been renamed again to "Flip Left To Right" and "Flip Top To Bottom". This was after some feedback indicating a preference for the new names.

2. When dragging a selection the standard outlined rectangle is used for the dragging image instead of the alpha-blended bitmap of the selected part of the image if the selection rectangle is larger than 400x400 (taking into account scaling of the image.) This mimics the original ShowImage with the exception of the minimum size. The choice of 400x400 was fairly arbitrary. I may see about turning that value into some kind of hidden option.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-25 06:10:26 +00:00
Marcus Overhagen
490fa01c09 fixed build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 21:21:00 +00:00
Marcus Overhagen
aadc5f572d added playlist support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 20:47:29 +00:00
Stephan Aßmus
c98821ac71 * added GUI classes for the transport control panel implementation
* as noted by the headers, these originate from Be Sample Code or
  code that was written by myself alone for VLC (they have been
  updated in the meantime though)
* seek slider is missing yet as well playback position info view
  (could be taken from VLC as well, I still have the implementation
  that contains only my own code)
* fixed application quitting when only one of multiple player
  windows is closed (not it quits when the last player is closed
  or MediaPlayer->Quit is selected from the menu)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-24 16:49:19 +00:00
Marcus Overhagen
91b9ff3f99 cleanup, moved track selection into settings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 22:09:37 +00:00
Marcus Overhagen
067423e615 implemented even more resizing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:51:04 +00:00
Marcus Overhagen
399b0e8ab8 cleaned up resizing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 21:28:51 +00:00
Marcus Overhagen
99cd5eeb92 added some resizing support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 20:27:56 +00:00
Marcus Overhagen
78838bb774 added MediaPlayer to the build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:55:54 +00:00
Marcus Overhagen
e1d8d7d6b4 implemented some file handling related functionality
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-23 16:47:16 +00:00
Ryan Leavengood
61ddc257d2 Fixes to ShowImage:
1. Renamed the Image menu items "Mirror Vertical" and "Mirror Horizontal" to "Flip Sideways" and "Flip Upside Down", respectively. This also involved changing the code to match the new names, for consistency.
2. Fixed a bug where zooming in and out would result in the image moving off center. This was due to the bitmap width and height not being recalculated after applying the zoom factor and therefore throwing off the calculations to find the rect for the center.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-21 04:24:07 +00:00
Jérôme Duval
c228b1689c B_COLOR_8_BIT is deprecated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-18 20:07:03 +00:00
Axel Dörfler
04cfd6b0d7 It's for Haiku, not for BeOS :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-09 11:50:15 +00:00
Axel Dörfler
f810cb98c9 Added the file types that Tracker adds to the MIME database to the list of
supported types (with regard to bug #278).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-09 10:06:41 +00:00
Marcus Overhagen
04a91b97bd Imported source code from DVB TV application
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-05 21:34:29 +00:00
Jérôme Duval
6e66ef1c1a added Greg Crain as contributor
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-03 09:56:03 +00:00
Axel Dörfler
290026d3b1 * Fixed font sensitivity issues of the directory choosing window.
* Made the code more robust, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 19:36:41 +00:00
Axel Dörfler
5fef96ef20 Made the gap between the buttons and the text controls as large as the one
between the window border and its contents to make it look a bit better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:42:07 +00:00
Axel Dörfler
0e6b056fdc Fixed a whole lot of font sensitivity (and some other minor, like the "Show Contents"
menu label update) issues of the main window (didn't touch the rest yet) - shame on
you, Korli ;-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 18:31:30 +00:00
Axel Dörfler
5652ba7236 Fixed build under Dano.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 16:39:32 +00:00
Axel Dörfler
243fcbe279 Since SF cannot be reached currently, this fix gets into the Haiku tree first:
ExpandoMenuBar::ItemAtPoint() was broken, which could cause a crash when doing
the "vulcan death grip" over a window item. This fixes bug #379.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-04-02 11:21:15 +00:00
Philippe Houdoin
3a42c9ba15 Enforce a CPU speed font size no bigger than the processor type one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:26:32 +00:00
Philippe Houdoin
db5c4a3b16 - The CPU clock speed string was assumed to be shorter than processor name string.
The best font size for speed is now dynamically computed to fit too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-30 16:14:08 +00:00
Axel Dörfler
6f850dfd44 Build fixes for the R5/Dano target, no longer relies on the COMPILE_FOR_R5 macro.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-27 06:48:24 +00:00
Axel Dörfler
8d4005f236 * Added Travis Geiselbrecht for his NewOS kernel.
* Moved Adi Oanca and Matthijs Hollemans to the list of contributors, as they are
  no longer active developers.
* Moved Michael Lotz to the list of active developers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 12:55:31 +00:00
Axel Dörfler
32379481e3 Added Bryan Varner to the list of developers in anticipation of things to come :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-22 12:08:29 +00:00
Axel Dörfler
be4691a9c1 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-18 12:36:34 +00:00
Axel Dörfler
604390bbb5 The saved position is now also invalid if it is less than zero.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 21:40:55 +00:00
Axel Dörfler
ae99c86041 Should now play much nicer with broken settings files. Fixes bug #165.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-13 18:22:59 +00:00
Axel Dörfler
32600acb6b Added Reznikov Sergei a.k.a. Diver to the list of contributors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 15:37:57 +00:00
Marcus Overhagen
8fc14465b5 Added Cortex to build system, removed makefiles.
This turned out to be more complex then expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 13:51:23 +00:00
Marcus Overhagen
8761e1bb9a have to include <typeinfo> for usage of bad_cast
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-12 12:51:41 +00:00
Axel Dörfler
8fee027ee3 Updated the resource app version information.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 21:31:30 +00:00
Axel Dörfler
eb8d1e3895 * Made preferences window font sensitive, this fixes bug #196.
* BottomPrefsView is no longer needed (just contained two buttons, moved
  their creation to the PrefsWindow class).
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 17:12:27 +00:00
Jérôme Duval
bd0a76ccc4 actually check errno instead of master
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 16:02:43 +00:00
Axel Dörfler
5b14ba1a07 * Now uses BTextView::FreeTextRunArray() instead of just free() where appropriate.
* When reading/writing int32, the type of the variable should match.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 12:48:38 +00:00
Axel Dörfler
31139022cd * Fixed some minor bugs and oddities, improved error messages.
* Big-time cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-11 00:13:18 +00:00
Axel Dörfler
9c50f36ed7 Now has some error checks in TReplicantTray::AddIcon() - this fixes bug #222.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 15:22:37 +00:00
Marcus Overhagen
bd9fea8cda Cortex doesn't require libmail.so. We should switch this to a Jamfile later.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-09 09:46:46 +00:00
Marcus Overhagen
a0795c6fe3 imported Cortex 2.1.2 source
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-08 13:32:19 +00:00
Stefano Ceccherini
1407220dcf use B_OP_OVER to draw the arrow, due to anti-aliasing
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 13:30:20 +00:00
Stefano Ceccherini
3e3c4ddcce fFontHeight and fFontWidth weren't initialized in the TermView constructor, could cause some problems. Might fix bug 201, although I could never reproduce it consistently
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-06 10:51:13 +00:00
Axel Dörfler
59cd24b7db __HAIKU__ is now also defined for the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-03-05 19:41:17 +00:00
Axel Dörfler
28475bfdbd Added Michael Paine to the list of contributors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16551 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 19:42:28 +00:00
Jérôme Duval
63beb9cd39 Installer should merge directories and replace files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-28 16:08:49 +00:00
Axel Dörfler
30da2fcb94 Made the terminal a bit more robust against broken settings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16524 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-27 13:05:20 +00:00
Michael Lotz
5d5077a088 As on R5, Messenger.h is not included in Message4.h. This should fix the ShowImage build when using Message4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-23 09:36:47 +00:00
Jérôme Duval
e0d2f8bb52 couldn't type 1 byte characters which need option key,
I don't know what it was meant to


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 21:46:18 +00:00
Jérôme Duval
9fe40077e9 added a "Save as default" menu item in Terminal, helps on bug #42
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-21 21:09:09 +00:00
Jérôme Duval
16c5a6248e workspaces window flag is in WindowPrivate.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-20 10:35:32 +00:00
Jérôme Duval
883a07f811 fixes error message when launching terminal in another one
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 20:44:38 +00:00
Jérôme Duval
80cfc30c48 small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:31:39 +00:00
Jérôme Duval
10493d109c small fixes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 19:13:27 +00:00
Jérôme Duval
05c881350e fix display bug
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-19 15:32:51 +00:00
Jérôme Duval
616969aa88 replaced BTextView with BStringView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 16:51:05 +00:00
Stefano Ceccherini
3941c781fe Terminal doesn't crash anymore when Print is selected from the menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-17 10:24:33 +00:00
Axel Dörfler
7b51c43305 Moved the "Workspaces" application out of preferences - it's not a preferences application.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16428 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-16 16:32:50 +00:00
Jérôme Duval
8319ae827f fix views placement, completes bug #162
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:30:49 +00:00
Jérôme Duval
25649336e1 updated signature and headers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16406 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 16:17:26 +00:00
Jérôme Duval
22bb857ecd hopefully fixed preferences window labels truncated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 11:22:35 +00:00
Jérôme Duval
f4865bd8ae hopefully fixed overlapping bug #162
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16402 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-15 10:24:37 +00:00
Jérôme Duval
a8df1e6494 hopefully fixed build and warnings for bug #142
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-12 22:51:55 +00:00
Jérôme Duval
d14dde17c4 minor cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 20:28:04 +00:00
Jérôme Duval
039132ab1d pulse is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 14:11:21 +00:00
Jérôme Duval
48a3e0875c a synchronous popup menu should be deleted, fixed bug #139
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16326 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-10 10:57:32 +00:00
Jérôme Duval
7a1fce2101 add a zero at the end of the name string
fix bug #127


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-09 11:10:40 +00:00
Axel Dörfler
00e0ed9f74 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 20:07:16 +00:00
Jérôme Duval
5e99b7dfe4 use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:54:16 +00:00
Jérôme Duval
b3c980ab0e use the current screen
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 17:48:43 +00:00
Axel Dörfler
9ff44370c8 Fixed centering of the window in case of multiple screens.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:59:07 +00:00
Axel Dörfler
b8a7e035ff Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 16:42:05 +00:00
Ingo Weinhold
2b89d38a63 Fixed gcc 4 compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-08 00:05:31 +00:00
Axel Dörfler
a932a97b52 * Mabye I should do better testing of what I "fix"; absolute paths didn't work
anymore from the command line all of a sudden...
* Made the caption background slightly less translucent to allow the text to
  be read even with very checkered images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 13:14:19 +00:00
Axel Dörfler
c70cd57756 Made the caption in full screen mode a bit easier to look at (boring yes, but some
people out there just aren't colour blind :-)).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:23:26 +00:00
Axel Dörfler
71a34702d3 Fixed the resizing bug I accidently introduced with r16260.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:11:00 +00:00
Axel Dörfler
009cd1060a * No longer hides the mouse cursor when the pop up menu is shown.
* Removed the superfluous "Cancel" item from the pop up menu.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 12:05:23 +00:00
Axel Dörfler
5921f4e2f1 Followed Jeromes suggestion and moved the desktop directory lookup to the
BackgroundImage::SetDesktopImage() method - if you need more control, you
can still easily make _SetImage() public.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 11:26:39 +00:00
Axel Dörfler
a60adbf9b4 * Added a "Set as desktop background" option with an easy to use engine based
on the OpenTracker's BackgroundImage implementation.
* It's currently placed in the "View" menu, even though it doesn't fit that
  good, I think it should definitely be part of the right click menu.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-07 10:28:27 +00:00
Axel Dörfler
efa8b4f392 Fixed various issues:
* ArgvReceived() did not work with relative paths.
* Simplified quitting (no more CanQuit() and overriding BWindow::Quit()).
* Updated signature.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 19:54:01 +00:00
Axel Dörfler
fa3685cf13 * Now prints "Revision X" instead of "rX"
* I think we may have 2006 already
* Now makes sure the revision resource is null terminated (at least it returned an
  unterminated string under BeOS, it worked already fine under Haiku).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-06 14:47:06 +00:00
Ingo Weinhold
129cc3cbe1 Don't display the revision, if it is "unknown".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:57:23 +00:00
Ingo Weinhold
b95ed5682c Fixed problems with generating the new revision resource. Now we
create a file that only contains the revision number and use the
AddFileDataResource rule for adding it as a resource. We also
handle the case that "svn info" fails (e.g. for source trees not
containing svn information anymore), setting the resource to
"unknown".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 22:53:09 +00:00
Axel Dörfler
45de8176a5 * Added the Subversion revision at build time to AboutHaiku - the revision is
automatically updated everytime AboutHaiku is built (ie. also if nothing
  changed).
* Added Oliver Tappe as contributor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 18:48:26 +00:00
Jérôme Duval
375cec2c5e added error checks around, hope it can help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-03 15:22:06 +00:00
Jérôme Duval
8b357f8a21 if a already selected item is selected, don't do anything
Installer isn't beos compatible is this directory, will add a test directory for it
fixed link libs and debug message


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-02 10:40:05 +00:00
Jérôme Duval
a5fa64b505 some changes : alert if free space isn't enough, set status when mouse is over packages (doesn't work for some reason ...)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:45:20 +00:00
Jérôme Duval
d6b6f8bfe1 made codycam beos compatible
fixed net libs link


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 17:42:31 +00:00
Jérôme Duval
b2dde401e5 made Magnify beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:22:00 +00:00
Jérôme Duval
a5050b61fd made SoundRecorder beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:19:35 +00:00
Jérôme Duval
1013215e2d made GLTeapot beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:14:47 +00:00
Jérôme Duval
26a6b3bedc made Clock beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:09:16 +00:00
Jérôme Duval
0f11a95a97 fixed build on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16185 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 16:06:36 +00:00
Axel Dörfler
4ccfb08661 * Fixed memory leak in CPUButton: the message runner was only deleted in the
destructor, but created everytime AttachedToWindow() was called.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:57:45 +00:00
Jérôme Duval
5376b695a4 made r5 compatible
added virtual on destructors


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 15:47:46 +00:00
Ingo Weinhold
00113ff97b Couldn't resist using one of the nice new BResources::SetToImage()
methods. Currently guarded by an "#ifdef __HAIKU__", as long as we
want to be able to build a BeOS compatible Clock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-01 00:17:47 +00:00
Ingo Weinhold
1a3348d9c2 Replaced TODO by explanatory comment, why the resources are retrieved this
way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 12:41:58 +00:00
Ingo Weinhold
a324efcfdc Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16164 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-31 01:46:43 +00:00
Jérôme Duval
7f40667cbc Installer scripts are not executable, we launch them with sh
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-30 14:05:40 +00:00
Jérôme Duval
e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval
bc1301d336 * added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:16:26 +00:00
Stefano Ceccherini
19de443e9a removed useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 15:31:52 +00:00
Jérôme Duval
dcea76f0ab also checks for media read only as it seems CD-ROM are reported read only this way
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 10:54:25 +00:00
Jérôme Duval
cbdfe27947 reworked a bit to install packages
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-23 17:36:24 +00:00
Jérôme Duval
0bd6170f79 CopyEngine is a BLooper: let it delete itself ...
copy everything in source directory instead of just 'beos'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-22 23:32:55 +00:00
Jérôme Duval
b5a5837bb9 updates status with current copied item
tested ok with a beos folder, 36Mo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-21 17:48:12 +00:00
Jérôme Duval
4606537811 actually uses the copyengine looper to handle the copy process
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 13:33:42 +00:00
Axel Dörfler
915af8b17a Imported ExpandoMenuBar 1.16 and TeamMenu.cpp 1.5 from the OpenTracker repository:
* fixes for the Deskbar running without any other apps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-20 11:55:24 +00:00
Jérôme Duval
5226491c72 basic copy
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-19 18:15:01 +00:00
Axel Dörfler
465b54cd65 Fixed crashing bug in the test environment on quit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-17 16:14:13 +00:00
Stephan Aßmus
93d1b9f406 * quick fix for when fBitmap has been recomposed
partly, fDisplayBitmap is not correctly re-established...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:24:08 +00:00
Stephan Aßmus
37a3ed9263 * quick hack to hide the cursor in fullscreen
(TODO: do this after a time out)
* quick hack to display bitmaps containing an
  alpha channel with a checker background
  (TODO: rework filters to be alpha channel
  aware and compose the checker background
  independently of the filter)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:18:01 +00:00
Stephan Aßmus
c9a5153a00 fix building for BeOS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-09 11:14:37 +00:00
Jérôme Duval
5543f13539 our elf resolver has a problem with previous way of linking with FSUtils
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-08 16:25:28 +00:00
Jérôme Duval
06ac7d759d added FSUtils.cpp from libtracker, fitted for our use
fixed some visual glitches (and gone around a bug in our menu implementation)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-08 16:02:44 +00:00
Jérôme Duval
ebc8a403e5 Installer makes use of FSCopyFolder in libtracker.so
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-04 07:57:21 +00:00
Axel Dörfler
3a6add495c Enabled Deskbar add-ons. They don't work that good, but they don't crash
the Deskbar anymore. It's still disabled for the libbe_test build, though
(as it will find incompatible add-ons via queries there).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-04 00:28:11 +00:00
Axel Dörfler
0d5dea62de * Setting the window title via "-t" now works.
* Improved error message in case the initial shell couldn't be executed.
* Disabled setting the colors via arguments, mostly because it just did quit
  the app in case there were any arguments and no /etc/rgb.txt file. This
  allows Terminal to be used by the debug_server instead of MiniTerminal.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 14:24:43 +00:00
Axel Dörfler
f4a73641e0 Imported current OpenTracker Deskbar: it can now start apps (and show the
"About Haiku" window) without having Tracker running.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-03 08:38:28 +00:00
Alexander G.M. Smith
8e34360a9c Fixed it up so it now compiles for R5 and Haiku. Don't know about
BONE or DANO, and I'm pretty sure it won't work in Zeta!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-02 04:37:47 +00:00
Alexander G.M. Smith
deb238df7d Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of
brick wall collisions.  Along the way I found a few defines that no longer
exist in Haiku - changed B_BEOS_VERSION_DANO to use Haiku versions (anyone
rebuilding under Dano might want to undo it).  By the way, the BeOS version
number define system might be worth using, since it's a numerical compare
rather than #if defined(V1) || defined (V2) || defined (V3) and so on.

What sort of errors?  Besides needing libzeta.so for some things, the
networking compatibility compile doesn't work (libbind and all that).
Some examples among many:

In file included from /boot/home/Haiku/src/kits/mail/numailkit.cpp:14:
/boot/develop/headers/be/support/Autolock.h:3: using directive `BAutolock' introduced ambiguous type `BAutolock'

In file included from /boot/home/Haiku/src/kits/network/compat/libnet/netdebug.c:6:
/boot/home/Haiku/headers/private/net/netdebug.h:32: syntax error before `void'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-01 23:59:24 +00:00
Axel Dörfler
7da062312a Imported Deskbar from OpenTracker-current.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-01 23:40:49 +00:00
Axel Dörfler
7d61d305c6 Some minor fixes and cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-31 13:15:15 +00:00
Stephan Aßmus
268893283f drawing arrow heads looks good on Haiku using B_OP_OVER... Stefano, I made this local change before your earlier commit, I hope I don't step on your toes, it's just a tiny change anyways...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-22 22:15:06 +00:00
Stefano Ceccherini
57de0ba79d Now clock doesn't quit in case it can't find its resource (due to a bug in BRoster::FindApp(), probably). It looks like crap but it's not important right now. Also restyled a bit the cl_view.h/cpp files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-22 21:19:23 +00:00
Jérôme Duval
bd8c5981aa fixed midiplayer build for non haiku platforms
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-18 22:54:47 +00:00
Axel Dörfler
348c7214f5 Improved processor identification for some VIA C3 models.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15558 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-16 11:55:01 +00:00
Axel Dörfler
da4580a278 Fixed a crashing bug that occured when both, "sort running applications", and
"tracker always first" was selected, and the first app that was launched was not
Tracker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-12 00:24:52 +00:00
Ingo Weinhold
711f8274f3 BlankLogo is also needed on PPC.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-12-11 13:50:20 +00:00