Commit Graph

31072 Commits

Author SHA1 Message Date
Stefano Ceccherini
2a2d0f1d10 After a B_DIRECT_STOP notification, the app_server could trigger a
B_DIRECT_MODIFY with, for example, B_CLIPPING_MODIFIED. This was ignored,
though. Now we combine this notification with the next ones, so that
on B_DIRECT_START, the client is informed of all the things which have
changed. Chart was relying on receiving the B_CLIPPING_MODIFIED notification
to exclude some stars from being erased, in case the window went offscreen.
Anyway, the net result is that Chart doesn't crash now, and we follow
more closely the original BDirectWindow protocol. Fixed ticket #1939.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 20:38:35 +00:00
Jonas Sundström
4dc6088201 Make fileCount a data member and reset it between zip runs. Trim double space in output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32391 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 20:18:12 +00:00
Jonas Sundström
7f8618292d Changing the layout code as suggested. Something's not right. White background not intended. Presenting zip output as a file count instead, to work around excessive window resizing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32390 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:35:02 +00:00
Ingo Weinhold
6fc8f3cdc9 Made the "Not Found." alerts closable via escape key. Not sure, whether we need
those alerts at all, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32389 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:31:31 +00:00
Ryan Leavengood
39a60d7f1e We need this here too, I guess for gcc4 (which is what I'm using now.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32388 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:28:33 +00:00
Ingo Weinhold
4aa87c0410 Adjusted variable names for the "Find {Previous,Next}" menu items.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32387 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:22:01 +00:00
Ingo Weinhold
d76009fdce * Renamed the "Find {Forward,Backward}" menu entries to "Find {Previous/Next}"
and assigned the usual shortcut keys (Cmd-[Shift-]G).
* Changed the behavior so that "Find Next" continues looking in the search
  direction. I'm somewhat undecided whether this is confusing, since the default
  (and usually desired) search direction is backward.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32386 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 19:17:20 +00:00
Ingo Weinhold
ffdaa11d3c cdda_read_dir(): Removed user buffer handling. We're only getting kernel
buffers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:38:05 +00:00
Ingo Weinhold
7435db9ff0 * _user_read_dir(): Allocate a temporary heap buffer passed into the kernel
instead of using the user buffer. This frees the VFS and FS implementations
  from handling user buffers.
* Adjusted fix_dirent() accordingly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:31:35 +00:00
François Revol
0573d397e1 Factor out the RLE and blitting functions from bios_ia32 to platform/generic/ so it can be reused by other platforms.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:15:44 +00:00
Philippe Saint-Pierre
718b394111 Enhance/fix the cascading of windows in DiskProbe. Re-uses basically the same algorithm as StyledEdit.
Should fix ticket #3911.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32382 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:11:49 +00:00
François Revol
b044ca6a19 "Haiku" -> "MIT" license.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:10:37 +00:00
François Revol
cf4cc90528 Fix (c) style; and use "MIT" since there is no "Haiku" license by itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32380 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 18:09:38 +00:00
Axel Dörfler
6bfb1e8b2a * Removed the fake_app_server from the build, and launch the usual system
in safe mode.
* Removed the Terminal from the Bootscript.
* Ordered the servers alphabetically in HaikuImage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32379 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:55:28 +00:00
Axel Dörfler
655a969f84 * Applied patch by Matt that makes the Dvorak alt/option keys behave like the
one in the American keymap (instead of following those in the US-International
  keymap). This closes ticket #3756.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32378 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:48:58 +00:00
François Revol
24c219c1a9 Add newline in about.
Fix ZETA build as yes, I still test stuff in ZETA :p
Thanks Rene for noticing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32377 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 17:05:10 +00:00
Jonas Sundström
c6cc22d032 Closer to preferred use of layout facilities. Fingers crossed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 16:53:20 +00:00
Stefano Ceccherini
b7c167dbe2 This check is no longer needed, since the case is covered by the one
in DirectWindowData::SetState().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32375 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 16:40:44 +00:00
Stefano Ceccherini
3e20b06294 Work in progress towards cleaning up the directwindow server code:
Renamed direct_window_data to DirectWindowData and turned it into a
class.
Encapsulated some functionality inside the DirectWindowData class.
No functional change (yet).
More to come.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 16:34:55 +00:00
Jonas Sundström
d61def1d46 A spelling error, I presume.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 16:24:41 +00:00
Axel Dörfler
8f935c23a8 * Don't export the overlay hooks on hardware where the overlay reportedly does
not work yet. This fixes #4215 the easy way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32372 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 16:03:30 +00:00
Rene Gollent
f930131dca Fix IconVader build, though afaik it's not currently in the image anyhow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:50:09 +00:00
Philippe Saint-Pierre
4551e0670f Add input validation in Network preflet.
Now, if the user attempt to enter an invalid IPv4 address in a field, when he clicks apply :
* the focus goes back to the invalid field
* it displays an error message into the window, at the bottom
* it beeps
* it doesn't save the change, of course

DNS #2 is consider optional.  The check is made with a regex.

This should take care of ticket #4205.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32370 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:49:07 +00:00
Stefano Ceccherini
1c8695a627 only call HandleDirectConnection() if the window is not hidden. Fixes bug #4234
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:47:36 +00:00
Ingo Weinhold
0d4487f933 The dir has been renamed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:45:27 +00:00
Stefano Ceccherini
984c8d3eaf Remove unneeded parenthesis, add a comment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:38:49 +00:00
Rene Gollent
b3f63c9f68 Rename directory to match rest of repository.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:36:34 +00:00
Stefano Ceccherini
b4510aa10c Reset the colors before switching the screen mode
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32365 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:32:45 +00:00
Jonas Sundström
6e59af7488 Removing unused bitmaps.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:30:26 +00:00
Stefano Ceccherini
fa7645f124 Fix gcc4 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 15:29:52 +00:00
Alexandre Deckner
b8508f581e * Icon for Haiku3d
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:51:17 +00:00
Axel Dörfler
55be27517f * Also print the capabilities on boot up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32360 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:31:38 +00:00
Axel Dörfler
b2a75cf56c * Fixed mixup of the VGA compatibility layer - if the bit is set, it means the
device is not compatible, after all.
* No longer accept color changes if the mode is not an 8 bit one. I think that
  BWindowScreen does that after changing the mode, so that is messes up the
  colors, at least that's the theory, will test on real iron now.
* Use VGA as a fallback if setting the palette via VBE failed. This brings back
  the colors for ParticlesII in Qemu (but not in VirtualBox, which seems to be
  completely broken in this regard).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32359 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:30:01 +00:00
Jonas Sundström
ce17f0d7f9 Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:20:06 +00:00
Jonas Sundström
007e852a81 Remove DrawingTidbits.h and .cpp as per TODO comment, replacing code that relies on it. (Please try - I don't have any CD devices wired to audio. BTW, its sometimes schizoid value changing was present before these changes.)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:18:14 +00:00
Axel Dörfler
8fb1f94f42 * Reverted accidental commit, fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32356 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:15:02 +00:00
Fredrik Modeen
c8a2ddf280 Apparently there was a newer version, this one are not dependent on the path to terminal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32355 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 14:09:55 +00:00
Alexandre Deckner
9d841f24b3 * New icon for MediaConverter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 13:35:46 +00:00
Axel Dörfler
2384335649 * Changed the way the device type is tested/set. There shouldn't be any functional
changes.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32353 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 13:02:52 +00:00
François Revol
3f6f17cf36 [ARM]
Start of framebuffer initialization for the Verdex board.
For now it points to the data section as framebuffer for testing and shows an RGB pattern.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32352 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 12:40:16 +00:00
Jonas Sundström
4316f9d931 Cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 12:19:47 +00:00
Alexandre Deckner
34be4b60ec * Add Speaker icons, the idea is to refresh the deskbar replicant and media
preflet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 12:05:18 +00:00
Axel Dörfler
bb693d7764 * Added VESA capabilities field to the kernel args.
* The vesa driver no longer uses VGA programming if the chip does not support
  VGA compatibility.
* The VESA driver now tries to set the DAC to 8 bits per color gun.
* In VESA modes, the driver no longer tries to use VGA programming; introduced
  the new vesa_set_indexed_colors() that is now used for palette programming.
  This should fix wrong colors of 8 bit BWindowScreen users with VESA on real
  hardware (emulators usually didn't mind either way).
* Note that the app_server needs to maintain a palette per 8 bit screen, as
  right now, the colors are garbled after a workspace switch. Stefano, are you
  looking into that already?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32347 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 09:49:28 +00:00
Joachim Seemer
09a1793e4f * Corrected link to Welcome page on applications.html.
* Added hint of right-click navigating saved queries.
* Mentioning queries besides files/folders for configuring the Deskbar Menu.
* A few cosmetic changes here and there.
* Added Installer documentation. Corrections welcome, esp. concerning the
 "Write Boot Sector" button.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32346 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 08:46:58 +00:00
Joachim Seemer
89c0073278 Corrected some typos in the 'EULA' of InstallerApp.cpp.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32345 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 08:46:22 +00:00
Ryan Leavengood
7fb3d929c8 Added an rdef file with the Terminal icon and other information and modified
the Jamfile to use it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32344 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 07:32:48 +00:00
Ryan Leavengood
037e5cee48 Implemented pretty much all of #4190. The Enter key was actually already set as
a shortcut for fullscreen, but I guess the view was processing it first. So I
just removed B_ENTER as an option for next image. Also Shift plus primary mouse
was already working for moving the image.

Also I know it was discussed at length but I still wonder if all these options
for next and previous image are overkill. Now there is no way to scroll with
the keyboard. And there isn't an easy way to go to the next image with the
mouse (menus are a pain.) So I still think some more UI tweaking is needed to
avoid constant shifting between mouse and keyboard.

Finally I also added Command-1 as a shortcut for Original Size, but it does not
work. Anyone know why?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32343 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 07:11:49 +00:00
Ryan Leavengood
fd952aef9b Started cleaning up these monsters:
- Add underscore to private methods.
- Use class member initializer syntax.
- Make sure all class members are initialized, use same order as headers.
- Header reordering.
- A few other small things.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 05:21:14 +00:00
François Revol
3f366cdc39 [ARM]
Don't forget the ELF header else we end up loading at 0x7fff8000...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 01:10:19 +00:00
François Revol
d9c434dc91 [ARM]
Use the same trick as for m68k (r26536) to get separate text & data segments for the kernel, though this should really not be needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32340 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-14 00:18:25 +00:00