~statik/ubuntu/maverick/erlang/erlang-merge-testing

« back to all changes in this revision

Viewing changes to lib/wx/src/gen/wxFileDialog.erl

  • Committer: Elliot Murphy
  • Date: 2010-06-08 03:55:44 UTC
  • mfrom: (3.5.6 squeeze)
  • Revision ID: elliot@elliotmurphy.com-20100608035544-dd8zh2swk7jr5rz2
* Merge with Debian unstable; remaining Ubuntu changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to. (LP #438365)
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
* Added missing symlinks to /usr/include for a few new header files.
* Fixed generation of ${erlang-base:Depends} and ${erlang-x11:Depends}
  substitution variables.
* Added a fix for a re:compile/2 crash on a long regular expression.
* Changed urgency to medium as the change fixes a security bug.
* Manpages in section 1 are needed even if only arch-dependent packages are
  built. So, re-enabled them.
* Fixed HiPE architecture recognition for powerpc Debian architecture.
* Moved xsltproc and fop to build-depends-indep and do not build
  documentation if only architecture-specific packages are built.
* Refreshed all patches.
* Made Emacs look in man5 and man7 for Erlang manpages and added code
  skeleton files to erlang-mode package.
* New upstream release.
* Moved manpages from incorrect sections 4 and 6 to correct 5 and 7
  (closes: #498492).
* Made manpages regexp in Emacs mode match only 3erl pages in section 3.
* Removed docb_gen script which is no longer needed to build manpages.
* Added erlang-doc package which contains documentation in HTML and PDF
  formats. This package replaces erlang-doc-html package and it's easier
  to synchronize it with the main Erlang packages as it's built from
  a single source package (closes: #558451).
* Removed RPATH from ssl and crypto application binaries as required by
  Debian policy.
* Added libwxgtk2.4-dev and libwxgtk2.6-dev to build conflicts.
* Added a few dpendencies for erlang-dialyzer, erlang-et, erlang-observer
  and erlang-examples packages which now call functions from more modules
  than in 1:13.b.3.
* Added a workaround which disables vfork() for hppa architecture
  (closes: #562218).
* Strictened check for JDK 1.5 adding a call to String(int[], int, int)
  because GCJ 4.4 doesn't implement it and OpenJDK isn't available for all
  architectures.
* Fixed erlang-manpages package section.
* Made erlang-depends add only substvars which are requested in
  debian/control file. This minimizes number of warnings from dh_gencontrol.
  Also, improved descriptions of the functions in erlang-depends escript.
* Added erlang-erl-docgen package to erlang-nox dependencies.
* Made dummy packages erlang-nox and erlang-x11 architecture all.
* Cleaned up working with custom substitution variables in debian/rules.
* Reorganized debian/rules to ensure that manpages arent built twice, and
  aren't built at all if only architecture-dependent packages are requested.
* Fixed project links in README.Debian.
* Added a new package erlang-jinterface which provides tools for
  communication of Java programs with Erlang processes. This adds build
  depandency on default-jdk and as a result enables Java module for IDL
  compiler.
* Bumped standards version to 3.8.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
%%
2
2
%% %CopyrightBegin%
3
 
%% 
4
 
%% Copyright Ericsson AB 2008-2009. All Rights Reserved.
5
 
%% 
 
3
%%
 
4
%% Copyright Ericsson AB 2008-2010. All Rights Reserved.
 
5
%%
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
8
8
%% compliance with the License. You should have received a copy of the
9
9
%% Erlang Public License along with this software. If not, it can be
10
10
%% retrieved online at http://www.erlang.org/.
11
 
%% 
 
11
%%
12
12
%% Software distributed under the License is distributed on an "AS IS"
13
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
%% the License for the specific language governing rights and limitations
15
15
%% under the License.
16
 
%% 
 
16
%%
17
17
%% %CopyrightEnd%
18
18
%% This file is generated DO NOT EDIT
19
19
 
20
20
%% @doc See external documentation: <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html">wxFileDialog</a>.
21
 
%% <p>This class is derived (and can use functions) from: 
 
21
%% <p>This class is derived (and can use functions) from:
22
22
%% <br />{@link wxDialog}
23
23
%% <br />{@link wxTopLevelWindow}
24
24
%% <br />{@link wxWindow}
31
31
-module(wxFileDialog).
32
32
-include("wxe.hrl").
33
33
-export([destroy/1,getDirectory/1,getFilename/1,getFilenames/1,getFilterIndex/1,
34
 
  getMessage/1,getPath/1,getPaths/2,getWildcard/1,new/1,new/2,setDirectory/2,
 
34
  getMessage/1,getPath/1,getPaths/1,getWildcard/1,new/1,new/2,setDirectory/2,
35
35
  setFilename/2,setFilterIndex/2,setMessage/2,setPath/2,setWildcard/2]).
36
36
 
37
37
%% inherited exports
152
152
  wxe_util:call(?wxFileDialog_GetPath,
153
153
  <<ThisRef:32/?UI>>).
154
154
 
155
 
%% @spec (This::wxFileDialog(), Paths::[[string()]]) -> ok
 
155
%% @spec (This::wxFileDialog()) -> [[string()]]
156
156
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetpaths">external documentation</a>.
157
 
getPaths(#wx_ref{type=ThisT,ref=ThisRef},Paths)
158
 
 when is_list(Paths) ->
 
157
getPaths(#wx_ref{type=ThisT,ref=ThisRef}) ->
159
158
  ?CLASS(ThisT,wxFileDialog),
160
 
  Paths_UCA = [unicode:characters_to_binary([PathsTemp,0]) || 
161
 
              PathsTemp <- Paths],
162
 
  wxe_util:cast(?wxFileDialog_GetPaths,
163
 
  <<ThisRef:32/?UI,(length(Paths_UCA)):32/?UI, (<< <<(byte_size(UC_Str)):32/?UI, UC_Str/binary>>|| UC_Str <- Paths_UCA>>)/binary, 0:(((8- ((0 + lists:sum([byte_size(S)+4||S<-Paths_UCA])) band 16#7)) band 16#7))/unit:8>>).
 
159
  wxe_util:call(?wxFileDialog_GetPaths,
 
160
  <<ThisRef:32/?UI>>).
164
161
 
165
162
%% @spec (This::wxFileDialog()) -> string()
166
163
%% @doc See <a href="http://www.wxwidgets.org/manuals/stable/wx_wxfiledialog.html#wxfiledialoggetwildcard">external documentation</a>.
224
221
 
225
222
%% @spec (This::wxFileDialog()) -> ok
226
223
%% @doc Destroys this object, do not use object again
227
 
destroy(Obj=#wx_ref{type=Type}) -> 
 
224
destroy(Obj=#wx_ref{type=Type}) ->
228
225
  ?CLASS(Type,wxFileDialog),
229
226
  wxe_util:destroy(?DESTROY_OBJECT,Obj),
230
227
  ok.
231
 
 %% From wxDialog 
 
228
 %% From wxDialog
232
229
%% @hidden
233
230
showModal(This) -> wxDialog:showModal(This).
234
231
%% @hidden
251
248
createStdDialogButtonSizer(This,Flags) -> wxDialog:createStdDialogButtonSizer(This,Flags).
252
249
%% @hidden
253
250
createButtonSizer(This,Flags) -> wxDialog:createButtonSizer(This,Flags).
254
 
 %% From wxTopLevelWindow 
 
251
 %% From wxTopLevelWindow
255
252
%% @hidden
256
253
showFullScreen(This,Show, Options) -> wxTopLevelWindow:showFullScreen(This,Show, Options).
257
254
%% @hidden
298
295
getIcons(This) -> wxTopLevelWindow:getIcons(This).
299
296
%% @hidden
300
297
getIcon(This) -> wxTopLevelWindow:getIcon(This).
301
 
 %% From wxWindow 
 
298
 %% From wxWindow
302
299
%% @hidden
303
300
warpPointer(This,X,Y) -> wxWindow:warpPointer(This,X,Y).
304
301
%% @hidden
645
642
captureMouse(This) -> wxWindow:captureMouse(This).
646
643
%% @hidden
647
644
cacheBestSize(This,Size) -> wxWindow:cacheBestSize(This,Size).
648
 
 %% From wxEvtHandler 
 
645
 %% From wxEvtHandler
649
646
%% @hidden
650
647
disconnect(This,EventType, Options) -> wxEvtHandler:disconnect(This,EventType, Options).
651
648
%% @hidden