Commit Graph

17126 Commits

Author SHA1 Message Date
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
Stefano Ceccherini
68c442e5c2 small cleanup, removed now unneeded hack
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 20:03:20 +00:00
Stefano Ceccherini
980e1e66ca fixed build on linux
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 19:59:23 +00:00
Axel Dörfler
acac7c6834 _vm_map_file() did in fact not work correctly, but the main problem was
vfs_get_vnode_cache() which did not acquire an extra reference to the
cache_ref when the cache had to be created.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 18:21:21 +00:00
Axel Dörfler
a9fa017d82 map_backing_store() did not acquire a cache ref in case it created a private
mapping, but it connected the vm_cache objects, so if it failed later, and
thus called vm_cache_release_ref() the object could have been freed accidently.
Most uses of map_backing_store() explicetly acquired a cache_ref *after* the
call was successful, but _vm_map_file() did not do this.
_vm_map_file() might still not work correctly, though, need to have a closer
look at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 18:14:59 +00:00
Jérôme Duval
bbb7119577 beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 17:37:48 +00:00
Axel Dörfler
c8467d6ba1 * Further improved error handling in class Keymap.
* Improved header output, it now looks a lot nicer.
* Fixed style issues of that header, too: replaced "s" prefix with the
  correct "k" prefix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 13:06:40 +00:00
Axel Dörfler
f4e8263700 * FileTypes now stores and retrieves its settings.
* The "Show Icons" option now defaults to true.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 11:43:18 +00:00
Axel Dörfler
7befa79ace Imported SettingsViews.cpp 1.10, FilePanelPriv.cpp 1.14, TrackerSettingsWindow.cpp 1.7,
SettingsViews.h 1.8, FSClipboard.cpp 1.12, PoseView.cpp 1.60, 
TrackerSettingsWindow.h 1.2, TrackerSettings.cpp 1.11 from the OpenTracker repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:47:12 +00:00
Axel Dörfler
155eb53fc9 Changed Dvorak keymap version - Jerome, is it possible your tool also supports version 1 & 2
of the keymap source? At least it didn't give me an error afterwards anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:07:06 +00:00
Axel Dörfler
37e0ed4ace * Improved error output.
* Fixed some minor style issues.
* fChars was allocated with new[] but deleted with free() in the Keymap destructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-01 10:05:56 +00:00