Commit Graph

351 Commits

Author SHA1 Message Date
Augustin Cavalier
685e5cbd2e virtualkeyboard: Delete some of the copied classes and use the originals.
The keyboard view class has too many modifications to be trivially merged.
2016-05-07 18:21:02 -04:00
Rene Gollent
8028ede7db Build: Add architecture rule for libshared.a.
- As suggested by Ingo, add libshared.a to the architecture name map.
  This allows it to be linked by its short name like other frequently
  used libraries.
- Adjust all Jamfiles referencing the lib accordingly.
2016-01-15 21:12:24 -05:00
looncraz
fa19dd4470 apps: Convert to using Set*UIColor.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0045-0075, 0077-0087 from looncraz, unmodified.
2016-01-04 07:33:09 -05:00
Augustin Cavalier
8db7ed33fc Delete useless gunk (mostly old Makefiles). 2015-06-22 14:53:23 -04:00
Michael Lotz
ea9f4d993c Tiny whitespace cleanup only. 2015-04-23 23:12:23 +02:00
Michael Lotz
5919f6d4af screen_saver filter: Fix use-after-free on destruction.
Stop watching nodes before quitting and therefore deleting the looper
that was subscribed.
2015-04-23 23:09:40 +02:00
Michael Lotz
c14658c763 keyboard input device: Fix 64 bit debug build. 2015-04-23 22:50:10 +02:00
Michael Lotz
47b0d5f52a <input>keyboard: Fix use-after-free on dead key completion.
When completing a dead key the already freed string was used to build
the input method changed notification. Use an ArrayDeleter to simplify
management of the two strings.
2015-04-10 15:05:13 +02:00
John Scipione
558a3eede1 Build fix for input_server filters
Apparently not linking to libstdc++ correctly is causing an error.

Also, use new(std::nothrow) when creating the input server filter
to avoid an exception from being thrown by the constructor in the
case of low memory.
2015-01-26 19:10:18 -05:00
John Scipione
a0c8352718 Add input server filters
... for switching workspaces (removed from BWindow) and
minimize all (aka Show Desktop).

This moves the workspace switch behavior out of the BWindow class
and places it into it's own input server filter that does the same
thing. The difference is that you may now uninstall the workspace
switching filter to disable the behavior. These shortcuts were not
included in the BeOS R5 version of BWindow so represent additional
behavior added to Haiku.

minimize_all (aka Show Desktop) is a new input server filter that
allows you to minimize all windows by pressing cmd+ctrl+D. If
you do not like this behavior you may uninstall the minimize_all
input server filter.
2015-01-26 18:25:27 -05:00
Adrien Destugues
af012fd4de TeamMonitor: layout cleanup.
Fixes #7560.
2014-12-19 15:50:37 +01:00
Adrien Destugues
1554429045 Remove the vmware graphics and mouse drivers.
They are now available as a package in HaikuDepot.
2014-12-04 12:48:23 +01:00
François Revol
642c5de7a8 virtualkeyboard: more TODO 2014-11-13 20:10:05 +01:00
François Revol
7dc43c256f virtualkeyboard: convert TODO to org-mode file 2014-11-13 20:07:44 +01:00
François Revol
280efb4202 virtualkeyboard: more TODO 2014-11-13 18:00:03 +01:00
François Revol
e47787291d virtualkeyboard: mention needed code factorisation in TODO 2014-11-13 17:51:14 +01:00
Freeman Lou
67b3c67768 virtualkeyboard: code style fixes 2014-11-13 17:51:13 +01:00
Freeman Lou
b8fe0b588d virtualkeyboard: fixed restart crash 2014-11-13 17:51:13 +01:00
Freeman Lou
5e0fb24359 virtualkeyboard: add to the build 2014-11-13 17:51:12 +01:00
Freeman Lou
0f451a9464 virtualkeyboard: use US international keys for now
Update TODO list.
2014-11-13 17:51:11 +01:00
Freeman Lou
48af6b9693 virtualkeyboard: Create README.md 2014-11-13 17:51:11 +01:00
Freeman Lou
246b061c9a virtualkeyboard: add TRACEing and make the keyboard work 2014-11-13 17:51:10 +01:00
Freeman Lou
c2f4582357 virtualkeyboard: add TODO list 2014-11-13 17:51:09 +01:00
Freeman Lou
2071724c6f virtualkeyboard: fix input_server event loop crash 2014-11-13 17:51:09 +01:00
Freeman Lou
a9fd76aefc virtualkeyboard: fixes; input_server now displays keyboard 2014-11-13 17:51:08 +01:00
Freeman Lou
2e4c86a4d2 virtualkeyboard: some fixes
Add initialization helpers.
2014-11-13 17:51:07 +01:00
Freeman Lou
c099b74eac virtualkeyboard: Add input_server device add-on code 2014-11-13 17:51:06 +01:00
Freeman Lou
857688724e Start of a virtual keyboard input_server add-on
Done during GCI 2014.

Some files copied from the Keymap preferences.
2014-11-13 17:50:40 +01:00
Adrien Destugues
2672ea45e0 T9: fix gcc4 build and enable Werror. 2014-10-23 23:10:37 +02:00
Adrien Destugues
80891f9253 Remove Canna input method.
It is outsourced now.
2014-10-18 11:14:22 +02:00
François Revol
61b007a076 serial_mouse: fix string length 2014-08-29 20:30:56 +02:00
François Revol
821075b6ce serial_mouse: also check for "pc_serial#" ports
... since that's what we publish now.
Maybe we should just use the BeOS names instead.
2014-08-29 20:11:38 +02:00
François Revol
5e90a2a9c6 serial_mouse: fix debug build 2014-08-29 18:51:53 +02:00
François Revol
2cc9735a8f serial_mouse: fix build
Looks like some header changed name...
2014-08-29 18:05:07 +02:00
François Revol
4a1a879556 re-add serial_mouse input_server addon to the build
Whether it hangs input_server is not a reason to remove
it from the build anyway.
2014-08-29 17:59:03 +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
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
Jérôme Duval
3aeed6607c include strings.h where appriopriate...
instead or additionally to string.h, in preparation for functions move.
* moves str[n]casecmp() functions and others to strings.h.
* strings.h doesn't include string.h anymore.
* this solves #10949
2014-08-08 22:40:37 +02:00
Jessica Hamilton
d0c1fd8a17 Shortcuts: fix node monitoring of settings file. Fixes #6278.
The initial checks for the settings path were unnecessary, and
prevented node monitoring from starting when the settings file
didn't exist.
2014-07-17 11:08:18 +12:00
John Scipione
ab97fc0564 Replace FindFirst() == 0 with StartsWith()
Thanks PulkoMandy.
2014-06-30 14:45:02 -04:00
John Scipione
03a7aaf926 shortcut_catcher: Add Jessica Hamilton to authors
... with permission to recognize her contributions here.
2014-06-29 17:31:04 -04:00
John Scipione
9c1ca606f0 shortcut_catcher: Small refactor to FindPaths()
Should be functionally identical.

* Removed / after Tracker, thanks Axel.
* BString::FindFirst() returns an index not a status_t so check that
  it finds the path at the start of the string (index 0).
* Put paths.CountStrings() in a count variable.

I wanted to clean this code up because I use it as a reference.
2014-06-29 16:18:08 -04:00
John Scipione
2a6a3109e5 shortcut_catcher: tiny style fix 2014-06-13 12:52:49 -04:00
John Scipione
f1e2e389be shortcut_catcher: rename a couple variables
Fix build, msg => message

Fix warning use int32, not uint32

Also do a bit of refactoring.
2014-06-13 00:25:09 -04:00
John Scipione
78daf289c3 shortcut_catcher: A few 80 char limit fixes 2014-06-13 00:17:13 -04:00
Jessica Hamilton
d2da54dee2 Shortcuts: use BPathFinder instead of find_directory. Fixes #9958.
* Previously, BPath::Append() would return an empty path if the
  path didn't exist (and an error); in a nightly image, the
  B_USER_ADDONS_DIRECTORY didn't exist, triggering the bug.
* Replaced the code with calls to BPathFinder instead, which takes
  care of the empty path automatically.
2014-06-13 15:46:37 +12:00
John Scipione
abca6dabb6 Revert "shortcut_catcher: Fix KeyCommandMap::_DeleteHKSList()"
This reverts commit cb3243fbbd.

Sorry, this might do bad things.
2014-06-12 19:36:56 -04:00
John Scipione
1ecf19b82f shortcut_catcher: style overhaul 2014-06-12 19:25:03 -04:00
John Scipione
cb3243fbbd shortcut_catcher: Fix KeyCommandMap::_DeleteHKSList()
You can't increment the list item counter as you delete because the count
decreases as you go. Instead delete the first item until there are no more
items, then delete the list.
2014-06-12 18:45:36 -04:00
Adrien Destugues
8e7d9c7245 Attempt to fix test_appserver build again.
There seem to be a problem with the architecture, when building for an
x86_gcc2 system things are generated in libbe_test/x86, and then fail
with a lot of undefined references. Help welcome.
2014-01-21 17:17:58 +01:00