Commit Graph
53485 Commits
Author SHA1 Message Date
François Revol 5c2425a61e PPC: fix COFF bootloader entry point
The concept of entry point in COFF is actually different than in ELF.

In COFF, the entry point is actually a "descriptor" (pointer) to the actual
start code. So we patch the entry point address when calling objcopy.

Now my old Performa 5400/180 actually starts the loader correctly \o/
2015-04-22 02:43:35 +02:00
François Revol ade89bf38e PPC: simplify the bootloader linker script
the OF 2.0 COFF loader skips sections other than
.text .data and .bss, so merge others into those three.
2015-04-22 02:43:34 +02:00
Janus 853598431c Preferences: Consistent buttons position and spacing.
* Fix DataTranslations.
* Fix Touchpad.
* Fixes #5230.
2015-04-21 21:15:20 +00:00
Adrien Destugues 510eb73653 Add libdca
* Another dependency of VLC 0.8.6…
2015-04-21 21:38:56 +02:00
Janus aaa7d92685 Preferences: improve layout.
* Sounds use LayoutBuilder vs. GroupLayoutBuilder.
* Time standard spacing.
* VirtualMemory standard spacing.
2015-04-21 18:29:25 +00:00
nagerst 01b5651f21 radeon_hd: added device id for LG Z1 R200 series of laptops 2015-04-21 15:36:35 +02:00
François Revol fe0af42062 shutdown: style fix 2015-04-21 15:14:11 +02:00
Janus b41cdcb350 ShowImage: reformat lines over 80 chars.
* Last commit of the day, I need a vacation!
2015-04-21 12:51:41 +00:00
Janus 9c1f5f4d70 ShowImage: improve attributes performance.
* Writes the attributes only if they are different or missing.
* Thanks Humdinger for point out.
2015-04-21 12:42:20 +00:00
Gerasim Troeglazov e59470891c Added BeZilla package for x86_gcc2 2015-04-21 21:33:21 +10:00
Gerasim Troeglazov c7077b33ac Update MuPDF up to 1.7 and PDFTranslator, DocumentViewer packages 2015-04-21 21:19:58 +10:00
Janus c1994be817 ShowImage: fixes variables declaration.
* Thanks Axel.
2015-04-21 10:02:11 +00:00
Janus 41425e461d Preferences: uses BLayoutBuilder instead of BGroupLayoutBuilder.
* Fixes Appearance.
* Fixes Keyboard.
* Fixes Mouse.
* Fixes Notifications.
2015-04-21 09:36:07 +00:00
Janus 005198d913 ShowImage: Fixes wrong indentation. 2015-04-21 08:48:25 +00:00
Janus e62a697349 ShowImage: Set width and height attributes of the showed image.
* Fixes #8745.
2015-04-21 08:42:05 +00:00
François Revol b526d04a5b paths.h: add _BSD_SOURCE guard back, also check for _GNU_SOURCE
So things (like m4) expecting paths.h as part of glibc will get
what they want with _GNU_SOURCE.
2015-04-21 01:34:26 +02:00
François Revol ae799603e7 hack_coff: remove useless header dependency 2015-04-21 01:13:05 +02:00
François Revol 0a6339dd36 hack_coff: add rs6000.h from GDB 7.8
Of course we were using it from our own gdb copy...
until it got deleted.
2015-04-21 01:11:11 +02:00
François Revol c3bffc88c9 fix warnings 2015-04-21 00:25:30 +02:00
François Revol 7dd1073833 ByteOrder.h: add explicit casts when using gcc builtins
Those return uintNN_t types instead of our own types,
but uint32 for example is long while uint32_t isn't,
giving some trouble with the PRI* macros for example on PPC.
2015-04-21 00:25:29 +02:00
Michael Lotz bdf0418f5c input_server: Fix handling of received -q argument.
BApplication::ArgvReceived() is called in the already running app in
case of a silent relaunch. It is therefore enough to just post a quit
message.
2015-04-20 23:40:34 +02:00
François Revol ae65896a9f paths.h: fix some paths
We don't have /sbin so...
2015-04-20 23:33:29 +02:00
François Revol 110600c698 paths.h: remove the _BSD_SOURCE guard
It seems like glibc also has paths.h and m4 fails to bootstrap
without _PATH_BSHELL.

This file really needs some cleanup btw, since most is actually
irrelevant or incorrect for Haiku.
2015-04-20 23:31:20 +02:00
Michael Lotz 9b3be14015 BApplication: Fix B_ARGV_* handling on silent relaunch.
In hrev47355 a logic reversal was introduced as part of a cleanup
commit which caused B_ARGV_RECEIVED to be sent only to apps with the
B_ARGV_ONLY flag set instead of clear.

In addition to that, don't send the B_SILENT_RELAUNCH message for apps
with B_ARGV_ONLY either, as they are not supposed to receive messages
after launch. This is in line with the documentation and what BRoster
does.
2015-04-20 23:27:52 +02:00
François Revol 06ba99b08a shutdown: handle 'halt' and 'reboot' as argv[0]
In both cases ask confirmation to the user.
2015-04-20 23:23:56 +02:00
François Revol 1eb23951c3 HaikuPortsCross: Update some PPC bootstrap packages 2015-04-20 18:35:36 +02:00
François Revol d508fd4c33 PPC: leave all atomic ops as gcc inlines
I'm not sure the 64bit versions are really implemented though...
2015-04-20 17:52:39 +02:00
François Revol 10e57f6e58 PPC: fix handler type cast 2015-04-20 17:19:33 +02:00
Alexander von Gluck IV f178e4a248 arm: bcm2835 framebuffer
* Drop some messy mmu externs
* Set proper page flags
2015-04-19 20:13:24 -05:00
Alexander von Gluck IV f427a82d48 arm: Add debug function to dump mmu state
* We don't change the data cache (and other) settings.
  Interesting to know their state on each platform.
* Not used by default as it needs called after
  serial-init in u-boot
2015-04-19 20:13:23 -05:00
Michael Lotz 62d30d9e49 libmedia: Put AddOnManager into BPrivate::media namespace.
The AddOnManager was in the global namespace, clashing with application
classes with the same name.

The input_server has an AddOnManager of its own. When the
shortcut_catcher filter was loaded by said AddOnManager, it in turn
loaded libgame.so, which in turn loaded libmedia.so, where an
AddOnManager was created for the global AddOnManager instance in
libmedia.so. Unfortunately the wrong AddOnManager, the one from the
input_server, was created. This lead to two AddOnManagers being active
in the input_server which very well could be responsible for #11049
and #11280.

This was a regression since the move of the AddOnManager from the
media_server to libmedia.so in hrev47086. This also fits with the two
tickets.

I actually noticed the problem when debugging the shutdown process of
the input_server, where the destruction of the wrong AddOnManager
caused a deadlock with itself.
2015-04-19 23:47:05 +02:00
Adrien Destugues 5265e873af Add more vlc dependncies + Fix Caya and add paragui
* libdvdread, libdvdnav, faac
* Caya built in release mode (much smaller package)
* Paragui and dependencies: libsigc++ and physfs.
2015-04-19 18:14:59 +02:00
Adrien Destugues eaa1235c26 53c8xx: build fixes. 2015-04-19 17:29:55 +02:00
Janus 2a1583cbc0 Preferences: Consistent buttons position and spacing.
* Appearance fix spacing.
* Keyboard fix spacing.
* Mouse fix spacing.
* Notifications fix spacing.
* Fixes #5230.
2015-04-19 13:02:10 +00:00
Adrien Destugues ee93a8f4a1 Fixed goonies package. 2015-04-19 11:23:41 +02:00
Adrien Destugues 67334c1a29 More dependencies for VLC
libcddb, libcdio, libdvbpsi, libdvdcss, vcdimager.
2015-04-19 11:23:31 +02:00
Michael Lotz eebdc855b8 userlandfs: Fix 64 bit debug build. 2015-04-18 22:31:11 +02:00
Janus 197dbe5313 WebPositive: Address bar list uses user colors.
* Before this commit address bar used:
 B_MENU, B_LIST, B_DOCUMENT colors.
 With strange results during customization.
* Now the address uses list user colors.
* Partialy fixes #10840.
2015-04-18 18:47:44 +00:00
Alexander von Gluck IV d3d976b08c cubieboard4: Add 32k alignment fix
* haiku_loader now starts on the cubieboard4
  with a working uart!
2015-04-18 10:38:02 -05:00
Adrien Destugues 3cd56e6356 Add packages for some VLC dependencies
a52dec, libmatroska, libebml, gnutls, libgcrypt, musepack_tools,
libreplaygain, libcuefile.
2015-04-18 17:35:03 +02:00
François Revol 1c91ed03fa Build binutils with different extra targets depending on arch
EFI support isn't much useful for ARM.

Also add some targets to help debugging binutils on PPC.
2015-04-18 15:14:24 +02:00
Michael Lotz 859686a51c Tracker: Fix use-after-free in info window attribute view dtor.
The model was owned by the info window and is gone at the point where
the AttributeView is destroyed. Since the extra check whether the model
is a symlink isn't really needed at all, I opted to just remove it
instead of destroying the AttributeView sooner or unsetting its model.
2015-04-18 14:19:03 +02:00
Michael Lotz 359d64ed66 network stack: Style fix of constant name. 2015-04-18 14:09:27 +02:00
Michael Lotz ebea950b2d BLayout: Don't delete the layout of the view in RemoveView().
The layout item representing the layout of the view to be removed is
owned by the view and must not be deleted. The layout only owns the
item if a new layout item was created when adding the view, i.e. when
it did not have a layout.

Fixes the underlying issue that triggered #11976.
2015-04-18 13:32:19 +02:00
autonielx 1f1df3671c Update translations from Pootle 2015-04-18 06:27:31 +02:00
Adrien Destugues 8bbe44dd63 Add package for libmpeg2 2015-04-16 22:07:21 +02:00
Michael Lotz 56a63697ae notification_server: Don't remove the views from the layout.
Removing the view from the window and deleting it is fine. This is a
quick fix for #11976. The underlaying issue of how BLayout::RemoveView
should work still needs to be fixed.
2015-04-16 21:44:59 +02:00
Jessica Hamilton c7ad68f08c assert.h: add comments explaining the omission of include guards 2015-04-17 07:03:40 +12:00
Jessica Hamilton e4de39c4e4 libs/bsd: also define _BSD_SOURCE for C files 2015-04-16 23:40:23 +12:00
Jessica Hamilton 9f17027980 assert.h: remove include guards
* including assert.h multiple times with NDEBUG varying is
  perfectly legal, and required by POSIX.
2015-04-16 23:03:40 +12:00