Commit Graph

18095 Commits

Author SHA1 Message Date
Stefano Ceccherini
2f9eca855a moved Shape related defines to their own header
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 21:20:38 +00:00
Stefano Ceccherini
34633cab94 patch by Lucasz Zemczak which adds BShape drawing support to BPicture. Actually we should use a ShapeIterator subclass (like Lucasz did here) in Painter too instead of having duplicating code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19153 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 20:42:54 +00:00
Axel Dörfler
07dc2c6972 * The app_server now gives top-most menus the keyboard focus.
* BMenuWindow now makes its menu focus view, so that it can receive key events.
* Keyboard navigation doesn't work as it should though, that is bug #670 is
  still valid - there should even be another recently opened bug about this,
  but Trac obviously ate it :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 14:21:28 +00:00
Axel Dörfler
3f2cb12385 * Fixed warnings.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19151 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 12:53:08 +00:00
Axel Dörfler
976db206e6 Added support for the GeForce 7400 GO, patch by Bernd Korz.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 10:36:07 +00:00
DarkWyrm
53885da0f0 ReadOnly means...well, read *only*. Duh.
The app_server doesn't handle this message -- yet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 03:02:21 +00:00
DarkWyrm
59463a9aa1 Added set_ui_color to act as counterpart to ui_color.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-30 01:50:37 +00:00
Axel Dörfler
158893b903 The input_server now removes all B_INPUT_METHOD_EVENTS when the target view is
not input method aware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 19:12:29 +00:00
Axel Dörfler
2d6123a6ea * Time view was broken
* The view wasn't updated on changes... (you shouldn't develop such an application
  on a desktop computer)
* enlarged the polling interval to 2 seconds.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 17:49:27 +00:00
Axel Dörfler
d493e69527 Wrote a small application to show the power status in a window, replicant, or the
Deskbar tray. Currently only works under BeOS, and has rather ugly graphics; Haiku
doesn't have an APM kernel interface yet, and I was too lazy to make any nice
icons/drawings :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 17:28:52 +00:00
Axel Dörfler
e2db304337 * Added new Haiku method IsRunning().
* Rewrote header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 16:45:16 +00:00
Jérôme Duval
b13c090ef3 added missing string.h include
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 13:34:37 +00:00
Jérôme Duval
d39c286399 added some endpoints constants
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 13:31:17 +00:00
Axel Dörfler
117da2d75f * Applied the changes I made to the JPEG translator to the JPEG2000 translator as well.
* Further cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 12:45:02 +00:00
Jérôme Duval
69b17409a0 Added driver for Pegasus-type USB ethernet devices
Tested with a Admtek 8511 device to commit this revision


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 12:09:52 +00:00
Axel Dörfler
fe23fb6699 * Renamed private BMenu::SelectItem() to _SelectItem(), and made its arguments a bit more sane.
* Fixed two GCC 4 warnings.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 11:22:14 +00:00
Axel Dörfler
f981047196 Fixed build for GCC4, thanks to Ioan Molnar for the hint.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-29 10:59:59 +00:00
Axel Dörfler
6d7f7b86e1 All windows should have B_ASYNCHRONOUS_CONTROLS set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 23:27:40 +00:00
Axel Dörfler
8687ff64ab * The tab view now uses the native look.
* Big code cleanup.
* The same changes has to be applied to the JPEG2000 translator...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 19:50:04 +00:00
Axel Dörfler
1ab21a021c The copyright line is now as large as the rest.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 17:39:53 +00:00
Axel Dörfler
0a5c585a92 There is a B_CONTROL_TEXT_COLOR after all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-28 15:46:36 +00:00
Axel Dörfler
1868b512e3 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 22:50:22 +00:00
Axel Dörfler
7430a5bea6 Removed the superfluous (doubled) AS_MOVEPENTO as well. Also removed those old constants
from the ServerProtocol.h header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 22:48:31 +00:00
Stefano Ceccherini
04723912ea Added PictureTest to the image. For now it's really unimpressive, I hope
someone will make it a bit more interesting, otherwise it'll get pruned 
from the image...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 20:09:45 +00:00
Stefano Ceccherini
0e683ed9aa ServerPicture was using the wrong StrokeRect call (the one which ignored
the pen size). Added scale handling. Removed duplicated AS_SETPENSIZE 
handler in ServerWindow


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 19:49:02 +00:00
Stefano Ceccherini
8cafa544f6 Made the PictureTest more useful: now it displays 2 views, one which
draws some stuff directly, the other draws the same stuff using a 
BPicture. This shows that BPicture doesn't support BShapes yet, and it 
has some problems with pen size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 19:47:26 +00:00
Axel Dörfler
1af95f17b5 Obviously, the GeForce 7600 GS has two different device IDs. This should close
bug #916.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 15:34:53 +00:00
Marcus Overhagen
dd2413230f started the PXE UNDI network device support
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 21:48:08 +00:00
Marcus Overhagen
326862c203 removed usage of the 0x8d000 to 0x9ffff memory range, as its needed by PXE UNDI.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 20:27:09 +00:00
Marcus Overhagen
7613b42bcd copy of the original trampoline code, needs to be modified as UNDI needes the used address range
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 20:04:46 +00:00
Axel Dörfler
1411be7744 * Fixed a crashing bug when creating a long symlink - there was no file cache
created in this case but used later on.
* The length of a long symlink was one too short, and was thus always losing
  the last character.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 16:06:29 +00:00
Axel Dörfler
378218a432 Added some ASSERTs that the Index::Update*/Insert*/Remove*() methods are used
only for inodes that maintain those indices.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 15:32:42 +00:00
Axel Dörfler
095ee89840 Fixed warning with debug info turned on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 15:29:41 +00:00
Axel Dörfler
297f89345f * write_stat() should not add/update the last modification time of directories.
Reported by Robert Szeleney.
* Fixed an endian problem in write_stat() in the R5 version of BFS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 15:21:28 +00:00
Axel Dörfler
a9831b73ed CheckInode() could find an invalid data stream for symlinks without a data stream;
the data stream area is reused as link data in this case.
Reported by Robert Szeleney.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 13:16:43 +00:00
Axel Dörfler
bd50618697 The keyboard_device now also acts as the target for input method messages from
the input method aware view.
This was necessary to support stopping an input method on the fly: if you press
the dead key first, then change to another view and press a key that is changed
by the dead key, the resulting key now reaches its target, and will no longer
be ignored.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 12:45:41 +00:00
Axel Dörfler
f0cd9e9d87 Canceling an input method now removes the complete inline from the text.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 12:25:41 +00:00
Axel Dörfler
d32e5bae5e The keyboard input device is now using the new inline-only input method extension
for dead keys - IOW you'll now see dead keys in BTextViews as you would see real
input methods like canna. Non-input-method-aware views won't see a difference to
the previous behaviour, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 11:55:43 +00:00
Axel Dörfler
b735e46de3 Extended input method protocol a bit: you can now set "be:inline_only" to true, which
means that no bottomline window will be opened in case the current view is not input
method aware.
Instead, only the confirmed B_INPUT_METHOD_CHANGE event will be translated to a message
the view will understand - this message must be part of the event in the "be:translated"
member.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 10:45:45 +00:00
Axel Dörfler
3956f772e1 No longer ignores the text that comes with a confirmed B_INPUT_METHOD_CHANGED
event; it now only deactivates the inline in that case.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 23:20:20 +00:00
Marcus Overhagen
79372d08b0 Reduced allowed stage 2 size, as PXE and UNDI have memory reserved. Added comment explaining memory map.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 22:17:55 +00:00
Marcus Overhagen
a1939ee423 Modified the pxe_ia32 stage 1 loader to load stage 2 at the same address as bios_ia32 stage 1 does.
This allowes to actually execute the boot loader now. 
Need to use Ingo's remote_disk_server now for booting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 20:53:30 +00:00
Stefano Ceccherini
743fe40eba Cleaned up a bit PageFlipper sources.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 15:56:32 +00:00
Stefano Ceccherini
6b375f2ef3 Moved demos to the "Demos" folder. Also increased image size to 100MB.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 13:54:53 +00:00
Axel Dörfler
8ac8898872 Fixed some minor warnings in the Linux build environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 13:24:40 +00:00
Oliver Tappe
6b376d6055 * fixed all compilation issues of printkit-stuff with gcc4 on Linux
* removed leagcy _sstream-header, we now use sstream, as both compilers provide it



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 22:57:37 +00:00
Jérôme Duval
d03f6d5c29 some more gcc4 fixes for print addons
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 22:39:57 +00:00
Oliver Tappe
ada60fd8cc * fixed wrong order of libraries, libprint.a is using libstdc++, so it needs to
be passed *before* libstdc++, otherwise the linker that comes with gcc4 
  complains.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 21:50:37 +00:00
Stefano Ceccherini
5290139c41 more stuff added to the BPicture test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 13:37:33 +00:00
Stefano Ceccherini
38e2236402 Now the BPicture test draws a string in red. Fixed a possible crash by
initializing fPicture in the constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 13:18:51 +00:00