Commit Graph

51250 Commits

Author SHA1 Message Date
François Revol
5c25f8e561 Name objects in Heidi icon
Hopefully those are the correct botanical names.
2014-08-14 15:36:04 +02:00
Adrien Destugues
a1d09c7936 make PreviewView smaller.
The 160x120 preview size is a bad choice, because it makes XRoger crash
in an infinite recursion when trying to draw bezier arcs with custom
code (instead of using the BeAPI for that).

Use 120x90, just like BeOS, to maximise compatibility and avoid such
problems.

Fixes #10601.
2014-08-14 14:12:09 +02:00
Adrien Destugues
9bac05ae6c Make the "no preview" screen work in all cases
* HideNoPreview() was never called...
* Use a BCardLayout to make it easier to know which of the two screens
is shown.
2014-08-14 12:38:48 +02:00
Adrien Destugues
613468813b Convert PreviewView to layout kit
* Use a BGroupLayout with insets to make space for the monitor drawing
* Don't put the "no preview available" inside the view passed to
screensavers, this could confuse them
* Have the actual preview area (not including borders) be 160x120
2014-08-14 11:54:06 +02:00
Adrien Destugues
c8bd18f21f Make ScreenSaver preferences work again.
This reverts 0fb019bbf2. Making the window
a BDirectWindow isn't a good idea, especially if you want things other
than a direct rendering view in it. Moreover, this is completely
unneeded as GL works just as well in non-direct mode.
2014-08-14 11:41:21 +02:00
Adrien Destugues
1333f5f77b Fix GL screensavers in non-direct mode.
DirectDraw is called only in direct drawing mode (BDirectWindow). Our GL
kit also works fine (but slower) in indirect mode (standard BWindow, GL
stuff rendered offscreen then blitted). However, for this to work we
need the screensavers to actually do something. Use the
BScreenSaver::Draw method, which is called in either case.

This makes it possible to use indirect mode for the preview of GL
screensavers. The performance isn't really a problem on the very small
preview (160x200 pixels).

Fixes GLife and Gravity. Flurry still crashes Mesa.
2014-08-14 11:37:07 +02:00
Rene Gollent
36f126fd5a Debugger: Fix #11088.
- When walking through and querying volumes for a missing source file,
  store the error and report it back in the completion message rather
  than exiting the query worker. Otherwise, if something went wrong
  with the queries, it'd potentially occur that we'd never prompt the
  user to locate the file, as the UI would never be notified that
  the background work was complete.
2014-08-13 22:15:43 -04:00
François Revol
80835cb079 Add an icon for Heidi (unfinished)
Hopefully it'll be useful
2014-08-14 01:01:55 +02:00
François Revol
57e1c849e3 Rename the kawoosh RemoteDesktop icon
Indeed, we did.
2014-08-14 00:56:41 +02:00
François Revol
e434249ebb Add an icon for device files 2014-08-13 23:38:51 +02:00
François Revol
2213b9acc7 Add an icon for pipe files (But where's Mario?) 2014-08-13 23:26:29 +02:00
Jérôme Duval
3f0a3bd5ac fixed two warnings.
* top: unused variable, quick fix only.
* keymap: redefinition on some host systems (Ubuntu for instance).
2014-08-13 23:18:50 +02:00
Michael Lotz
a9b9faceeb fs_shell: Include strings.h to fix build under Haiku. 2014-08-13 23:13:13 +02:00
François Revol
6683df861e Another variant of the RemoteDesktop icon...
Just in case we ever use it over the Star Gate ;-)
2014-08-13 22:30:54 +02:00
François Revol
a0321e54d4 Much simpler version of RemoteDesktop icon 2014-08-13 22:29:04 +02:00
François Revol
ea9a1f53b3 Add icon for RemoteDesktop
the App_Workspaces getting out of a window...
2014-08-13 21:49:47 +02:00
François Revol
a9028b8eec De-uglify icon
Really, that was my first, you know :D

Still not perfect though...
2014-08-13 20:58:10 +02:00
François Revol
b5f3a90d02 Add a python overlay icon
No outline, pretty much like the official logo.
2014-08-13 19:21:30 +02:00
François Revol
47e6571735 Add an icon for GnuPG
started from Action_Logout
2014-08-13 19:17:46 +02:00
Adrien Destugues
e6e13325db SerialConnect: some simplifications
* Use integers for x and y coordinates in the draw loop, too
* Simplify _GetCell by using the return value of vterm_screen_get_cell
to detect out of bounds access, instead of testing for that manually.
2014-08-13 15:02:23 +02:00
Adrien Destugues
c53c7dded2 Style fixes. 2014-08-13 15:02:19 +02:00
Oliver Tappe
87e8603d9f Merge branch 'gcc_syslibs'
* From now on, the gcc-specific system libraries (libgcc, libsupc++ and
  libstdc++) are provided by separate packages built along with gcc:
  - gcc_syslibs contains the shared libraries (libgcc_s.so, libsupc++.so and
    libstdc++.so)
  - gcc_syslibs_devel contains the static libraries and both c++ and gcc
    headers
  The shared libraries now make proper use of symbol versioning and there
  are version-specific symlinks
* The buildsystem has been adjusted to no longer use the libraries and
  headers from the cross-compiler, but use the ones provided by the
  above-mentioned packages. The only exception is that the 32-bit libraries
  required for the bootloader of the x86_64 architecture are still taken
  from the cross-compiler.
2014-08-13 13:50:29 +02:00
Oliver Tappe
e29a6c4cd4 Introduce stage0 into the bootstrap process.
* This stage builds the gcc packages to get the shared syslibs, which
  only requires the Haiku glue code.
* Add separate declaration section for stage0 packages to
  HaikuPortsCross repository files.
* For the bootstrap_stage0 platform, fall back to the gcc headers
  provided by the cross-compiler.
2014-08-13 13:34:26 +02:00
Oliver Tappe
2e477cf688 Simplify handling of package names.
* No longer apply somewhat crude mechanism for converting a package name
  into a corresponding port name - haikuporter by now supports package
  names directly.

This fixes a problem when trying to pass 'gcc_syslibs_devel' to
haikuporter, which only ever saw 'gcc_syslibs'.
2014-08-13 13:34:07 +02:00
Oliver Tappe
f7653b1b74 Optionally build glue code for bootstrap_stage0 platform. 2014-08-13 13:32:49 +02:00
Oliver Tappe
445257ffd6 Fix missing symbols in <stubbed>libroot.so.
* A couple of symbols reuse the same address (via weak symbols), so
  we adjust generate_stubs.py accordingly.
2014-08-13 13:32:49 +02:00
Oliver Tappe
b80e14ae92 Add pseudo target for bootstrap_stage0 platform. 2014-08-13 13:32:48 +02:00
Oliver Tappe
91e3c8435e Only add Webpositive to image if it is available. 2014-08-13 13:32:48 +02:00
Oliver Tappe
ad598251d7 Set default of HAIKU_CONTINUOUS_INTEGRATION_BUILD. 2014-08-13 13:32:47 +02:00
Oliver Tappe
4ca98ce9a9 Cleanup with respect to headers rules.
* Move specialcasing of gcc2 from HeadersRules into the respective rule
  in SystemLibraryRules.
2014-08-13 13:32:47 +02:00
Oliver Tappe
b2883f6a0d Add support for building <stubbed>libroot.so.
* <stubbed>libroot.so is a shared library which contains all the symbols
  from libroot, but without any code. This library will be required by
  the (to be introduced) stage0 of the bootstrap process, in order to
  be able to link the shared gcc syslibs (libstdc++.so, libsupc++.so
  and libgcc_s.so).
2014-08-13 13:32:46 +02:00
Oliver Tappe
1af12dfb22 Drop Jamfile for building non-legacy libstdc++.so.
* We no longer fake it by converting the static lib into a shared one.
2014-08-13 13:32:46 +02:00
Oliver Tappe
11ae3c5fe7 Cleanup build system and configuration.
* Drop unused variables from build system that refer to the system
  libraries.
* Drop unused lists of libgcc objects.
* Drop no longer used variables from configuration script.
* Remove no longer needed building of kernel-libgcc and -libsupc++ from
  build_cross_tools_gcc4, only the boot-specific (32-bit) libs are
  built for a x86_64 target.
* Explicitly disable threads and TLS support when building the cross
  compiler, as the only libraries that are used by Haiku's build system
  is the 32-bit libgcc and libsupc++ for the bootloader on x86_64 (and
  for that neither is wanted).
2014-08-13 13:32:45 +02:00
Oliver Tappe
37f558d5a3 Let runtime_loader ignore RT_RELRO program headers.
* The new libstdc++.so contains program headers of type PT_RELRO (for
  making segments read-only after relocation). While the actual feature
  has not been implemented, the runtime_loader should now silently
  accept (and ignore) those program headers.
2014-08-13 13:32:45 +02:00
Oliver Tappe
220d040227 Use libstdc++, libsupc++ and libgcc from gcc_syslibs.
* Instead of faking libstdc++.so from libstdc++.a, use libstdc++.so
  from the gcc_syslibs build feature for everything except x86_gcc2.
* Use libgcc_s.so from the gcc_syslibs build feature for everything but
  x86_gcc2 (which still carries libgcc as part of libroot.so).
* Drop filtering of libgcc objects for libroot, as that is no longer
  necessary since we're only using libgcc-as-single-object for libroot
  with x86_gcc2, where the filtered object file doesn't exist. Should
  the objects that used to be filtered cause any problems as part of
  libgcc_s.so, we can always filter them as part of the gcc build.
* Use libsupc++.so from the gcc_syslibs build feature for everything but
  x86_gcc2.
* Adjust all Jamfiles accordingly.
* Deactivate building of faked libstdc++.so for non-x86-gcc2. For
  x86_gcc2, we still build libstdc++.so from the sources in the Haiku
  source tree as part of the Haiku build .
* Put gcc_syslibs package onto the image, when needed.
2014-08-13 13:32:44 +02:00
Oliver Tappe
77253e671b Switch to using crtbeginS.o and crtendS.o unconditionally. 2014-08-13 13:32:44 +02:00
Oliver Tappe
938bf9fad2 Add more missing 'local's to variable declarations. 2014-08-13 13:32:43 +02:00
Oliver Tappe
afde44733f * When using the non-legacy compiler, use the c++ and gcc headers
provided in the gcc_syslibs_devel build feature for building Haiku.
* Simplify declaration of c++ and gcc headers for the legacy compiler -
  in the end we always use the ones living by our source tree anyway.
* Fix a couple of missing local declarations for jam variables, which
  were necessary to avoid a build problem with strace. There are
  probably more bugs like these hiding in our build system files, but
  I'm saving the fix for those to the next commit.
* Add new gcc packages to the HaikuPorts (x86*-)repositories.
2014-08-13 13:32:34 +02:00
Adrien Destugues
7e03464586 Avoid calling PenLocation for every char.
PenLocation is retrieved from app_server (because DrawString changes it
there), so this made drawing very slow.
2014-08-13 12:44:13 +02:00
Adrien Destugues
30636d2eb6 SerialConnect: draw the cursor.
* Drawn as "inverse video" for now.
* Should use VTerm state to get the cursor shape (rect, underline or
left line)
* Should also handle blinking if enabled, and visibility.
2014-08-13 10:02:32 +02:00
Adrien Destugues
ea7fbc874f Build fix. 2014-08-13 08:31:54 +02:00
Adrien Destugues
c38dd82ded SerialConnect: use ints for font metrics
As pointed by Ingo, using a float here is useless because we want each
line to be the same integer number of pixels. Now thigs are drawn
properly and the view has the exact same size as Terminal's one (tested
with font sizes 10 and 18, so different leading values don't seem to be
a problem).

Thanks for reviewing!
2014-08-13 08:16:03 +02:00
Adrien Destugues
6288f7b453 Allow rdefs in subdirectories in makefile-engine.
Also use finddir instead of hardcoded paths for drivers and locale
catalog helper rules.

Fixes #11115. Thanks to Waddlesplash and Puckipedia for investigating
the issue.
2014-08-13 08:05:13 +02:00
Adrien Destugues
b59ed15486 SerialConnect: implement scrollback. 2014-08-12 23:13:37 +02:00
Adrien Destugues
d18836726c Fix gcc4 build. 2014-08-12 08:00:41 +02:00
Adrien Destugues
6a545a8eb1 libvterm: C89 backport.
* As a separate commit so next time the update will be easier...
2014-08-11 23:14:44 +02:00
Adrien Destugues
1ec255178a Import libvterm r617. 2014-08-11 23:14:42 +02:00
Adrien Destugues
b54c6f2e65 SerialConnect: fix font metrics for good.
* Set the background color in AttachedToWindow to avoid white lines in
initial drawing,
* Fix computation of font size again so lines don't overlap.

Note: lines are apparently spaced 1px less than in Terminal. But they
don't seem to touch or overlap each other in SerialConnect.
2014-08-11 23:14:41 +02:00
Jérôme Duval
c9a4d52483 acpi_button: fix build with gcc 4.9 2014-08-11 22:11:10 +02:00
Adrien Destugues
ab4411e89a Tracker new templates: update copyright year. 2014-08-11 21:03:02 +02:00