Commit Graph

42470 Commits

Author SHA1 Message Date
François Revol
6fe5c2f194 Fix u-boot ppc jamfile
* fix leftover openfirmware stuff from copy-paste.
* shell.S is still missing.
2012-05-11 02:49:47 +02:00
François Revol
0fa5c3d115 Add board config header for ACube Sam460ex
* the UART is hardcoded for now, ideally it should be set up from the address found in the FDT blob.
2012-05-11 02:31:57 +02:00
François Revol
935a9b24cf Add board definition for ACube Sam460ex
* It's a PowerPC embedded board that uses U-Boot.
* We don't want an SD image (yet?)
* tune for the ppc440 with soft-float for now.
2012-05-11 02:29:46 +02:00
François Revol
730a376b32 Hardcode the boot platform for the Raspberry Pi
* for now at least the board uses a custom boot platform.
This way one only has to define HAIKU_BOOT_BOARD now.
2012-05-11 02:17:38 +02:00
John Scipione
9104048d18 Minor updates to the PC Czech.keymap
Some issues in the Czech.keymap were discovered while creating
the Czech (Mac).keymap. These include the RCommand key not being
set, extra spaces in the option map, and characters defined in
0x7e and 0x7f which correspond to the sysreq and break keys.
2012-05-10 15:55:14 -04:00
John Scipione
7743b9f9a7 Add Czech (Mac).keymap by janiczek closing Ticket #8536. 2012-05-10 15:37:32 -04:00
Alexander von Gluck IV
f78cbe4710 pl011 uart: Work on uart startup code
* Add missing PL011 register locations
* Move startup code to class init and ensure port is
  started up more like Linux PL011 Amba driver.
2012-05-10 12:38:52 -05:00
czeidler
875b218202 Calling the BView version of {Enable,Disable}LayoutInvalidation() seems to be more natural. 2012-05-10 10:36:42 +12:00
czeidler
31f768577e The layout checks the target view now if the layout invalidation has been disabled in the view. 2012-05-10 10:36:41 +12:00
Alexander von Gluck IV
57a2ea0d54 uart: Replace Init calls with Enable/Disable
* Enable/Disable makes more sense and matches
  platform loader serial functions.
* Rework PL011 code after finding a PDF covering
  the details of it.
* Rename UART global defines in loader to be more
  exact about location
2012-05-09 12:46:35 -05:00
Alexander von Gluck IV
605041242a radeon_hd: Build fix
* Misplaced '"', sorry for spam
2012-05-09 11:52:51 -05:00
Alexander von Gluck IV
e62d1ff387 radeon_hd: Better handle and detect load on DVI-I connectors
* A tricky situation as DVI-I digital + analog paths show
  up as two display connectors sharing one EDID data source.
2012-05-09 09:08:26 -05:00
Alexander von Gluck IV
eaad49bab7 rpi: Restore ctors and bss functions
* Fixes pre-mmu new and malloc's
* Use nothrow for new
2012-05-08 22:53:30 -05:00
Alexander von Gluck IV
78004f1677 arm uart: Convert new uart code to classes
* This makes things a little more flexible and
  the interface to use the uarts cleaner.
* May want to make a generic Uart wrapper
  class in uart.h / uart.cpp and call drivers
  as needed from there.
2012-05-08 22:17:03 -05:00
czeidler
58f3387d56 Workaround to not trigger a relayout in DoLayout when adding the label view again. 2012-05-09 14:34:44 +12:00
Philippe Saint-Pierre
f1e0212d72 top: Attempt to avoid negative "(unknown)" %
Top was using the 'theorical' interval value to determine the percentages.
The measured thread times were taken in an always a bit larger interval than
that theorical value, hence the negative '%' occuring regularly.

Should fix #4589.
2012-05-08 21:09:36 -04:00
Alexander von Gluck IV
f5b83627d0 rpi gpio: Rework GPIO support
* GPIO calls now simplier and more correct
* Set UART pins to AUX0 mode
2012-05-08 13:14:03 -05:00
czeidler
9c7f297dd6 Remove lp_solve headers. 2012-05-08 07:28:16 +12:00
Alexander von Gluck IV
b74906293b pl011 uart: Add port_init code
* Add code to initilize the uart port
* Fix uart clock
2012-05-06 22:53:56 -05:00
Alexander von Gluck IV
c76127fade arm uart: First work towards Amba serial driver
* Move Raspberry Pi board over to Amba driver
* Add initial set of registers and values
* Few small style cleanups
2012-05-06 19:30:43 -05:00
Philippe Saint-Pierre
78614977b0 Tracker: Removing the Desktop Background Image don't clear a pointer
fBackgroundImage wasn't being cleared when removing the desktop
background image because the loading process wasn't ignoring
loading failures (as is the "no background for this workspace" setting).

fBackgroundImage not being NULL was causing crashes mainly in
ScreenChanged(), where it was trying to re-center a non-existant
background.  Was causing #7376 and maybe others.
2012-05-06 20:00:15 -04:00
Philippe Saint-Pierre
4dad975dda Tracker: Consider extra column margin in PoseView::Extent()
In List Mode, consider the extra margin added to the right of
the last column when computing the Extent of the PoseView. This
was causing the ResizeToFit to resize a bit too small.

Fixes #4318
2012-05-06 18:43:59 -04:00
Alexander von Gluck IV
aa7d070732 arm uart: Rename getc/putc to getchar/getchar
* Avoid name collisions
* This uart stuff may work better as a class at
  some point, however I didn't want to rock the
  u-boot boat *too* much as I don't have the
  hardware to test.
2012-05-06 17:03:34 -05:00
Alexander von Gluck IV
917e9be1a6 arm uart: Complete redesign of ARM uart code
* Add nested function wrappers to allow usage of other
  uart drivers depending on board. We may want to use this
  on other platforms at some point (haha, maybe)
2012-05-06 17:03:33 -05:00
Rene Gollent
95aae4ae1e Style fixes. 2012-05-06 16:12:16 -04:00
Philippe Saint-Pierre
42ae726e67 setgcc: add -l argument to ls call in script
In previous, it was still working as I was more interested into != 0 than
exact count. Still, for clarity sake, I add -l to get the actual count.

Thanks Axel.
2012-05-06 15:52:04 -04:00
Alexander von Gluck IV
60433c9277 rpi: Reduce superfluous code in loader.
* Remove unneeded complexity and a few left over
  linux items
2012-05-06 12:20:40 -05:00
Alexander von Gluck IV
19b42424c6 rpi: Remove need for first32k.bin
* Thanks go out to Simon Arlott for replacing
  the first32k.bin blob with assembly removing
  the need for first32k.bin hack.
* This assembly is a modified version removing
  the Linux kernel boot args.
* haiku_loader renamed to kernel.img will boot
  on Raspberry Pi directly.
2012-05-06 12:06:17 -05:00
Alexander von Gluck IV
79a9f645ba arm uart: Cleanup serial port setup.
* Be a little more discreet on how we
  configure the serial port.
2012-05-06 12:06:17 -05:00
Axel Dörfler
52a5878b74 Added command line programm to rename/move attributes.
* Called mvattr, move is not yet implemented which is why it's not part of
  the image yet.
* Defaults to rename, moving attributes needs an extra option.
* Suggestions welcome :-)
2012-05-06 16:55:36 +02:00
Stephan Aßmus
e4ef668253 Implemented drag&drop of shape items between I-O-M windows.
* The ShapeListView also knows the PathContainer and StyleContainer
 * When constructing the drag message, also include a complete archive
   of the dragged shapes, bundled with archives for each included path
   and the style.
 * When handling the drop, and it came from another I-O-M window,
   exract the Shape archive bundle from the drag message. For the
   Style and the included Paths, try to find an existing Style and
   existing Paths and reference those in the added Shape(s) instead
   of adding duplicates.
2012-05-06 16:50:25 +02:00
Stephan Aßmus
2d35ee03c0 Added operator== implementation 2012-05-06 16:50:02 +02:00
Stephan Aßmus
7a20125661 Style cleanup, no functional change intended 2012-05-06 15:26:52 +02:00
Philippe Saint-Pierre
85fb3e7df8 setgcc: error message
The bash script tried to verify the existence of a file,
but there were several fils fitting the wildcard expression.
So, [ -e .../*gcc ]; was interpreted as if it had too many
arguments.  Replaced that expression by a count of files.

Fixes #8493.
2012-05-05 23:55:19 -04:00
Philippe Saint-Pierre
501546ee8f MediaPlayer: Looping regardless of setting
* Fixed a regression I introduced in hrev43642. Ticket #8364.
* Small coding style fix
2012-05-05 22:32:09 -04:00
Matt Madia
d7f114cf1c Fixed typo. Spotted by ddavid123, thanks! #8521 2012-05-05 21:06:59 +00:00
Rene Gollent
ec3fd1713a Fix regressions introduced by previous commit.
- Conditionally enable and disable event masks as needed when we detect
  the mouse entering/exiting the deskbar area. This is necessary because
  otherwise the app_server appears to eat mouse messages due to the ctrl+cmd+
  resize shortcut. Also change some conditionals slightly to better deal with
  differing combinations of autohide and/or autoraise.
2012-05-05 15:32:59 -04:00
Rene Gollent
22812ba24f Fix ticket #8497.
- Rework Deskbar's handling for the autoraise/autohide cases to not
  need event masks. This prevents various problems that would occur
  if one happened to be working in another window that overlapped part
  of Deskbar, as reported in #8497. Instead, we now use a message filter
  to redirect the messages as needed.
2012-05-05 14:45:28 -04:00
Stephan Aßmus
5959960b03 Made it possible to drag paths from one I-O-M window to another.
* Put archived versions of the selected paths into the drag message.
 * If the base class version HandleDropMessage() failed, it means the
   drag message came from another window. Reconstruct the paths and
   add them via the AddPathsCommand.
2012-05-05 17:14:42 +02:00
Stephan Aßmus
34c3ca13b4 Style cleanup, no functional change intended 2012-05-05 17:08:15 +02:00
Stephan Aßmus
f30d463866 Accept dropping Styles from another I-O-M window.
* Add archived versions of the selected Styles to the drag message.
 * If the base class didn't handle the drop message, try to unarchive
   Styles and add them via AddStylesCommand.
2012-05-05 16:42:41 +02:00
Stephan Aßmus
fa39c4e9c6 Fixed using the wrong index variable after refactoring. 2012-05-05 16:42:20 +02:00
Stephan Aßmus
f0eab45bd7 Made it easier for derived classes to handle the drop message. 2012-05-05 16:24:33 +02:00
Stephan Aßmus
01bcddc1bf Code style cleanup 2012-05-05 14:52:40 +02:00
Stephan Aßmus
d532c167d8 Fixed some compiler warnings. 2012-05-05 14:52:07 +02:00
Niels Sascha Reedijk
d72c055e90 Update translations from Pootle 2012-05-05 10:07:35 +02:00
Alexander von Gluck IV
d4a4f9ad04 pi: Fix oops from b4a80cfb, extra gGPIOBase 2012-05-04 22:06:41 -05:00
Alexander von Gluck IV
52119b503d Pi uart: Begin first attempts at UART communication on Pi.
* Make Kernel ARM UART slightly more generic
  through (BOARD_UART_CLOCK) configured per board
* Add initial Raspberry Pi serial code
* Still rough and non-working
2012-05-04 22:00:23 -05:00
Alexander von Gluck IV
b4a80cfb69 Pi: Add GPIO controls to Raspberry Pi Haiku Loader
* When first32k.bin is added in front of haiku_loader,
  the OK led comes on verifying haiku_loader is actually
  running on the Pi.
2012-05-04 22:00:23 -05:00
Matt Madia
116dab1616 Updated ReadMe for zlib1g-dev dependency on Linux 2012-05-04 20:17:06 +00:00