Commit Graph

37118 Commits

Author SHA1 Message Date
Clemens Zeidler
ccdff0eb1f Fix bug when comparing flags. Simplify hash map key. Thanks Ingo!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 08:54:21 +00:00
Axel Dörfler
b517fc4393 * Fixed typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 08:15:27 +00:00
Matt Madia
476fad7f7f Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:42:36 +00:00
Bryce Groff
2f3ce2bf7e DriveSetup:
- File system is now only displayed when the partition actually has a filesystem.
- Now checks if the DiskSystem supports initializing.
- Updated the *ParamsPanels, as well as, the Disk System add-ons to use the new storage api changes (see below).

Storage Kit:
- Simplified the parameters editor system. Now all parameter editor requests go through a single function, GetParameterEditor, and pass a B_PARAMETER_EDITOR_TYPE to request a particular parameter editor.
- Moved DiskDeviceAddOnManager.h to the headers directory, as it is now required by InitParamsPanel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:39:19 +00:00
Matt Madia
a8fcb885b0 Improved upon r39090.
* removed the catkeys pseudo-target
 * created catalogs pseudo-target, which builds all catalogs & en.catkeys(.pre)
 * created LocalizedTargets pseudo-target, which builds all targets that have
 been localized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 03:31:34 +00:00
François Revol
fc13691eeb Add a Clear() call to ExecDevice.
Seems there is a lowlevel.library which might be easier to use for keyboard, add some defs for it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:55:46 +00:00
Matt Madia
1974e33826 * More work relating to supporting multiple localized targets in the same
directory. Introduced a new variable HAIKU_MULTIPLE_LOCALIZED_TARGETS, which
gets set in any Jamfiles that contain multiple DoCatalogs invocations. This
removes the need to supply folder parameter to DoCatalogs.
 * Add the DoCatalogs invocation for filepanel.
 * Relocated the catkeys for Screenshot and screenshot into their respective
directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:49:44 +00:00
François Revol
4ae7f92a58 Fix console_clear_screen(), ClearScreen() only clears from the current y position so we must Move() before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:12:18 +00:00
François Revol
6fff309da9 Almost working keyboard input. One can now select menu items, though it seems to miss 2/3 of the key presses.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 02:06:30 +00:00
Matt Madia
85cf9e37d6 Updated DoCatalogs rule, to apply a grist based on the target's signature and
not based on the automatic path-based grist. This (in conjunction with passing
a value for the 'folder' parameter) allows multiple targets within the same
source directory to have their own catalog files.
Fixes #6741.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 01:21:07 +00:00
François Revol
f2b7a266d7 Add an ExecDevice class to handle devices using Exec's IORequest calls. Subclass it as KeyboardDevice to use keyboard.device.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 01:16:36 +00:00
Clemens Zeidler
d63309cf5e Store the volume watcher in a separate hash table to not collide with
normal nodes.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 00:49:48 +00:00
Clemens Zeidler
bfff9df5eb As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch
the whole volume. Kernel part follows.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-24 00:49:20 +00:00
Axel Dörfler
32c2214392 * The shrink/zoom to window options aren't available anymore from the context
menu. I plan to allow zooming always, so they won't be needed that often
  anymore.
* Removed all selection copy/move/cut code. This just doesn't belong into an
  image viewer.
* Selections are now changed using the tertiary mouse button, or when you press
  the command or control modifiers. Instead, the image will now be moved around
  with the left button.
* If you drop an image file to ShowImage, it will now open it instead of pasting
  it as selection.
* Reworked the scrolling/selection code to never poll, and never use GetMouse().
  Instead properly use the asynchronous API (ie. B_NO_POINTER_HISTORY).
* I plan to remove the scaling code as well: the results aren't as good as they
  could be (bilinear scaling isn't the solution for everything), and the
  interface is pretty awkward, anyway. IMO, this kind of functionality should
  be left to apps that are actually thought for image editing. Another solution
  would be a Tracker add-on that resizes (multiple) images.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:50:41 +00:00
Matt Madia
8970db2138 As DoCatalogs requires a signature, updated this invocation to use the MIME
signature of x-be-bitmap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:35:08 +00:00
Matt Madia
e33eccb7bd Fixed some B_TRANSLATE_CONTEXT redefinition warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:31:58 +00:00
Matt Madia
19ae515e43 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:28:33 +00:00
Stephan Aßmus
707466cad1 Part of a refactoring/rewrite I was once working on,
work in progress, don't remember how far I got. Supposed
to extract the image file and document page navigation
from ShowImageView. Not included in build. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 23:17:16 +00:00
Stephan Aßmus
43eea4c2c4 Apparently it does not work... convert to TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:56:50 +00:00
Axel Dörfler
c8224731d2 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:31:51 +00:00
Axel Dörfler
d164619e74 * Removed the delayed scaler code - it's no longer needed (and was trying rather
stupid things like creating a 50000x40000 pixel bitmap if you zoomed in).
* Removed dithering in CMAP8 mode. Please use 32 bit mode instead :-)
* Cleaned up ShowImageWindow.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:28:52 +00:00
Stephan Aßmus
76d9e05341 Introduce a new flag for drawing BBitmaps, B_WAIT_FOR_RETRACE
which triggers waiting on the retrace semaphore in app_server
just before drawing the bitmap. This potentially removes any
additional delay when doing this client side. Completely untested. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:22:45 +00:00
Stephan Aßmus
ed55cb5a22 Cache the retrace semaphore. Use the right kind of locking
in the method that needs it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:19:43 +00:00
Axel Dörfler
1076d97b5a * Removed the ability to invert an image. If you really need that feature,
you'll now have to open an image editing application instead.
* Removed the black border around the image.
* Removed the B_PANEL_BACKGROUND_COLOR background in non-full screen mode - it's
  now always black.
* Made zoom level changes exponential.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 22:05:59 +00:00
Stephan Aßmus
550cf8fa5c Wait for the vertical retrace before blitting a bitmap,
should avoid tearing in the video on supported graphics
drivers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:57:25 +00:00
Colin Günther
bda76e2de0 Adding the new ralink 2860 driver. Testet on Christof Lutteroth's Eee PC 901.
Thx for letting me hack on it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:34:26 +00:00
Ithamar R. Adema
3164579353 * ARM: Map full page directory, instead of just the first page
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:28:49 +00:00
Colin Günther
560626ba87 Cody style fixes. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:28:38 +00:00
Matt Madia
80ad173e89 Introduced a pseudo-target "catkeys", for building all of the localized
applications. The eventual goal is to have jam package a catkeys.zip,
which can be provided to the application translation websites.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:26:08 +00:00
Colin Günther
fcde9e72e1 * Add a function needed by the ralink 2860 driver.
* Fix a compiler warning about missing braces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:25:17 +00:00
Colin Günther
7965271acd * Removing superflous Makefile.
* Modify driver source to allow correct interrupt processing.
* Add glue file to make driver load in Haiku.
* Update build files accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:24:02 +00:00
Matt Madia
afbf2c78d1 Update for the Catalog API change. Based on r37345. Review appreciated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:18:22 +00:00
Colin Günther
974d4226ff Copy the ralink 2860 source code into place.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:13:39 +00:00
Matt Madia
a461e21f03 Update for the Catalog API change. Based on r37345. Review appreciated.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:12:26 +00:00
Stephan Aßmus
d129a68a72 Removed dead code and updated copyright.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:08:40 +00:00
Adrien Destugues
6389df937b * Bring back the fallback video mode selection in case both tries to read EDID info failed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 20:05:24 +00:00
Axel Dörfler
6046b973b6 * Implemented zooming to the current mouse position. Thanks to stippi for the
invalidate trick to prevent the app_server to scroll.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 19:49:20 +00:00
Axel Dörfler
fb5adc1f7b * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 19:48:29 +00:00
Matt Madia
ad0bdcaa37 Automatic whitespace cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 19:24:06 +00:00
François Revol
22d81b6c8e Implement proper console color handling.
Don't draw over the screen title.
Oddly the menu doesn't seem to clear the screen.
Looks much better now:
http://revolf.free.fr/beos/shots/shot_haiku_loader_amiga_m68k_003.png


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 19:13:55 +00:00
François Revol
c8afe2ca9b Fix header guard which prevented from including text_console.h along with this one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 19:08:52 +00:00
François Revol
bf6cf21094 Fix AmigaOS calls : a6 is required to point to the library base, but our gcc uses it as frame pointer, so we must save it before calling.
Fix the console and remove test panics. We now display the menu, although not in the best colors :
http://revolf.free.fr/beos/shots/shot_haiku_loader_amiga_m68k_002.png
(Yes, the mouse moves too :p)
Amiga !!!!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:53:51 +00:00
Fredrik Holmqvist
f55ffb1a8e Completed structures for MADT APIC structures. I may now have a Frankenheimer.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:49:17 +00:00
Rene Gollent
99d56d5f78 Remove a few no longer needed debug traces, and
add a TODO note regarding gcc4's eh_frame format.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:36:36 +00:00
Rene Gollent
cc7d899023 When using gcc 4, disallow use of CFI asm for now. This renders executables
generated by Haiku's build sys usable with our Debugger, pending support
for gcc4's (different) exception handler frame format.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:35:41 +00:00
Alex Wilson
6b0cdfbc24 Update Media prefs to use BObjectList in place of BList + a few style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:26:45 +00:00
Jérôme Duval
01929b0c94 added a mapping for 0x83 to BTRFS
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 15:19:58 +00:00
Matt Madia
43882ac52c Removed Clockwerk from ReleaseBuildProfiles. This brings alpha-* in line
with that of a release build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 14:01:22 +00:00
Jérôme Duval
f3e3bd7bec added missing preallocate hook to the ntfs kernel interface
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 13:31:52 +00:00
Jérôme Duval
ebfedcc353 auich: fixes an infinite loop when checking a negative value on an unsigned variable
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 11:45:34 +00:00