30888 Commits

Author SHA1 Message Date
François Revol
f6e18219c3 [GSoC] [ARM] Patch by Johannes Wischert.
Add assembler code to actually jump to the kernel.
The terminal now says:

kernel entry at 80048228
PANIC: acquire_spinlock: attempt to acquire lock 0x8012a59c with interrupts enabled
Welcome to Kernel Debugging Land...
Thread 0 "" running on CPU 0
kdebug>



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32408 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32408
2009-08-15 02:16:23 +00:00
François Revol
d20ab0b9af [GSoC] [ARM] Patch by Johannes Wischert.
Add missing kernel stub.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32407 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32407
2009-08-15 02:14:51 +00:00
François Revol
12f64a3b27 [GSoC] [ARM] Patch by Johannes Wischert.
- don't panic on missing page table, just add it,
- less debug output,
- include PXA LCD regs in hw memory map.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32406 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32406
2009-08-15 02:13:39 +00:00
François Revol
bb7479a182 [GSoC] [ARM] Patch by Johannes Wischert.
Turn off interrupts at loader entryn and make sure the mmu is disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32405 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32405
2009-08-15 02:11:07 +00:00
François Revol
639b8a4905 [GSoC] [ARM] Patch by Johannes Wischert.
This seems to work around the dynamic segment having a huge file size in headers, it must also be in the data segment...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32404 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32404
2009-08-15 01:15:18 +00:00
Philippe Saint-Pierre
72dace9557 Make the FindWindow closeable with the escape key.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32403 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32403
2009-08-14 23:11:09 +00:00
Philippe Saint-Pierre
498c03bdd6 StringEditor : The TextView wasn't sending messages saying its content was modified by the user.
Symptoms :
* The Save menu item wasn't enabled
* the undo/redo menu item weren't neither

The fix I made was to commit the changes made by the user to the editor instance, by augmenting the InsertText and DeleteText from the TextView.
This fixes ticket #3507.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32402 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32402
2009-08-14 22:44:44 +00:00
François Revol
47eb033980 [GSoC] [ARM] Patch by Johannes Wischert.
Revert back start of kernel space to the usual place, no need to differ from other archs here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32401 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32401
2009-08-14 22:33:39 +00:00
François Revol
77ae7223e9 [ARM]
Seems forcing the floating point type is not needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32400 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32400
2009-08-14 22:29:31 +00:00
François Revol
98a3545295 [ARM]
Add support for boot splash, only for PXA.
Disabled for now as it forces the framebuffer onto some useful data.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32399 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32399
2009-08-14 22:14:07 +00:00
Ingo Weinhold
80abc2712f Changed the Ctrl-L behavior: The current screen is now scrolled up completely
instead of actually clearing it, so that it is still in the history.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32398 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32398
2009-08-14 21:13:13 +00:00
François Revol
477d2636d8 Return B_OK on success.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32397 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32397
2009-08-14 21:04:29 +00:00
Ingo Weinhold
48bbdc1c17 Fixed broken indentation (greetings to Stefano :-)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32396 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32396
2009-08-14 20:57:14 +00:00
François Revol
7db9fbfe80 Factor out the splash image display logic too.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32395 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32395
2009-08-14 20:51:29 +00:00
Ingo Weinhold
7cd672ff50 Fixed some gcc 4 warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32394 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32394
2009-08-14 20:50:59 +00:00
Ingo Weinhold
f2b1ae9a76 Added escape key support in the find window (pirated from StyledEdit :-)).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32393 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev32393
2009-08-14 20:50:03 +00:00
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
hrev32392
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
hrev32391
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
hrev32390
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
hrev32389
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
hrev32388
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
hrev32387
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
hrev32386
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
hrev32385
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
hrev32384
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
hrev32383
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
hrev32382
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
hrev32381
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
hrev32380
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
hrev32379
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
hrev32378
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
hrev32377
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
hrev32376
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
hrev32375
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
hrev32374
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
hrev32373
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
hrev32372
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
hrev32371
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
hrev32370
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
hrev32369
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
hrev32368
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
hrev32367
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
hrev32366
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
hrev32365
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
hrev32364
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
hrev32363
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
hrev32361
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
hrev32360
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
hrev32359
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
hrev32358
2009-08-14 14:20:06 +00:00