Commit Graph

17186 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2006-06-04 13:49:44 +00:00
Oliver Tappe
e1aed9319d - reactivated building of arp, ifconfig and route to all BONE-compatbile targets
(by linking them to haiku's libsocket.so and libbind.so). This in turn greatly
  simplifies building their respective userland version as they now are the same
  as the standard version.
- added ping and traceroute to install-userland-networking pseudotarget


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-04 13:26:53 +00:00
Axel Dörfler
1434300528 As Stephan pointed out, I accidently misread the previous max_c() construct.
Apparently, there was an integer overflow of some kind with BePYRO, but this version
if safe as well, and should look much better.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 22:30:15 +00:00
Axel Dörfler
a03f56b7b5 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 18:15:01 +00:00
Axel Dörfler
eeb28bb7ee Some more PPC fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 17:14:51 +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
43d3560b25 * As the generated SystemKeymap source is used as a header, I renamed the
generated file from SystemKeymap.cpp to SystemKeymap.h.
* The keymap was even compiled into the input_server twice, as it was also
  listed as source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 15:33:26 +00:00
Axel Dörfler
6d6ef7f7bd Created some directories in ~/config/ for convenience:
* add-ons/Screen Savers
* add-ons/Tracker
* add-ons/Translators
* bin
* lib


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 15:13:39 +00:00
Axel Dörfler
a17be10094 * "divisions" could be lower than 1. This fixes bug #510.
* Moved expensive computation out of the max_c() macro.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-03 14:14:59 +00:00
Axel Dörfler
82c410dc12 Tracker no longer wants to remove the executable bits from the kernel or the
runtime_loader when trying to start them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 20:25:37 +00:00
Oliver Tappe
a5238e8fcf - removed net_stack_driver from install-userland-networking pseudotarget, as it
is not part of the userland networking (pointed out by Axel)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 19:33:26 +00:00
Axel Dörfler
56c56cf1e3 * No longer sets the minimum/maximum slider limits to the same value - instead, if
this happens (the volume is too small to host a swap file), the slider is now
  simply disabled.
* Removed that .doxygen-conf file that somehow ended up here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 19:11:45 +00:00
Axel Dörfler
18745cb620 BSlider didn't like if minimum and maximum limit were the same. Now the slider is
drawn correctly in that case, and the thumb stays at the start of the slider
(minimal position). This fixes bug #193.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 18:22:02 +00:00
Oliver Tappe
f9b776de3f - changed HAIKU_TEST_DIR to incorporate the platform and the architecture, such
that tests for different platforms don't mix.
  


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 18:00:49 +00:00
Oliver Tappe
80a6641eb3 - set arp, route and ifconfig to haiku-only, as they are incompatible with
the other BeOS-platforms anyway (unless I'm mistaken). Please note that
  these tools are still available as part of 'install-userland-networking'.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 17:58:29 +00:00
Oliver Tappe
a5c706d172 - added part of install-userland-networking I forgot last time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 17:55:27 +00:00
Oliver Tappe
b0623e48ef - created a new pseudotarget 'install-userland-networking' that installs all
userland-networking files into a convenient place for easier testing:
  + net_server_driver and net_stack_driver are installed to 
    /boot/home/config/add-ons/kernel/drivers/bin and ../dev/net
  + net_stack_tester, ifconfig, arp and route are installed to 
    $(HAIKU_TEST_DIR)/kits/net/userland
  + libsocket, libnet, libbind and libnetapi are installed to 
    $(HAIKU_TEST_DIR)/kits/net/userland/lib
  + userland add-ons are installed to
    $(HAIKU_TEST_DIR)/kits/net/userland/add-ons/obos_network


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 17:08:19 +00:00
Oliver Tappe
2252921311 - define EDESTADDRREQ if not done already, fixes compiling this on BONE (and R5).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 16:58:01 +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
7a9de5d194 Added simple test for the BNode::Lock()/Unlock() feature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 14:16:51 +00:00
Axel Dörfler
8265e1210c Implemented mandatory file locking, BeOS style. BNode::Lock() and BNode::Unlock()
are now working as expected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-02 14:16:13 +00:00
Stefano Ceccherini
ab8e333337 Removed trailing 'OpenBeos' from translators's names, to be consistent with the rest. Anyone knows why we have two TIFF translators in the tree?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 20:21:51 +00:00