Commit Graph

56233 Commits

Author SHA1 Message Date
Augustin Cavalier
71452e9833 3rdparty/qtcreator: Totally new version of the create_project_file script.
Qt Creator now has a "generic project" mode, in which it just acts
as an auto-completing code editor. I tried using it on the entire
Haiku project at once, but it's just too much for Qt Creator to handle.
So instead, I created a script which generates project files for
any given directory in the tree, as well as sets up the proper include
directories. The project files themselves are .gitignore'd; use the script
to create them.

Works on Haiku. Did not test on Linux with a crosstools setup; but
it should work there too.
2016-10-22 02:09:56 -04:00
Augustin Cavalier
cfe0adf0fb Tracker: Remove unused definition. 2016-10-22 02:07:27 -04:00
Augustin Cavalier
13cf3fecae Tracker: Remove unused Cursors.h header. 2016-10-22 02:07:27 -04:00
François Revol
b1e2427d75 glibc: replace extern __inline with __extern_always_inline for ppc
As was done for x86 in hrev49774.
2016-10-22 15:53:57 +02:00
François Revol
72ddc912a6 PPC: make arch_framebuffer.h more like ARM version
Now the only difference is the physical address, which is returned as
phys_addr_t as should be.
2016-10-22 15:53:52 +02:00
François Revol
f4dc609dbe U-Boot: PPC: dump the start of the board_data struct
Not so useful but just in case...

Sadly, this struct is both compile-time and arch dependent :-(
2016-10-22 15:53:47 +02:00
François Revol
9e66f03165 U-Boot: PPC: Try to enable unaligned transfers
This however doesn't help with the 64bit float operations that
gcc emits when assigning the physical framebuffer address in kernel_args,
which is a packed struct...
2016-10-22 15:53:38 +02:00
François Revol
e57c83d9e4 U-Boot: PPC: make the shift calculation more obvious
It's the 11th bit, counting from the MSB, on the top 16 bits.
2016-10-22 15:53:24 +02:00
François Revol
1fe7e6711f PPC: call debug_uart_from_fdt with C++ linkage 2016-10-22 15:53:20 +02:00
François Revol
11642b7f2c PPC: arch_asm.S: style fix
Capitalize TODO & FIXME, gedit prefers those
2016-10-22 15:53:15 +02:00
François Revol
33c594f0c7 PPC: U-Boot: fix gUBootOS offset
Since the removal of some other variables we were overwriting some random function.
2016-10-22 15:53:07 +02:00
François Revol
ffb9ffb68d PPC: Use FUNCTION_END in arch_asm.S 2016-10-22 15:52:51 +02:00
François Revol
9d0098ec04 ppc/paging: Convert to new-style CPU management
* Aka, post-scheduler changes
* Luckily PPC paging code is very similar to x86 paging now
2016-10-22 15:52:46 +02:00
François Revol
f5f6d7e600 PPC: compile arch_exception*.S in cpu-specific objects 2016-10-22 15:52:38 +02:00
François Revol
8dc55498fa PPC: rename arch_exceptions_44x.S to arch_exceptions_440.S 2016-10-22 15:52:29 +02:00
François Revol
094525151d PPC: Split cpu-specific files into separate objects 2016-10-22 15:52:16 +02:00
François Revol
d66182742f PPC: Stub out 460 paging classes 2016-10-22 15:52:08 +02:00
François Revol
62caef87ce PPC: Restructure paging stuff to match other platforms
First attempt.

Totally untested.
2016-10-22 15:51:57 +02:00
Adrien Destugues
bfb2f7ffc4 intel_extreme: always set the base, surface and stride on both pipes
Our code to assign outputs to pipes isn't working at the moment. Outputs
stay assigned to whatever the BIOS has set up. I tried to fix this but
didn't find a way yet (only more black screens).

As a workaround, always set both pipes A and B to always point to the
same frame buffer. This gets the display running properly on my Haswell
machine again, however mode setting is still not possible (so you can
only use the mode set by the BIOS).
2016-10-22 15:03:35 +02:00
Andrew Lindesay
be29847471 HaikuDepot: code clean-up from #12793 2016-10-21 21:52:13 +13:00
Alexander von Gluck IV
f4f6b874bf arm: Use new firmware repo for u-boot 2016-10-20 21:45:34 -05:00
Alexander von Gluck IV
b2bdabc797 arm: Add beaglebone target, rename beagle
* beaglebone vs beagleboard
* While the boards are almost the same, they have
  diff. FDT's now (more memory, different layout etc)
* Make u-boot script more rpi-like
  (depend on u-boot for initial addresses)
* Wasn't working, still doesn't.
2016-10-20 11:05:46 -05:00
François Revol
e409118307 configure: pass proper gdb target for m68k 2016-10-20 13:30:33 +02:00
Andrew Lindesay
ebb1a01c48 HaikuDepot: Handling for communications with application server over multiple repositories
This change allows for the HaikuDepot desktop application to query the server application
over HTTP for data regarding packages across the various repositories that the have been
configured on the desktop environment.  Previously it was 'hard-coded' to only
communicate about the HaikuPorts repository.
2016-10-20 23:03:10 +13:00
François Revol
4da6cf8403 configure: allow building GDB along with the buildtools
from a stock GDB source tree.

I was getting tired of doing it manually.

Note the prefix is not exactly the same as the buildtools since the
machine triplet is different, but it's not an issue.

Tested with arm and ppc with GDB 7.8. Might need patching gdbTarget for other archs,
as stock GDB doesn't know about Haiku.
2016-10-20 11:14:50 +02:00
François Revol
96c72d6933 typo 2016-10-20 11:14:50 +02:00
Automatic Committer
9a03f9dcf9 Update usb.ids from www.linux-usb.org 2016-10-20 05:20:14 +02:00
Automatic Committer
b780524c68 Update pci.ids from pciids.sourceforge.net 2016-10-20 05:20:13 +02:00
Dario Casalinuovo
3588e74aef BMediaEventLooper: Return to simple lateness computation
* Remove enqueue_time again.
* Lateness seems generally useless. No way to get something useful
experimentally. The commit noise however was useful, the port wait is
behaving more in accordance with the lateness calculus.
* Fixes #12817 and possibly #12594.
2016-10-20 03:11:01 +02:00
Dario Casalinuovo
0c98ab27d3 BMediaFile: Add BUrl SetTo
* Also fix the server version of BUrl constructor
to use a const reference.
2016-10-20 02:26:25 +02:00
Dario Casalinuovo
1c5cb31fef BAdapterIO: Implement SeekModes 2016-10-20 02:26:25 +02:00
Augustin Cavalier
87534026de docs/develop: Create a 'bluetooth' directory.
Presently contains only oco's final blogpost, for posterity's sake.
2016-10-19 19:18:14 -04:00
François Revol
faf79e7f78 Add a little script to configure a dev VM
I wrote that long ago for my packaging tutorial at RMLL, would probably
needs some fixing.
2016-10-20 01:04:37 +02:00
Augustin Cavalier
a37925696f Mandelbrot: Fetch pressed mouse buttons the proper way.
Thanks to Stephan for noticing.
2016-10-19 12:52:35 -04:00
Julian Harnath
b2ef1767a7 x86 kernel stack trace: make sure memcpy stays in bounds
* Commit 337c4ccf introduced usage of plain memcpy in
  get_next_frame_no_debugger(), when the frame is already
  known to be on the kernel stack. However, it also needs
  to check that the end of the frame is still within the
  stack bounds. Otherwise this can cause a KDL if bp does
  not point to a valid complete frame anymore and is
  near a page boundary. Although with commit e477b10c such
  cases should already be avoided, it's still safer to
  check this here in case of e.g. analyzing broken stacks.
2016-10-17 22:27:04 +02:00
Julian Harnath
e477b10cef x86 kernel stack trace: break when return address is zero
* No need to continue walking the stack when a zero return
  address is found, only bogus frames will follow

* Fixes KDLs seen when using the system profiler, due to
  a bug that will be fixed in the next commit...
2016-10-17 22:26:02 +02:00
Augustin Cavalier
45e5951b88 Tracker: Fix the TitleView appearing sometimes in icon-view folders.
It appears this would only happen when opening a new window (not an
existing one) for a folder that was set to icon-view.

Regression from hrev48734 (Layout API commit). Fixes #13000.
2016-10-17 15:19:31 -04:00
Augustin Cavalier
25a6c9dad3 Mandelbrot: Don't bother passing in "where" to GetMouse.
Prior to the previous commit, this would crash, which is why
I wrote it this way in the first place.
2016-10-17 15:01:46 -04:00
Augustin Cavalier
6a42abb28a BView: Add missing NULL checks to GetMouse().
Fixes #12821.
2016-10-17 15:00:17 -04:00
Andreas Faerber
51777fe86c Revert r25895: Undo ppc linkhack workaround #6210 2016-10-16 12:52:02 -05:00
Adrien Destugues
1e59399fd9 libgnuregex: fix debug build.
Add missing "printchar.c", which is only used in DEBUG mode. The
function was recovered from original regex sources.

Note that the gnu regexp library is deprecated, and so is its
replacement, gnu rx. GNU suggests using the regex implementation from
the glibc, but that one isn't as portable.

Thanks to Andrew Lindesay for the investigations and initial patch!

Fixes #12952.
2016-10-16 11:34:15 +02:00
Adrien Destugues
534f22038c Catalog stub: fix undefinied initiamization order.
As investigated by korli in #13001.
2016-10-15 09:28:56 +02:00
Humdinger
8f58f9c31f CharacterMap: avoid white outline around selected character
SetLowColor() to the highlighting colour before drawing a selected character
to avoid blending with the regular white background.
2016-10-14 11:20:31 +02:00
Automatic Committer
90baeda1d2 Update pci.ids from pciids.sourceforge.net 2016-10-13 05:20:13 +02:00
Humdinger
207eda2351 Updated Noto fonts, added Noto CJK
Removed the unneeded UI versions of Noto. According to the FAQ [1], those
"have tighter vertical metrics, and some glyphs that would be clipped are
redrawn to fit within the constrained space", which doesn't seem necessary
for Haiku. Could be re-added, of course, if it turns out otherwise...

Added Noto CJK fonts. All of them contain the glyphs for jp, kr, sc, tc.
Only differ in their default language.
2016-10-12 12:32:45 +02:00
Jérôme Duval
e340f717a4 runtime_loader: add support for ELF init/term routine arrays.
* binutils 2.27 defaults to DT_INIT_ARRAY instead of DT_INIT.
2016-10-11 22:26:06 +02:00
Dario Casalinuovo
1df36f2cee UserBuildConfig.ReadMe: Update non working sample
* With AddSourceDirectoryToHaikuImage spaces should be used as entry delimiter.
2016-10-10 19:52:06 +02:00
Adrien Destugues
af0282f91f Make US-english the default KDL keymap again. 2016-10-10 07:18:12 +02:00
Adrien Destugues
0dbb85e285 Style fix 2016-10-09 22:21:14 +02:00
Murai Takashi
4e8a13a536 KeyboardInputDevice.cpp: Fix int-in-bool-context warning
Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2016-10-09 21:30:07 +02:00