Commit Graph

41798 Commits

Author SHA1 Message Date
Alexander von Gluck IV
67f3236e6a glut: Ensure Mesa dependency is met before compiling 2012-01-11 22:01:12 -06:00
Alexander von Gluck IV
367834c6ba mesa: include GL public headers in image 2012-01-11 16:56:28 -06:00
Alexander von Gluck IV
7b2c1ed631 glut: build and link into libGL 2012-01-11 16:55:15 -06:00
Alexander von Gluck IV
8e4cdaae8d haiku3d: Fix haiku3d build
* Add GL header include path
* Remove strange GL include path from sources
2012-01-11 00:20:02 -06:00
Alexander von Gluck IV
defd6ec79a mesa: Bump gcc4 optional package to 8.0-devel 2012-01-11 00:14:54 -06:00
Alexander von Gluck IV
683e7cc845 Merge branch 'mesabetter' 2012-01-10 20:54:26 -06:00
Axel Dörfler
af8b1b77fa Fixed RemoteDesktop build that has been broken with hrev43319.
* Or more specifically, in 323b65468e, part of that revision (ie. the initial
  import from Oliver).
2012-01-10 23:05:01 +01:00
Axel Dörfler
7532547c06 Also hide the full screen controls when the mouse is over them.
* We just wait a little longer in this case, like 4.5s.
* Changed the code to only send the messages when needed, before they were
  being sent every 1.5s.
* However, this is untested as of yet, as the layout changes didn't allow me
  to run the MediaPlayer on my system. Will do so in a minute on another one.
2012-01-10 22:02:03 +01:00
Alexander von Gluck IV
7dde214bc0 radeon_hd: Fix accelerant regression in 4e9e029
* After 4e9e029, radeon_hd functionality became erratic.
* I think failing to lock the encoder bios scratch on
  encoder changes was causing it.
2012-01-10 13:07:15 -06:00
Alexander von Gluck IV
b4f8644589 add in a missing mesa header, formats.h; No Haiku code change. 2012-01-10 12:57:43 -06:00
Alexander von Gluck IV
3e0c69a0e6 Add hacks for older gcc2 Mesa 7.8.2 support
* Call different functions depending on Mesa version
* The --no-warnings is for the GL headers which produce
  large numbers of attribute directive ignored warnings
  that cannot be disabled on gcc2
2012-01-10 05:13:19 +00:00
Aleksas Pantechovskis
1516a674a2 Placement of user splell_check directories fixed
* User collected dictionaries and indexes are moved under
  ~/config/data/spell_check/ folder. Fixes #7887.
* This fix was made during completing GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-01-09 23:00:00 +00:00
Aleksas Pantechovskis
975f024407 Fix [Read|Unread] buttons behaviour
* Allow displaying of "Read" button only for Incoming e-mails.
  Fixes #4773;
* Move to the next message after pressing "Unread" button that
  is consistent with corresponding "Unread" button case.
  Fixes #4774;
* Those problems were fixed during completing GCI 2011 task.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-01-09 22:56:16 +00:00
Aleksas Pantechovskis
a7c3ac5527 "Close and Leave As ***" menu handling improved.
* Check for real e-mail status before activating corresponding
  "Close and Leave as <Status>" popup menu entries and modifying them
  correspondently;
* That was implemented as GCI 2011 task. Fixes #5251.

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
2012-01-09 22:55:29 +00:00
Alexander von Gluck IV
27fdeae9e1 Use optional package gl headers 2012-01-08 01:42:10 -06:00
Alexander von Gluck IV
77d663c3ea Remove the Haiku Mesa fork 2012-01-08 01:12:54 -06:00
Alexander von Gluck IV
41020a0f1a Make mesa_software_renderer work with latest mesa
* Some of these changes may be pulled back with the NEW_MESA
  define so this works across older and newer Mesa versions
* NEW_MESA defines and checks should be removed when gcc2 is
  no longer a supported platform
2012-01-08 01:07:57 -06:00
Alexander von Gluck IV
f6a611ebf0 Use Mesa optional package to build opengl kit 2012-01-08 00:31:03 -06:00
Alexander von Gluck IV
016d04966a Add optional build feature to pull Mesa optional package 2012-01-08 00:22:07 -06:00
Alexander von Gluck IV
da46520777 Break glut out from mesa lib
As glut is no longer in upstream Mesa and no longer developed
we will need to keep a fork.
2012-01-08 00:15:58 -06:00
Alexander von Gluck IV
b63d0f0c44 add mesa-o-matic shell script
* This bundles up a compiled upstream Mesa source directory
 * Used during the creation of the Mesa optional package
2012-01-07 23:58:54 -06:00
Philippe Saint-Pierre
74983a5f69 shortcut_catcher: memory leak fixes
memory allocated in get_key_map(..) wasn't released.

CID 5696, CID 5697, CID 1699, CID 1700
2012-01-07 20:42:19 -05:00
Philippe Saint-Pierre
a5a013ca40 MediaPlayer: Fix movement of items in playlist
In Playlist, whenever a move of items occured causing the
currently playing song to change its position, so :
1. Importing files (D&D for example) before its position
2. Removings files before it
3. Moving files before it

was causing the currently playing song to restart because
it was thinking a new entry was asked (it had a different
index number suddently).

Also adjusted the behaviour when you delete the currently
playing track.

Should fix ticket #6689.
2012-01-07 17:29:46 -05:00
Oliver Tappe
174676503b Drop now unneeded glibc wchar-files (plus others). 2012-01-07 22:03:24 +01:00
Oliver Tappe
b7417fbec1 Switch wchar from glibc to our own implementations. 2012-01-07 22:02:48 +01:00
Oliver Tappe
7efc2e3a0e Add our own implementations for all wchar.h functions.
* add implementation for wcpcpy(), wcpncpy(), wcscasecmp(), wcscat(),
  wcschr(), wcscmp(), wcscpy(), wcscspn(), wcsdup(), wcslcat(),
  wcslcpy(), wcslen(), wcsncasecmp(), wcsncat(), wcsncmp(), wcsncpy(),
  wcsnlen(), wcspbrk(), wcsrchr(), wcsspn(), wcsstr(), wcstok(),
  wmemchr(), wmemcmp(), wmemcpy(), wmemmove(), wmemset
* add implementations for GNU-extensions used by our glibc and some
  other programs/libs: wcschrnul(), wmempcpy()
* add stub for wcsftime()
2012-01-07 22:01:40 +01:00
Oliver Tappe
d8ef8ef48b Add wcs_test, a testsuite for all wchar-related functions. 2012-01-07 21:59:28 +01:00
Oliver Tappe
d7965519f2 Cleanup: LocaleBackend.h is not a local header for wchar. 2012-01-07 21:48:39 +01:00
Oliver Tappe
bd55dcbefb Add our implementation for wcscoll() and wcsxfrm().
* add Wcscoll() and Wcsxfrm() ICU locale backend
* provide implementations of wcscoll() and wcsxfrm() that are using
  the respective methods of the locale backend
2012-01-07 21:47:31 +01:00
Humdinger
1b93a2e630 Updated/added Hungarian catkeys, thanks translators. 2012-01-07 15:37:13 +01:00
Humdinger
286ffc48c3 Added Hungarian translators Kálmán Kéménczy and Bence Nagy 2012-01-07 15:37:11 +01:00
Niels Sascha Reedijk
0f64ef12d4 Update translations from Pootle 2012-01-07 12:25:46 +01:00
Michael Lotz
17e82349a7 Remove coreutils and tcpdump from the DEBUG blacklist.
The DEBUG build for these has been fixed in hrev43636 and hrev43637
respectively.
2012-01-07 03:47:46 +01:00
Urias McCullough
31c110be6e Remaining subdirs that cannot be compiled with DEBUG=1
Signed-off-by: Michael Lotz <mmlr@mlotz.ch>
2012-01-07 03:45:56 +01:00
Michael Lotz
4506b3385f Use static inline instead of extern inline to fix DEBUG build.
Fixing this directly even though it is technically vendor code as it
has been modified rather heavily (as per #8252).
2012-01-07 03:27:03 +01:00
Michael Lotz
d26f88068b Add xfreopen.c to the library build, fixes DEBUG build.
The actual xfreopen function is only relevant if O_BINARY != 0 and all
places invoking it are surrounded by if statements that are always
false if O_BINARY == 0. The compiler therefore stripped all the calls
out at the default -O2, but this obviously breaks down with DEBUG on.
2012-01-07 03:13:01 +01:00
Michael Lotz
ecea46bcfd Unconditionally add debug.c. Fixes DEBUG build.
The file is guarded with DEBUG so this doesn't change anything for
non-debug builds. Inspired by patch in #8252 by Urias McCullough.
2012-01-07 02:27:16 +01:00
Michael Lotz
423affc209 Fix warnings for DEBUG build. Build with tracing still broken.
This is a modified version of a patch in #8252 by Urias McCullough.
2012-01-07 02:18:44 +01:00
Michael Lotz
91d012366c Avoid warning on certain debug builds.
The variable is used in the TRACE(), but that is only enabled for
DEBUG >= 2. This therefore avoids a warning on DEBUG=1 builds.

Inspired by patch in #8252 by Urias McCullough.
2012-01-07 02:04:56 +01:00
Philippe Saint-Pierre
581a96616a Tracker: Fix inconsistent "Open parent" behaviour
1. When in /boot, you couldn't go to the parent (which is fine by itself),
but the menu item wasn't disabled.

2. In Single Window Browsing, doing "Open parent" wasn't respecting that
setting and was opening new windows.

3. In filepanel, when navigating to Desktop folder, the "Go to parent" was
still proposed even though it would do nothing choosing it.

4. Opening a Pose in Single Window Browsing was repopulating the menus and
putting the shortcuts again.  That was an issue if Navigator bar was used
since it conflicts with its shortcuts.

Fixing ticket #6851.
2012-01-05 21:44:11 -05:00
Philippe Saint-Pierre
bac3774d59 MediaPlayer: Double-click on playlist item to restart it
Double-clicking on the currently playing playlist item restart that
item's playback from the beginning.

Ticket #6560.
2012-01-05 18:28:21 -05:00
Philippe Saint-Pierre
8df5e79d2c Tracker: FSMoveToTrash(): needless check and possible crash fix
In an earlier commit, I removed a memleak, but it was covering more cases
than intended.  Thanks to Alex Wilson's insight, it seems that simply removing
the check is better (since that check is essentially redone in FSMoveToTrash()).
2012-01-05 17:55:12 -05:00
czeidler
b5c5640ec0 Style fixes. Thanks Axel and Ingo. 2012-01-06 09:35:33 +13:00
François Revol
430fc0e90c Fix build for !x86 && !ppc
At least this should fix other platform builds to the point they worked before.
The ICU_DEVEL zip name assign was moved inside the if block, making it empty for other archs, and ExtractArchive was of course having issues with this.
So I moved the rest inside the if block as well. Should fix at least kernel builds.
2012-01-05 03:30:10 +01:00
François Revol
577d81a9b6 Add proper error on ExtractArchive with missing filename
The * case was not generating any message due to empty string expansion I suppose...
2012-01-05 03:30:10 +01:00
Philippe Saint-Pierre
f91a2037a5 intel accelerant: NULL dereferences (overlays)
Rather than checking if "window" AND "view" are NULL, check if
"window" OR "view" are NULL, since neither could be null and deferenced later
on.

From the Matrox accelerant, it seems that such event occurs when a
"Workspace switch, screen prefs change, or overlay app shutdown occurs"

Might be interesting to revisit tickets related to intel accelerant.

CID 205.
2012-01-04 20:48:15 -05:00
Philippe Saint-Pierre
97f16764c7 Tracker: Memory leak fix
The leak occured everytime a folder, or queries where opened while
navigating.

CID 5848.
2012-01-04 19:51:26 -05:00
François Revol
8e977a874f M68K: Only enumerate ST modes as fallback. 2012-01-05 01:44:38 +01:00
François Revol
595938e710 M68K: Don't trace mmu boot code anymore 2012-01-05 01:44:37 +01:00
czeidler
32951c4e63 Make BReference and BWeakReference behave more like a normal pointer.
* Casts like BReference<Derived> to BReference<Base> are now possible.
* This cast for BWeakReference is, because of the underlying structure, not automatically type safe. I used a simple hack to make the compiler complain if the cast
is not type safe. Please take a look if that can be done better.
* Smaller style and bug fixes.
2012-01-05 13:42:45 +13:00