Commit Graph

37206 Commits

Author SHA1 Message Date
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
Axel Dörfler
2e52bd7b8c * The default decorator now remembers its last mouse down action, and only
recognizes a double click as double click if the action didn't change.
* This fixes bug #6699.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 11:41:40 +00:00
Jérôme Duval
a845ef7bcd avoid an infinite loop with the variable loop i
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 10:06:38 +00:00
Fredrik Holmqvist
868d2a2ed5 Compile first, commit after. Not the other way around.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 09:49:55 +00:00
Fredrik Holmqvist
a808dd7283 Adding more structures for MADT APIC structures. Correct some missed documentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 09:48:17 +00:00
Fredrik Holmqvist
d7a03e967e Started adding structures for MADT APIC structures.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 09:01:24 +00:00
Ithamar R. Adema
e8b7cfe80e * ARM: print memory map before starting kernel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 08:51:09 +00:00
Fredrik Holmqvist
228b810454 Add the different APIC type ids for MADT APIC structures.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 07:44:39 +00:00
Alex Wilson
cc19e7c0ff Add initial documentation for Layout API, not everything is documented, and it's not perfect, but its time to commit this.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 02:33:08 +00:00
Alex Wilson
a46d62a268 Fix some typos in archiving documentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-23 01:51:37 +00:00
François Revol
04fc737059 Start of implementation for the console. dprintf() now uses one of the console handles for simplicity.
It crashes for now though, seems we have a stack alignment issue or maybe mangled registers. Or maybe it's due to non-static initializers not being done.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-22 21:09:10 +00:00
François Revol
2be003bc1e Add missing packed attributes.
Add needed TextFont struct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-22 21:06:25 +00:00
Alex Wilson
7c4e83dd1f In media preferences:
* remove custom 'BarView' class, and replace it with BSeparatorView.
* remove BStringVIew for displaying titles, our BSeparatorView does this now.
* Have the BSeparatorView always draw, BarView was only drawn sometimes.

This helps stabilise the window size, cleans up the code and looks nicer, in my opinion.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-10-22 21:02:46 +00:00