Commit Graph

53037 Commits

Author SHA1 Message Date
autonielx
ba155ed840 Update translations from Pootle 2015-02-28 06:38:32 +01:00
John Scipione
7d515bdbd6 Tracker: handle copying files from virtual directories
If virtual directory first resolve the symlink before copying/moving/linking the file.

Fixes #11091

R1/B1 bug squashed!
2015-02-27 18:38:39 -05:00
John Scipione
27c5746706 Tracker: Move static functions up
Rename CopySelectionListToBListAsEntryRefs to CopySelectionListToEntryRefList
to reflect that it no longer copies to a BList but instead to a BObjectList<entry_ref>
2015-02-27 18:21:52 -05:00
John Scipione
4c47562f60 Tracker: Minor style fixes to PoseView 2015-02-27 18:17:59 -05:00
John Scipione
f0647531ff Tracker: link to TargetLibsupc++ 2015-02-27 16:02:25 -05:00
John Scipione
370ee87a8e Tracker: replace max_c with std::max
Remove using statements and put map include in its proper place
2015-02-27 16:02:24 -05:00
John Scipione
de7aed2b56 Tracker: Fix memory leak
When items were removed from fFilteredPoseList as opposed to fPoseList, the
items were not automatically deleted and thus leaked. By setting the BObjectList
to automatically delete them on removal (by setting the deleteIfOwned paramete
to true) we avoid this leak.
2015-02-27 16:02:24 -05:00
John Scipione
c8c5ac5107 Tracker: Fix double delete
fWidgetList is a BObjectList, the items are deleted when removed already so we
should not have the BObjectList delete them for us too. Instead, let's just turn
that off so we can delete the items ourselves one time.
2015-02-27 16:02:23 -05:00
John Scipione
8c2813c187 Tracker: Style fixes 2015-02-27 16:02:23 -05:00
Augustin Cavalier
5940aaf69c AboutSystem Credits: clean up current maintainers.
All the people I've moved off this list have not committed anything
since (at least) before 2012-01-01, with the exception of Andrew Lindesay
who never recieved commit access (AFAICT, he only contributed some patches.)
2015-02-27 02:39:14 -05:00
Augustin Cavalier
56d52e3426 AboutSystem software credits: updates & cleanup.
All the packages I delete from here are not included in the tree
and not included in the "default packages" list.

 * Use HTTPS rather than HTTP for sites that support it
 * GDB was removed in hrev48791
 * FFmpeg is spelled as "FFmpeg", not "FFMpeg"
 * atftp was removed from the tree in the previous commit
 * acipca was updated to a version from 2014 recently
 * CannaIM was removed in hrev48034 & hrev48035
 * libxml2 & friends were removed in hrev48798
 * Cleaned up ifdef __INTEL__ lines -- no need to have more than one
2015-02-27 02:39:12 -05:00
Augustin Cavalier
aed7654fff atftpd: remove from tree.
Not included in the build, and I've just pushed a recipe for it to
HaikuPorts.
2015-02-27 02:39:10 -05:00
Augustin Cavalier
c86c9e29d3 ScrollView docs: make parameter name match the header file. 2015-02-27 02:39:07 -05:00
Jérôme Duval
1e3c19ec2f added mime types for x-portable-bitmap and x-portable-graymap. 2015-02-27 17:46:36 +01:00
John Scipione
dd25136936 Deskbar: Fix an edge case sizing bug
If you have no apps open because Tracker crashed and you opened a new team it
would size the expando menu bar incorrectly in vertical mode.

This fixes the problem.
2015-02-26 20:12:12 -05:00
Adrien Destugues
e3468ef600 ifaddrs: add extern "C"
We need this to be callable from C programs. Thanks to Diver for
reporting!
2015-02-26 22:02:37 +01:00
Jérôme Duval
85e5aa30b1 Add packages for unzip and use them.
* remove unzip Jamfile from the build, <build>unzip stays with us.
* clean up image and package definitions.
* added unzip in regular builds.
2015-02-26 19:21:04 +01:00
Automatic Committer
609834be06 Update usb.ids from www.linux-usb.org 2015-02-26 05:20:29 +01:00
Automatic Committer
a0a1524fe7 Update pci.ids from pciids.sourceforge.net 2015-02-26 05:20:27 +01:00
John Scipione
95e8362c52 Tracker: Save Desktop state again
Let me tell you a story about a bug.

In a615ec8f86 Axel imported the OpenTracker code
into Haiku with fSaveStateIsEnabled set to true (for Desktop and all windows).

In 9f2a3f6f47 I (John) changed it to:
fSaveStateIsEnabled(dynamic_cast<BDeskWindow*>(this) == NULL) which is suppose
to detect whether or not the ContainerWindow is the Desktop and only save the
state if it is NOT. However, this didn't actually work because since this is
called in the constructor the dynamic_cast to BDeskWindow* fails. Therefore we
were still saving the state of Desktop even though the code make it look like
we weren't.

In e7803cf1f6 Augustin updated the code so that
BDeskWindow passes in a isDeskbar flag as part of the constructor parameters
thus detecting that the window was Deskbar correctly. So basically Augustin
fixed the bug detecting whether or not the window was the Deskbar in the
constructor which then disabled saving the Desktop's state to attributes.
Augustin unknowingly turned saving the Desktop's state off.

We don't want to disable saving the Desktop's state because that's where we
store things like the icon size. What I was probably thinking when I tried
unsuccessfully to turn off saving the state of the Desktop was that I don't
want to save the WINDOW state of the Desktop since that would save the
window dimensions of the Desktop (whatever your screen resolution is) and if
you changed Tracker to non-spatial mode and opened the Desktop in a Tracker
window it would pick up those attributes and then make the window take up the
entire dimensions of your screen (a whole different bug).

This bug, however, is also handled in 9f2a3f6f47
because code was added to BContainerWindow::SaveWindowState() which detects
whether or not the window is the Desktop and if so, doesn't save (or restore)
the window state (which is only part of the state).

So with this change (reversal really) the other parts of the Desktop's state
like icon size are once again saved while the window state is not.

Fixes #11864
2015-02-25 15:31:43 -05:00
John Scipione
94dcb68b55 Tracker: Code simplication
Replace calls to  dynamic_cast<BDeskWindow*>(this) != NULL with fIsDesktop
which is the flag added to the constructor in
e7803cf1f6.

We no longer need to do the expensive dynamic_cast's because we have a handy
flag to check instead.
2015-02-25 15:31:27 -05:00
John Scipione
5f26850cba Tracker: Small style fixes 2015-02-25 15:01:13 -05:00
John Scipione
ec9d05b0f2 ControlLook: Remove erroneous PopState() call.
This may have contributed to some drawing issues on the keymap app.
2015-02-24 19:35:43 -05:00
Jessica Hamilton
1d9c14949e Add package: ocaml-4.02.1 [x86_gcc2] 2015-02-24 09:48:14 +13:00
John Scipione
548661da7a Deskbar: Fix window updating bug #11865
We must toggle the expanded state of new windows if we are in
VERTICAL expando mode with Expand New Teams on.

The vertical part of the check got dropped accidentally in hrev48817

Thanks jstressman for reporting.

Fixes #11865
2015-02-23 14:58:53 -05:00
John Scipione
ae30ad6e23 Deskbar: Remove settings member vars
... from expando menu bar. Get them from the BarApp settings instead.

This is so that we don't have to keep the settings and the member vars in sync.
2015-02-23 14:51:07 -05:00
John Scipione
4f4cab958e Deskbar: Move ExpandoMenuBar name to constructor
... instead of passing it in from BarView.
2015-02-23 14:42:16 -05:00
John Scipione
2bb1829853 Deskbar: Tiny indent style fix 2015-02-23 14:18:14 -05:00
autonielx
f3f0969580 Update userguide translations 2015-02-23 18:29:56 +01:00
Stephan Aßmus
4bf45bfb5d HaikuDepot: Added UndoableEditListener list to TextDocument
This is all work in progress. The plan is to move the code that does any
actual changes to the TextDocument into UndoableEdit implementations, then
emit these edits to interesed listeners. They can then store them to
implement the edit history. If there are not listeners, the edits will
simply be released after they've done their work.
Implemented so far is only the support for storing the edit listeners.
2015-02-22 21:25:49 +01:00
Stephan Aßmus
b5cbbf8041 HaikuDepot: UndoableEditListener base class added 2015-02-22 21:25:11 +01:00
Stephan Aßmus
651e8326ca HaikuDepot: Base-classes for generic undo/redo support.
I plan to use these in the text view and editor framework.
2015-02-22 20:35:34 +01:00
Humdinger
ee3b36afff New version of Caladea font. Fixes #11870.
* Fixed typo to make installable.
2015-02-22 17:26:30 +01:00
François Revol
a5cc577f1e Add DTS for Efika MX board (iMX53 Cortex A8)
Taken from an LKM thread :
http://www.serverphorums.com/read.php?12,542099,542099

Probably not complete but it's a start.
2015-02-22 00:51:01 +01:00
JackBurton
2a67595f1a If a monospace font is not available, look for a full-and-half-fixed
font.
The minimal haiku image does not yet include a monospace font. In that
case, be_fixed_font points to Bitstream Charter, which is a proportional
font.
Terminal isn't happy with that, so we try harder and we look if a
full-and-half-fixed font is installed (which should be safe, since
we always include VL-Gothic. Fixes #11764 .
2015-02-21 21:32:31 +01:00
JackBurton
f88412ccda Moved IsFontUsable() to Globals.h/cpp 2015-02-21 21:31:08 +01:00
Rene Gollent
72bc3bf2bd Deskbar: Fix gcc4 build.
Add missing TargetLibstdc++ to linker rule. Fixes #11867.
2015-02-21 11:08:29 -05:00
autonielx
90cad11eec Update translations from Pootle 2015-02-21 06:28:26 +01:00
John Scipione
4473bf2cea Deskbar: truncate full window titles
The truncation code was truncating window titles earlier than it should because
it was mistakenly leaving room for the expander arrows when it should only be
looking for those on team menu items, not window menu items.

Sorry for the regression.
2015-02-20 21:05:14 -05:00
John Scipione
64182ccb20 Menu and Deskbar: Remove _SetMenuLayout() method
and remove TExpandoMenuBar as a friend class to BMenu hack.

In Deskbar, call the newly added MenuPrivate::SetLayout() method instead.

This is a much cleaner way to implement this, thanks Stefano Ceccherini
for the tip!
2015-02-20 14:38:43 -05:00
John Scipione
35384ab425 MenuPrivate: Add a SetLayout() method to MenuPrivate
that allows you to set the menu_layout of the menu after construction.
2015-02-20 14:35:36 -05:00
John Scipione
09d0a76b7b MenuPrivate: Style fixes to MenuPrivate.h 2015-02-20 14:24:46 -05:00
Adrien Destugues
a31bd9c268 HaikuWebKit 1.4.10
Fixes the crash on redirect and some other problems with the network
code.
2015-02-20 08:08:44 +01:00
John Scipione
c38afcd62c Deskbar: Remove Name() and fName, replace with Label()
... from TeamMenuItem and WindowMenuItem.

It was confusing having Name(), Label(), and TruncatedLabel().

Name() == Label() because Label() never changes, the displayed
Label stored in TruncatedLabel() in both TeamWindowItem and
WindowMenuItem (remember they both inherit from
TruncatableMenuItem so they get that for free). So Name() was
redundant, by getting rid of it there is just Label() and TruncatedLabel()
which is all we need!
2015-02-19 20:45:46 -05:00
John Scipione
ae181f353b Deskbar: Save String object instead of pointer
And add a SetLabel() that sets the truncated label when the label gets set.

This will be useful so we can compare the truncated label to the normal label
to tell if the label is truncated or not.
2015-02-19 20:35:05 -05:00
John Scipione
e9982f6828 Deskbar: Rename _InitData() to just _Init()
in TeamMenuItem. For consistency.
2015-02-19 20:28:28 -05:00
John Scipione
5af340efdf Deskbar: fixup Deskbar: Truncate menu item labels refactor
c9363f78d6
2015-02-19 20:27:22 -05:00
John Scipione
5737994f8f Deskbar: Compare Tracker sig case-insensitively 2015-02-19 20:19:29 -05:00
John Scipione
2c332342b8 Deskbar: ExpandoMenuBar & TeamMenuItem no longer friends 2015-02-19 20:15:45 -05:00
John Scipione
f11e0f209c Deskbar: Rename header gaurds for WindowMenuItem 2015-02-19 20:14:36 -05:00