17108 Commits

Author SHA1 Message Date
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
hrev17767
2006-06-07 18:14:55 +00:00
Axel Dörfler
c13a4ddf0f Unflattening R5/Dano messages are both using the TReadHelper class which throws
exceptions in case of an error. Therefore, whenever those methods are called,
we need to surround them with a try/catch block.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17766 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17766
2006-06-07 17:15:45 +00:00
Axel Dörfler
2d0c5e0adc * Made updating the MIME info more safe, this was just one source the registrar
could use as an excuse to die.
* Minor cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17765 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17765
2006-06-07 17:13:18 +00:00
Jérôme Duval
9041bc71e3 added a test app for BShelf, it's the Container sample code from Be
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17764 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17764
2006-06-07 16:53:06 +00:00
Jérôme Duval
7f0858ae68 Selection => selection
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17763 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17763
2006-06-07 16:08:38 +00:00
Jérôme Duval
7d1e1e9f07 fixed view names to match R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17762 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17762
2006-06-07 15:36:46 +00:00
Jérôme Duval
3723db5e3b added hey to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17761 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17761
2006-06-07 15:17:28 +00:00
Axel Dörfler
2da9a41214 When calling debugger(), it will now (temporarily) dump a message to serial output
as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17760 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17760
2006-06-07 15:11:39 +00:00
Jérôme Duval
36e6f6a19b adapted ResolveSpecifier to handle the subspecifier replicant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17759 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17759
2006-06-07 15:02:09 +00:00
Axel Dörfler
7c434cc5a0 Some more work on the font sensitivity - not yet complete by any means, though,
but it's shaping up.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17758 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17758
2006-06-07 14:04:03 +00:00
Jérôme Duval
3d4dfe403c implemented BShelf::ResolveSpecifier
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17757 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17757
2006-06-07 13:56:42 +00:00
Axel Dörfler
d0e9fa680e * Fixed some memory leaks when using the BMessageRunners.
* Now quits the window directly, instead of letting the application destructor do that.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17756 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17756
2006-06-07 13:51:33 +00:00
Axel Dörfler
41158aaf91 * Renamed the ScreenSaverPrefs class to the more Be-like ScreenSaverSettings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17755 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17755
2006-06-07 12:43:31 +00:00
Axel Dörfler
af55bae2f6 * Implemented DPMS support.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17754 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17754
2006-06-07 12:31:28 +00:00
Jérôme Duval
c038c9de95 B_PROPERTY_INFO_TYPE now prints out types and compound types
minor cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17753 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17753
2006-06-07 12:06:11 +00:00
Axel Dörfler
5d74f3c143 Renamed MouseAreaView to ScreenCornerSelector.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17752 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17752
2006-06-07 11:57:25 +00:00
Axel Dörfler
4da6b5c328 * The screen corner selection view now follow the window bottom.
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17751 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17751
2006-06-07 11:51:37 +00:00
Jérôme Duval
e730e7730b applied a bit of our code guidelines
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17750 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17750
2006-06-07 09:14:21 +00:00
Jérôme Duval
84d89d2ae0 added hey v1.2.8, written by Attila Mezei
Changes : I renamed to .cpp and include the header file in the main file


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17749 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17749
2006-06-07 08:28:16 +00:00
DarkWyrm
2dd195c30a A couple more chapters added and some revisions made to existing ones to make things a little less boring to read.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17748 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17748
2006-06-07 00:20:07 +00:00
Axel Dörfler
d7b390a6c0 Damn, I forgot to include this directory when committing the screen saver changes.
This should have been part of r17731. Fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17747 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17747
2006-06-06 19:47:23 +00:00
Axel Dörfler
a63dcbc187 Updated Konatu fonts I got from Koki.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17746 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17746
2006-06-06 19:44:33 +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
hrev17745
2006-06-06 19:40:16 +00:00
Axel Dörfler
3c2793fcc1 Seconds were not shown correctly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17744 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17744
2006-06-06 17:49:09 +00:00
Axel Dörfler
9bf8dbc829 * First baby steps to a font sensitive GUI. The window now adapts its size
to the demands of the screen saver settings.
* At least temporarily, the window is also resizable; we'll see how well
  that turns out.
* The PreviewView did not have a black border around the preview.
* You can now switch again from Blackness to another saver directly...
* The turn off screen timeout is stored relative to the blanking time.
* The list now scrolls to the selection whenever the tab is shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17743 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17743
2006-06-06 16:56:30 +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
hrev17742
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
hrev17741
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
hrev17740
2006-06-06 16:21:02 +00:00
Axel Dörfler
2da44dc7b5 The follow modes were not correctly set (but was okay for a view that never changes
its size).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17739 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17739
2006-06-06 16:10:58 +00:00
Stephan Aßmus
d4c6f97c75 added DeskCalc to the image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17738 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17738
2006-06-06 16:09:31 +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
hrev17737
2006-06-06 16:07:47 +00:00
Axel Dörfler
1bba1e12c6 Added ScreenSaver.cpp to screen_blanker and ScreenSaver explicetly again, to allow
some legacy screen savers to work. Thanks, Korli!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17736 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17736
2006-06-06 14:22:43 +00:00
Jérôme Duval
286a3c912a implemented ResolveSpecifier and GetSupportedSuites
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17735 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17735
2006-06-06 12:54:06 +00:00
Jérôme Duval
f4fc3d626a * fixed some more GetSupportedSuites implementations
* fixed some local variables names
* fixed the case of some message attribute names


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17734 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17734
2006-06-06 12:35:27 +00:00
Jérôme Duval
a60f5e9c2e useless includes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17733 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17733
2006-06-06 11:41:40 +00:00
Jérôme Duval
7e2e6a5d4a fixed BStringView::GetSupportedSuites and BScrollBar::GetSupportedSuites
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17732 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17732
2006-06-06 09:54:59 +00:00
Axel Dörfler
7cae4a1ee0 * Big time cleanup of the screen saver stuff, not yet finished yet, though.
Renamed lots of things, like ScreenSaverThread to ScreenSaverRunner,
  refactored code, etc. Much cleaner interfaces and code.
* Fixed a couple of bugs and in the add-on handling, especially some settings
  related bugs (ie. testing a screen saver will now use its latest settings,
  etc.).
* Correctly implemented DPMS support in ScreenSaverPrefs and the ScreenSaver
  preferences application - screen_blanker still ignores them, though.
* It's not yet font sensitive either.
* Changed the input_server add-on to not switch to the screen blanker immediately
  when it's in the "blank corner" - doesn't seem to work yet, though (only tested
  under Qemu).
* Correctly implemented the "preview" function (before, a screen saver would
  never know it rendered a preview).
* Evaluates the return value of BScreenSaver::StartSaver().
* The screen saver thread is no longer killed without notice - it's now
  always shut down properly.
* Made the code more robust against failure.
* Introduced some new bugs as well (the screen saver list view doesn't jump to
  the selection anymore, for some reason), those will be fixed later (as the
  remaining issues).
* Probably some more I forgot about.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17731 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17731
2006-06-06 08:16:46 +00:00
Oliver Tappe
ef1974cb9d - reverted part of my last commit, as the other drivers mark the device as
closed in device_free(), not device_close(), too. Don't know why yet, but
  I'm pretty sure I should follow their example...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17730 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17730
2006-06-05 18:41:17 +00:00
Oliver Tappe
66cd06582c - fixed protection against multiple opens of a device
- minor cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17729 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17729
2006-06-05 18:27:38 +00:00
Jérôme Duval
a03ac89526 fixed some property_info and value_info for BShelf, BMenu, BWindow and BView
real support is to be implemented for a lot of them


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17728 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17728
2006-06-05 15:57:58 +00:00
Jérôme Duval
eb1b419599 style cleanup (local variables aren't capitalized)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17727 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17727
2006-06-05 10:24:25 +00:00
Jérôme Duval
1b4a4f541a changes the background color of CurrentAppIconView
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17726 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17726
2006-06-05 10:21:02 +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
hrev17725
2006-06-05 09:46:41 +00:00
Jérôme Duval
5f09b6a38e added an empty impl for _netstat
should fix bug #654


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17724 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17724
2006-06-05 09:16:32 +00:00
Jérôme Duval
79adc02bc6 begin to fix bug #658:
makes use of BWindow::_SetFocus() in BView::MakeFocus()
BWindow::_KeyboardNavigation() now uses BView::MakeFocus()
This is though not enough: _SetFocus isn't called on window activation/deactivation, thus the input server isn't aware of a focus view change in this case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17723 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17723
2006-06-04 21:54:21 +00:00
Jérôme Duval
360e569a2c Patch from Momoziro.
Fixes highlighting bug in CannaIM's Kouhou window.
Changes windows look to better values


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17722 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17722
2006-06-04 19:46:07 +00:00
Oliver Tappe
e6ae8c76ed - removed debugging printf()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17721 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17721
2006-06-04 16:03:54 +00:00
Jérôme Duval
e80a4974da reenable MIDI for Haiku only
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17720 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17720
2006-06-04 14:10:33 +00:00
Jérôme Duval
99e002f375 avoids drawing unknown keys
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17719 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev17719
2006-06-04 14:00:03 +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
hrev17718
2006-06-04 13:49:44 +00:00