From: stv Date: Wed, 14 Feb 2007 18:38:07 +0000 (+0000) Subject: no message X-Git-Tag: For_HDF~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b2dd89793fec315d0f78e0b4ed14660a1d06f84d;p=modules%2Fgui.git no message --- diff --git a/GUI_version.h.in b/GUI_version.h.in deleted file mode 100644 index 9a5df78eb..000000000 --- a/GUI_version.h.in +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ -// -// File : GUI_version.h -// Author : Vadim SANDLER -// Module : SALOME - -#if !defined(__GUI_VERSION_H__) -#define __GUI_VERSION_H__ - -/* - GUI_VERSION is (major << 16) + (minor << 8) + patch. -*/ - -#define GUI_VERSION_STR "@VERSION@" -#define GUI_VERSION @XVERSION@ - -#endif // __GUI_VERSION_H__ diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 31600814e..000000000 --- a/INSTALL +++ /dev/null @@ -1 +0,0 @@ -SALOME2 : GUI module diff --git a/LICENCE b/LICENCE deleted file mode 100644 index b1e3f5a26..000000000 --- a/LICENCE +++ /dev/null @@ -1,504 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! - - diff --git a/Makefile.in b/Makefile.in deleted file mode 100644 index 81a618ac4..000000000 --- a/Makefile.in +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# -* Makefile *- -# -# Author : Patrick GOLDBRONN (CEA) -# Date : 28/06/2001 -# $Header$ -# - -# source path -top_srcdir=@top_srcdir@ -top_builddir=. -srcdir=@srcdir@ -VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl - - -@COMMENCE@ - -SUBDIRS = src doc adm_local - -RESOURCES_FILES = \ -back.xpm \ -cascade.png \ -close.png \ -default.png \ -dl_delete.png \ -dl_insert.png \ -dl_moveup.png \ -dl_movedown.png \ -forward.xpm \ -help.png \ -home.xpm \ -new.png \ -open.png \ -print.png \ -reset.png \ -save.png \ -select1.png \ -tile.png \ -Tools_en.xml \ -view_back.png \ -view_bottom.png \ -view_camera_dump.png \ -view_fitall.png \ -view_fitarea.png \ -view_front.png \ -view_glpan.png \ -view_left.png \ -view_pan.png \ -view_reset.png \ -view_right.png \ -view_rotate.png \ -view_top.png \ -view_triedre.png \ -view_zoom.png \ -copy.png \ -paste.png \ -plot2d_dump.png \ -plot2d_fitall.png \ -plot2d_fitarea.png \ -plot2d_legend.png \ -plot2d_linear.png \ -plot2d_linear_y.png \ -plot2d_lines.png \ -plot2d_log.png \ -plot2d_log_y.png \ -plot2d_pan.png \ -plot2d_points.png \ -plot2d_settings.png \ -plot2d_splines.png \ -plot2d_zoom.png \ -uc_add.png \ -uc_current.png \ -uc_del.png \ -uc_new.png \ -uc_clear.png \ -channel.cfg \ - -BIN_SCRIPT= VERSION \ -runLightSalome.csh \ -runLightSalome.sh - -# copy header files in common directory -OWN_CONFIG_H=@OWN_CONFIG_H@ - -include_list = include/salome/SALOMEconfig.h \ - include/salome/GUI_version.h - -ifeq ($(OWN_CONFIG_H),yes) - include_list += include/salome/config.h -endif - -ifneq ($(HAVE_SSTREAM),yes) - include_list += include/salome/sstream -endif - -inc: idl $(include_list) - -bin: bin/salome/VERSION - -bin/salome/VERSION : bin/VERSION - -$(RM) $@ - $(LN_S) ../../$< $@ - -include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref - -$(RM) $@ - $(LN_S) ../../$< $@ - -# test if SALOMEconfig.h has changed (contents) -salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h - @if ! [ -a $@ ]; then \ - cp -p $< $@; \ - fi; \ - if ! cmp $< $@; then \ - cp -p $< $@; \ - fi; \ - -include/salome/config.h: salome_adm/unix/config.h - -$(RM) $@ - $(LN_S) ../../$< $@ - -include/salome/sstream: salome_adm/unix/sstream - -$(RM) $@ - $(LN_S) ../../$< $@ - -include/salome/GUI_version.h: GUI_version.h - -$(RM) $@ - $(LN_S) ../../$< $@ - -depend: -#depend: depend_idl -#depend_idl: -# (cd idl ; $(MAKE) $@) || exit 1 - -# doc is already build : if you want to had documents, go manually to doc and run 'make doc' -#doc: -# (cd doc && $(MAKE) $@) || exit 1 - -# Install make_commence make_conclude ... for other modules -install-make: - ($(INSTALL) -d $(incmakedir) || exit 1); - (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1); - - -install-end: -# finish libtool install -# @$(LT) --mode=finish $(libdir) - -install-include: $(include_list) - $(INSTALL) -d $(includedir) - @for f in X $(include_list); do \ - if test $$f != X; then \ - (cp -p $$f $(includedir) || exit 1); \ - fi; \ - done - -# install script in $(bindir) : -install-bin: $(BIN_SCRIPT) - $(INSTALL) -d $(bindir) - $(INSTALL_PROGRAM) $^ $(bindir) - -uninstall: -#uninstall: uninstall-idl -#uninstall-idl: -# $(RM) $(idldir)/*.idl - -distclean: distclean-other - -distclean-other: - -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old - -$(RM) salome_adm/unix/make_* - -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h - -$(RM) config.cache config.log config.status - -@MODULE@ - -install: install-bin install-include install-make install-end - diff --git a/adm_local/Makefile.in b/adm_local/Makefile.in deleted file mode 100644 index 23b57e707..000000000 --- a/adm_local/Makefile.in +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -# source path -top_srcdir=@top_srcdir@ -top_builddir=.. -srcdir=@srcdir@ -VPATH=.:$(srcdir)/adm_local - - -all: resources - -install: - cp -rf @top_srcdir@/adm_local @prefix@ - -bin: - -resources : - cp -rf @top_srcdir@/adm_local $(top_builddir) - -inc: - -lib: - -depend: - -depend_idl: - -install-end: - -install-include: - -install-bin: - -uninstall: - -uninstall-idl: - -distclean: - -clean: - -tests: - -distclean-other: - diff --git a/adm_local/unix/config_files/README b/adm_local/unix/config_files/README deleted file mode 100644 index feb997b16..000000000 --- a/adm_local/unix/config_files/README +++ /dev/null @@ -1,3 +0,0 @@ -This file is only here for CVS: -CVS does not always create empty directory, and adm_local/unix/config_file -is needed by build_configure. diff --git a/adm_local/unix/config_files/check_GLViewer.m4 b/adm_local/unix/config_files/check_GLViewer.m4 deleted file mode 100644 index 90a304173..000000000 --- a/adm_local/unix/config_files/check_GLViewer.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-glViewer=[yes|no|DIR] taking into account that -# DISABLE_GLVIEWER may be already set during build_configure, -# Set DISABLE_GLVIEWER to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_GLVIEWER],[ - -AC_ARG_WITH(glViewer, - [ --disable-glViewer default=no ], - disable_glViewer="$withval",disable_glViewer="${DISABLE_GLVIEWER}") - -case $disable_glViewer in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(******* DISABLE GLViewer configuration *****) -# AC_MSG_RESULT(************************************************) - DISABLE_GLVIEWER="yes" - AC_SUBST(DISABLE_GLVIEWER) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_GUI.m4 b/adm_local/unix/config_files/check_GUI.m4 deleted file mode 100755 index ff090e7b9..000000000 --- a/adm_local/unix/config_files/check_GUI.m4 +++ /dev/null @@ -1,63 +0,0 @@ -# Check availability of Salome binary distribution -# -# Author : Marc Tajchman (CEA, 2002) -#------------------------------------------------------------ - -AC_DEFUN([CHECK_GUI],[ -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_CHECKING(for $2 $1 ) - -SalomeGUI_ok=no - -GUI_LDFLAGS="" -GUI_CXXFLAGS="" - -AC_ARG_WITH(gui, - --with-salome_gui=DIR root directory path of SALOME GUI installation, - SALOME_GUI_DIR="$withval",SALOME_GUI_DIR="") - -if test "x${SALOME_GUI_DIR}" = "x" ; then - # no --with-gui-dir option used - AC_MSG_RESULT(try \${GUI_ROOT_DIR}: ${GUI_ROOT_DIR}) - if test "x${GUI_ROOT_DIR}" != "x" ; then - # SALOME_ROOT_DIR environment variable defined - SALOME_GUI_DIR=${GUI_ROOT_DIR} - else - # search Salome binaries in PATH variable - AC_PATH_PROG(TEMP, $1) - if test "x${TEMP}" != "x" ; then - AC_MSG_RESULT(libLightApp.so was found at : ${TEMP}) - SALOME_BIN_DIR=`dirname ${TEMP}` - SALOME_GUI_DIR=`cd ${SALOME_BIN_DIR}/../..; pwd` - fi - fi -fi - -if test -f ${SALOME_GUI_DIR}/lib${LIB_LOCATION_SUFFIX}/salome/$1 ; then - SalomeGUI_ok=yes - AC_MSG_RESULT(Using SALOME GUI distribution in ${SALOME_GUI_DIR}) - - if test "x${GUI_ROOT_DIR}" == "x" ; then - GUI_ROOT_DIR=${SALOME_GUI_DIR} - fi - - AC_SUBST(GUI_ROOT_DIR) - - GUI_LDFLAGS=-L${SALOME_GUI_DIR}/lib${LIB_LOCATION_SUFFIX}/salome - GUI_CXXFLAGS=-I${SALOME_GUI_DIR}/include/salome - - AC_SUBST(GUI_LDFLAGS) - AC_SUBST(GUI_CXXFLAGS) -else - AC_MSG_WARN("Cannot find compiled SALOME GUI distribution") -fi - -AC_MSG_RESULT(for $2: ${SalomeGUI_ok}) - -])dnl - -AC_DEFUN([CHECK_SALOME_GUI],[ - CHECK_GUI([libLightApp.so], - [SALOME GUI]) -])dnl \ No newline at end of file diff --git a/adm_local/unix/config_files/check_OCCViewer.m4 b/adm_local/unix/config_files/check_OCCViewer.m4 deleted file mode 100644 index cae33b971..000000000 --- a/adm_local/unix/config_files/check_OCCViewer.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-occViewer=[yes|no|DIR] taking into account that -# DISABLE_OCCVIEWER may be already set during build_configure, -# Set DISABLE_OCCVIEWER to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_OCCVIEWER],[ - -AC_ARG_WITH(occViewer, - [ --disable-occViewer default=no ], - disable_occViewer="$withval",disable_occViewer="${DISABLE_OCCVIEWER}") - -case $disable_occViewer in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(***** DISABLE OCCViewer configuration ******) -# AC_MSG_RESULT(************************************************) - DISABLE_OCCVIEWER="yes" - AC_SUBST(DISABLE_OCCVIEWER) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_Plot2dViewer.m4 b/adm_local/unix/config_files/check_Plot2dViewer.m4 deleted file mode 100644 index a8fb1ad85..000000000 --- a/adm_local/unix/config_files/check_Plot2dViewer.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-plot2dViewer=[yes|no|DIR] taking into account that -# DISABLE_PLOT2DVIEWER may be already set during build_configure, -# Set DISABLE_PLOT2DVIEWER to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_PLOT2DVIEWER],[ - -AC_ARG_WITH(plot2dViewer, - [ --disable-plot2dViewer default=no ], - disable_plot2dViewer="$withval",disable_plot2dViewer="${DISABLE_PLOT2DVIEWER}") - -case $disable_plot2dViewer in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(*** DISABLE Plot2dViewer configuration *****) -# AC_MSG_RESULT(************************************************) - DISABLE_PLOT2DVIEWER="yes" - AC_SUBST(DISABLE_PLOT2DVIEWER) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_PyConsole.m4 b/adm_local/unix/config_files/check_PyConsole.m4 deleted file mode 100644 index 503646f84..000000000 --- a/adm_local/unix/config_files/check_PyConsole.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-pyConsole=[yes|no|DIR] taking into account that -# DISABLE_PYCONSOLE may be already set during build_configure, -# Set DISABLE_PYCONSOLE to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_PYCONSOLE],[ - -AC_ARG_WITH(pyConsole, - [ --disable-pyConsole default=no ], - disable_pyConsole="$withval",disable_pyConsole="${DISABLE_PYCONSOLE}") - -case $disable_pyConsole in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(***** DISABLE PyConsole configuration ******) -# AC_MSG_RESULT(************************************************) - DISABLE_PYCONSOLE="yes" - AC_SUBST(DISABLE_PYCONSOLE) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_SalomeObject.m4 b/adm_local/unix/config_files/check_SalomeObject.m4 deleted file mode 100644 index 453dbd7ab..000000000 --- a/adm_local/unix/config_files/check_SalomeObject.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-salomeObject=[yes|no|DIR] taking into account that -# DISABLE_SALOMEOBJECT may be already set during build_configure, -# Set DISABLE_SALOMEOBJECT to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_SALOMEOBJECT],[ - -AC_ARG_WITH(salomeObject, - [ --disable-salomeObject default=no ], - disable_salomeObject="$withval",disable_salomeObject="${DISABLE_SALOMEOBJECT}") - -case $disable_salomeObject in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(*** DISABLE Salome object configuration ****) -# AC_MSG_RESULT(************************************************) - DISABLE_SALOMEOBJECT="yes" - AC_SUBST(DISABLE_SALOMEOBJECT) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_SupervGraphViewer.m4 b/adm_local/unix/config_files/check_SupervGraphViewer.m4 deleted file mode 100644 index 455f02136..000000000 --- a/adm_local/unix/config_files/check_SupervGraphViewer.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-supervGraphViewer=[yes|no|DIR] taking into account that -# DISABLE_SUPERVGRAPHVIEWER may be already set during build_configure, -# Set DISABLE_SUPERVGRAPHVIEWER to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_SUPERVGRAPHVIEWER],[ - -AC_ARG_WITH(supervGraphViewer, - [ --disable-supervGraphViewer default=no ], - disable_supervGraphViewer="$withval",disable_supervGraphViewer="${DISABLE_SUPERVGRAPHVIEWER}") - -case $disable_supervGraphViewer in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(******* DISABLE SupervGraphViewer configuration ********) -# AC_MSG_RESULT(************************************************) - DISABLE_SUPERVGRAPHVIEWER="yes" - AC_SUBST(DISABLE_SUPERVGRAPHVIEWER) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_VTKViewer.m4 b/adm_local/unix/config_files/check_VTKViewer.m4 deleted file mode 100644 index c2adb23b9..000000000 --- a/adm_local/unix/config_files/check_VTKViewer.m4 +++ /dev/null @@ -1,25 +0,0 @@ -# -# Check configure option --disable-vtkViewer=[yes|no|DIR] taking into account that -# DISABLE_VTKVIEWER may be already set during build_configure, -# Set DISABLE_VTKVIEWER to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_VTKVIEWER],[ - -AC_ARG_WITH(vtkViewer, - [ --disable-vtkViewer default=no ], - disable_vtkViewer="$withval",disable_vtkViewer="${DISABLE_VTKVIEWER}") - -case $disable_vtkViewer in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(***** DISABLE VTK Viewer configuration *****) -# AC_MSG_RESULT(************************************************) - DISABLE_VTKVIEWER="yes" - AC_SUBST(DISABLE_VTKVIEWER) -esac - - -])dnl diff --git a/adm_local/unix/config_files/check_corba_in_GUI.m4 b/adm_local/unix/config_files/check_corba_in_GUI.m4 deleted file mode 100755 index 20be4514f..000000000 --- a/adm_local/unix/config_files/check_corba_in_GUI.m4 +++ /dev/null @@ -1,12 +0,0 @@ -# Check availability of full Salome binary distribution -# -# Author : Marc Tajchman (CEA, 2002) -#------------------------------------------------------------ - -AC_DEFUN([CHECK_CORBA_IN_GUI],[ - CHECK_GUI([libSalomeApp.so], - [CORBA SALOME GUI]) - CORBA_IN_GUI=${SalomeGUI_ok} - AC_SUBST(CORBA_IN_GUI) -])dnl - diff --git a/adm_local/unix/config_files/check_disable_Corba.m4 b/adm_local/unix/config_files/check_disable_Corba.m4 deleted file mode 100644 index 5c777c3c1..000000000 --- a/adm_local/unix/config_files/check_disable_Corba.m4 +++ /dev/null @@ -1,27 +0,0 @@ -# -# Check configure option --disable-corba=[yes|no|DIR] taking into account that -# GUI_DISABLE_CORBA may be already set during build_configure, -# Set GUI_DISABLE_CORBA to yes|no -# -# Author : Edawrd AGAPOV (OCC, 2005) -# - -AC_DEFUN([CHECK_DISABLE_CORBA],[ - -AC_ARG_WITH(corba, - [ --disable-corba-gen default=no ], - disable_corba="$withval",disable_corba="${GUI_DISABLE_CORBA}") - -case $disable_corba in - yes) -# AC_MSG_RESULT(************************************************) -# AC_MSG_RESULT(******* DISABLE CORBA configuration ********) -# AC_MSG_RESULT(************************************************) - GUI_DISABLE_CORBA="yes";; - *) - GUI_DISABLE_CORBA="no" -esac - -AC_SUBST(GUI_DISABLE_CORBA) - -])dnl diff --git a/adm_local/unix/config_files/check_msg2qm.m4 b/adm_local/unix/config_files/check_msg2qm.m4 deleted file mode 100755 index 8d0c5474f..000000000 --- a/adm_local/unix/config_files/check_msg2qm.m4 +++ /dev/null @@ -1,57 +0,0 @@ -# Check availability of Qt's msg2qm tool binary distribution -# -# Author : Jerome Roy (CEA, 2003) -# - -AC_DEFUN([CHECK_MSG2QM],[ - -AC_CHECKING(for msg2qm) - -msg2qm_ok=no - -AC_ARG_WITH(msg2qm, - [ --with-msg2qm=DIR root directory path of MSG2QM installation], - MSG2QM_DIR="$withval",MSG2QM_DIR="") - -if test "x$MSG2QM_DIR" == "x" ; then - -# no --with-MSG2QM-dir option used - - if test "x$MSG2QM_ROOT" != "x" ; then - - # MSG2QM_ROOT environment variable defined - MSG2QM_DIR=$MSG2QM_ROOT - - else - - # search MSG2QM binaries in PATH variable - AC_PATH_PROG(TEMP, msg2qm) - if test "x$TEMP" != "x" ; then - MSG2QM_DIR=`dirname $TEMP` - fi - - fi -# -fi - -# look for msg2qm in ${MSG2QM_DIR} directory -if test -f ${MSG2QM_DIR}/msg2qm ; then - msg2qm_ok=yes - MSG2QM="${MSG2QM_DIR}/msg2qm" - AC_MSG_RESULT(Using MSG2QM executable in ${MSG2QM_DIR}) -else - # if not found, look for msg2qm in ${MSG2QM_DIR}/bin directory - if test -f ${MSG2QM_DIR}/bin/msg2qm ; then - msg2qm_ok=yes - MSG2QM="${MSG2QM_DIR}/bin/msg2qm" - AC_MSG_RESULT(Using MSG2QM executable in ${MSG2QM_DIR}/bin) - else - AC_MSG_WARN("Cannot find MSG2QM executable") - fi -fi - -AC_SUBST(MSG2QM) -AC_MSG_RESULT(for MSG2QM: $msg2qm_ok) - -])dnl - diff --git a/adm_local/unix/config_files/check_opengl.m4 b/adm_local/unix/config_files/check_opengl.m4 deleted file mode 100644 index 8a56e0f54..000000000 --- a/adm_local/unix/config_files/check_opengl.m4 +++ /dev/null @@ -1,195 +0,0 @@ -dnl Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Lesser General Public -dnl License as published by the Free Software Foundation; either -dnl version 2.1 of the License. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Lesser General Public License for more details. -dnl -dnl You should have received a copy of the GNU Lesser General Public -dnl License along with this library; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -dnl -dnl See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -dnl -dnl -dnl -AC_DEFUN([CHECK_OPENGL],[ -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_CPP])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_LANG_SAVE -AC_LANG_CPLUSPLUS - -AC_ARG_WITH(opengl, - [AC_HELP_STRING([--with-opengl=DIR],[root directory path of OpenGL installation])], - [opengl_dir="$withval"], - [dirs="/usr/lib${LIB_LOCATION_SUFFIX} /usr/local/lib${LIB_LOCATION_SUFFIX} /opt/graphics/OpenGL/lib${LIB_LOCATION_SUFFIX} /usr/openwin/lib${LIB_LOCATION_SUFFIX} /usr/X11R6/lib${LIB_LOCATION_SUFFIX}"])dnl - -AC_CHECKING(for OpenGL) -AC_CHECKING(for OpenGL headers) - -OGL_INCLUDES="" -OGL_LIBS="" - -GL_LIB_PATH="" -GLU_LIB_PATH="" - -OpenGL_ok=no -OpenGL_libs_ok=no -OpenGL_headers_ok=no - -dnl openGL headers -# by default -if test "x${opengl_dir}" != "x" ; then - AC_MSG_RESULT(for opengl_dir: $opengl_dir) - AC_CHECK_HEADER([${opengl_dir}/include/GL/gl.h], - [OpenGL_headers_ok=yes; OGL_INCLUDES="-I${opengl_dir}/include"], - [OpenGL_headers_ok=no]) - if test "x${OpenGL_headers_ok}" = "xyes" ; then - AC_CHECKING(for default OpenGL library) - if test "x${opengl_dir}" = "x/usr" ; then - OGL_LIBS="" - else - OGL_LIBS="-L${opengl_dir}/lib" - fi - LDFLAGS_old="$LDFLAGS" - LDFLAGS="$LDFLAGS $OGL_LIBS" - AC_CHECK_LIB([GL], - [glBegin], - [OpenGL_libs_ok=yes], - [OpenGL_libs_ok=no]) - if test "x${OpenGL_libs_ok}" = "xyes" ; then - AC_TRY_LINK([], - [], - [OpenGL_libs_ok=yes ; OpenGL_ok=yes; OGL_LIBS="$OGL_LIBS -lGL"], - [OpenGL_libs_ok=no]) - fi - LDFLAGS="$LDFLAGS_old" - fi -fi - -if test "x${OpenGL_headers_ok}" = "xno" ; then - AC_CHECK_HEADER(GL/gl.h, - [OpenGL_headers_ok=yes], - [OpenGL_headers_ok=no]) -fi - -# under SunOS ? -if test "x${OpenGL_headers_ok}" = "xno" ; then - AC_CHECK_HEADERS(/usr/openwin/share/include/GL/glxmd.h, - [OpenGL_headers_ok=yes; OGL_INCLUDES="-I/usr/openwin/share/include/"], - [OpenGL_headers_ok=no]) -fi - -# under IRIX ? -if test "x${OpenGL_headers_ok}" = "xno" ; then - AC_CHECK_HEADERS(/opt/graphics/OpenGL/include/GL/glxmd.h, - [OpenGL_headers_ok=yes; OGL_INCLUDES="-I/opt/graphics/OpenGL/include"], - [OpenGL_headers_ok=no]) -fi - -# some linux OpenGL servers hide the includes in /usr/X11R6/include/GL -if test "x${OpenGL_headers_ok}" = "xno" ; then - AC_CHECK_HEADERS(/usr/X11R6/include/GL/gl.h, - [OpenGL_headers_ok=yes; OGL_INCLUDES="-I/usr/X11R6/include"], - [OpenGL_headers_ok=no]) -fi - -if test "x${OpenGL_headers_ok}" = "xyes" ; then - AC_CHECKING(for OpenGL library) - for idir in $dirs; do - if test -r "${idir}/libGL.so"; then - AC_MSG_RESULT(in ${idir}) - if test "x${idir}" = "x/usr/lib${LIB_LOCATION_SUFFIX}" ; then - GL_LIB_PATH="" - else - GL_LIB_PATH="-L${idir}" - fi - break - fi - # under IRIX ? - if test -r "${idir}/libGL.sl"; then - AC_MSG_RESULT(in ${idir}) - if test "x${idir}" = "x/usr/lib${LIB_LOCATION_SUFFIX}" ; then - GL_LIB_PATH="" - else - GL_LIB_PATH="-L${idir}" - fi - break - fi - done - LDFLAGS_old="${LDFLAGS}" - LDFLAGS="${LDFLAGS} ${GL_LIB_PATH}" - AC_CHECK_LIB([GL], - [glBegin], - [OpenGL_libs_ok=yes], - [OpenGL_libs_ok=no]) - if test "x${OpenGL_libs_ok}" = "xyes" ; then - AC_TRY_LINK([], - [], - [OpenGL_libs_ok=yes ; OGL_LIBS="${OGL_LIBS} ${GL_LIB_PATH} -lGL"], - [OpenGL_libs_ok=no]) - fi - LDFLAGS="$LDFLAGS_old" -fi - -if test "x${OpenGL_libs_ok}" = "xyes" ; then - for idir in $dirs; do - if test -r "${idir}/libGLU.so"; then - AC_MSG_RESULT(in ${idir}) - if test "x${idir}" = "x/usr/lib${LIB_LOCATION_SUFFIX}" ; then - GLU_LIB_PATH="" - else - GLU_LIB_PATH="-L${idir}" - fi - break - fi - # under IRIX ? - if test -r "${idir}/libGLU.sl"; then - AC_MSG_RESULT(in ${idir}) - if test "x${idir}" = "x/usr/lib${LIB_LOCATION_SUFFIX}" ; then - GLU_LIB_PATH="" - else - GLU_LIB_PATH="-L${idir}" - fi - break - fi - done - LDFLAGS_old="${LDFLAGS}" - LDFLAGS="${LDFLAGS} ${OGL_LIBS} ${GLU_LIB_PATH}" - AC_CHECK_LIB([GLU], - [gluBeginSurface], - [OpenGL_libs_ok=yes], - [OpenGL_libs_ok=no]) - if test "x${OpenGL_libs_ok}" = "xyes" ; then - AC_TRY_LINK([], - [], - [OpenGL_libs_ok=yes ; OGL_LIBS="${OGL_LIBS} ${GLU_LIB_PATH} -lGLU"], - [OpenGL_libs_ok=no]) - fi - LDFLAGS="$LDFLAGS_old" -fi - -if test "x${OpenGL_headers_ok}" = "xyes" ; then - if test "x${OpenGL_libs_ok}" = "xyes" ; then - OpenGL_ok=yes - fi -fi - -AC_MSG_RESULT(for OpenGL_headers_ok: $OpenGL_headers_ok) -AC_MSG_RESULT(for OpenGL_libs_ok: $OpenGL_libs_ok) -AC_MSG_RESULT(for OpenGL_ok: $OpenGL_ok) - -AC_SUBST(OGL_INCLUDES) -AC_SUBST(OGL_LIBS) - -AC_LANG_RESTORE - -])dnl diff --git a/adm_local/unix/config_files/check_pyqt.m4 b/adm_local/unix/config_files/check_pyqt.m4 deleted file mode 100644 index 7be124e24..000000000 --- a/adm_local/unix/config_files/check_pyqt.m4 +++ /dev/null @@ -1,308 +0,0 @@ -dnl Copyright (C) 2003 CEA/DEN, EDF R&D - -AC_DEFUN([CHECK_PYQT],[ -AC_REQUIRE([CHECK_PYTHON])dnl -AC_REQUIRE([CHECK_QT])dnl -AC_REQUIRE([CHECK_SIP])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_LANG_SAVE -AC_LANG_CPLUSPLUS - -AC_ARG_WITH(pyqt, - [ --with-pyqt=DIR root directory path to PyQt installation ], - [PYQTDIR="$withval" - AC_MSG_RESULT("select $withval as path to PyQt") - ]) - -AC_ARG_WITH(pyqt_sips, - [ --with-pyqt_sips=DIR a directory path to PyQt sips installation ], - [PYQT_SIPS="$withval" - AC_MSG_RESULT("select $withval as path to PyQt sips") - ]) - - -AC_ARG_WITH(pyuic, - [ --with-pyuic=EXEC pyuic executable ], - [PYUIC="$withval" - AC_MSG_RESULT("select $withval as pyqt executable") - ]) - -AC_CHECKING(for pyqt) - -pyqt_ok=yes - -dnl look for pyuic -pyqt_uic_ok=no -if test "x$PYUIC" != x; then - dnl try withval value - AC_CHECK_FILE($PYUIC,pyqt_uic_ok=yes,pyqt_uic_ok=no) -fi -if test "x$pyqt_uic_ok" == "xno"; then - dnl try ${PYQTDIR} - if test "x${PYQTDIR}" != "x"; then - if test -d ${PYQTDIR} ; then - AC_CHECK_FILE(${PYQTDIR}/pyuic,pyqt_uic_ok=yes,pyqt_uic_ok=no) - if test "x$pyqt_uic_ok" == "xyes"; then - PYUIC="${PYQTDIR}/pyuic" - fi - fi - fi -fi -if test "x$pyqt_uic_ok" == "xno"; then - dnl try ${SIPDIR} - if test "x${SIPDIR}" != "x"; then - if test -d ${SIPDIR} ; then - AC_CHECK_FILE(${SIPDIR}/pyuic,pyqt_uic_ok=yes,pyqt_uic_ok=no) - if test "x$pyqt_uic_ok" == "xyes"; then - PYUIC="${SIPDIR}/pyuic" - fi - fi - fi -fi -if test "x$pyqt_uic_ok" == "xno"; then - dnl try ${PYTHONHOME}/bin - if test "x${PYTHONHOME}" != "x"; then - if test -d ${PYTHONHOME}/bin ; then - AC_CHECK_FILE(${PYTHONHOME}/bin/pyuic,pyqt_uic_ok=yes,pyqt_uic_ok=no) - if test "x$pyqt_uic_ok" == "xyes"; then - PYUIC="${PYTHONHOME}/bin/pyuic" - fi - fi - fi -fi -if test "x$pyqt_uic_ok" == "xno"; then - dnl try /usr/bin - AC_CHECK_FILE(/usr/bin/pyuic,pyqt_uic_ok=yes,pyqt_uic_ok=no) - if test "x$pyqt_uic_ok" == "xyes"; then - PYUIC="/usr/bin/pyuic" - fi -fi -if test "x$pyqt_uic_ok" == "xno"; then - pyqt_ok=no -fi - -dnl look for PyQt libs -pyqt_lib_ok=no -if test "x${PYQTDIR}" != "x"; then - dnl try {PYQTDIR} - AC_CHECK_FILE(${PYQTDIR}/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - if test "x${PYQTDIR}" = "x/usr/lib" - then - PYQT_LIBS="-lqtcmodule" - else - PYQT_LIBS="-L${PYQTDIR} -lqtcmodule" - fi - else - AC_CHECK_FILE(${PYQTDIR}/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - if test "x${PYQTDIR}" = "x/usr/lib" - then - PYQT_LIBS="" - else - PYQT_LIBS="-L${PYQTDIR}" - fi - fi - fi - if test "x$pyqt_lib_ok" == "xno"; then - dnl try {PYQTDIR}/lib - if test -d {PYQTDIR}/lib; then - AC_CHECK_FILE(${PYQTDIR}/lib/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYQTDIR}/lib -lqtcmodule" - else - AC_CHECK_FILE(${PYQTDIR}/lib/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYQTDIR}/lib" - fi - fi - fi - fi - if test "x$pyqt_lib_ok" == "xno"; then - dnl try {PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - if test -d {PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages; then - AC_CHECK_FILE(${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lqtcmodule" - else - AC_CHECK_FILE(${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYQTDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi - fi - fi -fi -if test "x$pyqt_lib_ok" == "xno"; then - dnl try ${SIPDIR} - if test "x${SIPDIR}" != "x"; then - if test -d ${SIPDIR} ; then - AC_CHECK_FILE(${SIPDIR}/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - if test "x${SIPDIR}" = "x/usr/lib" - then - PYQT_LIBS="-lqtcmodule" - else - PYQT_LIBS="-L${SIPDIR} -lqtcmodule" - fi - else - AC_CHECK_FILE(${SIPDIR}/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - if test "x${SIPDIR}" = "x/usr/lib" - then - PYQT_LIBS="" - else - PYQT_LIBS="-L${SIPDIR}" - fi - fi - fi - fi - fi -fi -if test "x$pyqt_lib_ok" == "xno"; then - dnl try ${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - if test "x${PYTHONHOME}" != "x"; then - if test -d ${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages ; then - AC_CHECK_FILE(${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lqtcmodule" - else - AC_CHECK_FILE(${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L${PYTHONHOME}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi - fi - fi -fi -if test "x$pyqt_lib_ok" == "xno"; then - dnl try /usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - AC_CHECK_FILE(/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libqtcmodule.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lqtcmodule" - else - AC_CHECK_FILE(/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/qt.so,pyqt_lib_ok=yes,pyqt_lib_ok=no) - if test "x$pyqt_lib_ok" == "xyes"; then - PYQT_LIBS="-L/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi -fi -if test "x$pyqt_lib_ok" == "xno"; then - pyqt_ok=no -fi - -dnl look for PyQt sips -pyqt_sips_ok=no -dnl try ${PYQT_SIPS} or ${PYQT_SIPS}/qt -if test "x${PYQT_SIPS}" != "x"; then - AC_CHECK_FILE(${PYQT_SIPS}/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xno"; then - AC_CHECK_FILE(${PYQT_SIPS}/qt/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="${PYQT_SIPS}/qt" - fi - fi -fi -if test "x$pyqt_sips_ok" == "xno"; then - dnl try ${PYQTDIR}/sip - if test "x${PYQTDIR}" != "x"; then - if test -d ${PYQTDIR}/sip ; then - AC_CHECK_FILE(${PYQTDIR}/sip/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="${PYQTDIR}/sip" - else - AC_CHECK_FILE(${PYQTDIR}/sip/qt/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="${PYQTDIR}/sip/qt" - fi - fi - fi - fi -fi -if test "x$pyqt_sips_ok" == "xno"; then - dnl try ${SIPDIR}/sip - if test "x${SIPDIR}" != "x"; then - if test -d ${SIPDIR}/sip ; then - AC_CHECK_FILE(${SIPDIR}/sip/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="${SIPDIR}/sip" - else - AC_CHECK_FILE(${SIPDIR}/sip/qt/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="${SIPDIR}/sip/qt" - fi - fi - fi - fi -fi -if test "x$pyqt_sips_ok" == "xno"; then - dnl try /usr/share/sip - if test -d /usr/share/sip ; then - AC_CHECK_FILE(/usr/share/sip/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="/usr/share/sip" - else - AC_CHECK_FILE(/usr/share/sip/qt/qglobal.sip,pyqt_sips_ok=yes,pyqt_sips_ok=no) - if test "x$pyqt_sips_ok" == "xyes"; then - PYQT_SIPS="/usr/share/sip/qt" - fi - fi - fi -fi -if test "x$pyqt_sips_ok" == "xno"; then - pyqt_ok=no -else - PYQT_INCLUDES="-I$PYQT_SIPS" - - dnl Additional sip flags required for correct wrappers compilation - AC_MSG_CHECKING(which qt classes should be excluded) - - PYQT_SIPFLAGS="" - - CXXFLAGS_old=$CXXFLAGS - CXXFLAGS="$CXXFLAGS $QT_INCLUDES" - LIBS_old=$LIBS - LIBS="$LIBS $QT_LIBS" - - AC_TRY_COMPILE([#include ], - [new QCDEStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_CDE") - AC_TRY_COMPILE([#include ], - [new QInterlaceStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_INTERLACE") - AC_TRY_COMPILE([#include ], - [new QMotifStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_MOTIF") - AC_TRY_COMPILE([#include ], - [new QMotifPlusStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_MOTIFPLUS") - AC_TRY_COMPILE([#include ], - [new QPlatinumStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_PLATINUM") - AC_TRY_COMPILE([#include ], - [new QSGIStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_SGI") - AC_TRY_COMPILE([#include ], - [new QWindowsStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_WINDOWS") - AC_TRY_COMPILE([#include ], - [new QWindowsXPStyle();],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_STYLE_WINDOWSXP") - - LIBS="$LIBS -lqassistantclient" - AC_TRY_LINK([#include ], - [new QAssistantClient("foo");],,PYQT_SIPFLAGS="$PYQT_SIPFLAGS -x Qt_ASSISTANTCLIENT") - - AC_MSG_RESULT(done) - - CXXFLAGS=$CXXFLAGS_old - LIBS=$LIBS_old -fi - -AC_SUBST(PYQT_INCLUDES) -AC_SUBST(PYQT_LIBS) -AC_SUBST(PYQT_SIPS) -AC_SUBST(PYUIC) -AC_SUBST(PYQT_SIPFLAGS) - -AC_LANG_RESTORE - -AC_MSG_RESULT(for pyqt: $pyqt_ok) - -])dnl -dnl - - diff --git a/adm_local/unix/config_files/check_qt.m4 b/adm_local/unix/config_files/check_qt.m4 deleted file mode 100644 index ab5348319..000000000 --- a/adm_local/unix/config_files/check_qt.m4 +++ /dev/null @@ -1,182 +0,0 @@ -dnl Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Lesser General Public -dnl License as published by the Free Software Foundation; either -dnl version 2.1 of the License. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Lesser General Public License for more details. -dnl -dnl You should have received a copy of the GNU Lesser General Public -dnl License along with this library; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -dnl -dnl See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -dnl -dnl -dnl - -AC_DEFUN([CHECK_QT],[ -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_CXX])dnl -AC_REQUIRE([AC_PROG_CPP])dnl -AC_REQUIRE([AC_PROG_CXXCPP])dnl -AC_REQUIRE([CHECK_OPENGL])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_CHECKING(for Qt) - -if test "x$OpenGL_ok" != "xyes" ; then - AC_MSG_WARN(Qt needs OpenGL correct configuration, check configure output) -fi - -qt_ok=yes - -AC_LANG_SAVE -AC_LANG_CPLUSPLUS - -if test "x$QTDIR" = "x" -then - AC_MSG_RESULT(please define QTDIR variable) - qt_ok=no -else - AC_MSG_RESULT(QTDIR is $QTDIR) - qt_inc_ok=no - QTINC="" - AC_CHECK_FILE(${QTDIR}/include/qt3/qglobal.h,QTINC="/qt3",QTINC="") - QT_VERS=`grep "QT_VERSION_STR" ${QTDIR}/include${QTINC}/qglobal.h | sed -e 's%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'` - AC_MSG_RESULT(Qt version is $QT_VERS) - QT_VERS="Qt_"`echo $QT_VERS | sed -e 's%\"%%g' -e 's%\.%_%g'` -fi - -if test "x$qt_ok" = "xyes" -then - if test -f ${QTDIR}/bin/moc - then - MOC=${QTDIR}/bin/moc - else - AC_PATH_PROG(MOC, moc) - fi - if test "x$MOC" = "x" - then - qt_ok=no - AC_MSG_RESULT(moc qt-compiler not in PATH variable) - else - qt_ok=yes - AC_MSG_RESULT(moc found) - fi -fi - -if test "x$qt_ok" = "xyes" -then - if test -f ${QTDIR}/bin/uic - then - UIC=${QTDIR}/bin/uic - else - AC_PATH_PROG(UIC, uic) - fi - if test "x$UIC" = "x" - then - qt_ok=no - AC_MSG_RESULT(uic qt-interface compiler not in PATH variable) - else - qt_ok=yes - AC_MSG_RESULT(uic found) - fi -fi - -AC_SUBST(QTDIR) -QT_ROOT=$QTDIR - -if test "x$qt_ok" = "xyes" -then - CPPFLAGS_old=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -I$QTDIR/include${QTINC}" - - AC_LANG_CPLUSPLUS - AC_CHECK_HEADER(qaction.h,qt_ok=yes ,qt_ok=no) - - CPPFLAGS=$CPPFLAGS_old - - AC_MSG_CHECKING(include of qt headers) - - if test "x$qt_ok" = "xno" - then - AC_MSG_RESULT(qt headers not found, or too old qt version, in $QTDIR/include) - AC_MSG_RESULT(QTDIR environment variable may be wrong) - else - AC_MSG_RESULT(yes) - QT_INCLUDES="-I${QT_ROOT}/include${QTINC} -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE" - QT_MT_INCLUDES="-I${QT_ROOT}/include${QTINC} -DQT_THREAD_SUPPORT -DQT_CLEAN_NAMESPACE" - fi -fi - -if test "x$qt_ok" = "xyes" -then - AC_MSG_CHECKING(linking qt library) - LIBS_old=$LIBS - if test "x$QTDIR" = "x/usr" - then - LIBS="$LIBS -lqt-mt $OGL_LIBS" - else - LIBS="$LIBS -L$QTDIR/lib${LIB_LOCATION_SUFFIX} -lqt-mt $OGL_LIBS" - fi - - CXXFLAGS_old=$CXXFLAGS - CXXFLAGS="$CXXFLAGS $QT_INCLUDES" - - AC_CACHE_VAL(salome_cv_lib_qt,[ - AC_TRY_LINK( -#include -, int n; - char **s; - QApplication a(n, s); - a.exec();, - eval "salome_cv_lib_qt=yes",eval "salome_cv_lib_qt=no") - ]) - qt_ok="$salome_cv_lib_qt" - - if test "x$qt_ok" = "xno" - then - AC_MSG_RESULT(unable to link with qt library) - AC_MSG_RESULT(QTDIR environment variable may be wrong) - else - AC_MSG_RESULT(yes) - if test "x$QTDIR" = "x/usr" - then - QT_LIBS=" -lqt-mt" - QT_MT_LIBS=" -lqt-mt" - else - QT_LIBS="-L$QTDIR/lib${LIB_LOCATION_SUFFIX} -lqt-mt" - QT_MT_LIBS="-L$QTDIR/lib${LIB_LOCATION_SUFFIX} -lqt-mt" - fi - fi - - LIBS=$LIBS_old - CXXFLAGS=$CXXFLAGS_old - -fi - -AC_SUBST(MOC) -AC_SUBST(UIC) - -AC_SUBST(QT_ROOT) -AC_SUBST(QT_INCLUDES) -AC_SUBST(QT_MT_INCLUDES) -AC_SUBST(QT_LIBS) -AC_SUBST(QT_MT_LIBS) -AC_SUBST(QT_VERS) - -AC_LANG_RESTORE - -AC_MSG_RESULT(for Qt: $qt_ok) - -# Save cache -AC_CACHE_SAVE - -])dnl -dnl diff --git a/adm_local/unix/config_files/check_qwt.m4 b/adm_local/unix/config_files/check_qwt.m4 deleted file mode 100644 index d9bc23fbf..000000000 --- a/adm_local/unix/config_files/check_qwt.m4 +++ /dev/null @@ -1,152 +0,0 @@ -dnl Copyright (C) 2003 CEA/DEN, EDF R&D - -AC_DEFUN([CHECK_QWT],[ -AC_REQUIRE([CHECK_QT])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_CHECKING(for qwt) - -qwt_ok=yes - -dnl were is qwt ? - -AC_ARG_WITH(qwt, - [ --with-qwt=DIR directory path to QWT installation ], - [QWTHOME="$withval" - AC_MSG_RESULT("select $withval as path to QWT") - ]) - -AC_ARG_WITH(qwt_inc, - [ --with-qwt_inc=DIR directory path to QWT includes ], - [QWT_INCLUDES="$withval" - AC_MSG_RESULT("select $withval as path to QWT includes") - ]) - -if test -z $QWTHOME; then - AC_MSG_RESULT(QWTHOME not defined) - exits_ok=no - if test "x$exits_ok" = "xno"; then - for d in /usr/local /usr ; do - AC_CHECK_FILE(${d}/lib${LIB_LOCATION_SUFFIX}/libqwt.so,exits_ok=yes,exits_ok=no) - if test "x$exits_ok" = "xyes"; then - QWTHOME=$d - AC_MSG_RESULT(libqwt.so detected in $d/lib) - fi - done - fi - if test "x$exits_ok" = "xno"; then - for d in `echo $LD_LIBRARY_PATH | sed -e "s/:/ /g"` ; do - if test -f $d/libqwt.so ; then - AC_MSG_RESULT(libqwt.so detected in $d) - QWTHOME=$d - QWTHOME=`echo ${QWTHOME} | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"` - exits_ok=yes - break - fi - done - fi - if test "x$exits_ok" = "xyes"; then - if test -z $QWT_INCLUDES; then - QWT_INCLUDES=$QWTHOME"/include/qwt" - if test ! -f $QWT_INCLUDES/qwt.h ; then - QWT_INCLUDES=$QWTHOME"/include" - fi - if test ! -f $QWT_INCLUDES/qwt.h ; then - QWT_INCLUDES=/usr/lib/qt3/include/qwt - fi - fi - fi -else - if test -z $QWT_INCLUDES; then - QWT_INCLUDES="$QWTHOME/include" - fi -fi - -if test "x$qwt_ok" = xno -o ! -d "$QWTHOME" ; then - AC_MSG_RESULT(no) - AC_MSG_WARN(qwt not found) - qwt_ok=no -else - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - CPPFLAGS_old=$CPPFLAGS - CPPFLAGS="$CPPFLAGS -I$QWT_INCLUDES" - CPPFLAGS="$CPPFLAGS $QT_INCLUDES" - - AC_CHECK_HEADER(qwt.h,qwt_ok=yes,qwt_ok=no) - - CPPFLAGS=$CPPFLAGS_old - - if test "x$qwt_ok" = xno ; then - AC_MSG_RESULT(no) - AC_MSG_WARN(qwt not found) - else - qwt_ok=yes - fi - -if test "x$qwt_ok" = "xyes" -then - AC_MSG_CHECKING(linking qwt library) - LIBS_old=$LIBS - if test "x$QTDIR" = "x/usr" - then - LIBS="$LIBS -lqt-mt" - else - LIBS="$LIBS -L$QTDIR/lib${LIB_LOCATION_SUFFIX} -lqt-mt" - fi - if test "x$QWTHOME" = "x/usr" - then - LIBS="$LIBS -lqwt" - else - LIBS="$LIBS -L$QWTHOME/lib -lqwt" - fi - - CXXFLAGS_old=$CXXFLAGS - CXXFLAGS="$CXXFLAGS $QT_INCLUDES -I$QWT_INCLUDES" - - AC_CACHE_VAL(salome_cv_lib_qwt,[ - AC_TRY_LINK( -#include -#include -, int n; - char **s; - QApplication a(n, s); - QwtPlot* p; - a.setMainWidget(p); - a.exec();, - eval "salome_cv_lib_qwt=yes",eval "salome_cv_lib_qwt=no") - ]) - qwt_ok="$salome_cv_lib_qwt" - - if test "x$qwt_ok" = "xno" - then - AC_MSG_RESULT(unable to link with qwt library) - AC_MSG_RESULT(QWTHOME environment variable may be wrong) - else - QWT_INCLUDES="-I$QWT_INCLUDES" - if test "x$QWTHOME" = "x/usr" - then - QWT_LIBS=" -lqwt" - else - QWT_LIBS="-L$QWTHOME/lib -lqwt" - fi - - AC_SUBST(QWT_INCLUDES) - AC_SUBST(QWT_LIBS) - - AC_MSG_RESULT(yes) - fi - - LIBS=$LIBS_old - CXXFLAGS=$CXXFLAGS_old - -fi - - - AC_LANG_RESTORE - -fi - - -])dnl -dnl diff --git a/adm_local/unix/config_files/check_sip.m4 b/adm_local/unix/config_files/check_sip.m4 deleted file mode 100644 index 83af9a907..000000000 --- a/adm_local/unix/config_files/check_sip.m4 +++ /dev/null @@ -1,169 +0,0 @@ -dnl Copyright (C) 2003 CEA/DEN, EDF R&D - -AC_DEFUN([CHECK_SIP],[ -AC_REQUIRE([CHECK_PYTHON])dnl -AC_REQUIRE([CHECK_QT])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -sip_ok=yes - -AC_ARG_WITH(sip, - [ --with-sip=EXEC sip executable ], - [SIP="$withval" - AC_MSG_RESULT("select $withval as sip executable") - ], [ - AC_PATH_PROG(SIP, sip) - ]) - -if test "x$SIP" = "x" ; then - sip_ok=no - AC_MSG_RESULT(sip not in PATH variable) -else - version=`$SIP -V` - AC_MSG_RESULT(sip version is $version) - case "$version" in - 3.2*) - SIP_VERS=v3_old ;; - 3.3*) - SIP_VERS=v3_old ;; - 3.4*) - SIP_VERS=v3_old ;; - 3.5*) - SIP_VERS=v3_old ;; - 3.6*) - SIP_VERS=v3_old ;; - 3.7*) - SIP_VERS=v3_old ;; - 3.8*) - SIP_VERS=v3_old ;; - 3.9*) - SIP_VERS=v3_old ;; - 3.10*) - SIP_VERS=v3_new ;; - 4.1*) - SIP_VERS=v4_old ;; - 4.2*) - SIP_VERS=v4_new ;; - *) - AC_MSG_RESULT(sip version $version not supported) - SIP_VERS=unsupported ;; - esac - - sip_ok=no - dnl Search sip.h file - if test "x$SIPDIR" != "x" ; then - dnl look for sip.h in ${SIPDIR} - AC_CHECK_FILE(${SIPDIR}/sip.h,sip_ok=yes,sip_ok=no) - if test "x$sip_ok" == "xyes" ; then - SIP_INCLUDES="-I${SIPDIR}" - fi - if test "x$sip_ok" == "xno" ; then - dnl look for sip.h in ${SIPDIR}/include/python${PYTHON_VERSION} - if test -d ${SIPDIR}/include/python${PYTHON_VERSION} ; then - AC_CHECK_FILE(${SIPDIR}/include/python${PYTHON_VERSION}/sip.h,sip_ok=yes,sip_ok=no) - if test "x$sip_ok" == "xyes" ; then - SIP_INCLUDES="-I${SIPDIR}/include/python${PYTHON_VERSION}" - fi - fi - fi - fi - if test "x$sip_ok" == "xno" ; then - dnl look for sip.h in ${PYTHON_PREFIX}/include/python${PYTHON_VERSION} - if test -d ${PYTHON_PREFIX}/include/python${PYTHON_VERSION} ; then - AC_CHECK_FILE(${PYTHON_PREFIX}/include/python${PYTHON_VERSION}/sip.h,sip_ok=yes,sip_ok=no) - if test "x$sip_ok" == "xyes" ; then - SIP_INCLUDES="${PYTHON_INCLUDES}" - fi - fi - fi - if test "x$sip_ok" == "xno" ; then - dnl look for sip.h in /usr/include/python${PYTHON_VERSION} - if test -d /usr/include/python${PYTHON_VERSION} ; then - AC_CHECK_FILE(/usr/include/python${PYTHON_VERSION}/sip.h,sip_ok=yes,sip_ok=no) - if test "x$sip_ok" == "xyes" ; then - SIP_INCLUDES="/usr/include/python${PYTHON_VERSION}" - fi - fi - fi - - dnl Search (lib)sip.so file - sip_lib_ok=no - if test "x$SIPDIR" != "x" ; then - dnl look for (lib)sip.so in ${SIPDIR} - AC_CHECK_FILE(${SIPDIR}/libsip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - if test "x${SIPDIR}" = "x/usr/lib" - then - SIP_LIBS="-lsip" - else - SIP_LIBS="-L${SIPDIR} -lsip" - fi - else - AC_CHECK_FILE(${SIPDIR}/sip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - if test "x${SIPDIR}" = "x/usr/lib" - then - SIP_LIBS="" - else - SIP_LIBS="-L${SIPDIR}" - fi - fi - fi - - if test "x$sip_lib_ok" == "xno" ; then - dnl look for (lib)sip.so in ${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - if test -d ${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages ; then - AC_CHECK_FILE(${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libsip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lsip" - else - AC_CHECK_FILE(${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/sip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L${SIPDIR}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi - fi - fi - fi - if test "x$sip_lib_ok" == "xno" ; then - dnl look for (lib)sip.so in ${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - if test -d ${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages ; then - AC_CHECK_FILE(${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libsip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lsip" - else - AC_CHECK_FILE(${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/sip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L${PYTHON_PREFIX}/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi - fi - fi - if test "x$sip_lib_ok" == "xno" ; then - dnl look for (lib)sip.so in /usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages - if test -d /usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages ; then - AC_CHECK_FILE(/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/libsip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L$/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages -lsip" - else - AC_CHECK_FILE(/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages/sip.so,sip_lib_ok=yes,sip_lib_ok=no) - if test "x$sip_lib_ok" == "xyes" ; then - SIP_LIBS="-L/usr/lib${LIB_LOCATION_SUFFIX}/python${PYTHON_VERSION}/site-packages" - fi - fi - fi - fi - if test "x$sip_lib_ok" == "xno" ; then - sip_ok=no - fi -fi - -AC_SUBST(SIP) -AC_SUBST(SIP_INCLUDES) -AC_SUBST(SIP_LIBS) -AC_SUBST(SIP_VERS) - -AC_MSG_RESULT(for sip: $sip_ok) - -])dnl -dnl diff --git a/adm_local/unix/config_files/check_vtk.m4 b/adm_local/unix/config_files/check_vtk.m4 deleted file mode 100644 index a0733ebc3..000000000 --- a/adm_local/unix/config_files/check_vtk.m4 +++ /dev/null @@ -1,145 +0,0 @@ -dnl Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -dnl CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Lesser General Public -dnl License as published by the Free Software Foundation; either -dnl version 2.1 of the License. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Lesser General Public License for more details. -dnl -dnl You should have received a copy of the GNU Lesser General Public -dnl License along with this library; if not, write to the Free Software -dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -dnl -dnl See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org -dnl -dnl -dnl - -AC_DEFUN([CHECK_VTK],[ -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_CXX])dnl -AC_REQUIRE([AC_PROG_CPP])dnl -AC_REQUIRE([AC_PROG_CXXCPP])dnl -AC_REQUIRE([AC_LINKER_OPTIONS])dnl - -AC_CHECKING(for VTK) - -AC_LANG_SAVE -AC_LANG_CPLUSPLUS - -AC_SUBST(VTK_INCLUDES) -AC_SUBST(VTK_LIBS) -AC_SUBST(VTKPY_MODULES) - -VTK_INCLUDES="" -VTK_LIBS="" -VTKPY_MODULES="" - -vtk_ok=no - -if test "x$OpenGL_ok" != "xyes" ; then - AC_MSG_WARN(VTK needs OpenGL correct configuration, check configure output) -fi - -AC_PATH_X -if test "x$x_libraries" != "x" -then - LXLIB="-L$x_libraries" -else - LXLIB="" -fi - -if test "x$x_libraries" = "x/usr/lib" -then - LXLIB="" -fi - -if test "x$x_libraries" = "x/usr/lib" -then - LXLIB="" -fi - -if test "x$x_libraries" = "x/usr/lib" -then - LXLIB="" -fi - -LOCAL_INCLUDES="$OGL_INCLUDES" -LOCAL_LIBS="-lvtkCommon -lvtkGraphics -lvtkImaging -lvtkFiltering -lvtkIO -lvtkRendering -lvtkHybrid $OGL_LIBS $LXLIB -lX11 -lXt" -TRY_LINK_LIBS="-lvtkCommon $OGL_LIBS $LXLIB -lX11 -lXt" - -if test -z $VTKHOME -then - AC_MSG_WARN(undefined VTKHOME variable which specify where vtk was compiled) - if test -f /usr/include/vtk/vtkPlane.h ; then - AC_MSG_RESULT(trying /usr) - VTKHOME="/usr" - fi -fi - -if test ! -z $VTKHOME -then - LOCAL_INCLUDES="-I$VTKHOME/include/vtk $LOCAL_INCLUDES" - LOCAL_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk -L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk/python $LOCAL_LIBS" - TRY_LINK_LIBS="-L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk -L$VTKHOME/lib${LIB_LOCATION_SUFFIX}/vtk/python $TRY_LINK_LIBS" -fi - -dnl vtk headers -CPPFLAGS_old="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $LOCAL_INCLUDES" - -AC_CHECK_HEADER(vtkPlane.h,vtk_ok="yes",vtk_ok="no") - - CPPFLAGS="$CPPFLAGS_old" - - if test "x$vtk_ok" = "xyes" - then - VTK_INCLUDES="$LOCAL_INCLUDES" - - dnl vtk libraries - - AC_MSG_CHECKING(linking VTK library) - - LIBS_old="$LIBS" -# LIBS="$LIBS $TRY_LINK_LIBS" - LIBS="$LIBS $LOCAL_LIBS" - CPPFLAGS_old="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $VTK_INCLUDES" - - dnl VTKPY_MODULES="$VTKHOME/python" - - AC_CACHE_VAL(salome_cv_lib_vtk,[ - AC_TRY_LINK([#include "vtkPlane.h"], - [vtkPlane::New()], - [salome_cv_lib_vtk=yes], - [salome_cv_lib_vtk=no]) - ]) - vtk_ok="$salome_cv_lib_vtk" - LIBS="$LIBS_old" - CPPFLAGS="$CPPFLAGS_old" - -fi - -if test "x$vtk_ok" = "xno" -then - AC_MSG_RESULT(no) - AC_MSG_WARN(unable to link with vtk library) -else - AC_MSG_RESULT(yes) - VTK_LIBS="$LOCAL_LIBS" - VTK_MT_LIBS="$LOCAL_LIBS" -fi - -AC_MSG_RESULT(for VTK: $vtk_ok) - -AC_LANG_RESTORE - -# Save cache -AC_CACHE_SAVE - -])dnl \ No newline at end of file diff --git a/adm_local/unix/make_commence.in b/adm_local/unix/make_commence.in deleted file mode 100644 index b3af3f710..000000000 --- a/adm_local/unix/make_commence.in +++ /dev/null @@ -1,277 +0,0 @@ -# common directories to put headerfiles -inc_builddir=$(top_builddir)/include/salome - -MODULE_NAME=@MODULE_NAME@ - -GUI_DISABLE_CORBA=@GUI_DISABLE_CORBA@ -DISABLE_GLVIEWER=@DISABLE_GLVIEWER@ -DISABLE_PYCONSOLE=@DISABLE_PYCONSOLE@ -DISABLE_PLOT2DVIEWER=@DISABLE_PLOT2DVIEWER@ -DISABLE_SUPERVGRAPHVIEWER=@DISABLE_SUPERVGRAPHVIEWER@ -DISABLE_OCCVIEWER=@DISABLE_OCCVIEWER@ -DISABLE_VTKVIEWER=@DISABLE_VTKVIEWER@ -DISABLE_SALOMEOBJECT=@DISABLE_SALOMEOBJECT@ -@SET_MAKE@ -SHELL=/bin/sh - -# header missing - -HAVE_SSTREAM=@HAVE_SSTREAM@ - - -LIBS=@LIBS@ -LIBSFORBIN=@LIBS@ -LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome -# add libstdc++ to link c++ library with libtool ! -LDFLAGS+= -lstdc++ -LDFLAGSFORBIN+= -lstdc++ - -CP=@CP@ - -# CPP - -CPP=@CPP@ -CXXCPP=@CXXCPP@ -CPPFLAGS=@CPPFLAGS@ -I$(inc_builddir) -I$(srcdir) -I. - -# C - -CC = @CC@ -CFLAGS = @CFLAGS@ -C_DEPEND_FLAG = @C_DEPEND_FLAG@ - -# C++ - -CXX = @CXX@ -CXXFLAGS = @CXXFLAGS@ -CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@ - -# BOOST Library - -BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ - -# JAVA - -JAVA_INCLUDES = @JAVA_INCLUDES@ -JAVA_LIBS = @JAVA_LIBS@ -JAVA_LDPATH = @JAVA_LDPATH@ - -# PYTHON - -PYTHON = @PYTHON@ -PYTHONHOME = @PYTHONHOME@ -PYTHON_INCLUDES = @PYTHON_INCLUDES@ -PYTHON_LIBS = @PYTHON_LIBS@ -PYTHON_VERSION = @PYTHON_VERSION@ -PYTHON_SITE = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages -PYTHON_SITE_INSTALL = $(prefix)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome -# QT - -QT_ROOT = @QT_ROOT@ -QT_INCLUDES = @QT_INCLUDES@ -QT_MT_INCLUDES = @QT_INCLUDES@ -DQT_THREAD_SUPPORT -QT_LIBS = @QT_LIBS@ -QT_MT_LIBS = @QT_MT_LIBS@ -QT_VERS = @QT_VERS@ - -MOC = @MOC@ -UIC = @UIC@ - -# msg2qm -MSG2QM = @MSG2QM@ - -#QWT - -QWT_INCLUDES=@QWT_INCLUDES@ -QWT_LIBS=@QWT_LIBS@ - -# SIP -SIP = @SIP@ -SIP_INCLUDES = @SIP_INCLUDES@ -SIP_LIBS = @SIP_LIBS@ -SIP_VERS = @SIP_VERS@ - -# PYQT -PYQT_SIPS = @PYQT_SIPS@ -PYQT_LIBS = @PYQT_LIBS@ -PYQT_INCLUDES = @PYQT_INCLUDES@ -PYUIC = @PYUIC@ -PYQT_SIPFLAGS = @PYQT_SIPFLAGS@ - -# openGL -OGL_INCLUDES=@OGL_INCLUDES@ -OGL_LIBS=@OGL_LIBS@ - -# VTK -VTK_INCLUDES=@VTK_INCLUDES@ -VTK_LIBS=@VTK_LIBS@ - -# HDF5 - -HDF5_INCLUDES=@HDF5_INCLUDES@ -HDF5_LIBS=@HDF5_LIBS@ -HDF5_MT_LIBS=@HDF5_MT_LIBS@ - -# OpenCasCade - -OCC_INCLUDES=@CAS_CPPFLAGS@ -OCC_CXXFLAGS=@CAS_CXXFLAGS@ - -CAS_KERNEL=@CAS_KERNEL@ -CAS_MATH=@CAS_MATH@ -CAS_OCAF=@CAS_OCAF@ -CAS_OCAFVIS=@CAS_OCAFVIS@ -CAS_TKTopAlgo=@CAS_TKTopAlgo@ -CAS_VIEWER=@CAS_VIEWER@ -CAS_MODELER=@CAS_MODELER@ -CAS_DATAEXCHANGE=@CAS_DATAEXCHANGE@ -CAS_LDPATH=@CAS_LDPATH@ - -# MPICH - -MPICH_INCLUDES=@MPICH_INCLUDES@ -MPICH_LIBS=@MPICH_LIBS@ - -# Swig C++ Python - -SWIG = @SWIG@ -SWIG_FLAGS = @SWIG_FLAGS@ -I$(inc_builddir) -I$(srcdir) -I. - -# OMNIORB - -OMNIORB_ROOT = @OMNIORB_ROOT@ -OMNIORB_INCLUDES = @OMNIORB_INCLUDES@ -OMNIORB_LIBS = @OMNIORB_LIBS@ -OMNIORB_CXXFLAGS = @OMNIORB_CXXFLAGS@ - -OMNIORB_IDL = @OMNIORB_IDL@ -OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@ -OMNIORB_IDLPYFLAGS = @OMNIORB_IDLPYFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome - -OMNIORB_IDL_CLN_H = @OMNIORB_IDL_CLN_H@ -OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@ -OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@ - -OMNIORB_IDL_SRV_H = @OMNIORB_IDL_SRV_H@ -OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@ -OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@ - -# Default ORB - -CORBA_ROOT = @CORBA_ROOT@ -CORBA_INCLUDES = @CORBA_INCLUDES@ -CORBA_LIBS = @CORBA_LIBS@ -CORBA_CXXFLAGS = @CORBA_CXXFLAGS@ - -IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_srcdir)/idl -I$(KERNEL_ROOT_DIR)/idl/salome -IDLPYFLAGS = @IDLPYFLAGS@ - -IDL = @IDL@ - -IDL_CLN_H = @IDL_CLN_H@ -IDL_CLN_CXX = @IDL_CLN_CXX@ -IDL_CLN_OBJ = @IDL_CLN_OBJ@ - -IDL_SRV_H = @IDL_SRV_H@ -IDL_SRV_CXX = @IDL_SRV_CXX@ -IDL_SRV_OBJ = @IDL_SRV_OBJ@ - -CPPFLAGS+= $(CORBA_INCLUDES) -CXXFLAGS+= $(CORBA_CXXFLAGS) - -DOXYGEN = @DOXYGEN@ -DOXYGEN_WITH_PYTHON = @DOXYGEN_WITH_PYTHON@ -DOXYGEN_WITH_STL = @DOXYGEN_WITH_STL@ - -## Shared libraries -LT_STATIC_EXEC=@LT_STATIC_EXEC@ -DYNAMIC_DIRS=@DYNAMIC_DIRS@ -LT_LIB=libtool -LT=$(top_builddir)/libtool -LT_COMPILE=$(LT) --mode=compile $(CC) -LT_LINK_LIB=$(LT_LIB) --mode=link $(CC) -rpath $(libdir) -LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS) -LT_RUN=$(LT) --mode=execute -LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM) -LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA) -LT_UNINSTALL=$(LT) --mode=uninstall $(RM) - -INSTALL=@INSTALL@ -INSTALL_PROGRAM=@INSTALL_PROGRAM@ -INSTALL_DATA=@INSTALL_DATA@ - -# create a symbolic link (or a copie ?) -LN_S=@LN_S@ - -KERNEL_ROOT_DIR=@KERNEL_ROOT_DIR@ -KERNEL_SITE_DIR=@KERNEL_SITE_DIR@ - -KERNEL_LDFLAGS=@KERNEL_LDFLAGS@ -KERNEL_CXXFLAGS=@KERNEL_CXXFLAGS@ - -## Installation points -prefix=@prefix@ -exec_prefix=@exec_prefix@ -bindir=@exec_prefix@/bin/salome -libdir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/salome -# warning : if user give this path in configure we could have salome/salome :-( -includedir=@includedir@/salome -datadir=@datadir@/salome -idldir=${prefix}/idl/salome -sharedpydir=@exec_prefix@/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules -incmakedir=${prefix}/salome_adm/unix - -docdir=${prefix}/doc/salome - -# -# begin of package rules -# - -.PHONY: all lib bin inc resources data docs tests install uninstall dep depend depend_idl cleandep mostlyclean clean distclean - -.SUFFIXES: .cxx .cc .c .f .o .lo .idl .py .i .ui .po .qm - -all: - $(MAKE) inc - $(MAKE) depend_idl - $(MAKE) depend - $(MAKE) lib - $(MAKE) bin - $(MAKE) resources - -# -# add target to build administrative files -# - -Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in - cd $(top_builddir) ; ./config.status - -LOCAL_MAKE = make_commence make_conclude make_omniorb - -KERNEL_MAKE = make_module depend SALOMEconfig.h F77config.h sstream envScript - -$(top_builddir)/config.status: $(top_srcdir)/configure \ - $(LOCAL_MAKE:%=$(top_srcdir)/adm_local/unix/%.in) \ - $(KERNEL_MAKE:%=$(KERNEL_ROOT_DIR)/salome_adm/unix/%.in) - cd $(top_builddir) ; ./config.status --recheck - -# VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-) -ifneq ($(top_srcdir),$(srcdir)) -configure: $(top_srcdir)/configure -endif - -$(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4 - cd $(top_srcdir) ; autoconf - -$(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base - cd $(top_srcdir) && ./build_configure - - -ACLOCAL_SRC = \ -check_qt.m4 check_vtk.m4 check_qwt.m4 \ -check_sip.m4 check_msg2qm.m4 check_pyqt.m4 \ -check_opengl.m4 - -$(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=$(top_srcdir)/adm_local/unix/config_files/%) - cd $(top_srcdir) ; aclocal -I adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files diff --git a/adm_local/unix/make_conclude.in b/adm_local/unix/make_conclude.in deleted file mode 100644 index da7a678e1..000000000 --- a/adm_local/unix/make_conclude.in +++ /dev/null @@ -1,426 +0,0 @@ -#======================================================================= -# This section of this makefile comes from the file -# 'adm/unix/make_conclude' which was generated with config.status -# from file adm/unix/make_conclude.in -#======================================================================= -# -* Makefile *- -# -# Authors : Patrick GOLDBRONN (CEA) - Marc Tajchman (CEA) -# Date : 6/07/2001 -# $Header$ -# - -ifneq ($(GUI_DISABLE_CORBA),yes) -# ORB Specifics rules - -@CORBA@ - -# transform idl reference in appropriate obj file -LIB_CLIENT_SRC = $(LIB_CLIENT_IDL:%.idl=%$(IDL_CLN_CXX)) -LIB_SERVER_SRC = $(LIB_SERVER_IDL:%.idl=%$(IDL_SRV_CXX)) -LIB_SWIG_SRC = $(SWIG_DEF:%.i=%_wrap.cxx) -else -LIB_CLIENT_SRC = -LIB_SERVER_SRC = -LIB_SWIG_SRC = -endif - -LIB_MOC_SRC = $(LIB_MOC:%.h=%_moc.cxx) -LIB_SRC+=$(LIB_MOC_SRC) -LIB_DEP= $(LIB_SRC) $(LIB_CLIENT_SRC) $(LIB_SERVER_SRC) $(LIB_SWIG_SRC) - -ifneq ($(GUI_DISABLE_CORBA),yes) -LIB_CLIENT_OBJ = $(LIB_CLIENT_IDL:%.idl=%$(IDL_CLN_OBJ)) -LIB_SERVER_OBJ = $(LIB_SERVER_IDL:%.idl=%$(IDL_SRV_OBJ)) -LIB_SWIG_OBJ = $(LIB_SWIG_SRC:%.cxx=%.lo) -else -LIB_CLIENT_OBJ = -LIB_SERVER_OBJ = -LIB_SWIG_OBJ = -endif - -# transform c file in appropriate libtool obj file (.c, .cc and .cxx) -LIB_OBJ_C = $(patsubst %.c, %.lo, $(filter %.c, $(LIB_SRC))) -LIB_OBJ_CC = $(patsubst %.cc, %.lo, $(filter %.cc, $(LIB_SRC))) -LIB_OBJ_CXX = $(patsubst %.cxx, %.lo, $(filter %.cxx, $(LIB_SRC))) -LIB_OBJ_F = $(patsubst %.f, %.lo, $(filter %.f, $(LIB_SRC))) - -# all libtool obj file in library -LIB_OBJ = $(LIB_OBJ_CXX) $(LIB_OBJ_CC) $(LIB_OBJ_C) $(LIB_CLIENT_OBJ:%.o=%.lo) $(LIB_SERVER_OBJ:%.o=%.lo) $(LIB_SWIG_OBJ) $(LIB_OBJ_F) - -# LIB_BUILD = $(LIB:%.la=$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la) -LIB_BUILD = $(patsubst %.la, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la, $(filter %.la, $(LIB))) -LIB_BUILD_A = $(patsubst %.a, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.a, $(filter %.a, $(LIB))) -LIB_BUILD_SO = $(patsubst %.so, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.so, $(filter %.so, $(LIB))) - -ifneq ($(findstring cmodule.la,$(filter %.la, $(LIB))),) -ifneq ($(GUI_DISABLE_CORBA),yes) -LIB_SWIG = $(patsubst %cmodule.la,%.so, $(filter %.la, $(LIB))) -else -LIB_SWIG = -endif -else -LIB_SWIG = -endif - -lib: $(LIB_BUILD) $(LIB_BUILD_SO) $(LIB_CLIENT_PY) -# we don't build static library ! - -$(LIB_BUILD): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.la: %.la - -$(RM) $@ - -$(RM) $(patsubst %.la, %.so, $@) - -$(RM) $(patsubst %.la, %.a, $@) - ln -sf $(CURDIR)/$< $@ || true - ln -sf $(patsubst %.la, %.so, $(CURDIR)/.libs/$<) \ - $(patsubst %.la, %.so, $@) || true - ln -sf $(patsubst %.la, %.so, $(CURDIR)/.libs/$<).0 \ - $(patsubst %.la, %.so, $@).0 || true - - if ! test -z $(LIB_SWIG) ; then \ - ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/_$(LIB_SWIG) || true;\ - fi; - -$(LIB_BUILD_A): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.a: %.a - -$(RM) $@ - ln -sf $(CURDIR)/$< $@ || true - -$(LIB_BUILD_SO): $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/%.so: %.so - -$(RM) $@ - ln -sf $(CURDIR)/$< $@ || true - -$(LIB): $(LIB_OBJ) - @$(LT) --mode=link $(CXX) -shared -rpath $(libdir) -o $@ $(CXXFLAGS) $(LIB_OBJ) $(LDFLAGS) $(LIBS) - -# transform idl reference in appropriate obj file -ifneq ($(GUI_DISABLE_CORBA),yes) -BIN_CLIENT_SRC = $(BIN_CLIENT_IDL:%.idl=%$(IDL_CLN_CXX)) -BIN_SERVER_SRC = $(BIN_SERVER_IDL:%.idl=%$(IDL_SRV_CXX)) -else -BIN_CLIENT_SRC = -BIN_SERVER_SRC = -endif -BIN_MOC_SRC = $(BIN_MOC:%.h=%_moc.cxx) -BIN_SRC+=$(BIN_MOC_SRC) -BIN_DEP=$(BIN:%=%.cxx) $(BIN_SRC) $(BIN_CLIENT_SRC) $(BIN_SERVER_SRC) - -ifneq ($(GUI_DISABLE_CORBA),yes) -BIN_CLIENT_OBJ = $(BIN_CLIENT_IDL:%.idl=%$(IDL_CLN_OBJ)) -BIN_SERVER_OBJ = $(BIN_SERVER_IDL:%.idl=%$(IDL_SRV_OBJ)) -else -BIN_CLIENT_OBJ = -BIN_SERVER_OBJ = -endif -# transform c file in appropriate libtool obj file (.c) -BIN_OBJ_C = $(patsubst %.c, %.o, $(filter %.c, $(BIN_SRC))) -# transform c++ file in appropriate libtool obj file (.cc and .cxx) -BIN_OBJ_CC = $(patsubst %.cc, %.o, $(filter %.cc, $(BIN_SRC))) -BIN_OBJ_CXX = $(patsubst %.cxx, %.o, $(filter %.cxx, $(BIN_SRC))) -# all obj file in bin target -BIN_OBJ = $(BIN_OBJ_CC) $(BIN_OBJ_CXX) $(BIN_OBJ_C) $(BIN_CLIENT_OBJ) $(BIN_SERVER_OBJ) - -bin: $(BIN:%=$(top_builddir)/bin/salome/%) $(BIN) $(LIB) pyscripts sharedpyscripts - -BIN_LIB=$(LIB:lib%.la=-l%) - -$(BIN:%=$(top_builddir)/bin/salome/%) $(TEST_PROGS:%=$(top_builddir)/bin/salome/%): $(top_builddir)/bin/salome/%: % - -$(RM) $@ - ln -sf $(CURDIR)/$< $@ - -$(BIN) $(TEST_PROGS): %: %.lo $(BIN_OBJ) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ $(BIN_LIB) $(LDFLAGSFORBIN) $(LIBSFORBIN) - -# copy python scripts in $(top_builddir)/bin/salome -# - -UI_FILES = $(notdir $(wildcard $(srcdir)/*.ui)) -UI_PY_FILES_PY = $(patsubst %.ui, %.py, $(UI_FILES)) -UI_PY_FILES = $(filter-out $(EXPORT_PYSCRIPTS) ,$(UI_PY_FILES_PY)) - -DEST_PYSCRIPTS = $(EXPORT_PYSCRIPTS:%=$(top_builddir)/bin/salome/%) -DEST_UI_PY_FILES = $(UI_PY_FILES:%=$(top_builddir)/bin/salome/%) -pyscripts: $(DEST_PYSCRIPTS) $(UI_PY_FILES) $(DEST_UI_PY_FILES) -$(DEST_PYSCRIPTS): $(top_builddir)/bin/salome/%: % - cp -f $< $@ - -# generate generic python scripts from *.ui files -# -$(UI_PY_FILES): %.py: %.ui - $(PYUIC) $< -o $@ - -# copy ui-generated python scripts in $(top_builddir)/bin -# -$(DEST_UI_PY_FILES): $(top_builddir)/bin/salome/%: % - cp -f $< $@ - -# copy pyqt files in $(PYTHON_SHARED_SITE) -# -PYTHON_SHARED_SITE=$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules - -$(PYTHON_SHARED_SITE): - $(INSTALL) -d $@ - -DEST_SHAREDPYSCRIPTS = $(EXPORT_SHAREDPYSCRIPTS:%=$(PYTHON_SHARED_SITE)/%) -sharedpyscripts: $(PYTHON_SHARED_SITE) $(DEST_SHAREDPYSCRIPTS) -$(DEST_SHAREDPYSCRIPTS): $(PYTHON_SHARED_SITE)/%: % - cp -f $< $@ - -check: test - -tests: unittest - -test: $(LIB) $(TEST_PROGS:%=$(top_builddir)/bin/salome/%) - -unittest: - @if test "x$(UNIT_TEST_PROG)" != "x"; then \ - $(top_builddir)/bin/salome/$(UNIT_TEST_PROG); \ - fi; - -# copy header file in $(inc_builddir) -# -DEST_HEADERS = $(EXPORT_HEADERS:%=$(inc_builddir)/%) -inc: $(DEST_HEADERS) -$(DEST_HEADERS): $(inc_builddir)/%: % - cp -f $< $@ - -# build resources file (icons and messages) : .qm file from .po file -RESOURCES_FILES_ALL := $(notdir $(wildcard $(srcdir)/resources/*)) -RESOURCES_FILES_ALL := $(filter-out CVS, $(RESOURCES_FILES_ALL)) -RESOURCES_FILES_ALL := $(filter-out %.po, $(RESOURCES_FILES_ALL)) -RESOURCES_FILES_ALL := $(filter-out %.in, $(RESOURCES_FILES_ALL)) -RESOURCES_FILES ?= $(RESOURCES_FILES_ALL) - -resources: resources-po resources-cp - -resources-po: $(PO_FILES:%.po=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%.qm) - -resources-cp: $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%) - -$(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%): $(top_builddir)/share/salome/resources/$(MODULE_NAME)/% : % - cp -fr $< $@; - -# Make installation directories if they don't exist. -$(libdir) $(includedir) $(bindir) $(datadir) $(idldir) $(sharedpydir): - $(INSTALL) -d $@ && chmod 755 $@ - -# Install the library, the public header files, and programs. -install: $(LIB) $(BIN) $(TEST_PROGS) $(libdir) $(includedir) $(bindir) $(datadir) $(idldir) install-python install-sharedpyqt install-qm install-res - @for f in X $(LIB); do \ - if test $$f != X; then \ - ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \ - fi; \ - done - @if ! test -z $(LIB_SWIG) ; then \ - (cd $(libdir); ln -sf $(patsubst %.so, %cmodule.so, $(LIB_SWIG)) _$(LIB_SWIG) || true); \ - fi; - @for f in X $(BIN); do \ - if test $$f != X; then \ - ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \ - fi; \ - done -# Install tests programmes in bindir - @for f in X $(TEST_PROGS); do \ - if test $$f != X; then \ - ($(LT_INSTALL_PROG) $$f $(bindir)/. || exit 1); \ - fi; \ - done -# Install exported includes in includedir - @for f in X $(EXPORT_HEADERS:%=$(srcdir)/%); do \ - if test $$f != X; then \ - (cp -p -f $$f $(includedir) || exit 1); \ - fi; \ - done - -# Install python script in $(bindir) -install-python: $(bindir) $(EXPORT_PYSCRIPTS:%=install-%) $(UI_PY_FILES:%=install-%) - -$(UI_PY_FILES:%=install-%): install-%: % - $(INSTALL_PROGRAM) $< $(bindir)/. - -$(EXPORT_PYSCRIPTS:%=install-%): install-%: % - $(INSTALL_PROGRAM) $< $(bindir)/. - -#install-python: $(bindir) $(EXPORT_PYSCRIPTS) -# @for f in X $(EXPORT_PYSCRIPTS); do \ -# if test $$f != X; then \ -# ($(INSTALL_PROGRAM) $$f $(bindir)/. || exit 1); \ -# fi; \ -# done - -# Install pyqt script in $(install-sharedpyqt) -install-sharedpyqt: $(sharedpydir) $(EXPORT_SHAREDPYSCRIPTS:%=install-%) - -$(EXPORT_SHAREDPYSCRIPTS:%=install-%): install-%: % - $(INSTALL_PROGRAM) $< $(sharedpydir)/. - - -# generic rule to install .qm files : -install-qm: resources - $(INSTALL) -d $(datadir)/resources/$(MODULE_NAME) - @for f in X $(PO_FILES:%.po=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%.qm); do \ - if test $$f != X; then \ - ($(INSTALL_DATA) $$f $(datadir)/resources/$(MODULE_NAME)/. || exit 1); \ - fi; \ - done - -# generic rule to install resources files (png, ini ...): -install-res: resources - $(INSTALL) -d $(datadir)/resources/$(MODULE_NAME) - @for f in X $(RESOURCES_FILES:%=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%); do \ - if test $$f != X; then \ - ($(INSTALL_DATA) $$f $(datadir)/resources/$(MODULE_NAME)/. || exit 1); \ - fi; \ - done - -# Removes those things that `make install' (would have) installed. -uninstall: - @if test "X$(LIB)" != X; then \ - for f in $(LIB); do \ - $(LT_UNINSTALL) $(libdir)/$$f; \ - done; \ - fi - @if test "X$(BIN)" != X; then \ - for f in $(BIN); do \ - $(LT_UNINSTALL) $(bindir)/$$f; \ - done; \ - fi - @for f in X $(TEST_PROGS); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(bindir)/$$f; \ - fi; \ - done -# Uninstall exported includes in includedir - @for f in X $(EXPORT_HEADERS); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(includedir)/$$f; \ - fi; \ - done -# Uninstall python script in $(bindir) - @for f in X $(EXPORT_PYSCRIPTS); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(bindir)/$$f ; \ - fi; \ - done - -# Uninstall python script in $(bindir) - @for f in X $(UI_PY_FILES); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(bindir)/$$f ; \ - fi; \ - done - -# Uninstall pyqt script in $(sharedpydir) - @for f in X $(EXPORT_SHAREDPYSCRIPTS); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(sharedpydir)/$$f ; \ - fi; \ - done - -# Uninstall qm files - @for f in X $(PO_FILES:%.po=%.qm); do \ - if test $$f != X; then \ - $(LT_UNINSTALL) $(datadir)/resources/$(MODULE_NAME)/$$f ; \ - fi; \ - done - -# remove all dependencies files -# -cleandep: - -$(RM) .dep* - -# Removes temporary files without removing the final target files. That is, -# remove things like object files but not libraries or executables. -# -mostlyclean: cleandep - -$(RM) $(LIB_OBJ) $(LIB_OBJ:.lo=.o) - -$(RM) $(BIN_OBJ) $(BIN:%=%.o) - -$(RM) $(TEST_OBJ) $(TEST_OBJ:.lo=.o) - -$(RM) $(PROG_OBJ) $(PROG_OBJ:.lo=.o) $(MOSTLYCLEAN) - -# Like `mostlyclean' except it also removes the final targets: things like -# libraries and executables. This target doesn't remove any file that -# is part of the SALOME distribution. -# -clean: mostlyclean - -$(RM) $(LIB) $(TEST_PROGS) $(BIN) $(CLEAN) - -$(RM) TAGS *~ *# core *.core - -$(RM) -r .libs - -$(RM) $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB) - -$(RM) $(patsubst %,$(top_builddir)/bin/salome/%, $(BIN)) - -$(RM) $(patsubst %.la, %.so, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB)) - -$(RM) $(patsubst %.la, %.a, $(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome/$(LIB)) -# remove idl generated files (sources) - -$(RM) $(LIB_CLIENT_SRC) $(LIB_SERVER_SRC) $(BIN_CLIENT_SRC) $(BIN_SERVER_SRC) -# remove idl generated files (headers) - -$(RM) $(LIB_CLIENT_IDL:%.idl=%$(IDL_CLN_H)) $(LIB_SERVER_IDL:%.idl=%$(IDL_SRV_H)) - -$(RM) $(BIN_CLIENT_IDL:%.idl=%$(IDL_CLN_H)) $(BIN_SERVER_IDL:%.idl=%$(IDL_SRV_H)) - -$(RM) $(LIB_MOC_SRC) $(BIN_MOC_SRC) - -$(RM) $(LIB_SWIG_SRC) - -# Like `clean' except it also removes files that were created by running -# configure. If you've unpacked the source and built without creating -# any other files, then `make distclean' will leave only the files that were -# in the distribution. -# -distclean: clean - #remove qm file ! - -$(RM) $(PO_FILES:%.po=%.qm) $(PO_FILES:%.po=$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%.qm) - #remove include files - -$(RM) $(DEST_HEADERS) - -$(RM) $(DISTCLEAN) *.bak *.old *.new .dep* - @if test -f $(srcdir)/Makefile.in; then \ - (@SETX@; $(RM) Makefile); \ - fi - - -#implicits rules -.cc.o: - $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< - -.cc.lo: - $(LT) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< - -.cxx.o: - $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< - -.cxx.lo: - $(LT) --mode=compile $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< - -.c.o: - $(CC) $(CFLAGS) $(CPPFLAGS) -c $< - -.c.lo: - $(LT_COMPILE) $(CFLAGS) $(CPPFLAGS) -c $< - -.f.o: - $(FC) $(FFLAGS) -c $< -o $@ - -.f.lo: - $(LT) --mode=compile $(FC) $(FFLAGS) -c $< - -.ui.h: - $(UIC) -o $@ $< - -.ui.cxx: - $(UIC) -o $@ -i $*.h $< - -#pattern rules -%_moc.cxx : %.h - $(MOC) $< -o $@ - -%_wrap.cxx : %.i - $(SWIG) $(SWIG_FLAGS) -o $@ $< - -$(top_builddir)/share/salome/resources/$(MODULE_NAME)/%.qm: %.po - $(MSG2QM) $< $@ ; \ - -#------------------------------------------------------------------------------ -# The following section of this makefile contains dependencies between the -# source files and the header files. If GNU make and GCC are being used then -# the dependencies are in the form of rules that cause the information to -# be kept updated automatically. Otherwise the dependencies are listed -# explicitly and come from the `.distdep' files in the various directories. -# These files are part of the distribution and are generated automatically on -# GNU/GCC systems. -#------------------------------------------------------------------------------ - -@DEPEND@ diff --git a/adm_local/unix/make_omniorb.in b/adm_local/unix/make_omniorb.in deleted file mode 100644 index b65865eac..000000000 --- a/adm_local/unix/make_omniorb.in +++ /dev/null @@ -1,50 +0,0 @@ -#======================================================================= -# Begin specific part to omniorb -# (include from file adm/unix/make_omniorb generated by -# adm/unix/make_omniorb.in) -#======================================================================= -# -* Makefile *- -# -# - -# Client and server object are the same with omniorb -# There are one header file and one source file generate - -#IDLOBJ=$(IDLSRC:%.idl=%$(IDL_CLN_OBJ)) - -# dependancies between idl and it's generated files -%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${KERNEL_ROOT_DIR}/idl/salome/%.idl - $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $< - -%$(OMNIORB_IDL_CLN_CXX) %$(OMNIORB_IDL_CLN_H): ${top_srcdir}/idl/%.idl - $(OMNIORB_IDL) $(IDLCXXFLAGS) $(OMNIORB_IDLCXXFLAGS) $< - -# dependncies between idl files -depend_idl: .depidl - -# we use cpp to generate dependencies between idl files. -# we change cpp output to keep only idl file and transform it to get a suitable rule -.depidl: $(IDL_FILES) - @touch $@ - @for dep in $? dummy; do \ - if [ $$dep != "dummy" ]; then \ - echo Building dependencies for $$dep; \ - basedep=`basename $$dep .idl`; \ - header="$$basedep"$(IDL_CLN_H); \ - sed '\%^'"$$header"':%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \ - $(CPP) $(C_DEPEND_FLAG) -I$(srcdir) $$dep 2>/dev/null | \ - sed `echo "s%$$basedep\\.idl%$$header:%g"` | \ - sed 's% $(srcdir)/% %g' | \ - sed 's% $(top_srcdir)/% %g' | \ - sed 's% $(top_builddir)/% %g' | \ - sed 's%^.*:\.o: *%%' | sed 's%^ *\\ *%%'| sed 's%^ *\(.*\):%\1:%' | \ - sed 's/\.idl/$(IDL_CLN_H)/' >>$@; \ - echo '' >>$@; \ - fi; \ - done ; - --include .depidl - -#======================================================================= -# End specific part to omniorb -#======================================================================= diff --git a/bin/VERSION.in b/bin/VERSION.in deleted file mode 100755 index 1582d527a..000000000 --- a/bin/VERSION.in +++ /dev/null @@ -1 +0,0 @@ -THIS IS SALOME - SALOMEGUI VERSION: @VERSION@ diff --git a/bin/runLightSalome.csh b/bin/runLightSalome.csh deleted file mode 100755 index 3a751e993..000000000 --- a/bin/runLightSalome.csh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/csh -f - -# this variable necessary for loading .ini or .xml file -if ( ! $?LightAppConfig ) setenv LightAppConfig ${GUI_ROOT_DIR}/share/salome/resources/gui -if ( ! $?LightAppResources ) setenv LightAppResources ${GUI_ROOT_DIR}/share/salome/resources/gui - -SUITApp LightApp -style salome $* & diff --git a/bin/runLightSalome.sh b/bin/runLightSalome.sh deleted file mode 100755 index df19ca7ba..000000000 --- a/bin/runLightSalome.sh +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# -#!/bin/bash -f - -# this variable necessary for loading .ini or .xml file -if [ -z "$LightAppConfig" ] ; then - export LightAppConfig=${GUI_ROOT_DIR}/share/salome/resources/gui -fi -if [ -z "$LightAppResources" ] ; then - export LightAppResources=${GUI_ROOT_DIR}/share/salome/resources/gui -fi - -SUITApp LightApp -style salome $* & diff --git a/build_configure b/build_configure deleted file mode 100755 index b36fde32a..000000000 --- a/build_configure +++ /dev/null @@ -1,215 +0,0 @@ -#!/bin/bash - -# -# Tool for updating list of .in file for the SALOME project -# and regenerating configure script -# -# Author : Marc Tajchman - CEA -# Date : 10/10/2002 -# $Header$ -# - -ORIG_DIR=`pwd` -CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"` - -######################################################################## -# Test if the KERNEL_ROOT_DIR is set correctly -if test ! -d "${KERNEL_ROOT_DIR}"; then - echo "failed : KERNEL_ROOT_DIR variable is not correct !" - exit -fi - -# Test if the KERNEL_SRC is set correctly - -#if test ! -d "${KERNEL_SRC}"; then -# echo "failed : KERNEL_SRC variable is not correct !" -# exit -#fi -######################################################################## -# find_in - utility function -# -# usage : -# find_in directory filename -# -# Finds files following the *.in pattern, recursively in the -# directory (first argument). -# Results are appended into the file (second argument) -# -# Difference from the standard unix find is that files are tested -# before directories -# - -find_in() -{ - local i - local f=$2 - -# if the first argument is not a directory, returns - - if [ ! -d "$1" ] ; then - return - fi - -# dont look in the CVS directories - - case $1 in - */CVS) return ;; - */adm_local/*) return ;; - *) ;; - esac - -# for each regular file contained in the directory -# test if it's a .in file - - for i in "$1"/* - do - if [ -f "$i" ] ; then - case $i in - *.in) echo " "$i" \\" >> $f;; - *) ;; - esac - fi - done - -# for each subdirectory of the first argument, proceeds recursively - - for i in "$1"/* - do - if [ -d "$i" ] ; then - find_in "$i" "$f" - fi - done -} - - -####################################################################### -# Generate list of .in files (Makefile.in, config.h.in, etc) -# appending it in file configure.in - -cd ${CONF_DIR} -ABS_CONF_DIR=`pwd` - -# -# Common part of the configure.in file -# -chmod u+w configure.in.base -if ! \cp -f configure.in.base configure.in_tmp1 -then - echo - echo "error : can't create files in" ${CONF_DIR} - echo "aborting ..." - chmod u-w configure.in.base - exit -fi -chmod u-w configure.in.base - -if [ -e "${CONF_DIR}/salome_adm" ] ; then - \rm -rf ${CONF_DIR}/salome_adm -fi - -# make a link allowing AC_OUTPUT to find the salome_adm/.../*.in files -echo "" >> configure.in_tmp1 -echo 'ln -fs ${KERNEL_ROOT_DIR}/salome_adm ${ROOT_SRCDIR}/.' >> configure.in_tmp1 - -echo "" >> configure.in_tmp1 -echo "AC_OUTPUT([ \\" >> configure.in_tmp1 - -# -# List of .in files in the adm/unix directory -# These files MUST be on top of AC_OUTPUT list so we -# put them "manually" -# - -echo " ./salome_adm/unix/SALOMEconfig.h \\" >> configure.in_tmp1 -echo " ./salome_adm/unix/F77config.h \\" >> configure.in_tmp1 -echo " ./salome_adm/unix/sstream \\" >> configure.in_tmp1 -echo " ./salome_adm/unix/depend \\" >> configure.in_tmp1 -echo " ./adm_local/unix/make_omniorb:${ABS_CONF_DIR}/adm_local/unix/make_omniorb.in \\" >> configure.in_tmp1 -echo " ./salome_adm/unix/envScript \\" >> configure.in_tmp1 -echo " ./adm_local/unix/make_commence:${ABS_CONF_DIR}/adm_local/unix/make_commence.in \\" >> configure.in_tmp1 -echo " ./adm_local/unix/make_conclude:${ABS_CONF_DIR}/adm_local/unix/make_conclude.in \\" >> configure.in_tmp1 -echo " ./salome_adm/unix/make_module \\" >> configure.in_tmp1 - -\rm -f configure.in_tmp2 configure.in_tmp3 -touch configure.in_tmp2 -find_in . configure.in_tmp2 -sed -e '/^...salome_adm/d' configure.in_tmp2 > configure.in_tmp3 -sed -e '/^...adm_local.unix.make_omniorb/d' configure.in_tmp3 > configure.in_tmp2 -sed -e '/^...adm_local.unix.make_commence/d' configure.in_tmp2 > configure.in_tmp3 -sed -e '/configure.in/d' configure.in_tmp3 > configure.in_tmp2 -sed -e 's/.in / /' configure.in_tmp2 >> configure.in_tmp1 -#sed '/^.salome_adm/d' configure.in_tmp2 > configure.in_tmp3 -#sed '/configure.in/d' configure.in_tmp3 > configure.in_tmp2 -#sed 's/.in / /' configure.in_tmp2 >> configure.in_tmp1 - -echo "])" >> configure.in_tmp1 - -# delete the link created for AC_OUTPUT -echo "" >> configure.in_tmp1 -#echo 'rm -f ${ROOT_SRCDIR}/salome_adm' >> configure.in_tmp1 -\mv configure.in_tmp1 configure.in_new -\rm -f configure.in_tmp2 configure.in_tmp3 - - -######################################################################## -# Create new (or replace old) configure.in file -# Print a message if the file is write protected -# - -echo -if test ! -f configure.in -then - echo -n "Creating new file 'configure.in' ... " - if \mv configure.in_new configure.in >& /dev/null - then - echo "done" - else - echo "error, check your file permissions" - fi -else - echo -n "Updating 'configure.in' file ... " - if ! \cp configure.in configure.in_old >& /dev/null - then - echo - echo - echo "Can't backup previous configure.in" - echo -n "Continue (you will not be able to revert) - (Y/N) ? " - read R - case "x$R" in - xn*) exit;; - xN*) exit;; - esac - echo - echo -n " " - fi - if \cp configure.in_new configure.in >& /dev/null - then - echo "done" - else - echo - echo "error, can't update previous configure.in" - fi -fi - -######################################################################## -# Use autoconf to rebuild the configure script -# - -if test -f configure -then - echo -n "Updating 'configure' script ... " -else - echo -n "Creating 'configure' script ... " -fi - -aclocal -I adm_local/unix/config_files -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files -if autoconf -then - echo "done" -else - echo "failed (check file permissions and/or user quotas ...)" -fi - -cd ${ORIG_DIR} - -echo diff --git a/configure.in.base b/configure.in.base deleted file mode 100644 index b9e3aa93a..000000000 --- a/configure.in.base +++ /dev/null @@ -1,595 +0,0 @@ -# -# PLEASE DO NOT MODIFY configure.in FILE -# -# ALL CHANGES WILL BE DISCARDED BY THE NEXT -# build_configure COMMAND -# -# CHANGES MUST BE MADE IN configure.in.base FILE -# -# -# Author : Marc Tajchman (CEA) -# Date : 28/06/2001 -# Modified by : Patrick GOLDBRONN (CEA) -# Modified by : Marc Tajchman (CEA) -# -# Created from configure.in.base -# - - -AC_INIT(src) -AC_CONFIG_AUX_DIR(${KERNEL_ROOT_DIR}/salome_adm/unix/config_files) -AC_CANONICAL_HOST - -PACKAGE=salome -AC_SUBST(PACKAGE) - -VERSION=3.2.2 -XVERSION=0x030202 -AC_SUBST(VERSION) -AC_SUBST(XVERSION) - -# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.) -MODULE_NAME=gui -AC_SUBST(MODULE_NAME) - -######################################################################## -# Check --disable-corba-gen and other --disable-* options - -GUI_DISABLE_CORBA="no" -DISABLE_PYCONSOLE="no" -DISABLE_GLVIEWER="no" -DISABLE_PLOT2DVIEWER="no" -DISABLE_SUPERVGRAPHVIEWER="no" -DISABLE_OCCVIEWER="no" -DISABLE_VTKVIEWER="no" -DISABLE_SALOMEOBJECT="no" - -for option -do - case $option in - -disable-corba-gen=yes | --disable-corba-gen=yes | -disable-corba-gen | --disable-corba-gen) - GUI_DISABLE_CORBA="yes";; - -disable-pyConsole=yes | --disable-pyConsole=yes | -disable-pyConsole | --disable-pyConsole) - DISABLE_PYCONSOLE="yes";; - -disable-glViewer=yes | --disable-glViewer=yes | -disable-glViewer | --disable-glViewer) - DISABLE_GLVIEWER="yes";; - -disable-plot2dViewer=yes | --disable-plot2dViewer=yes | -disable-plot2dViewer | --disable-plot2dViewer) - DISABLE_PLOT2DVIEWER="yes";; - -disable-supervGraphViewer=yes | --disable-supervGraphViewer=yes | \ - -disable-supervGraphViewer | --disable-supervGraphViewer) - DISABLE_SUPERVGRAPHVIEWER="yes";; - -disable-occViewer=yes | --disable-occViewer=yes | -disable-occViewer | --disable-occViewer) - DISABLE_OCCVIEWER="yes";; - -disable-vtkViewer=yes | --disable-vtkViewer=yes | -disable-vtkViewer | --disable-vtkViewer) - DISABLE_VTKVIEWER="yes";; - -disable-salomeObject=yes | --disable-salomeObject=yes | -disable-salomeObject | --disable-salomeObject) - DISABLE_SALOMEOBJECT="yes";; - esac -done - -dnl -dnl Initialize source and build root directories -dnl - -ROOT_BUILDDIR=`pwd` -ROOT_SRCDIR=`echo $0 | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"` -cd $ROOT_SRCDIR -ROOT_SRCDIR=`pwd` -cd $ROOT_BUILDDIR - -AC_SUBST(ROOT_SRCDIR) -AC_SUBST(ROOT_BUILDDIR) - -echo -echo Source root directory : $ROOT_SRCDIR -echo Build root directory : $ROOT_BUILDDIR -echo -echo - -if test -z "$AR"; then - AC_CHECK_PROGS(AR,ar xar,:,$PATH) -fi -AC_SUBST(AR) - -dnl Export the AR macro so that it will be placed in the libtool file -dnl correctly. -export AR - -echo -echo --------------------------------------------- -echo testing make -echo --------------------------------------------- -echo - -AC_PROG_MAKE_SET -AC_PROG_INSTALL -dnl -dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques ! - -AC_ENABLE_DEBUG(yes) -AC_DISABLE_PRODUCTION - -echo --------------------------------------------- -echo testing libtool -echo --------------------------------------------- - -dnl first, we set static to no! -dnl if we want it, use --enable-static -AC_ENABLE_STATIC(no) - -AC_LIBTOOL_DLOPEN -AC_PROG_LIBTOOL - -dnl Fix up the INSTALL macro if it s a relative path. We want the -dnl full-path to the binary instead. -case "$INSTALL" in - *install-sh*) - INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh - ;; -esac - -echo -echo --------------------------------------------- -echo testing C/C++ -echo --------------------------------------------- -echo - -cc_ok=no -dnl inutil car libtool -dnl AC_PROG_CC -AC_PROG_CXX -AC_CXX_WARNINGS -AC_CXX_TEMPLATE_OPTIONS -AC_DEPEND_FLAG -# AC_CC_WARNINGS([ansi]) -cc_ok=yes - -dnl Library libdl : -AC_CHECK_LIB(dl,dlopen) - -dnl add library libm : -AC_CHECK_LIB(m,ceil) - -dnl -dnl Well we use sstream which is not in gcc pre-2.95.3 -dnl We must test if it exists. If not, add it in include ! -dnl - -AC_CXX_HAVE_SSTREAM - -dnl -dnl --------------------------------------------- -dnl testing MPICH -dnl --------------------------------------------- -dnl - -CHECK_MPICH - -echo -echo --------------------------------------------- -echo testing LEX \& YACC -echo --------------------------------------------- -echo - -lex_yacc_ok=no -AC_PROG_YACC -AC_PROG_LEX -lex_yacc_ok=yes - -echo -echo --------------------------------------------- -echo testing python -echo --------------------------------------------- -echo - -CHECK_PYTHON - -dnl echo -dnl echo --------------------------------------------- -dnl echo testing java -dnl echo --------------------------------------------- -dnl echo - -dnl CHECK_JAVA - -echo -echo --------------------------------------------- -echo Testing Disable Corba -echo --------------------------------------------- -echo - -CHECK_DISABLE_CORBA -echo "GUI_DISABLE_CORBA = "$GUI_DISABLE_CORBA - -if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then - -echo -echo --------------------------------------------- -echo testing swig -echo --------------------------------------------- -echo - -CHECK_SWIG -fi - -echo -echo --------------------------------------------- -echo testing threads -echo --------------------------------------------- -echo - -ENABLE_PTHREADS - -if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then -echo -echo --------------------------------------------- -echo testing omniORB -echo --------------------------------------------- -echo - -CHECK_OMNIORB - -dnl echo -dnl echo --------------------------------------------- -dnl echo testing mico -dnl echo --------------------------------------------- -dnl echo - -dnl CHECK_MICO - -echo -echo --------------------------------------------- -echo default ORB : omniORB -echo --------------------------------------------- -echo - -DEFAULT_ORB=omniORB - -echo -echo --------------------------------------------- -echo testing Corba -echo --------------------------------------------- -echo - -CHECK_CORBA - -AC_SUBST_FILE(CORBA) -corba=make_$ORB -CORBA=adm_local/unix/$corba - -fi -echo -echo --------------------------------------------- -echo testing openGL -echo --------------------------------------------- -echo - -CHECK_OPENGL - -echo -echo --------------------------------------------- -echo testing QT -echo --------------------------------------------- -echo - -CHECK_QT - -echo -echo --------------------------------------------- -echo testing msg2qm -echo --------------------------------------------- -echo - -CHECK_MSG2QM - -echo -echo --------------------------------------------- -echo testing VTK -echo --------------------------------------------- -echo - -CHECK_VTK - -echo -echo --------------------------------------------- -echo testing HDF5 -echo --------------------------------------------- -echo - -CHECK_HDF5 - -echo -echo --------------------------------------------- -echo BOOST Library -echo --------------------------------------------- -echo - -CHECK_BOOST - -echo -echo --------------------------------------------- -echo Testing OpenCascade -echo --------------------------------------------- -echo - -CHECK_CAS - -echo -echo --------------------------------------------- -echo Testing sip -echo --------------------------------------------- -echo - -CHECK_SIP - -echo -echo --------------------------------------------- -echo Testing pyqt -echo --------------------------------------------- -echo - -CHECK_PYQT - -echo -echo --------------------------------------------- -echo Testing qwt -echo --------------------------------------------- -echo - -CHECK_QWT - -echo -echo --------------------------------------------- -echo Testing PyConsole -echo --------------------------------------------- -echo - -CHECK_PYCONSOLE -echo "DISABLE_PYCONSOLE = "$DISABLE_PYCONSOLE - -echo -echo --------------------------------------------- -echo Testing GlViewer -echo --------------------------------------------- -echo - -CHECK_GLVIEWER -echo "DISABLE_GLVIEWER = "$DISABLE_GLVIEWER - -echo -echo --------------------------------------------- -echo Testing Plot2dViewer -echo --------------------------------------------- -echo - -CHECK_PLOT2DVIEWER -echo "DISABLE_PLOT2DVIEWER = "$DISABLE_PLOT2DVIEWER - -echo -echo --------------------------------------------- -echo Testing SupervGraphViewer -echo --------------------------------------------- -echo - -CHECK_SUPERVGRAPHVIEWER -echo "DISABLE_SUPERVGRAPHVIEWER = "$DISABLE_SUPERVGRAPHVIEWER - -echo -echo --------------------------------------------- -echo Testing OCCViewer -echo --------------------------------------------- -echo - -CHECK_OCCVIEWER -echo "DISABLE_OCCVIEWER = "$DISABLE_OCCVIEWER - -echo -echo --------------------------------------------- -echo Testing VTKViewer -echo --------------------------------------------- -echo - -CHECK_VTKVIEWER -echo "DISABLE_VTKVIEWER = "$DISABLE_VTKVIEWER - -echo -echo --------------------------------------------- -echo Testing SalomeObject -echo --------------------------------------------- -echo - -CHECK_SALOMEOBJECT -echo "DISABLE_SALOMEOBJECT = "$DISABLE_SALOMEOBJECT - -if test "x${GUI_DISABLE_CORBA}" != "xyes" ; then - if test "x${DISABLE_PYCONSOLE}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable PyConsole !" - exit - fi - if test "x${DISABLE_GLVIEWER}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable GlViewer !" - exit - fi - if test "x${DISABLE_PLOT2DVIEWER}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable Plot2dViewer !" - exit - fi - if test "x${DISABLE_SUPERVGRAPHVIEWER}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable SupervGraphViewer !" - exit - fi - if test "x${DISABLE_OCCVIEWER}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable OCCViewer !" - exit - fi - if test "x${DISABLE_VTKVIEWER}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable VTKViewer !" - exit - fi - if test "x${DISABLE_SALOMEOBJECT}" == "xyes" ; then - echo "failed : for full configuration of GUI module necessary enable SalomeObject !" - exit - fi -fi - -echo -echo --------------------------------------------- -echo Testing html generators -echo --------------------------------------------- -echo - -CHECK_HTML_GENERATORS - -echo -echo --------------------------------------------- -echo Testing Kernel -echo --------------------------------------------- -echo -CHECK_KERNEL - -echo -echo --------------------------------------------- -echo Testing CPPUNIT only required for unit testing -echo --------------------------------------------- -echo - -CHECK_CPPUNIT - -echo -echo --------------------------------------------- -echo Summary -echo --------------------------------------------- -echo - -if test "$GUI_DISABLE_CORBA" == "yes"; then - echo "Configure (without Corba)" -else - echo Configure -fi - - -if test "$GUI_DISABLE_CORBA" != "yes"; then -variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok msg2qm_ok vtk_ok hdf5_ok omniORB_ok boost_ok occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok" -else -variables="cc_ok lex_yacc_ok python_ok threads_ok OpenGL_ok qt_ok msg2qm_ok vtk_ok hdf5_ok boost_ok occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok" -fi - -for var in $variables -do - printf " %10s : " `echo \$var | sed -e "s,_ok,,"` - eval echo \$$var -done - -echo "---Optional:" -variables="cppunit_ok" - -for var in $variables -do - eval toto=\$$var - if test x$toto != "x"; then - printf " %10s : " `echo \$var | sed -e "s,_ok,,"` - eval echo \$$var - fi -done - -if test "$GUI_DISABLE_CORBA" != "yes"; then -echo -echo "Default ORB : $DEFAULT_ORB" -echo -fi -dnl generals files which could be included in every makefile - -AC_SUBST_FILE(COMMENCE) COMMENCE=adm_local/unix/make_commence -AC_SUBST_FILE(CONCLUDE) CONCLUDE=adm_local/unix/make_conclude -AC_SUBST_FILE(MODULE) MODULE=salome_adm/unix/make_module - -dnl les dependences -AC_SUBST_FILE(DEPEND) DEPEND=salome_adm/unix/depend - -dnl We don t need to say when we re entering directories if we re using -dnl GNU make becuase make does it for us. -if test "X$GMAKE" = "Xyes"; then - AC_SUBST(SETX) SETX=":" -else - AC_SUBST(SETX) SETX="set -x" -fi - -# make other build directories -if test "$GUI_DISABLE_CORBA" == "yes"; then - dir_variables="salome_adm adm_local doc bin/salome include/salome lib${LIB_LOCATION_SUFFIX}/salome share/salome/resources/${MODULE_NAME} idl" -else - dir_variables="salome_adm adm_local doc bin/salome include/salome lib${LIB_LOCATION_SUFFIX}/salome share/salome/resources/${MODULE_NAME}" -fi - -for rep in $dir_variables -do -# if test ! -d $rep ; then -# eval mkdir $rep -# fi - $INSTALL -d $rep -done - -echo -echo --------------------------------------------- -echo copying resource files, shell scripts, and -echo xml files -echo --------------------------------------------- -echo - - -dnl copy resources directories - -#for i in `find $ROOT_SRCDIR -name 'resources' -print` -#do -# local_res=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"` -# local_res_dir=`echo $local_res | sed -e "s,[[^/]]*$,,;s,/$,,;s,^$,.,"` -# mkdir -p $local_res_dir -# cd $local_res_dir -# ln -fs $i -# echo $local_res -# cd $ROOT_BUILDDIR -#done - -dnl copy shells and utilities contained in the bin directory -dnl excluding .in files (treated in AC-OUTPUT below) and CVS -dnl directory - -mkdir -p bin/salome -cd bin/salome - -for i in $ROOT_SRCDIR/bin/* -do - local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"` - case "$local_bin" in - *.in | *~) ;; - ./bin/CVS | ./bin/salome) ;; - *) $INSTALL $i . ; echo $local_bin ;; - esac -done -cd $ROOT_BUILDDIR - -AC_SUBST_FILE(ENVSCRIPT) ENVSCRIPT=salome_adm/unix/envScript - -dnl copy xml files to the build tree (lib directory) -dnl pourquoi ???? - -#cd lib -#for i in `find $ROOT_SRCDIR -name "*.xml" -print` -#do -# ln -fs $i -# echo `echo $i | sed -e "s,$ROOT_SRCDIR,.,"` -#done -#cd $ROOT_BUILDDIR - - -echo -echo --------------------------------------------- -echo generating Makefiles and configure files -echo --------------------------------------------- -echo - -AC_OUTPUT_COMMANDS([ \ - chmod +x ./bin/* \ -]) - -## do not delete this line diff --git a/doc/Makefile.in b/doc/Makefile.in deleted file mode 100644 index 4a62d64a2..000000000 --- a/doc/Makefile.in +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -* Makefile *- -# -# Author : Patrick GOLDBRONN (CEA) -# Date : 30/11/2001 -# $Header$ -# -# source path -top_srcdir=@top_srcdir@ -top_builddir=.. -srcdir=@srcdir@ -VPATH=.:@srcdir@ - -SUBDIRS= salome - -@COMMENCE@ - -docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -usr_docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -dev_docs: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -clean: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -distclean: clean - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -install: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done - -uninstall: - @@SETX@; for d in $(SUBDIRS); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done diff --git a/doc/salome/Makefile.in b/doc/salome/Makefile.in deleted file mode 100644 index 72b2d98ad..000000000 --- a/doc/salome/Makefile.in +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright (C) 2005 CEA/DEN, EDF R&D, OPEN CASCADE, PRINCIPIA R&D -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# -* Makefile *- -# -# Author : Patrick GOLDBRONN (CEA) -# Date : 30/11/2001 -# $Header$ -# -# source path -top_srcdir=@top_srcdir@ -top_builddir=../.. -srcdir=@srcdir@ -VPATH=.:@srcdir@ - -SUBDIRS= tui gui -SUBDIRSTUI= tui -SUBDIRSGUI= gui - -@COMMENCE@ - -usr_docs: - @@SETX@; for d in $(SUBDIRSGUI); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done; \ - -docs: usr_docs - -dev_docs: - @@SETX@; for d in $(SUBDIRSTUI); do \ - (cd $$d && $(MAKE) $@) || exit 1; \ - done; \ - -clean: - @@SETX@; for d in $(SUBDIRS); do \ - if test -d $$d/GUI; then \ - (cd $$d && $(MAKE) $@) || exit 1; \ - fi; \ - done - -distclean: clean - @@SETX@; for d in $(SUBDIRS); do \ - if test -d $$d/GUI; then \ - (cd $$d && $(MAKE) $@) || exit 1; \ - fi; \ - done - -install: - $(MAKE) docs - @@SETX@; for d in $(SUBDIRS); do \ - if test -d $$d/GUI; then \ - (cd $$d && $(MAKE) $@); \ - fi; \ - done - -uninstall: - @@SETX@; for d in $(SUBDIRS); do \ - if test -d $$d/GUI; then \ - (cd $$d && $(MAKE) $@) || exit 1; \ - fi; \ - done; \ diff --git a/doc/salome/gui/GUI/closestudy.png b/doc/salome/gui/GUI/closestudy.png deleted file mode 100755 index fb7abe1dc..000000000 Binary files a/doc/salome/gui/GUI/closestudy.png and /dev/null differ diff --git a/doc/salome/gui/GUI/cshdat_robohelp.htm b/doc/salome/gui/GUI/cshdat_robohelp.htm deleted file mode 100755 index 366ca9f9b..000000000 --- a/doc/salome/gui/GUI/cshdat_robohelp.htm +++ /dev/null @@ -1,258 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/cshdat_webhelp.htm b/doc/salome/gui/GUI/cshdat_webhelp.htm deleted file mode 100755 index e0927b0bf..000000000 --- a/doc/salome/gui/GUI/cshdat_webhelp.htm +++ /dev/null @@ -1,251 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/default.css b/doc/salome/gui/GUI/default.css deleted file mode 100755 index de2e5d955..000000000 --- a/doc/salome/gui/GUI/default.css +++ /dev/null @@ -1,101 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:0pt; - margin-bottom:0pt; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; } -UL { - margin-top:0px; - margin-bottom:0px; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } diff --git a/doc/salome/gui/GUI/default_ns.css b/doc/salome/gui/GUI/default_ns.css deleted file mode 100755 index 3eeb3c496..000000000 --- a/doc/salome/gui/GUI/default_ns.css +++ /dev/null @@ -1,118 +0,0 @@ -BODY { - background-color:#ffffff; - font-family:"Times New Roman" , serif; } -H1 { - font-weight:bold; - font-size:24.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H1 { - font-weight:bold; - font-size:24.0pt; } -H2 { - font-weight:bold; - font-size:18.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H2 { - font-weight:bold; - font-size:18.0pt; } -H3 { - font-weight:bold; - font-size:14.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H3 { - font-weight:bold; - font-size:14.0pt; } -H4 { - font-weight:bold; - font-size:12.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H4 { - font-weight:bold; - font-size:12.0pt; } -H5 { - font-weight:bold; - font-size:10.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H5 { - font-weight:bold; - font-size:10.0pt; } -H6 { - font-weight:bold; - font-size:8.0pt; - font-family:"Times New Roman" , serif; } -LI.kadov-H6 { - font-weight:bold; - font-size:8.0pt; } -P { - font-size:12.0pt; - margin-top:1pt; - margin-bottom:1pt; - font-family:"Times New Roman" , serif; } -LI.kadov-P { - font-size:12.0pt; } -A.expandspot { - color:#008000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.expandtext { - font-style:italic; - font-weight:normal; - color:#ff0000; } -A.dropspot { - cursor:hand; - color:#008000; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -A.glossterm { - color:#800000; - cursor:hand; - font-style:italic; - x-text-underline:off; - x-text-overline:off; - x-text-line-through:off; - text-decoration:none none none; } -SPAN.glosstext { - font-style:italic; - font-weight:normal; - color:#0000ff; } -OL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -UL { - margin-top:0px; - margin-bottom:0px; - font-family:"Times New Roman" , serif; } -A:active { } -A:hover { - x-text-underline:Off; - text-decoration:none; } -A:link { - x-text-underline:Off; - text-decoration:none; } -A:visited { - x-text-underline:Off; - text-decoration:none; } -P.TODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -LI.kadov-P-CTODO { - font-weight:normal; - font-style:italic; - font-family:"Arial Black" , sans-serif; } -ol ol { - margin-top:1px; } -ol ul { - margin-top:1px; } -ul ul { - margin-top:1px; } -ul ol { - margin-top:1px; } diff --git a/doc/salome/gui/GUI/dump_study.htm b/doc/salome/gui/GUI/dump_study.htm deleted file mode 100755 index 660565d85..000000000 --- a/doc/salome/gui/GUI/dump_study.htm +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Dump Study - - - - - - - - - - - - - -

Working with Python Scripts

- -

SALOME Platform can be launched - in the batch mode, without Graphical User Interface, and operated with - the use of Python scripts, which can fulfill most of the necessary tasks, - however, the process of scripting is quite time consuming and rather error-prone. -

- -

This problem has been resolved by the possibility to automatically generate - a set of Python scripts from data created with SALOME GUI, which greatly - increases the productivity of using SALOME platform in the batch mode. - This mechanism can convert a SALOMEDS Study in one or several Python scripts, - which can be stored and imported later to re-create the content of the - original study. The first script is a SALOMEDS document, which re-creates - the SALOMEDS Study, adds the stored Salome components to the SALOMEDS - and automatically calls Python scripts of the second type containing component - specific Python function calls. This architecture gives great flexibility - in manual modification of the generated scripts because you can modify - only one of the component specific Python scripts without touching others, - thus avoiding expert knowledge of Python API of unused components.

- -

 

- -

To Dump a  SALOME - Study in one or several scripts, in the main menu select File - --> Dump study

- -

The following dialog box allowing to browse for the location and define - the name for a Python file will appear:

- -

 

- -

- -

 

- -
    - -
  • Publish - in study - if checked in, the component objects created by Python - commands will be published in the created Study when the script is played, - otherwise the objects will not be published in the Study.

  • - -
  • Save - GUI state - if checked in, the current application layout will - be saved in the Python file.  

  • -
- -

 

- -

To - confirm your choice click Save.

- -

 

- -

Reversibly it is possible to load a saved - Python Script selecting in the main menu File - -> Load Script.

- -

 

- -

- -

 

- -

To - confirm your choice click Open.

- -

 

- - - - diff --git a/doc/salome/gui/GUI/ehelp.xml b/doc/salome/gui/GUI/ehelp.xml deleted file mode 100755 index 9884c422c..000000000 --- a/doc/salome/gui/GUI/ehelp.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - WebSearch - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/ehlpdhtm.js b/doc/salome/gui/GUI/ehlpdhtm.js deleted file mode 100755 index 6cfd2e463..000000000 --- a/doc/salome/gui/GUI/ehlpdhtm.js +++ /dev/null @@ -1,4239 +0,0 @@ -// eHelp® Corporation Dynamic HTML JavaScript -// Copyright© 1998-2003 eHelp® Corporation.All rights reserved. -// Version=4.82 - -// Warning:Do not modify this file.It is generated by RoboHELP® and changes will be overwritten. - -//// Segment Begin -- (JavaScript 1.0) - -/// Section Begin - General and relative topics(JavaScript 1.0) - -//{{HH_SYMBOL_SECTION -var HH_ChmFilename = ""; -var HH_WindowName = ""; -var HH_GlossaryFont = ""; -var HH_Glossary = ""; -var HH_Avenue = ""; -var HH_ActiveX = false; -//}}HH_SYMBOL_SECTION - -//Begin to support previous generic parameters -//Get the information about the browser. -var gstrBsAgent = navigator.userAgent.toLowerCase(); -var gnBsVer = parseInt(navigator.appVersion); - -var gbBsOpera = (gstrBsAgent.indexOf('opera') != -1); -var gbBsKonqueror = (gstrBsAgent.indexOf('konqueror') != -1); -var gbBsSafari = (gstrBsAgent.indexOf('safari') != -1); -var gbBsIE = (gstrBsAgent.indexOf('msie') != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; -var gbBsNS = (gstrBsAgent.indexOf('mozilla') != -1) && ((gstrBsAgent.indexOf('spoofer') == -1) && (gstrBsAgent.indexOf('compatible') == -1)) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari; - -var gbBsMac = (gstrBsAgent.indexOf('mac') != -1); -var gbBsWindows = ((gstrBsAgent.indexOf('win') != -1) || (gstrBsAgent.indexOf('16bit') != -1)); -var gbBsSunOS = (gstrBsAgent.indexOf("sunos") != -1); - -var gbBsIE3Before = ((gbBsIE) && (gnBsVer <= 2)); -var gbBsNS3Before = ((gbBsNS) && (gnBsVer <= 3)); - -var gbBsNS2 = ((gbBsNS) && (gnBsVer <= 2)); -var gbBsNS3 = ((gbBsNS) && (gnBsVer == 3)); -var gbBsIE300301 = ((gbBsIE) && (gnBsVer == 2) && ((gstrBsAgent.indexOf("3.00") != -1)||(gstrBsAgent.indexOf("3.0a") != -1)||(gstrBsAgent.indexOf("3.0b")!=-1)||(gstrBsAgent.indexOf("3.01")!=-1))); -var gbBsIE302 = ((gbBsIE) && (gnBsVer == 2) && (gstrBsAgent.indexOf("3.02") != -1)); - -var gbBsNS4 = ((gbBsNS) && (gnBsVer >= 4)); -var gbBsNS6 = ((gbBsNS) && (gnBsVer >= 5)); -var gbBsNS7 = false; - -var gbBsIE4 = ((gbBsIE) && (gnBsVer >= 4)); -var gbBsIE5 = false; -var gbBsIE55 = false; - -var gbBsOpera6 = false; -var gbBsOpera7 = false; - -var gbBsKonqueror3 = false; - - - -gbBsIE = (navigator.appName.indexOf("Microsoft") != -1) && !gbBsOpera && !gbBsKonqueror && !gbBsSafari;; -if (gbBsIE) -{ - if (parseInt(navigator.appVersion) >= 4) { - gbBsIE4 = true; - if (gbBsIE4) { - var nPos = gstrBsAgent.indexOf("msie"); - var strIEversion = gstrBsAgent.substring(nPos + 5); - var nVersion = parseFloat(strIEversion); - if (nVersion >= 5) - gbBsIE5 = true; - if (nVersion >= 5.5) - gbBsIE55 = true; - } - } -} -if (gbBsNS6) -{ - var nPos=gstrBsAgent.indexOf("gecko"); - if(nPos!=-1) - { - var nPos2=gstrBsAgent.indexOf("/", nPos); - if(nPos2!=-1) - { - var nVersion=parseFloat(gstrBsAgent.substring(nPos2+1)); - if (nVersion>=20020823) - gbBsNS7=true; - } - } -} -if (gbBsOpera) -{ - var nPos = gstrBsAgent.indexOf("opera"); - if(nPos!=-1) - { - var nVersion = parseFloat(gstrBsAgent.substring(nPos+6)); - if (nVersion >= 6) - { - gbBsOpera6=true; - if (nVersion >=7) - gbBsOpera7=true; - } - } -} -if (gbBsKonqueror) -{ - var nPos = gstrBsAgent.indexOf("konqueror"); - if(nPos!=-1) - { - var nVersion = parseFloat(gstrBsAgent.substring(nPos+10)); - if (nVersion >= 3) - { - gbBsKonqueror3=true; - } - } -} - -function insertAdjacentHTML(obj, where, htmlStr) -{ - if (gbBsIE || gbBsOpera7) - { - obj.insertAdjacentHTML(where, htmlStr); - } - else if (gbBsNS6 || gbBsSafari) - { - var r = obj.ownerDocument.createRange(); - r.setStartBefore(obj); - var parsedHTML = r.createContextualFragment(htmlStr); - - switch (where){ - case 'beforeBegin': - obj.parentNode.insertBefore(parsedHTML,obj); - break; - case 'afterBegin': - obj.insertBefore(parsedHTML,obj.firstChild); - break; - case 'beforeEnd': - obj.appendChild(parsedHTML); - break; - case 'afterEnd': - if (obj.nextSibling){ - obj.parentNode.insertBefore(parsedHTML,obj.nextSibling); - } else { - obj.parentNode.appendChild(parsedHTML); - } - break; - } - } -} - -// Utilities functions. -function BsscHasExtJs() -{ - if( gbBsIE3Before || gbBsNS3Before) - return false; - return true; -} - -// Register event handler -var gBsOnLoads = new Array(); // An array holds all the onload event handler. -var gBsOnClicks = new Array(); // An array holds all the onClick event handler. -var gBsOnUnLoads = new Array(); // An array holds all the OnUnLoad event handler. -var gBsOnMouseOvers = new Array(); // An array holds all the OnMouseOver event handler. -var gBsOnMouseOuts = new Array(); // An array holds all the OnMouseOut event handler. - -var gbOrignalOnMouseDown = null; - -function BsscRegisterOnLoad(funcHandler) -{ - var nLength = gBsOnLoads.length; - gBsOnLoads[nLength] = funcHandler; -} - -function BsscRegisterOnClick(funcHandler) -{ - var nLength = gBsOnClicks.length; - gBsOnClicks[nLength] = funcHandler; -} - -function BsscRegisterOnUnLoad(funcHandler) -{ - var nLength = gBsOnUnLoads.length; - gBsOnUnLoads[nLength] = funcHandler; -} - -function BsscRegisterOnMouseOver(funcHandler) -{ - var nLength = gBsOnMouseOvers.length; - gBsOnMouseOvers[nLength] = funcHandler; -} - -function BsscRegisterOnMouseOut(funcHandler) -{ - var nLength = gBsOnMouseOuts.length; - gBsOnMouseOuts[nLength] = funcHandler; -} - -function BsGeneralOnLoad() -{ - if (!gbBsIE4 && !gbBsNS4) - return; - - // Make everything visible in navigator - if (gbBsNS4 && !gbBsNS6) { - // Make some special effects items visible - for (var iLayer = 0; iLayer < document.layers.length; iLayer++) { - document.layers[iLayer].visibility = "show"; - document.layers[iLayer].left = 0; - } - } -} - -// If resize the netscape browser, need to reload it. -function BsReDo() -{ - if (innerWidth != origWidth || innerHeight != origHeight) - location.reload(); -} -// End of the local functions. - -// The following functions are used by the html files. -function BSSCOnLoad() -{ - if( !BsscHasExtJs() ) - return; - for (var nElement = gBsOnLoads.length - 1; nElement >= 0; nElement--) - gBsOnLoads[nElement](); -} - -function BSSCOnClick() -{ - if (!BsscHasExtJs()) return; - - for (var nElement = gBsOnClicks.length - 1; nElement >= 0; nElement--) - gBsOnClicks[nElement](); -} - -function BSSCOnUnload() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnUnLoads.length - 1; nElement >= 0; nElement--) - gBsOnUnLoads[nElement](); -} - -function BSSCOnMouseOver() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnMouseOvers.length - 1; nElement >= 0; nElement--) - gBsOnMouseOvers[nElement](); -} - -function BSSCOnMouseOut() -{ - if (!BsscHasExtJs()) return; - for (var nElement = gBsOnMouseOuts.length - 1; nElement >= 0; nElement--) - { - gBsOnMouseOuts[nElement](); - } -} -// End of invocation of the event handle functions. - -// Add the GereralOnLoad to the onload array. -if (typeof(BsscRegisterOnLoad) != "undefined") -{ - BsscRegisterOnLoad(BsGeneralOnLoad); -} -if (gbBsNS4&&!gbBsNS6) { - origWidth = innerWidth; - origHeight = innerHeight; - onresize = BsReDo; -} -//End to support previous generic parameters - -//Begin to support previous HHActiveX invoking -function BsHHActivateComponents() -{ - if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0]))) - { - var objBody = getElementsByTag(document,"BODY")[0]; - if( typeof(objBody) == "object" ) - { - insertAdjacentHTML(objBody, "beforeEnd", ''); - if (HHComponentActivator.object) - HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue); - } - } -} - -function BsHHActivXOnLoad() -{ - if( gbBsIE4 ) - BsHHActivateComponents(); -} - -if( typeof(BsscRegisterOnLoad) != "undefined" ) -{ - BsscRegisterOnLoad(BsHHActivXOnLoad); -} -//End to support previous HHActiveX invoking - -//Begin to support previous relative topics -//If webHelp needs Related Topics DHTMLcode, it's supposed to add it here -var gbPopupMenuTimeoutExpired = false; -var gbInPopupMenu = false; -var gbPopupMenuTopicList = null; -var gOlddocumentClick = null; - -////////////////////////////////////////////////////////////////////////////////////////// -// -// Popup Menu code -// -////////////////////////////////////////////////////////////////////////////////////////// - -var g_bIsPopupMenuInit = false; -function _WritePopupMenuLayer() -{ - if (!g_bIsPopupMenuInit) - { - if (gbBsNS4&&!gbBsNS6) { -//Do not try to write ininle styles for NS! NS can not handle it and will not stop downloading the html page... - document.write("
"); - } else{ - document.write(""); - if (!(gbBsNS4&&!gbBsNS6)) { - document.write(""); - } - } - g_bIsPopupMenuInit = true; - } -} - -//Seek for the bsscright frame -function _SeekFrameByName( cRoot, strName ) -{ - if( cRoot == null ) return null; - if( cRoot.frames == null ) return null; - if( cRoot.frames[strName] != null ) return cRoot.frames[strName]; - for (var i=0; i'; - } else { - strMenu += '' + gbPopupMenuTopicList[fn_arguments[i]].strTitle + ''; - } - strMenu += ''; - - if (isNaN(fn_arguments[i]) || (gbPopupMenuTopicList == null)) { - i += 2; - } else { - i += 1; - } - } - strMenu += ""; - - if (gbBsMac) { - // totally hack. because ie5 in mac need something. is one of them. mac is mad. - strMenu +="
"; - } - - var layerPopup = null; - var stylePopup = null; - var nEventX = 0; - var nEventY = 0; - var nWindowWidth = 0; - if (gbBsIE4 || gbBsOpera7) { - - layerPopup = getElement("PopupMenu"); - layerPopup.innerHTML = strMenu; - stylePopup = layerPopup.style; - - _BSPSGetClientSize(); - - // Get the position of the item causing the event (relative to its parent) - nEventX = window.event.clientX; - nEventY = window.event.clientY; - - if (nEventY + layerPopup.scrollHeight + 10 < gBsClientHeight) { - nEventY += document.body.scrollTop + 10; - } else { - nEventY = (document.body.scrollTop + gBsClientHeight) - layerPopup.scrollHeight - 20; - } - stylePopup.top = nEventY; - - var nPopupWidth = layerPopup.scrollWidth; - if (gbBsMac) { - nPopupWidth = 80; // we have no idea how to get the dynamic width of the popup. - } - if (nEventX + nPopupWidth + 20 > gBsClientWidth) { - if (gBsClientWidth - nPopupWidth < 5) { - stylePopup.left = 5; - } else { - stylePopup.left = gBsClientWidth - nPopupWidth - 5; - } - } else { - stylePopup.left = nEventX + document.body.scrollLeft + 20; - } - - stylePopup.visibility = "visible"; - if (!gOlddocumentClick && document.onclick) - gOlddocumentClick = document.onclick; - document.onclick = PopupMenu_HandleClick; - - } else if (gbBsNS6 || gbBsKonqueror3||gbBsSafari) { - layerPopup = getElement("PopupMenu"); - layerPopup.style.visibility = "hidden"; - - if (gbBsNS6) - { - var e = fn_arguments[0]; - nEventX = e.pageX; - nEventY = e.pageY; - } - else - { - nEventX = window.event.clientX; - nEventY = window.event.clientY; - } - _BSPSGetClientSize(); - layerPopup.innerHTML = strMenu; - - if (nEventY + layerPopup.offsetHeight + 20 < window.pageYOffset + gBsClientHeight) { - nEventY += 20; - } else { - nEventY = gBsClientHeight + window.pageYOffset - layerPopup.offsetHeight - 20; - } - - if (nEventX + layerPopup.offsetWidth + 20 > gBsClientWidth + window.pageXOffset) { - if (gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth < 20) { - nEventX = 5; - } else { - nEventX = gBsClientWidth + window.pageXOffset - layerPopup.offsetWidth - 20; - } - } else { - nEventX += 20; - } - layerPopup.style.top = nEventY; - layerPopup.style.left = nEventX; - // set again to avoid the stupid frash in netscape 6. - layerPopup.innerHTML = strMenu; - layerPopup.style.visibility = "visible"; - //window.captureEvents(Event.MOUSEDOWN); - if (!gOlddocumentClick && document.onclick) - gOlddocumentClick = document.onclick; - window.onclick = PopupMenu_HandleClick; - } - else if (gbBsNS4) { - layerPopup = document.layers.PopupMenu; - layerPopup.visibility = "hide"; - stylePopup = layerPopup.document; - stylePopup.write(strMenu); - stylePopup.close(); - var e = fn_arguments[0]; - nEventX = e.pageX; - nEventY = e.pageY; - _BSPSGetClientSize(); - if (nEventY + layerPopup.clip.height + 20 < window.pageYOffset + gBsClientHeight) { - nEventY += 20; - } else { - nEventY = gBsClientHeight + window.pageYOffset- layerPopup.clip.height - 20; - } - layerPopup.top = nEventY; - - if (nEventX + layerPopup.clip.width + 20 > gBsClientWidth + window.pageXOffset) { - if (gBsClientWidth + window.pageXOffset - layerPopup.clip.width < 20) { - nEventX = 5; - } else { - nEventX = gBsClientWidth + window.pageXOffset - layerPopup.clip.width - 20; - } - } else { - nEventX += 20; - } - - layerPopup.left = nEventX; - - layerPopup.visibility = "show"; - - window.captureEvents(Event.MOUSEDOWN); - if (!gOlddocumentClick && document.onmousedown) - gOlddocumentClick = document.onmousedown; - window.onmousedown = PopupMenu_HandleClick; - } - - window.gbInPopupMenu = true; - window.gbPopupMenuTimeoutExpired = false; - setTimeout("PopupMenu_Timeout();", 100); - return false; -} - -function PopupMenu_Timeout() -{ - window.gbPopupMenuTimeoutExpired = true; -} - -function PopupMenu_Over(e) -{ - if (gbBsIE4||gbBsOpera7) - e.srcElement.className = "PopupOver"; - else if (gbBsNS6) - e.target.parentNode.className = "PopupOver"; - return; -} - -function PopupMenu_Out(e) -{ - if (gbBsIE4||gbBsOpera7) - e.srcElement.className = "PopupNotOver"; - else if (gbBsNS6) - e.target.parentNode.className = "PopupNotOver"; - return; -} - -function PopupMenu_HandleClick(e) -{ - if (window.gbPopupMenuTimeoutExpired) { - window.gbInPopupMenu = false; - if (gbBsNS4 && !gbBsNS6) { - window.releaseEvents(Event.MOUSEDOWN); - } - - var layerPopup = null; - if (gbBsNS4&&!gbBsNS6) { - layerPopup = document.layers.PopupMenu; - layerPopup.visibility = "hide"; - } else { - layerPopup = getElement("PopupMenu"); - layerPopup.style.visibility = "hidden"; - } - - if (gOlddocumentClick) - { - if (gbBsNS4 && !gbBsNS6) - document.onmousedown = gOlddocumentClick; - else - document.onclick = gOlddocumentClick; - } - } - return; -} - -function BSSCPopup_ClickMac() -{ - if ((!DHTMLPopupSupport()) && (gbBsIE4 || gbBsOpera7)) - { - var bClickOnAnchor = false; - var el; - if ((window.event != null) && - (window.event.srcElement != null)) - { - el = window.event.srcElement; - while (el != null) - { - if ((el.tagName == "A") || (el.tagName == "AREA")) { - bClickOnAnchor = true; - break; - } - if (el.tagName == "BODY") { - break; - } - el = getParentNode(el); - } - } - if (BSSCPopup_IsPopup()) - { - if (!bClickOnAnchor) { - parent.window.gPopupWindow = null; - self.close(); - } - } - else - { - bClosePopupWindow = true; - if ((bClickOnAnchor) && - (el.href) && - ((el.href.indexOf("javascript:BSSCPopup") != -1) || (el.href.indexOf("javascript:null") != -1) || (el.href.indexOf("javascript:void(0)") != -1))) - { - bClosePopupWindow = false; - } - if (bClosePopupWindow) - { - if (window.gPopupWindow != null && !window.gPopupWindow.closed ) - { - window.gPopupWindow.close(); - } - } - } - } -} - -function BsPopupOnClick() -{ - if (!gbBsIE4 && !gbBsOpera7) - return; - - BSSCPopup_ClickMac(); -} - -function _BSSCOnError(message) -{ - if(-1 != message.indexOf("denied") - || -1 != message.indexOf("Object required")) - return true; -} - -//End to support previous relative topics - -/// Section End - General and relative topics (JavaScript 1.0) - -/// Section Begin - Popup (JavaScript 1.0) -//Begin to support previous popup functions - -//variables used to isolate the browser type -var gBsStyVisShow = null; -var gBsStyVisHide = null; -var gBsClientWidth = 640; -var gBsClientHeight = 480; - -// here is the varible for judge popup windows size. these parameter is for IE5.0, it may need adjust for others. -var gBRateH_W = 0.618; // 1.618 Golden cut. -var gBMaxXOfParent = 0.8; -var gBMaxYOfParent = 0.8; -var gBscrollHeight = 16; -var gBscrollWidth = 16; -var gBpermitXDelta = 3; -var gBpermitYDelta = 3; - - -var arrayPopupURL = new Array(); -var arrayAbsPopupURL = new Array(); - -var arrayDirty = new Array(); - -function setAbsPopupURL(nIndex, strURL) -{ - arrayAbsPopupURL[nIndex] = strURL; -} - -function getAbsPopupURL(nIndex) -{ - if (nIndex == -1 || arrayAbsPopupURL.length <= nIndex) return null; - else - return arrayAbsPopupURL[nIndex]; -} - -function getPopupURL(nIndex) -{ - if (nIndex == -1 || arrayPopupURL.length <= nIndex) return null; - else - return arrayPopupURL[nIndex]; -} - -function getPopupID(nIndex) -{ - return gstrPopupID + nIndex; -} - -function getPopupShadowID(nIndex) -{ - return gstrPopupShadowID + nIndex; -} - -function getPopupTopicID(nIndex) -{ - return gstrPopupTopicID + nIndex; -} - -function getPopupIFrameID(nIndex) -{ - return gstrPopupIFrameID + nIndex; -} - -function getPopupIFrameName(nIndex) -{ - return gstrPopupIFrameName + nIndex; -} - - -function getPopupTopicStyle(nIndex) -{ - return getElement(getPopupTopicID(nIndex)).style; -} - -function getPopupShadowStyle(nIndex) -{ - return getElement(getPopupShadowID(nIndex)).style; -} - -function getPopupIFrame(nIndex) -{ - if (gbBsNS6) - return eval("window.frames['" + getPopupIFrameName(nIndex) + "']"); - else - return eval("document.frames['" + getPopupIFrameName(nIndex) + "']"); -} - -function getPopupDivStyle(nIndex) -{ - return getElement(getPopupID(nIndex)).style; -} - -function getPopupIFrameStyle(nIndex) -{ - return getElement(getPopupIFrameID(nIndex)).style; -} - - -function findDiv(strURL) -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) { - if (arrayPopupURL[i] == strURL) { - return i; - } - } - return -1; -} - -var gnToken = -1; -function takeToken() -{ - gnToken ++; - if (gnToken > 10000) gnToken = 0; - return gnToken; -} - -function IsValidToken(nToken) -{ - return (gnToken == nToken); -} - -function addDiv(strURL) -{ - for (var i = 0; i < arrayPopupURL.length; i ++) { - if (arrayPopupURL[i] == null) { - arrayPopupURL[i] = strURL; - return i; - } - } - arrayPopupURL[i] = strURL; - arrayDirty[i] = true; - return i; -} - -function setDirty() -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) - arrayDirty[i] = true; -} - -function IsDirty(nIndex) -{ - if (nIndex == -1) - return true; - else - if (arrayDirty.length > nIndex) - return arrayDirty[nIndex]; - else - return true; -} - -function hideAll() -{ - for (var i = 0; i < arrayPopupURL.length; i ++ ) - { - getPopupDivStyle(i).visibility = gBsStyVisHide; - getPopupIFrameStyle(i).visibility = gBsStyVisHide; - } -} - -function getCurrentPopupIFrame() -{ - for (var i = 0; i < arrayPopupURL.length; i ++) - if (getPopupDivStyle(i).visibility == gBsStyVisShow) - return getPopupIFrame(i); - return null; -} - -function setClear(nIndex) -{ - if (nIndex != -1) - arrayDirty[nIndex] = false; -} - -function _BSSCCreatePopupDiv(strURL) -{ - var nIndex = findDiv(strURL); - if (nIndex == -1 ) { - nIndex = addDiv(strURL); - BsPopup_CreateDiv(nIndex); - } - else { - if (IsDirty(nIndex)) { - if("object" == typeof(getPopupIFrame(nIndex).document)) - getPopupIFrame(nIndex).document.location.href = strURL; - } - } - return nIndex; -} - -//Here is the browser type -function _BSPSGetBrowserInfo() -{ - if (gbBsNS4&&!gbBsNS6) - { - gBsStyVisShow = "show"; - gBsStyVisHide = "hide"; - } - else - { - gBsStyVisShow = "visible"; - gBsStyVisHide = "hidden"; - } -} - -_BSPSGetBrowserInfo(); - -//Get client size info -function _BSPSGetClientSize() -{ - if (gbBsNS4||gbBsKonqueror3||gbBsSafari) - { - gBsClientWidth = innerWidth; - gBsClientHeight = innerHeight; - } - else if (gbBsIE4 || gbBsOpera7) - { - gBsClientWidth = document.body.clientWidth; - gBsClientHeight = document.body.clientHeight; - } -} - -var gstrPopupID = 'BSSCPopup'; -var gstrPopupShadowID = 'BSSCPopupShadow'; -var gstrPopupTopicID = 'BSSCPopupTopic'; -var gstrPopupIFrameID = 'BSSCPopupIFrame'; -var gstrPopupIFrameName = 'BSSCPopupIFrameName'; - -var gstrPopupSecondWindowName = 'BSSCPopup'; - -var gPopupWindow = null; -var gnPopupClickX = 0; -var gnPopupClickY = 0; - -var gnPopupScreenClickX = 0; -var gnPopupScreenClickY = 0; - -var gbPopupTimeoutExpired = false; - -function DHTMLPopupSupport() -{ - if (((gbBsIE4) && (!gbBsMac))||gbBsOpera7|| gbBsNS7) { - return true; - } - return false; -} - -function BSSCPopup_IsPopup() -{ - if (DHTMLPopupSupport() && (this.name.indexOf(gstrPopupIFrameName) != -1)) { - return true; - } else if ((gbBsNS4 || gbBsIE4 || gbBsOpera7) && (this.name.indexOf(gstrPopupID) != -1)) { - return true; - } else { - return false; - } -} - -// If there is a hyperlink in a popup window, display the hyperlink in -// the original window. (bsscright) -if (BSSCPopup_IsPopup() && !gbBsIE4 && !gbBsOpera7) { - document.write(""); -} - -// Local functions. -function BsPopup_CreateDiv(nIndex) -{ - if(!DHTMLPopupSupport()) - return; - // DO NOT SET Width and height for the div, otherwize it will make IE4 popup do not work when view the topic alone. - var strPopupDiv = ""; - - var objBody = getElementsByTag(document, "BODY")[0]; - if( typeof(objBody) != "object" ) - return; - - insertAdjacentHTML(objBody, "beforeEnd", strPopupDiv); -} - -function handleLoadNS() -{ - if (this.id) - { - var nIndex = parseInt(this.id.substring(gstrPopupIFrameID.length)); - BSSCPopup_PostWork(nIndex); - } -} - -function BSSCPopup_PostWork(nIndex) -{ - getPopupDivStyle(nIndex).visibility = gBsStyVisShow; - getPopupIFrameStyle(nIndex).visibility =gBsStyVisShow; - - setClear(nIndex); - window.gbPopupTimeoutExpired = true; - - BSSCPopup_ChangeTargettoParent(getPopupIFrame(nIndex).document); - if (gbBsNS6) - getPopupIFrame(nIndex).document.body.addEventListener("click",BSSCPopupClicked,false); - else - getPopupIFrame(nIndex).document.body.onclick = BSSCPopupClicked; - - if (!gbOrignalOnMouseDown && document.onmousedown) - gbOrignalOnMouseDown = document.onmousedown; - - if (gbBsNS6) - document.addEventListener("mousedown", BSSCPopupParentClicked,false); - else - document.onmousedown = BSSCPopupParentClicked; -} - -function BSSCPopup_Timeout(nIndex, nToken) -{ - if (!IsValidToken(nToken)) return; - - if (gbBsNS6||((getPopupIFrame(nIndex).document.readyState == "complete") && - (getPopupIFrame(nIndex).document.body != null))) { - BSSCPopup_PostWork(nIndex); - } else { - setTimeout("BSSCPopup_Timeout(" + nIndex + "," + nToken + ")", 100); - } -} - -// VH 08/10/00 -// do not change target to parent if the href is using javascript -function BSSCPopup_ChangeTargettoParent(tagsObject) -{ - var collA = getElementsByTag(tagsObject, "A"); - BSSCPopup_ChangeTargettoParent2(collA); - - var collIMG = getElementsByTag(tagsObject,"IMG"); - BSSCPopup_ChangeTargettoParent2(collIMG); -} - -function BSSCPopup_ChangeTargettoParent2(colls) -{ - if (colls != null) { - for (var j = 0; j < colls.length; j ++ ) - { - var strtemp = colls[j].href; - if (strtemp) - { - strtemp = strtemp.toLowerCase(); - if (strtemp.indexOf("javascript:") == -1) - if (colls[j].target == "") - colls[j].target = "_parent"; - } - } - } -} - -function BSPSPopupTopicWinHelp(strURL) -{ - _BSSCPopup(strURL); - return; -} - -function _BSSCPopup(strURL, width, height) -{ - var cuswidth = 0; - var cusheight = 0; - if ("undefined" != typeof(width) && "undefined" != typeof(height)) { - cuswidth = width; - cusheight= height; - } - - if (DHTMLPopupSupport()) { - var nToken = takeToken(); // take token first. - var nIndex = _BSSCCreatePopupDiv(strURL); - window.gbPopupTimeoutExpired = false; - var ntWidth = gBsClientWidth; - var ntHeight = gBsClientHeight; - _BSPSGetClientSize(); - if (ntWidth != gBsClientWidth || ntHeight != gBsClientHeight) { - setDirty(); - } - - if (IsDirty(nIndex)) { - if (gbBsMac) { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight +")", 400); - } else { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 100); - } - } - else { - MoveDivAndShow(nIndex ,nToken, cuswidth, cusheight); - } - } else { - _BSSCPopup2(strURL, cuswidth, cusheight); - } - return; -} - -if (gbBsIE55) -{ - var ehlpdhtm_fOldBefureUnload = window.onbeforeunload; - var gnBsUnload=0; - window.onbeforeunload = window_BUnload; -} - -function window_BUnload() -{ - gnBsUnload++; - if (gnBsUnload>1) - return; - for (var i = 0; i < arrayPopupURL.length; i ++) - removeThis(document.all(getPopupID(i))); - arrayPopupURL.length = 0; - if (ehlpdhtm_fOldBefureUnload) - ehlpdhtm_fOldBefureUnload(); -} - -function _BSSCPopup2(strURL, width, height) -{ - if (gbBsOpera6&&gbBsMac) - { - var wmTemp = window.open(document.location.href, gstrPopupSecondWindowName); - wmTemp.close(); - setTimeout("_BSSCPopup3(\""+strURL+"\","+width+","+height+");",100); - } - else - _BSSCPopup3(strURL, width, height); -} - -function _BSSCPopup3(strURL, width, height) -{ - if (window.name == gstrPopupSecondWindowName) { - window.location = strURL; - } else { - if (!gbBsMac || !gbBsNS4) { - BSSCHidePopupWindow(); - } - var nX = 0; - var nY = 0; - var nHeight = 300; - var nWidth = 400; - if (width > 0 && height > 0) { - nHeight = height; - nWidth = width; - } - _BSPSGetClientSize(); - - nX = window.gnPopupScreenClickX; - nY = window.gnPopupScreenClickY; - - if (nY + nHeight + 40 > screen.availHeight) { - nY = screen.availHeight - nHeight - 40; - } - if (nX + nWidth + 40 > screen.availWidth) { - nX = screen.availWidth - nWidth - 40; - } - - // Launch a separate window - var strParam="titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes"; - if (gbBsNS) { - if (gbBsNS6) { - strParam += ",Height=" + nHeight + ",Width=" + nWidth; - strParam += ",screenX=" + nX + ",screenY=" + nY; - strParam += ",dependent=yes"; - } - else { - strParam += ",OuterHeight=" + nHeight + ",OuterWidth=" + nWidth; - strParam += ",screenX=" + nX + ",screenY=" + nY; - strParam += ",dependent=yes"; - } - } - else { - strParam += ",height=" + nHeight + ",width=" + nWidth; - strParam += ",left=" + nX + ",top=" + nY; - } - if (gbBsSafari) - { - if (window.gPopupWindow) - window.gPopupWindow.close(); - window.gPopupWindow = window.open(strURL, "", strParam); - window.gPopupWindow.name = gstrPopupSecondWindowName; - window.gPopupWindow.moveTo(nX, nY); - widnow.gPopupWindow.document.location.reload(); - } - else - { - var wmTemp=null; - if (gbBsKonqueror3) - { - if (window.gPopupWindow) - window.gPopupWindow.close(); - } - if (gbBsOpera&&gbBsMac) - { - wmTemp= window.open(document.location.href, "Temp", strParam); - } - window.gPopupWindow = window.open(strURL, gstrPopupSecondWindowName, strParam); - if (!gbBsIE) - window.gPopupWindow.focus(); - - if (wmTemp) - wmTemp.close(); - } - - if (gbBsNS4) - setEventHandle(); - else if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) - setTimeout("setPopupFocus();", 100); - } - return; -} - -function setEventHandle() -{ - window.gPopupWindow.captureEvents(Event.CLICK | Event.BLUR); - window.gPopupWindow.onclick = NonIEPopup_HandleClick; - window.gPopupWindow.onblur = NonIEPopup_HandleBlur; -} - -function setPopupFocus() -{ - window.gPopupWindow.focus(); -} - -function NonIEPopup_HandleBlur(e) -{ - window.gPopupWindow.focus(); -} - -function NonIEPopup_HandleClick(e) -{ - // Because navigator will give the event to the handler before the hyperlink, let's - // first route the event to see if we are clicking on a Popup menu in a popup. - document.routeEvent(e); - - // If a popup menu is active then don't do anything with the click - if (window.gPopupWindow.gbInPopupMenu) { - window.gPopupWindow.captureEvents(Event.CLICK); - window.gPopupWindow.onclick = NonIEPopup_HandleClick; - return false; - } - - // Close the popup window - if(e.target.href) - { - if(e.target.href.indexOf("javascript:")==-1) - { - if (e.target.target=="") - window.location.href = e.target.href; - else - window.open(e.target.href, e.target.target); - this.close(); - } - } - else - this.close(); - return false; -} - -function BSSCPopup_AfterLoad(nIndex, nToken, cuswidth, cusheight) -{ - if (!window.getPopupIFrame(nIndex).document) { - _BSSCPopup2(getPopupURL(nIndex), cuswidth, cusheight); - return; - } - - if (!IsValidToken(nToken)) return; - - if (gbBsNS6) - { - setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url. - BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight); - return; - } - - if ((window.getPopupIFrame(nIndex).document.readyState == "complete") && - (window.getPopupIFrame(nIndex).document.body != null)) { - if (window.getPopupIFrame(nIndex).document.location.href.indexOf("about:blank") != -1) { // add this check. IE will use about:blank" as the default vaule for Iframe. - window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex); - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - } - else - { - setAbsPopupURL(nIndex, window.getPopupIFrame(nIndex).document.location.href); // change URL to abs url. - BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight); - } - } else { - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - } -} - -function BSSCPopup_ResizeAfterLoad(nIndex, nToken, cuswidth, cusheight) -{ - if (window.gbPopupTimeoutExpired) return; - - if (!IsValidToken(nToken)) return; - - getPopupDivStyle(nIndex).visibility = gBsStyVisHide; - getPopupIFrameStyle(nIndex).visibility = gBsStyVisHide; - - // Determine the width and height for the window - _BSPSGetClientSize(); - - var size = new BSSCSize(0, 0); - - if (cuswidth <= 0 || cusheight <= 0) - BSSCGetContentSize(window.getPopupIFrame(nIndex), size); - else { - size.x = cuswidth; - size.y = cusheight; - } - - // Determine the width and height for the window - var nWidth = size.x; - var nHeight = size.y; - - // for small popup size, we should allow any size. - // The popup size should be ok if bigger than 0 - if (nWidth < 0 || nHeight < 0) return; // there must be something terribly wrong. - - getPopupDivStyle(nIndex).width = nWidth; - getPopupDivStyle(nIndex).height = nHeight; - - getPopupShadowStyle(nIndex).width = nWidth; - getPopupShadowStyle(nIndex).height = nHeight; - getPopupTopicStyle(nIndex).width = nWidth; - getPopupTopicStyle(nIndex).height = nHeight; - if (gbBsIE55) - { - getPopupShadowStyle(nIndex).width = nWidth + 2; - getPopupShadowStyle(nIndex).height = nHeight + 2; - getPopupTopicStyle(nIndex).width = nWidth + 2; - getPopupTopicStyle(nIndex).height = nHeight + 2; - } - - getPopupIFrameStyle(nIndex).width = nWidth; - getPopupIFrameStyle(nIndex).height = nHeight; - if (gbBsIE55 || gbBsNS6) - { - getPopupIFrameStyle(nIndex).top = 0; - getPopupIFrameStyle(nIndex).left = 0; - } - - var strURL = getPopupURL(nIndex); - if (strURL.indexOf("#") != -1&&gbBsNS6) - getPopupIFrame(nIndex).location.reload(); - else if (strURL.indexOf("#") != -1||gbBsNS6) - getPopupIFrame(nIndex).location.href = strURL; // reload again, this will fix the bookmark misunderstand in IE5. - - MoveDivAndShow(nIndex, nToken, cuswidth, cusheight); -} - -function getScrollLeft() -{ - if (document.body.scrollLeft) - return document.body.scrollLeft; - else if (window.pageXOffset) - return window.pageXOffset; - else - return 0; -} - -function getScrollTop() -{ - if (document.body.scrollTop) - return document.body.scrollTop; - else if (window.pageYOffset) - return window.pageYOffset; - else - return 0; -} - - -function MoveDivAndShow(nIndex, nToken, cuswidth, cusheight) -{ - if (window.getPopupIFrame(nIndex).document.location.href != getAbsPopupURL(nIndex)) { // if redirect, reload again. - window.getPopupIFrame(nIndex).document.location = getPopupURL(nIndex); - setTimeout("BSSCPopup_AfterLoad(" + nIndex + "," + nToken + "," + cuswidth + "," + cusheight + ")", 200); - return; - } - - // Determine the position of the window - var nClickX = window.gnPopupClickX; - var nClickY = window.gnPopupClickY; - var nTop = 0; - var nLeft = 0; - - var nWidth = parseInt(getPopupDivStyle(nIndex).width); - var nHeight = parseInt(getPopupDivStyle(nIndex).height); - - if (nClickY + nHeight + 20 < gBsClientHeight + getScrollTop()) { - nTop = nClickY + 10; - } else { - nTop = (getScrollTop() + gBsClientHeight) - nHeight - 20; - } - if (nClickX + nWidth < gBsClientWidth + getScrollLeft()) { - nLeft = nClickX; - } else { - nLeft = (getScrollLeft() + gBsClientWidth) - nWidth - 8; - } - - if (nTop < getScrollTop()) nTop = getScrollTop() + 1; - if (nLeft< getScrollLeft()) nLeft = getScrollLeft() + 1; - - getPopupDivStyle(nIndex).left = nLeft; - getPopupDivStyle(nIndex).top = nTop; - - // Set the location of the background blocks - getPopupShadowStyle(nIndex).left = 6; - getPopupShadowStyle(nIndex).top = 6; - if (gbBsIE55) - { - getPopupShadowStyle(nIndex).left = 4; - getPopupShadowStyle(nIndex).top = 4; - } - - if (gbBsMac&&gbBsIE4) { - // Total hack on the iMac to get the IFrame to position properly - getPopupIFrameStyle(nIndex).pixelLeft = 100; - getPopupIFrameStyle(nIndex).pixelLeft = 0; - // Explicitly call BSSCOnLoad because the Mac doesn't seem to do it - getPopupIFrame(nIndex).window.BSSCOnLoad(); - } - - if (gbBsNS6&&IsDirty(nIndex)) - getElement(getPopupIFrameID(nIndex)).addEventListener("load", handleLoadNS, false); - else - BSSCPopup_Timeout(nIndex , nToken ); - return; -} - -function BSSCSize(x, y) -{ - this.x = x; - this.y = y; -} - -function BSSCGetContentSize(thisWindow, size) -{ - if (!gbBsIE4 && !gbBsOpera7 && !gbBsNS4) - return; - - if ((gbBsMac&&gbBsIE4)||gbBsNS4||gbBsOpera7) { - size.x = 320; - size.y = 180; - return; - } - - // Resize the width until it is wide enough to handle the content - // The trick is to start wide and determine when the scrollHeight changes - // because then we know a scrollbar is necessary. We can then go back - // to the next widest size (for no scrollbar) - - var ClientRate = gBsClientHeight / gBsClientWidth; - - - var GoldenSize = new BSSCSize(0,0); - GoldenSize.x = gBsClientWidth * gBMaxXOfParent; - GoldenSize.y = gBsClientHeight *gBMaxYOfParent ; - - if (ClientRate > gBRateH_W) { - GoldenSize.y = GoldenSize.x * gBRateH_W; - } - else { - GoldenSize.x = GoldenSize.y / gBRateH_W; - } - - // Try to using parent specified max x. - var x = 0; - var maxgoldx = GoldenSize.x; - var maxx = gBsClientWidth * gBMaxXOfParent; - - // This double resize causes the document to re-render (and we need it to) - if (!gbBsIE5) - thisWindow.moveTo(10000,10000); // this is used to fix the flash on IE4. - - thisWindow.resizeTo(1, 1); - thisWindow.resizeTo(1, 1); - thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight); - thisWindow.resizeTo(maxgoldx, thisWindow.document.body.scrollHeight + gBscrollHeight); - - var miny = thisWindow.document.body.scrollHeight + gBscrollHeight; - - if (miny > GoldenSize.y) // the popup does not fix in the parent wanted golden area. so try to expand itself as large as it can - { - thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight); - thisWindow.resizeTo(maxx , thisWindow.document.body.scrollHeight + gBscrollHeight); - - miny = thisWindow.document.body.scrollHeight + gBscrollHeight; - maxy = gBsClientHeight * gBMaxYOfParent; - - if (miny > maxy) { // the popup must have a scroll, OK let it be. - miny = maxy; - size.x = maxx; - size.y = maxy; - thisWindow.document.body.scroll = 'yes'; // At this time we do want to show scroll any more. so it will looks better a little. - } - else { // popup still can fit in the parent area by someway. now we choose the same h/w rate as parent. - size.y = miny; - - // downsize from maxx , now I try to using binary divide. - x = maxx; - deltax = -maxx/2; - //j = 0; - while (true) { - x = x + deltax; - thisWindow.resizeTo(x, miny); - thisWindow.resizeTo(x, miny); - diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * ClientRate; - if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter - deltax = Math.abs(deltax) /2; - else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter - deltax = -Math.abs(deltax) /2; - else - // the y is close enough to wanted. - break; - if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore. - break; - } - size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth; - size.y = thisWindow.document.body.scrollHeight;// + gBscrollHeight; - thisWindow.document.body.scroll = 'no'; - } - } - else { - if (thisWindow.document.body.scrollWidth > maxgoldx) { - size.x = maxx; - size.y = miny; - thisWindow.document.body.scroll = 'yes'; - } - else { - // downsize from maxgoldx , now I try to using binary divide. - x = maxgoldx; - deltax = -maxgoldx/2; - while (true) { - x = x + deltax; - thisWindow.resizeTo(x, miny); - thisWindow.resizeTo(x, miny); - diffy = thisWindow.document.body.scrollHeight + gBscrollHeight - x * gBRateH_W; - if (diffy > gBpermitYDelta ) // it is higher than wanted, so x need to be wide a little bitter - deltax = Math.abs(deltax) /2; - else if (diffy < -gBpermitYDelta) // it is shorter than wanted, so x need to be narrow a little bitter - deltax = -Math.abs(deltax) /2; - else - // the y is close enough to wanted. - break; - if (Math.abs(deltax) < gBpermitXDelta) // the next change is too slight and it can be ignore. - break; - } - size.x = thisWindow.document.body.scrollWidth; //+ gBscrollWidth; - size.y = thisWindow.document.body.scrollHeight ; - thisWindow.document.body.scroll = 'no'; // At this time we do not want to show scroll any more. so it will looks better a little. - thisWindow.resizeTo(size.x, size.y); - if (thisWindow.document.body.scrollWidth > size.x) - { - size.x = thisWindow.document.body.scrollWidth; - } - if (thisWindow.document.body.scrollHeight > size.y) - { - size.y = thisWindow.document.body.scrollHeight; - } - } - } - thisWindow.resizeTo(size.x, size.y); - thisWindow.resizeTo(size.x, size.y); - return; -} - -function BSSCPopupParentClicked() -{ - if (!window.gbPopupTimeoutExpired) { - return false; - } - - document.onmousedown = gbOrignalOnMouseDown; - - // Simply hide the popup - hideAll(); - - window.gbPopupTimeoutExpired = false; - - return true; -} - -function isInsideHyperLink(obj) -{ - if (obj&&obj!=getParentNode(obj)) - { - if (obj.tagName=="A"||obj.tagName=="IMG") - return true; - else - return isInsideHyperLink(getParentNode(obj)); - } - else - return false; -} - -function BSSCPopupClicked(e) -{ - if (!window.gbPopupTimeoutExpired) { - return false; - } - - var popupIFrame = getCurrentPopupIFrame(); - if (popupIFrame == null) { - return true; - } - - if (gbBsIE4 && (!((popupIFrame.window.event != null) && - (popupIFrame.window.event.srcElement != null) && - isInsideHyperLink(popupIFrame.window.event.srcElement)))) { - document.onmousedown = gbOrignalOnMouseDown; - - // Simply hide the popup - hideAll(); - window.gbPopupTimeoutExpired = false; - return true; - } - else if (gbBsNS6 && (!((e != null) && - (e.target!= null) && isInsideHyperLink(e.target)))) - { - document.addEventListener("mousedown", gbOrignalOnMouseDown,false); - // Simply hide the popup - hideAll(); - window.gbPopupTimeoutExpired = false; - return true; - } -} - -//trace the mouse over's position for hotspot -function BSPSPopupOnMouseOver(event) -{ - if (gbBsIE4 || gbBsOpera7||gbBsKonqueror3) { - window.gnPopupClickX = event.clientX + getScrollLeft(); - window.gnPopupClickY = event.clientY + getScrollTop(); - window.gnPopupScreenClickX = event.screenX; - window.gnPopupScreenClickY = event.screenY; - } else if (gbBsSafari) { - window.gnPopupClickX = event.clientX + getScrollLeft(); - window.gnPopupClickY = event.clientY + getScrollTop(); - window.gnPopupScreenClickX = event.screenX + window.screenX; - window.gnPopupScreenClickY = event.screenY + window.screenY; - } else if (gbBsNS4) { - window.gnPopupClickX = event.pageX - window.pageXOffset; - window.gnPopupClickY = event.pageY - window.pageYOffset; - window.gnPopupScreenClickX = event.screenX - window.pageXOffset; - window.gnPopupScreenClickY = event.screenY - window.pageYOffset; - } -} - -function BSSCHidePopupWindow() -{ - if (window.gPopupWindow != null) { - if (gbBsNS4) { - if ((typeof window.gPopupWindow != "undefined") && (!window.gPopupWindow.closed)) { - window.gPopupWindow.close(); - window.gPopupWindow = null; - } - } - } - return; -} - -// Add the PopupOnClick to the onclick array. -if (typeof(BsscRegisterOnClick) != "undefined") -{ - BsscRegisterOnClick(BsPopupOnClick); -} -//End to support previous popup functions - -/// Section End - Popup (JavaScript 1.0) - -/// Section Begin - Embedded Stub (JavaScript 1.0) - -function BSSCCreatePopupDiv() -{ - return; -} - -function WritePopupMenuLayer() -{ - if (BsscHasExtJs()) {_WritePopupMenuLayer();} -} - -function BSSCPopup(strURL, width, height) -{ - var re = new RegExp("'", 'g'); - strURL = strURL.replace(re, "%27"); - - if (BsscHasExtJs()) { - _BSSCPopup(strURL, width, height); - }else{ - //Create a temporary window first to ensure the real popup comes up on top - var wndTemp = null; - if (!gbBsNS3) { - wndTemp = window.open("", "temp", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=3,width=4"); - } - // Create the real popup window - var wndPopup = window.open(strURL, "BSSCPopup", "titlebar=no,toolbar=no,status=no,location=no,menubar=no,resizable=yes,scrollbars=yes,height=300,width=400"); - // Close the temporary - if (!gbBsNS3) { - wndTemp.close(); - } else { - wndPopup.focus(); - } - } -} - -var gbWndTemp = null, gbWndPopupLinks = null; -var gbstrParaTotal = ""; - -function PopupMenu_Invoke() -{ - if (typeof(wfRelatedTopic) == 'function' && typeof(IsFlashSupported) == 'function') - { - if (Number(gsSkinVersion) > 2 && IsFlashSupported()) - { - return wfRelatedTopic(PopupMenu_Invoke.arguments); - } - } - if (BsscHasExtJs()) { - return _PopupMenu_Invoke(PopupMenu_Invoke.arguments); - } - if (gbBsNS3Before || gbBsIE3Before ) { - var argLen = PopupMenu_Invoke.arguments.length; - if (argLen < 5) { - window.document.location.href = PopupMenu_Invoke.arguments[3]; - return false; - } - gbWndTemp = null; - gbWndPopupLinks = null; - gbstrParaTotal = ""; - for (var i = 0; i < (argLen - 2) / 2; i++) { - var strParaLine = ""; - if (gbBsNS2){ - strParaLine += "" - strParaLine += PopupMenu_Invoke.arguments[2 * i + 2]; - strParaLine += ""; - } else { - strParaLine += ""); - if (gbBsNS2) { - gbWndPopupLinks.document.write(""); - } else { - //YJ: IE301,302 and NS3.x works fine - gbWndPopupLinks.document.write("<"); - gbWndPopupLinks.document.write("script>"); - gbWndPopupLinks.document.write("function gotoUrl(aUrl) {opener.window.location=aUrl; close();}"); - gbWndPopupLinks.document.write("<"); - gbWndPopupLinks.document.write("/script>"); - } - gbWndPopupLinks.document.write(""); - gbWndPopupLinks.document.write(gbstrParaTotal); - gbWndPopupLinks.document.write(""); - gbWndPopupLinks.document.close(); - - // Close the temporary - if (!gbBsNS3 && gbWndTemp != null) { - gbWndTemp.close(); - }else { - gbWndPopupLinks.focus(); - } - - return true; - } - return false; -} - -/// Section End - Embedded Stub (JavaScript 1.0) - -//// Segment End -- (JavaScript 1.0) - -//// Segment Begin -- (JavaScript 1.2) -/// Section Begin - kadov DHTM (JavaScript 1.2) - -//Begin to support extended and dropdown text effects. -function kadovIsParagraph(el) -{ - return( el.tagName == "P" || el.tagName.indexOf("H") == 0 ) ? true : false; -} - -function kadovInitEachChild(el) -{ - for(var i=0; i "") ) - child.style.setAttribute( "x-on-pageload", "" ); - } - - var href = child.getAttribute("href") - if( href != null && href > "" && href.indexOf( "BSSCPopup" ) >= 0 ) - kadovFilePopupInit(child.id); // Init for Popup - else if( child.className == "dropspot" || child.className == "expandspot" || - child.className == "glossterm" ) - kadovTextPopupInit(child.id);// Init for Expanding/Glossary or DropDown text - else if( child.className == "trigger") - kadovInitTrigger(child.id);// Init for Trigger - else - { - kadovInitEffects(child.id);// Init for DHTML effects - CEngine.SetOneTargetInitialState( child.id ); - } - } - - if( (child.tagName == "IMG") && (child.getAttribute("dynsrc") > "") ) - child.start = "mouseover";// to start a AVI file. fileopen doesn't work - - kadovInitEachChild(child); - } -} - -function kadovRetrieveTextInner(el) -{ - var x = ""; - if( (!el) || (el.tagName == "!") || (el.tagName == "SCRIPT" )) - return x; - - if( kadovIsParagraph(el) ) - { - var strNewID = " "; - if( el.id != "" ) - strNewID += "id=" + el.id + "_NewSpan "; - x = "" + el.innerHTML + ""; - } - else - { - for(var i=0; i 0 ) - if( (nTagClose - nTagOpen) != nDistance ) - return strRawHTML; - - var strCleanOnce = strRawHTML.substring(0, nTagOpen) + strRawHTML.substr(nTagClose + strTagClose.length) ; - return kadovRetrieveCleanHTML( strCleanOnce, strTagOpen, strTagClose ); -} - -function kadovAdjustObjectTag(strRawHTML, nStartPos) -{// adjust object tag for related topics HTML control, because innerHTML misses out the item settings - - //Is there any DTC? - var strDTCTagOpen = ''; - var nDTCTagOpen = strRawHTML.indexOf( strDTCTagOpen, nStartPos ); - if( nDTCTagOpen < 0 ) - return strRawHTML; - var nDTCTagClose = strRawHTML.indexOf( strDTCTagClose, nDTCTagOpen ); - if( nDTCTagClose < nDTCTagOpen) - return strRawHTML; // no Design Time Controls; - - //Is the DTC HTML Help Control? - var strRTObjTagOpen = 'classid=clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11'; - var strRTObjTagClose = ''; - var nRTObjTagOpen = strRawHTML.indexOf( strRTObjTagOpen, nDTCTagOpen ); - if( nRTObjTagOpen < nDTCTagOpen ) - return strRawHTML; - var nRTObjTagClose = strRawHTML.indexOf( strRTObjTagClose, nRTObjTagOpen ); - if( nRTObjTagClose < nRTObjTagOpen ) - return strRawHTML; // is not a HTML help control - - // Is it a related Topics html help control? - var strRTObjLabel = ''; - } - - // to insert the reconstructed item params into runtime object tag - var strAdjustedHTML = strRawHTML.substring(0,nRTObjTagClose) + strRunTimeItemParam + strRawHTML.substring(nRTObjTagClose, strRawHTML.length); - return kadovAdjustObjectTag(strAdjustedHTML, nDTCTagClose + strDTCTagClose.length); -} - -function kadovTextPopupOnLoad( el ) -{ - if( typeof(el) == "string" ) - el = getElement(el); - - var src = el.getAttribute( "x-use-popup" ); - var bNeedMove=true; - if(!src&&el.id) - { - for (var i=0;i"); - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, ""); - - //work around the bug in HH.exe that highlight the phrases when use Search tab - //this approach is just removing the tag inserted by Microsoft in the runtime - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, "", 52); - - var strStyle = " style='display:none; position:relative;"; - var newDiv = "
" + strCleanHTML + "
"; - - removeThis(srcDiv); // empty the original DIV tag - var elParentPra = kadovFindParentParagraph(el); - if( elParentPra ) - insertAdjacentHTML(elParentPra, "afterEnd", newDiv ); - } - else if( type == "expanding" ) - { - var inner = kadovRetrieveTextInner(srcDiv); - if( inner == "" ) - inner = srcDiv.innerHTML; - var strAdjust = kadovAdjustObjectTag(inner,0); - var strCleanHTML = kadovRetrieveCleanHTML(strAdjust, ""); - strCleanHTML = kadovRetrieveCleanHTML(strCleanHTML, ""); - var strClassName = (el.className == "glossterm") ? "glosstext" : "expandtext"; - var newSpan = ""; - removeThis(srcDiv); // empty the original DIV tag - insertAdjacentHTML(el, "afterEnd", newSpan ); - } - } - } - else - { - srcDiv.style.display = "none"; - } - return 0; -} - -function getElementsByTag(obj,sTagName) -{ - if(obj.getElementsByTagName) - return obj.getElementsByTagName(sTagName); - else if(obj.all) - return obj.all.tags(sTagName); - return null; -} - -function getElement(sID) -{ - if(document.getElementById) - return document.getElementById(sID); - else if(document.all) - return document.all(sID); - return null; -} - -function getParentNode(obj) -{ - if(obj.parentNode) - return obj.parentNode; - else if(obj.parentElement) - return obj.parentElement; - return null; -} - -function getChildNodes(obj) -{ - if(obj.childNodes) - { - var children = new Array(); - for (var i = 0; i < obj.childNodes.length; i++) - { - if (obj.childNodes[i].nodeType == 1) - children[children.length] = obj.childNodes[i]; - } - return children; - } - else if(obj.children) - return obj.children; - return null; -} - -function removeThis(obj) -{ - if(obj.parentNode) - obj.parentNode.removeChild(obj); - else - obj.outerHTML=""; -} - -function kadovTextPopup( el ) -{ - if (!gbBsIE4 && !gbBsOpera7 && !gbBsSafari && !gbBsNS6 && !gbBsKonqueror3 ) - return; - - var bNeedMove=true; - - if (window.event) - window.event.cancelBubble = true; - - if( typeof(el) == "string" ) - el = getElement(el); - - if (!el||el==window) - return; - - var src = el.getAttribute( "x-use-popup" ); - if(!src&&el.id) - { - for (var i=0;i= 0 && nNext < values.length ) - { - functions[nIdx] = values.substr( nStart, nNext-nStart+1); - nStart = nNext + 1; - nIdx++; - nNext = values.indexOf( "\)", nStart); - } - - for( var i=0; i= 0 ) - { - nPageClick = arrForClickCount[j].indexOf("="); - if( nPageClick > 0 ) - { - nClickTimes = arrForClickCount[j].substring( nPageClick + 1, arrForClickCount[j].length) * 1; - break; - } - } - } - var args = srcargs; - if( j < arrForClickCount.length ) - {// to strip out the "clicks=99" from the arguments string - args = ""; - for( var k = 0; k < arrForClickCount.length; k ++ ) - { - if( k != j ) - { - args += arrForClickCount[k]; - if( k < arrForClickCount.length - 1 ) - args += ","; - } - } - } - bsscFXInit( null, id, translatedProp, fnname, args, nClickTimes ); - } -} - -function kadovTranslateProp( prop ) -{ - switch( prop ) - { - case "x-on-hover" : return "bsschover"; - case "x-on-pageclick" : return "bsscpageclick"; - case "x-on-pageload" : return "bsscpageload"; - case "x-on-trigger-1" : return "bssctrigger1"; - case "x-on-trigger-2" : return "bssctrigger2"; - } - return null; -} -//End to convert iWrite format to RoboEditor Format for DHTML effects - -//Begin the definition of one entry to DHTML effects -function bsscFXInit( trigger_ID, target_ID, event_type, - action_type, action_setting, event_addional ) -{ - if( (!gbBsWindows && !gbBsSunOS && !(gbBsMac&&gbBsIE5)) || typeof(target_ID) != "string" )//MUST have a target_ID - return; // we don't support Navigator yet - - if( typeof(event_type) == "string" ) - event_type = event_type.toLowerCase(); - if( typeof(action_type) == "string" ) - action_type = action_type.toLowerCase(); - if( typeof(action_setting) == "string" ) - action_setting = action_setting.toLowerCase(); - - // to get the target element then add it to the target list - var eleTarget = CCSSP.GetObject( target_ID ); - if( (eleTarget != null) && (event_type != null) && (action_type != null) ) - { - CEngine.AddOneTarget( target_ID, eleTarget ); - CEngine.BuildTargetObject(target_ID, event_type, action_type, action_setting, event_addional); - } - - // to validate the trigger_ID parameter - if( typeof(trigger_ID) == "string" && trigger_ID != "" ) - CEngine.BuildTriggerObject( trigger_ID, target_ID ); -} -//End the definition of one entry to DHTML effects - -/// Section End - kadov DHTM (JavaScript 1.2) - -/// Section Begin - CCSSP DHTM (JavaScript 1.2) - -//Begin JavaScript libary for cross-platform positioning object. -function CCSSP(){} // constructor of CCSSP class - -CCSSP.GetObject = function( obj ) -{//convert object name string or reference into a valid object reference - if( typeof(obj) == "object" ) - return obj; - else if( typeof(obj) == "string" && obj != "") - { - if( gbBsNS4 ) - return eval("document." + obj); - else - return eval("document.all(\"" + obj + "\")"); - } - else - return null; -} - -CCSSP.MoveObjectTo = function(obj, x, y) -{//positioning an object at a specific pixel coordinate - if( gbBsNS4 ) - obj.moveTo(x,y); - else - { - obj.style.pixelLeft = x; - obj.style.pixelTop = y; - } -} - -CCSSP.MoveObjectBy = function(obj, dx, dy) -{//moveing a object by x and/or y pixel - if( gbBsNS4 ) - obj.moveBy(dx,dy); - else - { - obj.style.pixelLeft += dx; - obj.style.pixelTop += dy; - } -} - -CCSSP.SetObjectBGColor = function(obj, color) -{//set the background color of an object - if( gbBsNS4 ) - obj.bgColor = color; - else - obj.style.backgroundColor = color; -} - -CCSSP.ShowObject = function(obj, bShow) -{// set the object to be visible or invisible - if( gbBsNS4 ) - obj.visibility = (bShow == true) ? 'show' : 'hide'; - else - obj.style.visibility = (bShow == true) ? 'visible' : 'hidden';// when hidden, it still occupy some space. -} - -CCSSP.GetObjectLeft = function(obj) -{// retrieve the x coordinate of a posionable object - if( gbBsNS4 ) - return obj.left; - else - return obj.style.pixelLeft; -} - -CCSSP.GetObjectTop = function(obj) -{// retrieve the y coordinate of a posionable object - if( gbBsNS4 ) - return obj.top; - else - return obj.style.pixelTop; -} - -CCSSP.GetObjectContainLeft = function(obj) -{// retrieve the x coordinate of a posionable object relative to it's parent element - if( gbBsNS4 ) - return obj.pageX; - else - { - if( obj == document.body ) - return obj.clientLeft; - else - return obj.offsetLeft; - } -} - -CCSSP.GetObjectWindowLeft = function(obj) -{// retrieve the x coordinate of a posionable object relative to browser window - if( gbBsNS4 ) - return obj.pageX; - else - { - var nOffsetWindowLeft = 0; - for(var element = obj; element; element = element.offsetParent) - nOffsetWindowLeft += CCSSP.GetObjectContainLeft(element); - return nOffsetWindowLeft; - } -} - -CCSSP.GetObjectContainTop = function(obj) -{// retrieve the y coordinate of a posionable object relative to it's parent element - if( gbBsNS4 ) - return obj.pageY; - else - { - if( obj == document.body ) - return obj.clientTop; - else - return obj.offsetTop; - } -} - -CCSSP.GetObjectWindowTop = function(obj) -{// retrieve the y coordinate of a posionable object relative to browser window - if( gbBsNS4 ) - return obj.pageY; - else - { - var nOffsetWindowTop = 0; - for(var element = obj; element; element = element.offsetParent) - nOffsetWindowTop += CCSSP.GetObjectContainTop(element); - return nOffsetWindowTop; - } -} - -CCSSP.GetObjectHeight = function(obj) -{// retrieve the height of a posionable object - if( gbBsNS4 ) - return obj.clip.height; - else - return obj.offsetHeight; -} - -CCSSP.GetObjectWidth = function(obj) -{// retrieve the width of a posionable object - if( gbBsNS4 ) - return obj.clip.width; - else - return obj.offsetWidth; -} - -CCSSP.RegisterEventHandler = function( srcObj, rawEventName, funcHandler ) -{ // to add the "funcHandler" as the "rawEventName" 's handler to the "srcObj" object,the original event handler will be combined - if (gbBsNS4 && !gbBsNS6) - return ; - - var oldHandler = ""; - - if (gbBsMac &&gbBsIE4&&!gbBsIE5) - { - if (typeof(srcObj[rawEventName.toLowerCase()])=="unknown") - { //search for - - - - - - - - - -

Geometry preferences

- -

In the Geometry module you can - set preferences for visualisation of geometrical figures which can be - used in later sessions with this module.

- -

 

- -

- -

 

- -
- -

 

- -
    - -
  • Default - Display Mode - allows to choose between - wireframe or shading.

  • - -
  • Default - Shading Color - allows to select default shading color.

  • - -
  • Default - Wireframe Color - allows to select default wireframe color (to - be applied to any lines not being free boundaries or isolated lines).

  • - -
  • Color - of free boundaries - allows to select default color for free boundaries. -

  • - -
  • Color - of edges, vectors and wires - allows - to select default color for edges, vectors and wires (isolated lines).

  • - -
  • Color - of points - allows to select default - color for vertices.

  • - -
  • Color - of isolines - allows to select default - color for isolines.

  • - -
  • Step - Value for Spin Boxes - allows to define - the increment of values set in spin boxes.  

  • -
- -

 

- - - - diff --git a/doc/salome/gui/GUI/i_blue.jpg b/doc/salome/gui/GUI/i_blue.jpg deleted file mode 100755 index ed3acfac2..000000000 Binary files a/doc/salome/gui/GUI/i_blue.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/image54.jpg b/doc/salome/gui/GUI/image54.jpg deleted file mode 100755 index a67ac4c7a..000000000 Binary files a/doc/salome/gui/GUI/image54.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/image65.gif b/doc/salome/gui/GUI/image65.gif deleted file mode 100755 index fbf6a81b9..000000000 Binary files a/doc/salome/gui/GUI/image65.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image67.gif b/doc/salome/gui/GUI/image67.gif deleted file mode 100755 index 4c5d4d67c..000000000 Binary files a/doc/salome/gui/GUI/image67.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image68.gif b/doc/salome/gui/GUI/image68.gif deleted file mode 100755 index f8ea563bb..000000000 Binary files a/doc/salome/gui/GUI/image68.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image69.gif b/doc/salome/gui/GUI/image69.gif deleted file mode 100755 index f8ea563bb..000000000 Binary files a/doc/salome/gui/GUI/image69.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image70.gif b/doc/salome/gui/GUI/image70.gif deleted file mode 100755 index c88c53ed5..000000000 Binary files a/doc/salome/gui/GUI/image70.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image71.gif b/doc/salome/gui/GUI/image71.gif deleted file mode 100755 index 26fcc670f..000000000 Binary files a/doc/salome/gui/GUI/image71.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image72.gif b/doc/salome/gui/GUI/image72.gif deleted file mode 100755 index 77c21bdeb..000000000 Binary files a/doc/salome/gui/GUI/image72.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image73.gif b/doc/salome/gui/GUI/image73.gif deleted file mode 100755 index 0ebcf97a2..000000000 Binary files a/doc/salome/gui/GUI/image73.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image75.gif b/doc/salome/gui/GUI/image75.gif deleted file mode 100755 index 9fdfbdc40..000000000 Binary files a/doc/salome/gui/GUI/image75.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/image94.gif b/doc/salome/gui/GUI/image94.gif deleted file mode 100755 index e2d310c5e..000000000 Binary files a/doc/salome/gui/GUI/image94.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/index.htm b/doc/salome/gui/GUI/index.htm deleted file mode 100755 index 774d93c9a..000000000 --- a/doc/salome/gui/GUI/index.htm +++ /dev/null @@ -1,180 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/index_csh.htm b/doc/salome/gui/GUI/index_csh.htm deleted file mode 100755 index ba099aa30..000000000 --- a/doc/salome/gui/GUI/index_csh.htm +++ /dev/null @@ -1,106 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/index_rhc.htm b/doc/salome/gui/GUI/index_rhc.htm deleted file mode 100755 index 6c22f70fc..000000000 --- a/doc/salome/gui/GUI/index_rhc.htm +++ /dev/null @@ -1,106 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/introduction_to_gui.htm b/doc/salome/gui/GUI/introduction_to_gui.htm deleted file mode 100755 index 4c0851e39..000000000 --- a/doc/salome/gui/GUI/introduction_to_gui.htm +++ /dev/null @@ -1,192 +0,0 @@ - - - - - -Introduction to GUI - - - - - - - - - - - - - -

Introduction to GUI

- -

GUI (Graphical User Interface) provides - a common shell for all components, which can be integrated into the SALOME - platform.

- -

 

- -

GUI - component in SALOME platform provides:

- -

 

- -
    - -
  • Common - desktop environment (SALOME desktop) - for all components

  • - -
  • Component - integration and management: uploading, switching, component menus/toolbars - handling

  • - -
  • Study - management (creation, saving, loading, editing studies)

  • - -
  • Multi-window - management in the framework of one study

  • - -
  • Management - of objects created or imported into the SALOME application (Object - Browser)

  • - -
  • Integrated - Python interpreter

  • - -
  • Output - messages window

  • - -
  • Additional - tools : Catalogue Generator, - Registry tool

  • - -
  • Standard - viewers for data visualization:

  • -
- -

- - VTK 3d viewer,

- -

- - OCC 3d viewer,

- -

- - Gauss Points viewer

- -

- - Plot 2d viewer,

- -

- - Supervision viewer.

- -

 

- -

Since version 3.0.0 SALOME GUI is based on - SUIT (Salome User Interface Toolkit) that proposes very flexible, powerful - and safe mechanisms of interaction with SALOME tool components (both CORBA - and standalone), resources management, viewers and selection handling, - exception/signals processing, bringing to top multi-desktop dockable-windowed - user interface which improves the usability of SALOME GUI.

- -

All Graphical User Interfaces of standard - modules have plug-in structure, i.e. each module is placed in a dynamic - library which is loaded on demand. All modules can create their own menu - items, buttons in toolbar, windows etc

- -

 

- - - -Related Topics - - - - - - - diff --git a/doc/salome/gui/GUI/kernel.log b/doc/salome/gui/GUI/kernel.log deleted file mode 100755 index a22dc0334..000000000 --- a/doc/salome/gui/GUI/kernel.log +++ /dev/null @@ -1,270 +0,0 @@ -|SourceProjectName:KERNEL.hpr -|DestinationProjectName:index.htm -whhost.js -whmsg.js -whmozemu.js -whproxy.js -whstub.js -whutils.js -whver.js -whform.js -whphost.js -whstart.js -whtopic.js -whframes.js -whlang.js -whskin_info.htm -whskin_blank.htm -whskin_pickup.htm -whskin_homepage.htm -whskin_tw.htm -whnjs.htm -whthost.js -whtdhtml.htm -whihost.js -whibody.htm -whiform.htm -whfhost.js -whfbody.htm -whfform.htm -whghost.js -whgbody.htm -whgdhtml.htm -whgdef.htm -whproj.js -whproj.xml -whproj.htm -whxdata\whtoc.xml -whxdata\whidx.xml -whxdata\whfts.xml -whxdata\whglo.xml -whdata\whtoc.js -whdata\whtoc.htm -whdata\whtdata.js -whdata\whidx.js -whdata\whidx.htm -whdata\whidata.js -whdata\whfts.js -whdata\whfts.htm -whdata\whglo.js -whdata\whglo.htm -whdata\whgdata.js -whdata\whftdata.js -whdata\whfwdata.js -whres.xml -webhelp.jar -webhelp.cab -whgdata\whnvp30.htm -whgdata\whnvp31.htm -whgdata\whnvp32.htm -whgdata\whnvp33.htm -whgdata\whnvt30.htm -whgdata\whnvt31.htm -whgdata\whnvt32.htm -whgdata\whnvt33.htm -whgdata\whnvf30.htm -whgdata\whnvf31.htm -whgdata\whnvf32.htm -whgdata\whnvf33.htm -whgdata\whnvl31.htm -whgdata\whnvl32.htm -whgdata\whnvl33.htm -whgdata\whexpbar.gif -cshdat_webhelp.htm -whcsh_home.htm -whcshdata.htm -cshdat_robohelp.htm -whd_topic.xml -whd_nvp10.htm -whd_nvp20.htm -whd_tabs.htm -whd_dpns.htm -whd_tab0.gif -whd_tab1.gif -whd_tab2.gif -whd_tab3.gif -whd_tab4.gif -whd_tab5.gif -whd_tab6.gif -whd_tab7.gif -whd_tab8.gif -whd_toc1.gif -whd_toc2.gif -whd_toc3.gif -whd_toc4.gif -whd_show0.gif -whd_show1.gif -whd_show2.gif -whd_hide0.gif -whd_hide1.gif -whd_hide2.gif -whd_sync0.gif -whd_sync1.gif -whd_sync2.gif -whd_prev0.gif -whd_prev1.gif -whd_prev2.gif -whd_next0.gif -whd_next1.gif -whd_next2.gif -whd_wbsh0.gif -whd_wbsh1.gif -whd_wbsh2.gif -whidhtml.htm -whfdhtml.htm -index_hha.hhk -index.hhc -index.hhk -dump_study.htm -geom_preferences.htm -introduction_to_gui.htm -kernel\about_salome_pro_architecture.htm -kernel\about_salome_pro_help_system.htm -kernel\creating_a_new_study.htm -kernel\displaying_studies.htm -kernel\editing_studies.htm -kernel\getting_properties_of_the_study.htm -kernel\getting_started2.htm -kernel\introduction.htm -kernel\introduction_to_salome_pro.htm -kernel\navigating_topics.htm -kernel\opening_studies.htm -kernel\readme.html -kernel\running_salome_pro.htm -kernel\salome_pro_desktop.htm -kernel\saving_a_study.htm -kernel\setting_preferences.htm -kernel\using_catalog_generator.htm -kernel\using_left-hand_tabs.htm -kernel\using_object_browser.htm -kernel\using_registry.htm -mesh_preferences.htm -post-pro_preferences.htm -select_color_and_font.htm -setting_preferences.htm -ehelp.xml -robohhre.lng -texture_horiz_ltbluebubbles.jpg -index.glo -default.css -pics\registry1.png -pics\open.jpg -pics\icon_about.png -pics\registry3.png -pics\studyproperties.png -pics\readmepage.png -pics\registry4.png -pics\cataloggenerator.png -tip1.gif -pics\pref31.png -pics\save.jpg -pics\pref32.png -pics\pref21.png -image70.gif -pics\newsticn.jpg -pics\pref33.png -pics\pref22.png -pics\pref11.png -image71.gif -pics\pref34.png -pics\pref23.png -pics\pref12.png -image94.gif -closestudy.png -image72.gif -pics\copy-paste.jpg -pics\pref24.png -pics\pref13.png -pics\selectfont.png -pics\view2.png -image54.jpg -image73.gif -pics\selectcolor.png -pics\exemple.gif -pics\pref14.png -pics\dumpstudy.png -pics\neo-view2.png -pics\pref37.png -pics\pref15.png -image75.gif -i_blue.jpg -pics\productpage.png -pics\pref38.png -image65.gif -note1.gif -pics\intropage.png -pics\pref39.png -pics\import.png -pics\objectbrowser1.png -pics\progresspage.png -pics\objectbrowser2.png -image67.gif -pics\loadscript.png -pics\geomview-alt.png -pics\lockedstudy.png -pics\loadstudy2.png -image68.gif -pics\choicepage.png -image69.gif -index.ppf -ehlpdhtm.js -ss_btn_related_topics.gif -default_ns.css -whxdata\whtdata0.xml -whxdata\whftdata0.xml -whxdata\whfwdata0.xml -whxdata\whgdata0.xml -whdata\whtdata0.htm -whdata\whftdata0.htm -whdata\whfwdata0.htm -whdata\whgdata0.htm -whgdata\whlstt0.htm -whgdata\whlstt1.htm -whgdata\whlstt2.htm -whgdata\whlstt3.htm -whgdata\whlstt4.htm -whgdata\whlstt5.htm -whgdata\whlsti0.htm -whgdata\whlstfl0.htm -whgdata\whlstfl1.htm -whgdata\whlstfl2.htm -whgdata\whlstfl3.htm -whgdata\whlstfl4.htm -whgdata\whlstfl5.htm -whgdata\whlstfl6.htm -whgdata\whlstfl7.htm -whgdata\whlstfl8.htm -whgdata\whlstfl9.htm -whgdata\whlstfl10.htm -whgdata\whlstfl11.htm -whgdata\whlstfl12.htm -whgdata\whlstfl13.htm -whgdata\whlstfl14.htm -whgdata\whlstfl15.htm -whgdata\whlstfl16.htm -whgdata\whlstfl17.htm -whgdata\whlstfl18.htm -whgdata\whlstfl19.htm -whgdata\whlstfl20.htm -whgdata\whlstfl21.htm -whgdata\whlstfl22.htm -whgdata\whlstfl23.htm -whgdata\whlstfl24.htm -whgdata\whlstfl25.htm -whgdata\whlstfl26.htm -whgdata\whlstf0.htm -whgdata\whlstf1.htm -whgdata\whlstf2.htm -whgdata\whlstf3.htm -whgdata\whlstf4.htm -whgdata\whlstf5.htm -whgdata\whlstf6.htm -whgdata\whlstf7.htm -whgdata\whlstf8.htm -whgdata\whlstf9.htm -whgdata\whlstf10.htm -whgdata\whlstf11.htm -whgdata\whlstg0.htm -index.htm -index_csh.htm -index_rhc.htm diff --git a/doc/salome/gui/GUI/kernel/about_salome_pro_architecture.htm b/doc/salome/gui/GUI/kernel/about_salome_pro_architecture.htm deleted file mode 100755 index fea72b8b1..000000000 --- a/doc/salome/gui/GUI/kernel/about_salome_pro_architecture.htm +++ /dev/null @@ -1,243 +0,0 @@ - - - - - -About SALOME architecture - - - - - - - - - - - - -

 SALOME - architecture

- -

SALOME - architecture is based on CORBA - technology using distributed system model of applications. This architecture - takes the concept of multitier client/server to its natural conclusion. - The distributed system model exposes all functionality of the application - as objects, each of which can use any of the services provided by other - objects in the system, or even objects in other systems. The architecture - can also blur the distinction between "client" and "server" - because the client components can also create objects that behave in server-like - roles. This architecture provides the ultimate in flexibility.

- -

The - distributed system architecture achieves its flexibility by encouraging - (or enforcing) the definition of specific component interfaces. The interface - of a component specifies to other components what services are offered - by that component and how they are used. As long as the interface of a - component remains constant, that component's implementation can change - dramatically without affecting other components.

- -

All - software components (Post-Pro, Geometry, Mesh...) integrated into SALOME - platform  implement - predefined interfaces. Each component provides data for the SALOME study in a form of links (stored in the - Study) to the specific data created and stored in the component. All components - represent CORBA servers and - it allows to run them on different host stations.

- -

 

- -

- -

 

- -

It is equally possible to create engine-independent - modules. These modules may not use CORBA at all, and can have internal - data structure which can be written in pure C++ (or python). Such modules - are located inside SALOME GUI process and from the point of view of the - end user have no difference with standard components. Such modules not - using the standard tools of SALOME platform are defined on a special separated - level named CAM. CAM component is the basis for new SALOME GUI and contains - all basic functionality for working with modules (loading; saving, closing, - customization of toolbar and menu).

- -

Another fundamental piece of the SALOME architecture is the use of the - Interface Definition Language (IDL). IDL, which specifies interfaces between - CORBA components, is instrumental in ensuring CORBA's language independence. - Because interfaces described in IDL can be mapped to any programming language, - CORBA applications and components are thus independent of the language(s) - used to implement them.

- -

Additional - information about CORBA technology is available at www.omg.org -  

- -

 

- -

 In SALOME there - is a possibility to run definite components in the so-called batch mode - without GUI provided by GUI component. In this case you can work with - these components with the help of Python commands and scripts.  

- -

 

- -

The - architecture of this all-inclusive platform for numerical components  responds - to the following objectives:

- -

 

- -
    - -
  • Flexibility :  the - creation and modification of computation schemes must be easy. The developer - must have easy access to all modeling parameters to create domain-specific - tools adapted to new situations or to test new numerical algorithms. SALOME - allows integration and implementation of numerical and physical components - derived from existing code.

  • -
- -

 

- -
    - -
  • Productivity :  the - implementation of code is simple for the user and the reuse of components - (within other environments for macro-components) is noticeably facilitated.

  • -
- -

 

- -
    - -
  • Performance :  SALOME - is able to more finely simulate phenomena that is more complex in scale - and in physical coupling requirements. SALOME - economically exploits the performance of used machines (massively - parallel processors, PC clusters, etc).

  • -
- -

 

- -
    - -
  • Expandability:  on - the one hand, software technologies and physical architectures evolve - rapidly compared to the development time, validation and use of a scientific - application while on the other hand, the development of a database model - adapted to the totality of exchanges between components can be achieved - incrementally. SALOME  is - able to easily follow these developments.

  • -
- -

 

- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/about_salome_pro_help_system.htm b/doc/salome/gui/GUI/kernel/about_salome_pro_help_system.htm deleted file mode 100755 index 0159d82c3..000000000 --- a/doc/salome/gui/GUI/kernel/about_salome_pro_help_system.htm +++ /dev/null @@ -1,116 +0,0 @@ - - - - - -About SALOME help system - - - - - - - - - - - - -

About SALOME help system

- -

Welcome - to SALOME help system. This on-line help has been created in the HTML - format with the help of Java applets. It can be launched in any WEB browser - (Internet Explorer, Netscape Navigator and others) and on any platform - (Windows, Macintosh, Linux and UNIX).

- -

 

- -

The SALOME reference - manual contains a set of topics which are divided into different chapters - describing the functionality of different modules of the SALOME platform. - This help system contains a wide variety of navigation - components and search - utilities which will help you to get acquainted with all features - of SALOME.

- -

 

- -

  -Related Topics - - -

- - - - diff --git a/doc/salome/gui/GUI/kernel/creating_a_new_study.htm b/doc/salome/gui/GUI/kernel/creating_a_new_study.htm deleted file mode 100755 index e8655a80a..000000000 --- a/doc/salome/gui/GUI/kernel/creating_a_new_study.htm +++ /dev/null @@ -1,183 +0,0 @@ - - - - - -Creating a new study - - - - - - - - - - - - - -

Creating a new study

- -

Study is a document within GUI, an abstraction layer between actual - document data (probably, remote data available through CORBA) and data - presentation (in the Object Browser). It contains a tree of Data Object - instances.

- -

 

- -

To - create a new study:

- -

From - the main menu select File > - New or in the - standard toolbar click icon.

- -

 

- -

Your study will be created - with default name Study1. In SALOME - you can create several studies.

- -

 

- -

In addition to it, you - can create several windows with different activated viewers (VTK, OCC, - Plot2d) for each study.

- -

 

- -

To create a new window - for a definite study:

- -

 

- -

1.  Make - your study active: maximize it - (if it minimized) or  click - on the top control zone of the study window.

- -

 

- -

2.  From - the main menu select Window > New - Window and from the submenu choose the viewer, which will be activated - in a new window.

- -

 

- -

The window for your study - will be created with a default name Study1.

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/displaying_studies.htm b/doc/salome/gui/GUI/kernel/displaying_studies.htm deleted file mode 100755 index ce1e0b792..000000000 --- a/doc/salome/gui/GUI/kernel/displaying_studies.htm +++ /dev/null @@ -1,152 +0,0 @@ - - - - - -Displaying studies - - - - - - - - - - - - - -

Displaying studies

- -

Starting from SALOME version 3.0.0. you are able to work in a multi-desktop - environment, which means that you can open as many studies as you need, - place them wherever you wish on the desktop, in brief, work with Salome - Platform like with a normal Windows application.

- -

Such windows as Object Browser and Python Console are dockable and also - can be placed at any part of the desktop.

- -

Only one study window in representation area can be active. You can - change their size and move any windows between representation areas. When - an area becomes empty, it is not displayed.

- -

All windows are placed inside tabs where you can switch between them. - If there are several windows (viewers) in your current study and you want - to display more then one at the same time, you can split representation - area into two parts, in horizontal or vertical direction, to create two - representation areas with windows be placed in them. To do this, right-click - on the tab and select Split Vertically - or Split Horizontally.

- -

 

- -

For example, on this screen-shot the active zone has been split horizontally - to be able to work with OCC and VTK viewers simultaneously, the one of - the windows was split again, at this time vertically to see Plot 2d graphs. -

- -

 

- -

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/editing_studies.htm b/doc/salome/gui/GUI/kernel/editing_studies.htm deleted file mode 100755 index 68d849757..000000000 --- a/doc/salome/gui/GUI/kernel/editing_studies.htm +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -Editing studies - - - - - - - - - - - - - -

Editing studies

- -

SALOME - has Copy/Paste functionality - allowing to edit your study within a definite component:

- -

 

- -

To copy/paste a definite - object:

- -

In the main toolbar - click one of the icons or from the main menu choose Edit > Copy/Paste option.

- -

The availability of Copy/Paste operations - depends on the module and the nature of an operation or an object, so - if the module does not provide this functionality, it won't be available.

- -

 

- -

-Related Topics - - -

- - - - diff --git a/doc/salome/gui/GUI/kernel/getting_properties_of_the_study.htm b/doc/salome/gui/GUI/kernel/getting_properties_of_the_study.htm deleted file mode 100755 index 5f56db430..000000000 --- a/doc/salome/gui/GUI/kernel/getting_properties_of_the_study.htm +++ /dev/null @@ -1,190 +0,0 @@ - - - - - -Getting properties of the study - - - - - - - - - - - - - -

Setting study properties

- -

To view the properties - of the current study:

- -

 

- -

From the main menu select - File > Properties option. The - following dialog box will appear:

- -

 

- -

- -

 

- -

This dialog box gives - complete information about your study.

- -

 

- -

To change the name of the study author:

- -

 

- -

In this dialog box click - on the Author field and enter - a new name.

- -

 

- -

To view the list of changes made with your study:

- -

 

- -

In this dialog box click - on the Modifications field and - scroll it down. Each record contains the following information: date and - time of modification of the study, name of the user, who has made these - changes.    

- -

 

- -

To lock your study for modifications:

- -

 

- -

In the dialog box shown - on the picture above click on the Locked - field and choose Yes item. -

- -

 

- -

In this case your study - will be locked for any kind of modifications for all users. Next time - you try to edit it, you will see the following warning message:

- -

 

- -

- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/getting_started2.htm b/doc/salome/gui/GUI/kernel/getting_started2.htm deleted file mode 100755 index b355d9e35..000000000 --- a/doc/salome/gui/GUI/kernel/getting_started2.htm +++ /dev/null @@ -1,135 +0,0 @@ - - - - - -Getting started2 - - - - - - - - - - - - -

Getting started

- -

When you start the SALOME Platform, the - following initial desktop window appears:

- -

 

- -

- -

In general, the SALOME platform - is destined for performance of different numerical calculations and  visualization - of the resulting data. For that purpose, in the SALOME environment the - following notion is used  - - Study.

- -

Study represents a working document in - which you can realize all operations connected with the SALOME functionality. -

- -

SALOME is a multi-study platform. It means - that simultaneously you can work with several studies.      

- -

 

- -

To proceed working in SALOME you should create or open a new - study.  

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/introduction.htm b/doc/salome/gui/GUI/kernel/introduction.htm deleted file mode 100755 index 019cc7f42..000000000 --- a/doc/salome/gui/GUI/kernel/introduction.htm +++ /dev/null @@ -1,235 +0,0 @@ - - - - - -Introduction - - - - - - - - - - - - -

- -

Introduction

- -

Welcome to SALOME Platform! Modern technological - products (cars, structures, electrical or electronic equipment) are getting - more and more complex every year and must meet increasingly severe requirements - in terms of quality and performance. For example, for structures and their - environment the demands to reduce risks and optimize costs are extremely - high. It requires particularly refined simulations concerning structural - behavior and robustness to ensure high reliability.

- -

The - numeric modeling of a physical problem, the development of solutions and - their integration into the design process are often handled in very specific - environments. SALOME represents a generic CAD-based application for digital - simulation with "high reactivity to market evolutions and customer - expectations".

- -

 

- -

SALOME - is a free software that provides a generic platform for Pre and Post-Processing - for numerical simulation. It is based on an open and flexible architecture - made of reusable components available as free software.

- -

 

- -

SALOME - is a CAD/CAE integration platform. It provides reusable components for: -

- -
    - -
  • 3D - modeling (bottom-up construction, import, healing);

  • - -
  • Visualization;

  • - -
  • Computational - schemas management;

  • - -
  • Post-processing.

  • -
- -

SALOME - is tailored for integration of custom components:

- -
    - -
  • CAD - interfaces;

  • - -
  • Mesh - generators;

  • - -
  • Finite - Element solvers with specific pre-processors.

  • -
- -

The - SALOME platform is available in Open Source.

- -

 

- -

Salome Platform:

- -
    - -
  • Supports - interoperability between CAD modeling and computation software (CAD-CAE - link)

  • - -
  • Makes - easier the integration of new components on heterogeneous systems for - numerical computation

  • - -
  • Sets - the priority to multi-physics coupling between computation software

  • - -
  • Provides - a generic user interface, user-friendly and efficient, which helps to - reduce the costs and delays of carrying out the studies

  • - -
  • Reduces - training time to the specific time for learning the software solution - which has been based on this platform

  • - -
  • All - functionalities are accessible through the programmatic integrated Python - console

  • -
- -

 

- - --- - - - -
-

-

What - can you do in SALOME? (Some of SALOME main functions)

-
    - -
  • Define geometrical models - (create/modify geometrical items), import and export them using the BREP, - IGES and STEP formats;

  • - -
  • Define - meshing of these geometrical items, import and export them;

  • - -
  • Handle - physical properties and quantities attached to geometrical items, import - and export them to a reusable format;

  • - -
  • Perform - computations using a solver (optionally provided): read input data, configure - the solver, and write calculation results);

  • - -
  • Visualize - result fields in 3D, 2D and export images of their visualization to an - appropriate format;

  • - -
  • Manage - study schemes: definition, save/restore;

  • - -
  • Manage - computation schemes: definition, execution.

  • -
- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/introduction_to_salome_pro.htm b/doc/salome/gui/GUI/kernel/introduction_to_salome_pro.htm deleted file mode 100755 index 5355481c4..000000000 --- a/doc/salome/gui/GUI/kernel/introduction_to_salome_pro.htm +++ /dev/null @@ -1,214 +0,0 @@ - - - - - -Introduction to SALOME - - - - - - - - - - - - - -

Introduction - to SALOME

- -

 SALOME - platform represents a generic open source platform for pre- and post-processing - in numeric simulations. SALOME - combines several software components, which are built in such a way that - it allows to integrate solvers and existing meshing algorithms along with - the specification of physical properties for a given domain. The originality - of this approach is that the various components must cooperate dynamically - and be configurable.

- -

 

- -

- -

 

- -

 

- -

SALOME - platform integrates a number of modules each having its own function:

- -

 

- -
    - -
  • KERNEL :  provides a common - shell for all components, which can be integrated into the SALOME platform.

  • -
- -

 

- -
    - -
  • GUI - : provides visual representation: - basic widgets, viewers etc. - Third party modules optionally can have GUI, but in any case they always - connected with KERNEL.

  • -
- -

 

- -
    - -
  • Geometry :  facilitates - construction and optimization of geometrical models using a wide range - of  CAD - functions.

  • -
- -

 

- -
    - -
  • Mesh :  generates - meshes on geometrical models previously created or imported by the GEOM - component.

  • -
- -

 

- -
    - -
  • Supervisor :  provides - tools for construction of graphs and execution of calculations.

  • -
- -

 

- -
    - -
  • Post-Pro :  performs - data visualization.

  • -
- -

 

- -
    - -
  • MED :  allows - to work with MED files.

  • -
- -

 

- -

-Related Topics - - -

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/navigating_topics.htm b/doc/salome/gui/GUI/kernel/navigating_topics.htm deleted file mode 100755 index c98791e2a..000000000 --- a/doc/salome/gui/GUI/kernel/navigating_topics.htm +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Navigating topics - - - - - - - - - - - - -

Navigating topics

- -

Topics in the SALOME - Help system include - a variety of navigation components including:

- -

 

- -
    - -
  • Related Topics buttons: When you click - a Related Topics button, a pop-up menu opens that displays a list of topics - you can go to. The topics are relevant to what you are currently reading - in the right-hand pane or they cross-reference related information that - you can go to. Click a topic from the pop-up and it opens in the right-hand - pane.

  • -
- -

 

- -
    - -
  • Drop-down hotspots: Many topics include - drop-down hotspots. This is clickable text (text links) that displays - more information below the hotspot. You only need to click the hotspots - you want to read. To close the text, click the hotspot again.

  • -
- -

 

- -
    - -
  • Expanding hotspots: Some topics include - expanding hotspots. This kind of hotspot is a text link that displays - information immediately following the text. You only have to click the - hotspots you want more information about. To close the text, click the - hotspot again.

  • -
- -

 

- -
    - -
  • Text-only popups: This kind of link - is text that displays a pop-up window when clicked. The popup window displays - brief information about a term or concept relevant to the topic you're - currently reading. When you finish viewing the information, you click - inside the pop-up window to close it.

  • -
- -

 

- -
    - -
  • Popups: When you click some links, the - destination topic opens in a popup inside the same window that's open. - It's like having two windows in one, only the focus is on the information - in the popup. When you finish reading the information in the popup, you - can close it from view or navigate to any of its links.

  • -
- -

      

- -

-Related Topics - - -

- - - - diff --git a/doc/salome/gui/GUI/kernel/opening_studies.htm b/doc/salome/gui/GUI/kernel/opening_studies.htm deleted file mode 100755 index 454f55f61..000000000 --- a/doc/salome/gui/GUI/kernel/opening_studies.htm +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -Opening studies - - - - - - - - - - - - - -

Opening studies

- -

In SALOME all studies are stored in a special - format *.hdf.

- -

 

- -

To open an existing - study:

- -

 

- -

In - the main toolbar click or - from the main menu select File - > Open option. - From a standard Search File dialog box choose the required *.hdf file - and click Open - button.

- -

 

- -

 

- -

To - load an unloaded study (see also): -

- -

 

- -

From the main menu select - File > Connect option. In the - following dialog box select one of the studies, which has been previously - created and unloaded and click Ok - button:

- -

 

- -

- -

 

- -

After opening an existing study, you will see its structure - in the Object Browser. It will - contain the objects created with the help of different components during - the previous study session. If you right-click on one of the objects and - from the associated pop-up menu choose Open - With option, which will automatically - launch the component corresponding to this object.

- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/readme.html b/doc/salome/gui/GUI/kernel/readme.html deleted file mode 100755 index 2f9ad432d..000000000 --- a/doc/salome/gui/GUI/kernel/readme.html +++ /dev/null @@ -1,1358 +0,0 @@ - - - - - -Installation Wizard - - - - - - - - - - - - -

Installing SALOME

- - -
- - - - - -
- - -

Installing products with the Installation Wizard

- -

The Installation Wizard can be launched in two modes: GUI and batch. -
-The root directory of the Installation Wizard contains python script runInstall. To run the Installation - Wizard just type runInstall in terminal window:

- -

[ python ] runInstall [<options>]. -  Each - option has short and long notation:

- -

 

- - - --- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-g  / -  --gui

-

Runs the Installation Wizard in the GUI mode (default option). In this - case only <xml-file> key - is taken into account. Other parameters are ignored.  

-

-b  / -  --batch -

-

Runs the Installation Wizard in command-line mode.

-

-f  <FILE> /  --file=<FILE> -

-

The configuration file to be used by the Installation Wizard.  - If this parameter is not used then the installation script tries to define - the Linux version and - use the corresponding xml file. For example, config_Mandrake10_1.xml  - file is to be used for  Linux - Mandrake 10.1. If the appropriate file is not found, the file config.xml - will be used.  This file refers to the basic target platform which - is Linux Mandrake 10.1 for SALOME 3.0 and higher. If config.xml file is - also not found, the warning message box is shown (in GUI mode) or printed - to the console (in batch mode) and the Installation Wizard quits.

-

-d <DIR> / --target=<DIR> -

-

The target directory for SALOME platform to be installed to. If used, -  this option - overrides the default target directory, defined in the configuration XML - file (usually ${HOME}/salome_<version>).

-

 -t <DIR> / --tmp=<DIR> -

-

The directory, which is used for temporary files. If used, this option - overrides the default temporary directory, given in the configuration - xml file (usually /tmp, see here).

-

-h /  --help -

-

Prints help information about available options.

-

-v / --version

-

Prints version information (Note: this is the Installation Wizard's - version number, not of SALOME platform).  

- -

    -    
-T
o run the Installation Wizard in the GUI mode, just type runInstall. -

- -

 

- -

The installation procedure can support some different Linux platforms - and various number of products. As it was mentioned above the basic target - platform for SALOME 3.0.0 and higher is Linux Mandrake 10.1.
 

- -

The using of configuration xml files gives flexible way to modify the - list of products to be installed by the Installation Wizard without changing - program's source code. Just create your own configuration file and implement - installation scripts for products you want to be provided by Wizard. See - modifying XML configuration file and implementing - installation scripts for the new products for more information.

- -

 

- -

The Installation Wizard was built with using - of the Trolltech's Qt  - 3.0.5 library. The program contains several pages. To navigate - between pages use "Next" and "Back" - buttons in the lower part of the wizard window. "Cancel" - button closes dialog window and quits the installation procedure. To invoke - this help information click "Help" button.

- -

 

- -

Skip the first "Introduction" page by pressing "Next" - button:

- -

 

- -

- -

 

- -

Figure 1: "Introduction" - page

- -

 

- -

In the second page you are proposed to enter the target directory where - all selected products should be installed to. You can also press the "Browse..." - button and choose the folder for installation using standard Qt's - browse directory dialog box.
-If the directory you want to install products to does not exist you will - be prompted to confirm the directory creation. If you type a wrong directory - path, or if you have no permission for the directory you use, the corresponding - message box will appear.

- -

The Installation Wizard has two modes of the installation: basic (default) - and advanced. In the basic mode it is necessary just to enter the target - directory. If you want to use the advanced mode, click the "More..." - button.

- -

 

- -

In the advanced mode you have the possibility to select products to - be installed (see Fig.2 ). Each product can - have several options of installation: you have a possibility to use native - products, install already precompiled binaries, build product from the - sources or not install it at all. Possible options and default choice - are provided by the configuration file. You can mark the products you - want to install by clicking the corresponding radio buttons in the list - view in the left part of the page. Note that some products can be installed - only together with other products (or these prerequisite products should - be already installed on your computer). The installation procedure has - a special feature to automatically mark these products in the list view. - For example, in order to install PyQt it is necessary to - have gcc, Python, Qt and Sip - installed. Therefore all these products will be marked when you check - PyQt. This feature can be switched off by clicking the "Auto - set prerequisites products" checkbox.
 

- -

Special button in the right part of the page - "Unselect All" - - allows to quickly reset all products to the "not install" - state.
-If you want to use native products (like gcc, - tcl, etc.), select the "use - native" option.

- -

 

- -

There are also two checkboxes on this page: "SALOME sources" - and "SALOME binaries". These three-state checkboxes allow - quick selecting/unselecting SALOME packages for the installation.

- -

 

- -

The box in the right part of the page displays the information about - currently highlighted product: name, version, short description (if provided - in XML file), required disk space, disk space required for temporary files, - list of prerequisites and current user choice.  

- - - -

- -

 

- -

Figure 2: "Installation - settings" page in the advanced mode

- -

 

- -

The "Total disk space required:" field displays how - much disk space on the hard drive is required for installation of selected - products.

- -

 

- -  - -

Please, take into account - that the displayed amount of required disk space is approximate and may - differ when you install products on your hard drive.

- -

 

- -

The installation procedure uses a special directory to store temporary - files. The "Space for temporary files:" field shows the - information about required disk space on the hard drive for extracting - and compiling of the selected products. You can change the default directory - - just type path to the folder you want to use or click on the corresponding - "Browse..." button.

- -

 

- -

In fact, temporary files - are not stored in the directory entered by user. The Installation Wizard - creates in this directory an additional folder named something like INSTALLWORKXXXXX where XXXXX is a unique number. - This allows to launch several Installation Wizards simultaneously. This - temporary directory is removed automatically when the installation finishes.

- -

 

- -

The installation procedure also checks the available disk space in the - selected directories according to the products selected. If there is not - enough disk space on your hard drive you will see the corresponding error - message box.

- -

 

- -

Unfortunately, the configure - procedure has a very annoying bug under Linux platform. The directory - should be obligatory entered without spaces. For example, the configure - procedure for gcc won't work if you pass the following parameter: - --prefix="/New Folder 1". Therefore you are strongly - recommended not to use directory names containing spaces.

- -

 

- -

To proceed further click the "Next" button. At this - moment the program will make some tests to check installation settings: - whether there is enough disk space on the hard drive, whether native products - are preinstalled, and the dependencies (prerequisites) for each product - you have selected to be installed. If any test fails you will see the - corresponding warning message box. Otherwise the wizard will follow to - the next page:

- -  - -

- -

 

- -

Figure 3: "Check - your choice" page

- -

 

- -

This page summarizes the installation settings you've made on the previous - pages. You can check again your choice to change it if necessary.

- -  - -

When you are sure that everything is OK, press the "Next" - button to follow to the next page.

- -

 

- -

 

- -

 

- -

Figure 4: "Installation - progress" page

- -

 

- -

To start installation of the selected products click "Start" - button. It launches the shell installation script and you will be able - to see the output of the script in the dialog's topmost  frame. - In case of any installation problems (for example, you have accidentally - removed the temporary directory) the script will ask you: "Would - you like to continue : (Y,N) ?". You can answer this question - by typing [Y] or [N] in the middle text edit control frame.

- -

 

- -

press [Enter] when you finish - typing data.

- -

 

- -

The "Installation Status" frame window shows you the - progress of installation. It contains a list of all selected products - with brief descriptions. "Waiting" - description means that installation of this product have not started yet. - Currently the product being installed is marked as "Processing". All installed products have - "Completed" description.

- -

You can abort installation and close the installation procedure using - the "Cancel" button. It sends the signal "SIGTERM" - to the shell script. The script has a signal handler and will try to clear - all temporary files. The process of removing temporary files can take - some time, so the installation wizard will wait 3 seconds before closing. -

- -

At the end of installation (when all selected products have been installed - successfully) you can go back to the previous pages to start a new installation - or click the "Next" button to go the Readme page:

- -  - -

- -

 

- -

Figure 5: "Finish - installation" page

- -

 

- -

In this page you can read some important information about the Instalation - Wizard itself and some hints: how to run and test SALOME or how to build - SALOME from the sources. This is the content of the README file which - you can find in the root directory of the Installation Wizard.
-You can also launch SALOME Desktop from this page by clicking the "Launch - SALOME" button.

- -

 

- -

During the process of installation the script - creates some environment files to simplify the procedure of launching - SALOME. These shell scripts set all necessary environment variables for - all products you have installed. To learn how installation scripts collect - the environment, see  here.

- -

 

- -

These files are: salome.csh + salome.sh in the KERNEL - module sources and KERNEL - module binaries root directories and env_products.csh - + env_products.sh in the target directory.

- -  - -

salome.(c)sh and env_products.(c)sh - files are slightly different: env_products.* files are optimized to - be used for the building of SALOME modules from the sources (see README file provided with the installation - procedure on the CD). The salome.* files are optimized for the SALOME - launching. This difference is defined by the environment variable ENV_FOR_LAUNCH which is set - to 0 in env_products.* files and to 1 in salome.* files.

- - -
- - -

Notes on check products - version procedure

- -

Unfortunately under Linux platform there is no exact algorithm to identify - the product's version. The table below gives an idea how the version is - checked for the preinstalled products for the Linux Mandrake 10.1 platform. -

- -

 

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Product

-

Algorithm of checking

-

Preliminary steps before launching
-the installation procedure

-

Notes

gcc 3.4.1ver=`gcc - -dumpversion` -

-

It is recommended to use the native - gcc for Mandrake 10.1.
tcl 8.4.51) - check if TCLHOME variable is set
-2)
existence of tclsh8.4
-3)
existence of wish8.4
-4)
existence of libtcl8.4.so
-5)
existence of libtk8.4.so
set TCLHOME - if you have a preinstalled version of tcl.
-add a directory where libraries can be found to the LD_LIBRARY_PATH
Unfortunately there is no strict - way to check the tcl version number.
-It is recommended to use the native tcl/tk for Mandrake 10.1.
boost 1.31.01) check if BOOSTDIR variable is set.
-2)
ver=`egrep 'BOOST_VERSION - [0-9]+' ${BOOSTDIR}/boost/version.hpp | sed 's/.*BOOST_VERSION \([0-9]\+\)/\1/g'`
set BOOSTDIR if - you have a preinstalled version of boostwe use file version.hpp in the boost distribution to get - the version information.
-ver
should be equal to 103100.
Open CASCADE -

Technology 6.1

1) - check if CASROOT variable is set
-2)
ver_major=`grep "!define OCC_VERSION_MAJOR" ${CASROOT}/inc/Standard_Version.hxx - | awk '{print $3}'`
-3)
ver_minor=`grep "!define OCC_VERSION_MINOR" ${CASROOT}/inc/Standard_Version.hxx - | awk '{print $3}'`
-4)
ver="$ver_major.$ver_minor"
-5)
Check the existence of libStdPlugin.so in OpenCASCADE distribution,
set CASROOT - if you have a preinstalled version of Open CASCADEOpen CASCADE's Standard_Version.hxx - file provides the version information.
-ver
should be equal to 6.1.
Python 2.3.41) - PYTHONHOME variable should be - set
-2)
isPython=`which python`
-3)
ver=`python -V`
set PYTHONHOME - to root Python distribution folder;
-add the directory where python can be found to the PATH - variable
Python should exist and ver - should be equal to 2.3.4
-It is recommended to use the native Python for Mandrake 10.1.
Swig 1.3.24ver=`swig - -version 2>&1 | grep -i version | awk '{ print $3 }' | sed -e 's/^\([0-9.]*\)\(.*\)/\1/'`add the directory where swig binary - can be found to the PATH variableSwig should exist and ver - should be equal to 1.3.24.
Qt 3.3.31) - QTDIR variable should be set.
-2) ver
=`grep "QT_VERSION_STR" ${QTDIR}/include/qglobal.h - | sed -e 's%^#define QT_VERSION_STR\([[:space:]]*\)%%g' -e 's%\"%%g'`
set QTDIR - if you have a preinstalled version of qtQt's qglobal.h file provides version - information: ver should be equal - to 3.3.3.
-It is recommended to use the native Qt for Mandrake 10.1.
msg2qm (Qt 3.3.3 compatible)MSG2QM_ROOT - variable should be set.set  MSG2QM_ROOT - if you have preinstalled version of msg2qm toolmsg2qm is a Qt tool used to convert - text *.po files to *.qm resource files. Unfortunately this tool is not - included in the Qt distribution and is provided only in its sources package. - We distribute this tool with the Installation Wizard.
-In addition there is no way to check the version number of msg2qm tool.
Qwt 4.2.0/0.2.41) - QWTHOME variable should be set.
-2)
check if libqwt.so.4.2.0 exists
set  QWTHOME - if you have a preinstalled version of qwtUnfortunately there is no strict - way to check the qwt version number.
-We try to find libqwt.so.4.2.0 in the ${QWTHOME}/lib - folder. 
Hdf 51.6.31) - HDF5HOME variable should be set.
-2)
existence of libhdf5.so.0.0.0
-3)
existence of libhdf5.settings
-4)
ver=`grep "HDF5 - Version:" ${HDF5HOME}/lib/libhdf5.settings | awk '{print $3}'`
set HDF5HOME - if you have a preinstalled version of hdfWe try to find libhdf5.so.0.0.0 and - libhdf5.settings in ${HDF5HOME}/lib - folder.
-File libhdf5.settings contains the following version information:
-HDF5 Version: 1.6.3
Med 2.2.31) - MED2HOME variable should be set.
-2)
existence of libmed.so.1.0.1
set MED2HOME - if you have a preinstalled version of medUnfortunately there is no strict - way to check the med version number.
-We try to find libmed.so.1.0.1 in ${MED2HOME}/lib - folder.
-If you have a problem with the preinstalled version of med, please, reinstall - it.
Vtk 4.2.61) - VTKHOME variable should be set.
-2)
existence of libvtkCommon.so
set VTKHOME - if you have a preinstalled version of vtkUnfortunately there is no strict - way to check the VTK version number.
-We try to find libvtkCommon.so in ${VTKHOME}/lib/vtk - folder.
-If you have a problem with the preinstalled version of vtk, please, reinstall - it.
Netgen 4.5NETGENROOT variable - should be set. set NETGENROOT if - you have a preinstalled version of Netgen.Unfortunately we can't find anything about NETGEN version.
-We just check if the NETGENROOT - environment variable is set. The NETGEN version should be patched.
OmniORB 4.0.5,
-OmniORBpy 2.5,
-OmniNotify 2.1
1) - OMNIORBDIR variable should be set.
-2)
existence of libomniORB4.so.0.5
-3)
existence of _omnipymodule.so.2.5
-4)
existence of libCOSNotify4.so.0.1
-5)
existence of notifd
set OMNIORBDIR - if you have a preinstalled version of omniWe try to find several omni libraries - and binaries in the ${OMNIORBDIR}/lib - and ${OMNIORBDIR}/bin directories.
Numeric 23.7ver=`python - -c 'import Numeric; print Numeric.__version__' 2>/dev/null`add the directory where you - have the preinstalled version of Numeric package to your PYTHONHOME - variableIf you have problem with the preinstalled - version of Numeric 23.7, please, reinstall it.
Sip 4.11) - SIPDIR variable should be set.
-2) ver
=`${SIPDIR}/sip -V | awk '{print $1}'`
set SIPDIR - to the directory where you have sip preinstalledver - should be equal to 4.1.
PyQt 3.131) - PYQTDIR variable should be set.
-2)
existence of qt.so library
set PYQTDIR - to the directory where you have PyQt preinstalledUnfortunately we can't exactly check - the PyQt version number.
-We just try to find qt.so in ${PYQTDIR}. - -

Note that PyQt officially doesn't support Qt 3.3.3, but nevertheless - it can be used.

Doxygen 1.4.61) - existence of doxygen
-2)
existence of doxytag
-3)
existence of doxywizard
-4)
ver=`doxygen --version`
add the directory where you have - doxygen binaries preinstalled to the  PATH - variable.doxygen, doxytag, doxywizard binaries - should exist; ver should be equal - to 1.4.6.
-If you have problems with the preinstalled version of doxygen, reinstall - it.
-It is recommended to use the native doxygen for Mandrake 10.1.
Graphviz 2.2.11) - existence of dot binary.
-2)
ver=`dot -V 2>&1 - | awk '{print $3}'`
add the graphviz bin directory to - the PATH environment variableWe try to find dot program in the - ${PATH}.
-ver
should be equal to 2.2.1.
MODULE - binaries
-(where MODULE = KERNEL, GUI, GEOM, - ...)
1) - MODULE_ROOT_DIR variable should be set
-2)
existence of VERSION file
-3) ver
=`cat ${MODULE_ROOT_DIR}/bin/salome/VERSION - | awk -F: '{print $NF}' | tr -d '[:space:]'`
set MODULE_ROOT_DIR - if you have preinstalled binaries of MODULE - version 3.2.0.MODULE - binaries should exist and ver - should be equal to 3.2.0.
MODULE - sources
-(where MODULE = KERNEL, GUI, GEOM, - ...)
1) - existence of MODULE_SRC_DIR
-2)
existence of VERSION file
-3) ver
=`cat ${MODULE_SRC_DIR}/bin/VERSION - | awk -F: '{print $NF}' | tr -d '[:space:]'`
set MODULE_SRC_DIR - if you have preinstalled sources of MODULE - version 3.2.0.MODULE - sources should exist and ver should be equal to 3.2.0.
-
-

 

- -

 

- -

For native products the installation - procedure sets proper environment variables itself, and you do not need - to set such variables like, e.g. TCLHOME or PYTHONHOME. -
-If you have native products installed to directories different from default - ones (not /usr/bin, /usr/lib...), it is recommended to follow - the above description. Or you should properly set PATH - and LD_LIBRARY_PATH variables - before starting the Installation Wizard. - Otherwise the installation script will fail to find the preinstalled products.

- -

 

- -

 

- -

For some native products (e.g. gcc, Python) the - rules of version checking are not so strict as described in the table. - Only major and minor version numbers should coincide with the prerequisite. - Release number can be larger. This is done to give a possibility to use - native products for newer versions of Linux. If some native product has - a version number larger than the one required by the installation procedure, - the user will be prompted by the warning message like this: "You - have a newer version of gcc installed on your computer than that is required - (3.4.1). Continue?". You can press the "Yes" - button to proceed with the installation but in this case you should be - aware of what you are doing. SALOME binaries (including other products) - are compiled with the predefined prerequisites and most likely can not - be run successfully if these products are not found. This can be only - helpful if you intend to build all products from the sources.

- -

 

- - -
- - -

Pick up the environment

- -

Please, read carefully the following information. This section describes - how the installation procedure collects the environment.

- -

After installing each product the shell script creates a special environment - file for each product in its target folder . The name of the file is generated - from the name of the product according to the following scheme: env_<product_name>.sh. - This file includes all necessary product settings. For example for Vtk - the file is env_Vtk.sh. Environment files allow to pick up all - environment settings which are necessary to build and launch SALOME. When - installing SALOME sources and/or binaries, the installation procedure - picks up all the settings files and generates two scripts: salome.sh - and salome.csh for sh and csh correspondingly. Such approach helps - to save time when reinstalling products and you may not care about setting - all environment variables manually to build/launch SALOME. What you need - is just to use one of these scripts.

- -

This also concerns those products which are not currently installed. - For example, you install some SALOME binaries to the directory where you - have previously installed other products.  The installation procedure - still tries to collect the environment files from the target directory - if it finds necessary products there. If some product are not found in - the target directory the corresponding section of salome.sh/salome.csh - files will be skipped.
-For native products (like gcc, tcl, etc...) the installation - procedure tries to find them first using PATH / LD_LIBRARY_PATH - variables and then in the system default directories (/usr/bin, /usr/lib - etc., depending on the product).

- -

In any case you may edit salome.* files after the installation - procedure finishes, as you want.

- -

Note: as it was mentioned - above there are two more environment - files which are generated by the installation procedure: env_products.csh - and env_products.sh. These files can be found in the target installation - root directory.

- -

 

- - -
- - -

Modifying XML configuration - file

- -

You can create your own configuration file. The Installation Wizard - can then take it as a command line argument to provide a list of products - you want to install with it. The list of products and some other settings - for the Installation Wizard are provided in the XML file. The default - file the Installation Wizard looks for if no command line arguments are - given, is config.xml. This section describes the structure of the - configuration file.
-XML tags are in bold blue, optional sections/tags are in brackets.

- -

<document> -
-   
[
<config [ version=<install_wizard_version> ]
-              [ - caption=<install_wizard_caption> ]

-              [ - copyright=<install_wizard_copyright>  ]

-              [ - license=<install_wizard_license_info> ]

-              [ - os=<target_platform> ]

-      />

-    ]

-   
[
<path   [ targetdir=<target_directory> ] -
-              [ - tempdir=<temp_directory>     ]

-      />

-    ]

-    [
<product  name=<product_name>
-                - version=<product_version>

-              [ context=<product_context>         - ]
-              [ description=<product_description> - ]
-                - install=<installation_mode>

-                - supported=<supported_installation_modes>

-                - disable=<disable_flag>
-              [ pickupenv=<pickup_env_flag>       - ]

-                - dependancies=<list_of_prerequisites>
 
-                - installdiskspace=<install_disk_space>

-                - temporarydiskspace=<tmp_disk_space>

-                - script=<installation_script_name>

-      />
-
-    ]

-    [
<product ...
-      />
-
-    ]

-    .
.. -
-</document>

- -

<config> section

- -This is an optional section - it contains general - information the Installation Wizard itself. - -
    - -
  • version: - Installation Wizard version number;
  • - -
  • caption: Installation - Wizard main window title - if this string contains the '%1' text - the - title will contain a version number in this place (see above);
  • - -
  • copyright: - Installation Wizard copyright information (appears on the first page of - the program);
  • - -
  • license: - Installation Wizard license information (appears on the first page of - the program);
  • - -
  • os: - Contains directory name (relative from ./Products/BINARIES) where the - Installation Wizard should search precompiled binaries packages. If this - tag is skipped, binaries are implied to be in the ./Products/BINARIES - directory.
  • -
- -

<path> section

- -This is an optional section - it contains default directories. - -
    - -
  • targetdir: - Starting target directory - path to the directory where products should - be installed;
  • - -
  • tempdir: - Starting temp directory - path to the directory for the temporary files.
  • -
- -

<product> section

- -This section describes the products that are to be installed with the Installation - Wizard. Products appear in the products tree and are installed in the - order they are described in the configuration file. It is recommended - to insert native products at the top of the list before all other products. - - -
    - -
  • name: - Name of the product;
  • - -
  • version: - Version of the product;
  • - -
  • description: - Description of the product (optional);
  • - -
  • context: - Context of the product (optional); the possible values are 'salome - sources', 'salome binaries' and 'prerequisite';
  • - -
  • supported: - Supported modes of installation, should contain one or more of the following - options, separated by a comma: install sources, install binaries, - use native. The Installation script should contain corresponding - functions for each of supported installation modes;
  • - -
  • install: - Default (starting) installation mode;
  • - -
  • disable: - If this flag has 'true' value, the corresponding product will not appear - in the list of products tree and will not be installed;
  • - -
  • pickupenv: This - flag points that the pickup environment procedure should be performed - for this module. If this flag is equal to true,  salome.sh - and salome.csh files will  be created in the product's installation - directory. Usually this option is set to true for SALOME KERNEL module - sources and the binaries package. This is an optional key, the default - value is false.
  • - -
  • dependancies: - list of prerequisite products, which are necessary to build this product, - separated by a comma;
  • - -
  • installdiskspace: - Total amount of space (integer, in Kbytes), which the product occupies - on the hard drive after the installation;
  • - -
  • temporarydiskspace: - Disk space (integer, in Kbytes) for the temporary files, which are necessary - to build the product from the sources;
  • - -
  • script: - Installation script name. This script is in charge of installation of - the product. It is called when necessary from the main program. See the - next section for more information.
  • -
- -  - -

If you add new products - to be installed with the Installation Wizard, you should also provide - the installation script for this product. See the next section for more - details.

- - -
- - -

Implementing installation - scripts for the new products

- -

When you want some product to be installed with the Installation Wizard, - you should add its description in the configuration - file and create a bash installation script, following the rules described - in this section.
-There are some obligatory functions to be provided in this installation - script. These functions are automatically called by the master installation - script or/and its GUI shell when it is necessary.
-File common.sh contains some service functions which can be used - in your installation script, like make_env(), make_dir(), - try_existing(), sort_path(), find_in_path(), etc. -

- -
    - -
  • check_version():  - This function allows to check the version of the product already installed - on the computer. It should try to find the product (native or preinstalled - in the target directory) and check it version. This helps to avoid unnecessary - reinstallation. This is internal function and is not called
  • - -
  • try_native(): This function is called when - the 'use native' installation mode is selected by the user. The - function should try to find the native version of the product and define - the possibility of it usage. It should create the environment for the - product in the temporary directory (see also the description of print_env() - function). If you do not provide the native mode installation, you can - omit this function.
  • - -
  • install_source(): - This function is called when the 'install sources' installation - mode is selected by the user. The function is responsible for the building - of the product from the sources package. It should create the environment - for the product in the temporary directory (see also the description of - print_env() function). If you do not provide the sources mode installation, - you can omit this function
  • - -
  • install_binary(): - This function is called when the 'install binaries' installation - mode is selected by the user. The function is responsible for the extracting - the product from the binaries package. Should create environment for the - product in the temporary directory (see also the description of print_env() - function). If you do not provide the binaries mode installation, you can - omit this function.
  • - -
  • try_preinstalled(): - This function is called when the 'not install' - installation mode is selected by the user. In this case the script should - inspect the target directory to try to find the already preinstalled product, - pick up and check the environment from there. See here - for more details.
  • - -
  • print_env(): - This function is in charge of the environment script creation. It should - create a file with the name env_<product_name>.sh - in the temporary directory and then copy it into the product installation - directory. The file should contain all necessary environment variables - settings for the product. It will be collected during the 'pick-up-environment' - procedure.
  • - -
  • pickup_env(): This - procedure corresponds to the pickupenv tag of the configuration - xml file (see previous section). Should call the make_env procedure - to perform the pick-up environment procedure for the product.
  • -
- -The calling signature of the product installation - script is the following:
-<product_script_name> <function_name> <temp_folder> <products_directory> - <target_directory> <dependancies> <product_name>
- - -

where
-<product_script_name>
- installation script name (described in - configuration xml file);
-<function_name>
- name of the function, corresponding to the - selected installation mode: try_native, install_source, install_binary - or try_preinstalled;
-<temp_folder>
- temporary files directory;
-<products_directory>
- directory where the sources/binaries package - can be found. You should provide the sources package in the <Install_Wizard_root_directory>/Products/SOURCES - directory and binaries package in the <InstallWizard_root_directory>/Products/BINARIES/<os_version>, - where <os_version> is target platform description, which appears - in the corresponding section of the configuration - xml file.
-<target_directory>
- root target directory where the product - should be installed to;
-<dependancies>
- single-quoted list of prerequisite products, - separated by space;
-<product_name>
- product name itself.

- -

 

- -

med-2.2.2.sh install_binary - /tmp/work ./Products/BINARIES/Mandrake10.1 /usr/salome 'gcc Hdf' med -

- -

Copy the created script into the <Install_Wizard_root_directory>/config_files - sub-directory where all installation scripts are stored. Installation - Wizard will automatically search and call your script during the installation - procedure.

- - -
- - -  - -
  - - - - - diff --git a/doc/salome/gui/GUI/kernel/running_salome_pro.htm b/doc/salome/gui/GUI/kernel/running_salome_pro.htm deleted file mode 100755 index 1bcad1704..000000000 --- a/doc/salome/gui/GUI/kernel/running_salome_pro.htm +++ /dev/null @@ -1,344 +0,0 @@ - - - - - -Running SALOME - - - - - - - - - - - - - -

Running SALOME

- -

To launch SALOME:

- -

 

- -

1. Install the SALOME package into a definite - directory (ex. SALOME) on your - hard disk. It is preferable if you use the special installation procedure - allowing to install the  SALOME - platform and all corresponding applications.

- -

 

- -

2. - The installation shell script will create a special file: salome.csh - (CShell file) in your SALOME/KERNEL directory. - This file contains all environment variables necessary for launching SALOME - platform with other application products provided with SALOME installation - package. You have a possibility to add one of them into your profile if - you enter in the command console the following:

- -

 

- -

source - salome.csh

- -

 

- -

During - the installation procedure you have a possibility to set your profile - automatically.  

- -

 

- -

 

- -

3. Launch SALOME platform, using the following - Python script located in the SALOME/KERNEL/bin/salome - directory:

- -

 

- -
    - -
  • runSalome.py - [command line options]

  • -
- -

 

- - - --- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Options

-

Description

-

--help or - -h   

-

print this help

-

 

-

--gui or - -g   

-

launch with GUI

-

 --terminal or - -t      

-

launch without GUI in batch mode

-

--logger or - -l   

-

redirects  log - messages into a file defined by the command --file or -f

-

--file=<FILE> or - -f=<FILE>

-

allows to define a file for log messages

-

--xterm or - -x

-

the servers open an xterm window and log messages are displayed in this - window

-

--modules=module1,module2,... - or -m=module1,module2,...

-

list of SALOME modules which will be loaded into the module catalogue

-

--embedded=registry,study,moduleCatalog,cppContainer,

-

or  -e=registry,study,moduleCatalog,cppContainer -

-

embedded CORBA servers (default: registry,study,moduleCatalog,cppContainer)

-

note that logger,pyContainer,supervContainer can't be embedded

-

--standalone=registry,study,moduleCatalog,cppContainer,pyContainer,supervContainer, - or

-

-s=registry,study,moduleCatalog,cppContainer,pyContainer,supervContainer -

-

standalone CORBA servers (default: pyContainer,supervContainer)

-

--containers=cpp,python,superv

-

or -c=cpp,python,superv

-

launch of cpp, python and supervision containers

-

--portkill or - -p

-

kill SALOME launched with the current port

-

--killall or - -k    

-

 

-

kill SALOME

-

 

-

--interp=n or - -i=n    

-

number of additional xterm to open, with session environment

-

-z

-

display splash screen

-

-r

-

disable centralized exception handling mechanism

- -

 

- -

- If the runSalome.py - script - is launched without prompting any options, they will be taken by default - from the file SalomeApp.xml - (SALOME/GUI/share/salome/resources/SalomeApp.xml). - If you are constantly launching SALOME with some specific options which - are different from the defaults, you can edit this file according to your - requirements. So the next time you run SALOME, you won't have to enter - these numerous command console options.    

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/salome_pro_desktop.htm b/doc/salome/gui/GUI/kernel/salome_pro_desktop.htm deleted file mode 100755 index 8548692f1..000000000 --- a/doc/salome/gui/GUI/kernel/salome_pro_desktop.htm +++ /dev/null @@ -1,231 +0,0 @@ - - - - - -SALOME desktop - - - - - - - - - - - - - -

SALOME Desktop

- -

The main SALOME Desktop - consists of the following sections and toolbars:

- -

 

- -

- -

 

- -

Basic parts of the SALOME Desktop:

- -

 

- -
    - -
  • Main menu - This is a set of context-sensitive - menus, which will be updated according the functionality of the loaded - component. In general,  these - menus contain all functional options of SALOME platform.

  • - -
  • Standard Toolbar - This toolbar contains - icons allowing creating/saving studies, correcting mistakes, copying/pasting - objects

  • - -
  • Components Toolbar - This toolbar is - destined for uploading components in SALOME platform

  • - -
  • Module Toolbar - This toolbar contains - icons specific to the loaded module.

  • - -
  • Viewer Toolbar - This is a set of tools - destined for visualization of the presentations in the viewer.

  • -
- -

 

- -

All toolbars in the SALOME - Platform are context-sensitive. Loading of a definite component (Geometry, - Post-Pro, Mesh etc.) will automatically add some additional toolbars specific - to this component. To display/hide a definite toolbar, in the main menu - choose View > Toolbars, and - from this submenu check or uncheck the toolbar, you would like to display/hide. -

- -

By default all toolbars are located on - the top of the SALOME desktop. But you can relocate toolbars by dragging - with the mouse and dropping it in any place of the window.

- -

 

- -

Parts of  the - study window:

- -

 

- -
    - -
  • Object - Browser - Management of objects created or imported into SALOME - application

  • - -
  • Viewer - - This window is destined for visualization of presentations.

  • - -
  • Python - console - Window for Python interpreter. This window functions - like a standard document: the pop-up menu invoked by right-click in this - window gives access to Copy/Paste/SelectAll/ClearAll - options.

  • -
- -

 

- -

Object Browser, Python Console, MenuBar, - etc are, in fact, separate dockable windows.  Dockable - windows can be placed in special areas, on the borders of desktop like - toolbars. You can change the size and the position of dockable windows, - hide them or even place outside desktop. SALOME saves in the same file - all positions and sizes of dockable windows. It means that the difference - in settings of the same windows (for example Python console) is possible - between different modules (the same window can have different size and - position when other module is activated). Also each module can indicate - which common windows are necessary for working, and only they will be - displayed when this module is active.

- -

 

- -

Starting - from the version 3.0.0 Salome uses a Multi-Desktop Approach. Multi-desktop Approach means that now there - is separate Desktop for each document (Study)  and - all windows connected to a Study (viewers, dockable windows etc) are placed - in one container. It is very comfortable, because you can't mix up windows - from different studies. This approach positively differs from the classic - multi document interface in case if many windows are used, i.e. when one - document contains a lot of viewers, dialogs, etc. Each desktop also has - its own menu and toolbar.

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/saving_a_study.htm b/doc/salome/gui/GUI/kernel/saving_a_study.htm deleted file mode 100755 index 2c5d449f0..000000000 --- a/doc/salome/gui/GUI/kernel/saving_a_study.htm +++ /dev/null @@ -1,273 +0,0 @@ - - - - - -Saving a study - - - - - - - - - - - - - -

Saving and closing studies

- -

In SALOME - a study can be saved in HDF - binary (by default) or ASCII files - (see also: Setting ASCII save - option).

- -

 

- -

You can also specify  two - options of saving your study:

- -

 

- -
    - -
  • In one HDF file: - in this case all components used during - this study session will write their data into one common HDF file.

  • - -
  • In multiple files (see - also: Setting Multifile save option) - : in this case SALOME will create one base HDF file which will - store the main information about the saved study and several other special - files with particular extensions storing the data written by each component - which has been used during this study session. Opening of this study requires - that ALL saved files should be - stored in the SAME directory. -  If you - would like to copy your saved study in another directory or machine, you - should copy all stored files. Otherwise, if you try to open this study, - some data will be lost and it will lead to invalid functioning of the - SALOME platform.    

  • -
- -

 

- -

Saving a study you also - save its layout, i.e. all positions and sizes of dockable windows. It - means that the difference in settings of the same windows (for example - Python console) is possible between different modules (the same window - can have different size and position when other module is activated). - Also each module can indicate which common windows are necessary for working, - and only they will be displayed when this module is active.

- -

 

- -

To save an existing - study :

- -

 

- -

In - the main toolbar click or - from the main menu select File - > Save option. - Your study will be automatically updated.

- -

 

- -

If your study hasn't been - previously saved, this option will call the standard Search File dialog - box where you can enter the name for your study and save it.

- -

 

- -

To save a study with - a new name:

- -

 

- -

From the main menu select - File > Save as option. In the - standard Search File dialog box enter a new name for your study and click - Save button.

- -

 

- -

To save the current - layout of the GUI:

- -

 

- -

From the main menu select File - > Save GUI State. The GUI state is published in Object Browser - in the folder GUI states and can be at any time Restored, - Renamed or Deleted. -  This operation - saves and allows to restore almost all GUI settings: names, position, - zooming and panning of viewers  and - all displayed objects (in Post-Pro module only).  

- -

 

- -

To close a study:

- -

 

- -

In - the main toolbar click or  from - the main menu select File > - Close option - or click on the cross in the upper right corner of the study window.

- -

 

- -

If your study hasn't been - previously saved, this option will call the following dialog box with - several options:

- -

 

- -

- -

 

- -

Unload - option allows to unload your current study from the SALOME Desktop. - In the same working session you can  reload - it again (see: Opening studies). But - if you quit the SALOME application, all changes in the unloaded study - will be lost.

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/setting_preferences.htm b/doc/salome/gui/GUI/kernel/setting_preferences.htm deleted file mode 100755 index 94213495a..000000000 --- a/doc/salome/gui/GUI/kernel/setting_preferences.htm +++ /dev/null @@ -1,378 +0,0 @@ - - - - - -Setting preferences - - - - - - - - - - - - - -

SALOME preferences

- -

To begin setting preferences - for your study, select Preferences in - the main menu, the following dialog box will appear:

- -

 

- -

 

- -

If you've just started - your study and haven't yet loaded other modules, you'll be able to change - only those settings, which refer to the whole GUI SALOME session. These - settings will be valid for the whole study session.

- -

 

- -

General - Preferences

- -

 

- -
    - -
  • Study Properties

  • -
- -
    - -
      - -
    • MultiFile Save - if checked in, your study will be saved - in several HDF files (one file for the data created by each component - used during the study session).

    • - -
    • ASCII Save - if checked in, your study will be saved in - ASCII format file (or files).

    • - -
    • Store positions - of windows -  if checked in, - positions of windows will be saved in a special file at the end of the - current session and then restored for a new session.

    • - -
    • Store/restore last - GUI state - if checked in, all GUI - settings are saved with the rest of the data whenever you save the study. - When the study is reopened, the GUI state is restored.

    • -
    - -
  • External browser

  • - -
      - -
    • Application this option allows you to set an external - browser (IE, Netscape) which will be used for viewing SALOME reference - manuals. By default, Mozilla is used. Press the button to browse for the application you - need in the data tree of your computer.

    • - -
    • Parameters

    • -
    -
- -
    - -
  • Python console properties - - here you can quickly set the parameters - (style, size, face) of the font used in your Python console. For detailed - settings in Select Font dialog box press the button.

  • -
- -

 

- -

Viewers - Preferences

- -

 

- -

- -

 

- -
    - -
  • OCC - and VTK 3D Viewers

  • -
- -
    - -
      - -
    • Trihedron size - - this submenu allows to set the size - of coordinate axes displayed in the viewer.

    • - -
    • Background - Color - this submenu allows to select - background color. Click on the colored line to access to the Select Color - dialog box.

    • -
    -
- -
    - -
      - -
    •  Number - of isolines along U (or V) - this submenu allows to specify the number - of isolines along the axes of coordinates.

    • - -
    • Relative - size - if checked in, trihedron axes - scale to fit the size of the area displayed in 3D Viewer.  

    • -
    -
- -

 

- -
    - -
  • Plot2d - Viewer

  • - -
      - -
    • Legend - Position - this submenu allows to set - the default position of the legend, it can be located to the left, to - the right, on top or on bottom of the graph.  

    • - -
    • Curve - Type - this allows to set the representation - of graphs in your presentations. You can see only Points, - points connected with Lines or - points connected with smooth Splines.   

    • - -
    • Marker - Size - this submenu allows you to set - the size of markers in your graphs

    • - -
    • Horizontal - & Vertical Axis Scale - - this submenu allows you to set the - scale for vertical and horizontal axes. It can be either Linear - or Logarithmic

    • - -
    • Background - Color - this submenu allows to select - the background color. Click on the colored line to access to the Select Color - dialog box.

    • -
    -
- -

 

- -
    - -
  • Graph - Supervisor

  • - -
  • Background - Color - this submenu allows to select - background color. Click on the colored line to access to the Select Color - dialog box.

  • - -
  • Title - Color - this submenu allows to select - title color. Click on the colored line to access to the Select - Color dialog box.

  • -
- -

 

- -

Directories Preferences

- -

 

- -

- -

 

- -
    - -
  • Quick Directory List - - this section allows to create and - manage a custom quick directory list. To add a directory in the list, - press the button, - then the button and browse the data tree for the - directory you need.
    - The and buttons help you to sort the - directories in the list.
    - To remove the selected directory from the list, press the button.

  • -
- -

 

- -

Object - Browser Preferences

- -

 

- -

- -

 

- -
    - -
  • Object - browser settings

  • - -
      - -
    • Auto - size for the first column - this checkbox - enables automatic resizing for the first column.  

    • - -
    • Auto - size for other columns - this checkbox - enables automatic resizing for the other columns.

    • -
    -
- -

 

- -
    - -
  • Default - columns - these checkboxes allow to - display or hide Value, Entry, - IOR and Reference entry columns in the Object Browser.

  • -
- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/using_catalog_generator.htm b/doc/salome/gui/GUI/kernel/using_catalog_generator.htm deleted file mode 100755 index 41e50d318..000000000 --- a/doc/salome/gui/GUI/kernel/using_catalog_generator.htm +++ /dev/null @@ -1,233 +0,0 @@ - - - - - -Using Catalog Generator - - - - - - - - - - - - - -

Using Catalog Generator - (for advanced users)

- -

   SALOME - platform is an open platform for integration of your custom components, - which can used in the same way as typical modules provided in the standard - installed package. The Catalog Generator - tool serves for implementation of the interface of your custom - component. It allows to generate from IDL description of your component - interface its xml description.  The - component xml description allows SALOME application to know about the - component and its services and provides the possibility to call the component - services, for example, inside Supervisor module.

- -

If you have a look at runSalome, runSalomeWithPort - scripts running SALOME application, which are stored in build/bin directory - you will see that SALOME_ModuleCatalog_Server is started with two xml - files as its input parameters: CatalogModuleGeneral.xml - and CatalogModulePersonnel.xml. - These two files store the descriptions of interfaces and services of all - components, provided with typical SALOME package. To add a new component - into SALOME platform you should either update one of these existing xml - files with generated xml description of your component or create a new - one.

- -

 

- -

To open the Catalog Generator:

- -

 

- -

From the main menu choose Tools - > Catalog Generator, the following dialog box will appear:

- -

 

- -

- -

 

- -

 

- -

In - this dialog box you can specify:

- -

 

- -
    - -
  • Name - and location of the IDL file describing the interface of your component - (Click the Browse button to find - it using the data tree).

  • - -
  • Name - and location of an existing XML file, which will be updated with the interface - of you component or name and desired location of a new XML file, which - will be generated (Click the Browse - button to find it using the data tree).

  • - -
  • Name - of the author,

  • - -
  • Name - of the component,

  • - -
  • Name - of the user

  • - -
  • Version,

  • - -
  • Capability - of multi study support

  • - -
  • Type - of the component,

  • - -
  • Icon - of your component (Click the Browse - button to find it using the data tree).

  • -
- -

 

- -

If you have chosen to create a new xml file containing the - description of your component, don't forget to specify it as input parameter - for SALOME_ModuleCatalog_Server in the file, you are using as a running - script of SALOME platform (in runSalomeWithPort, for example).

- -

 

- -

 When - launching SALOME next time you will see your module alongside other components.

- -

 

- -

You can use the Catalog - Generator tool, if you would like to test - the functionality of your new component. After implementation of your - component interface, launch SUPERVISION module where you can try using - the services of your new component. (see also: Adding factory nodes)

- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/using_left-hand_tabs.htm b/doc/salome/gui/GUI/kernel/using_left-hand_tabs.htm deleted file mode 100755 index cb43d0047..000000000 --- a/doc/salome/gui/GUI/kernel/using_left-hand_tabs.htm +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -Using left-hand tabs - - - - - - - - - - - - -

Using left-hand tabs

- -

SALOME Help system includes - the following left-hand tabs:

- -

 

- -
    - -
  • Contents: The Contents tab displays - books and pages that represent the categories of information in the online - Help system. When you click a closed book, it opens to display its content - (sub-books and pages). When you click an open book, it closes. When you - click pages, you select topics to view in the right-hand pane of the HTML - Help viewer.

  • -
- -

 

- -
    - -
  • Search: The Search tab enables you to - search for words in the Help system and locate topics containing those - words. Full-text searching looks through every word in the online Help - to find matches. When the search is completed, a list of topics is displayed - so you can select a specific topic to view.

  • -
- -

 

- -
    - -
  • Glossary: The Glossary tab displays - a glossary providing a list of words, short phrases, and their definitions - related to SALOME. When you select a term from the list, its corresponding - definition is displayed in the lower pane.

  • -
- -

     

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/using_object_browser.htm b/doc/salome/gui/GUI/kernel/using_object_browser.htm deleted file mode 100755 index 24f4e911b..000000000 --- a/doc/salome/gui/GUI/kernel/using_object_browser.htm +++ /dev/null @@ -1,203 +0,0 @@ - - - - - -Using Object Browser - - - - - - - - - - - - - -

Using Object Browser

- -

The Object - Browser in SALOME is destined for displaying the structure of the - current study in a tree-like form. It contains:

- -

 

- -
    - -
  • components, loaded - during the current session

  • - -
  • objects created with - the help of different components  (The - objects created with the help of a definite component are located in the - folder having the name of this component.)

  • - -
  • references to different - objects (they are highlighted in red).

  • -
- -

 

- -

- -

 

- -

The Object Browser is - destined to getting quick access to different objects created during SALOME - session. All pop-up menus associated with the objects displayed in the - Object Browser are context-sensitive. So it depends on a definite currently - loaded SALOME component what options you will see in the pop-up menu, - if you right-click on a definite object in the Object Browser.

- -

 

- -

The Object Browser may contain supplementary - attributes of the objects displayed in additional columns. By default, - these columns are not displayed -  displaying/hiding - these columns is possible through setting - study preferences or right-clicking on the attributes bar and toggling - the necessary attributes.

- -

 

- -

- -

 

- -
    - -
  • Entry -  - Identification - index of the object in the structure of the study

  • - -
  • IOR - -  Interoperable - Object Reference

  • - -
  • Reference - entry  - -  Identification - index of the references to the objects

  • -
- -
    - -
  • Value -  -  Displays - the value of the first object attribute

  • -
- -

 

- -

Entry, IOR and Reference - entry  attributes - are displayed for debugging purposes only.

- -

              

- -

-Related Topics - - -

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/kernel/using_registry.htm b/doc/salome/gui/GUI/kernel/using_registry.htm deleted file mode 100755 index ab5ec1fd3..000000000 --- a/doc/salome/gui/GUI/kernel/using_registry.htm +++ /dev/null @@ -1,207 +0,0 @@ - - - - - -Using Registry tool - - - - - - - - - - - - - -

Using Registry tool

- -

Registry - tool is in the SALOME platform is destined for providing information about - the processes (components), which have ever been launched in the current - study session.  

- -

 

- -

To view the Registry:

- -

 

- -

From the main menu choose - Tools > Registry display, the - following dialog box will appear:

- -

 

- -

- -

 

- -

Running - tab of this dialog box displays a list of the currently started processes - (components) with supplementary information on each of them divided into - columns:

- -

 

- -

- Component: - name of the started component

- -

- PID: - process identification number

- -

- User - Name: name of the user launching the component

- -

- Machine: - name of the machine, on which the process has been started

- -

- begins: - date and time of the starting of the component

- -

- hello: - date and time of the last call to the component

- -

 

- -

History - tab displays a list of all processes, which have ever been launched within - this study session. It contains the same supplementary information on - each of the processes (components).

- -

 

- -

Refresh - button allows to refresh the current list of processes (components).

- -

 

- -

Interval - button allows to set an interval for refreshment of the current list of - processes (components).

- -

 

- -

- -

 

- -

To display complete information on a definite process (component):

- -

 

- -

Double-click on this - process (component). The following window will appear:

- -

 

- -

- -

 

- -

 

- -

-Related Topics - - -

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/mesh_preferences.htm b/doc/salome/gui/GUI/mesh_preferences.htm deleted file mode 100755 index 024d1a50f..000000000 --- a/doc/salome/gui/GUI/mesh_preferences.htm +++ /dev/null @@ -1,309 +0,0 @@ - - - - - -MESH preferences - - - - - - - - - - - - - -

Mesh preferences

- -

In the Mesh module you can set mesh preferences, which can be used in - later sessions with this module.

- -

 

- -

General Preferences

- -

 

- -

- -

 

- -
    - -
  • Update

  • - -
      - -
    •  If you toggle - Automatic Update checkbox, the model - in your viewer automatically updated whenever you make changes in it.

    • -
    - -
  • Quality Controls.

  • - -
  • If you toggle Display entity, both faces and edges - of an object will be displayed in the viewer by default . -

  • - -
  • If you toggle Use precision checkbox, you can display - numbers in Quality Control diagrams - at the necessary level of precision.

  • - -
  • Precision - - can be defined by the - Number of digits after point - in the corresponding field. By default, numbers in Quality Control diagrams are presented as integers. -

  • - -
  • Display - mode - allows to set Wireframe, Shading, - Nodes or Shrink presentation mode as default.

  • -
- -
    - -
  • Mesh - export

  • - -
  • If you toggle Automatically create groups for MED export - checkbox, this operation will be carried out automatically.

  • -
- -

 

- -

 

- -

Mesh Preferences

- -

 

- -

- -

 

- -
    - -
  • Nodes -

  • - -
  • Color - -  allows - to select the color of nodes. Click on the colored line to access to the - Select - Color dialog box.

  • - -
  • Size - - allows to define the size of nodes.

  • - -
  • Elements

  • - -
  • Fill -  - - allows to select the color of surface of elements (seen in Shading mode). - Click on the colored line to access to the Select Color dialog box.

  • - -
  • Outline - - allows to select the color of borders of elements. Click on the colored - line to access to the Select - Color dialog box.

  • - -
  • Back - Face - allows to select the color of interior surface of elements. - Click on the colored line to access to the Select Color dialog box.

  • - -
  • Width - - allows to define the width of lines (edges and borders of elements).

  • - -
  • Shrink - coef. - allows to define relative space - of elements compared to gaps between them in shrink mode

  • -
- -

 

- -

Selection Preferences

- -

 

- -

- -

 

- -
    - -
  • Selection - performed - with mouse-indexing (preselection) and left-clicking on an object, whose - appearance changes as defined in the Preferences.

  • - -
  • Object - Color -  allows - to select the color of mesh (edges and borders of meshes) of the selected - entity. Click on the colored line to access to the Select - Color dialog box.

  • - -
  • Element - color - allows to select the color - of surface of selected elements (seen in Shading mode). Click - on the colored line to access to the Select - Color dialog box.

  • - -
  • Width - - allows to define the width of selected edges.

  • - -
  • Preselection - performed with mouse-indexing on an object, - whose appearance changes as defined in the Preferences.

  • - -
  • Highlight - Color -  allows - to select the color of mesh (edges and borders of meshes) of the entity - . Click on the colored line to access to the Select - Color dialog box.

  • - -
  • Width - - allows to define the width of preselected edges.

  • - -
  • Precision - - in this menu you can set the value of precision used for Nodes and Elements.

  • -
- -

 

- -

Scalar Bar Preferences

- -

 

- -

- -

 

- -
    - -
  • Font - in - this menu you can set type, face and color for the font of - Title and Labels.

  • - -
  • Colors & - Labels - in this menu you can set the - number of colors and the number - of labels in use.

  • - -
  • Orientation - here you can choose between vertical and - horizontal orientation of the Scalar Bar.

  • - -
  • Origin - & Size Vertical & Horizontal - allows - to define placement (X and - Y) and lookout (Width and Height) - of Scalar Bars

  • - -
  • X: - abscissa of the point of origin (from - the left side)

  • - -
  • Y: - ordinate of the origin of the bar (from - the bottom)

  • -
- - - - diff --git a/doc/salome/gui/GUI/note1.gif b/doc/salome/gui/GUI/note1.gif deleted file mode 100755 index b53e21d0a..000000000 Binary files a/doc/salome/gui/GUI/note1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/cataloggenerator.png b/doc/salome/gui/GUI/pics/cataloggenerator.png deleted file mode 100755 index 51a0f2786..000000000 Binary files a/doc/salome/gui/GUI/pics/cataloggenerator.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/choicepage.png b/doc/salome/gui/GUI/pics/choicepage.png deleted file mode 100755 index fefd66e3e..000000000 Binary files a/doc/salome/gui/GUI/pics/choicepage.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/copy-paste.jpg b/doc/salome/gui/GUI/pics/copy-paste.jpg deleted file mode 100755 index e243122b3..000000000 Binary files a/doc/salome/gui/GUI/pics/copy-paste.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/dumpstudy.png b/doc/salome/gui/GUI/pics/dumpstudy.png deleted file mode 100755 index f899e778c..000000000 Binary files a/doc/salome/gui/GUI/pics/dumpstudy.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/exemple.gif b/doc/salome/gui/GUI/pics/exemple.gif deleted file mode 100755 index 6350d1737..000000000 Binary files a/doc/salome/gui/GUI/pics/exemple.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/geomview-alt.png b/doc/salome/gui/GUI/pics/geomview-alt.png deleted file mode 100755 index e797b085d..000000000 Binary files a/doc/salome/gui/GUI/pics/geomview-alt.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/icon_about.png b/doc/salome/gui/GUI/pics/icon_about.png deleted file mode 100755 index 5ecbe6624..000000000 Binary files a/doc/salome/gui/GUI/pics/icon_about.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/import.png b/doc/salome/gui/GUI/pics/import.png deleted file mode 100755 index 5624f0570..000000000 Binary files a/doc/salome/gui/GUI/pics/import.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/intropage.png b/doc/salome/gui/GUI/pics/intropage.png deleted file mode 100755 index 143d8d0b0..000000000 Binary files a/doc/salome/gui/GUI/pics/intropage.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/launch1.png b/doc/salome/gui/GUI/pics/launch1.png deleted file mode 100755 index e181247f9..000000000 Binary files a/doc/salome/gui/GUI/pics/launch1.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/loadscript.png b/doc/salome/gui/GUI/pics/loadscript.png deleted file mode 100755 index e681fc745..000000000 Binary files a/doc/salome/gui/GUI/pics/loadscript.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/loadstudy2.png b/doc/salome/gui/GUI/pics/loadstudy2.png deleted file mode 100755 index 595ea0528..000000000 Binary files a/doc/salome/gui/GUI/pics/loadstudy2.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/lockedstudy.png b/doc/salome/gui/GUI/pics/lockedstudy.png deleted file mode 100755 index 9ec7e744b..000000000 Binary files a/doc/salome/gui/GUI/pics/lockedstudy.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/neo-view2.png b/doc/salome/gui/GUI/pics/neo-view2.png deleted file mode 100755 index df1c7fe0f..000000000 Binary files a/doc/salome/gui/GUI/pics/neo-view2.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/newsticn.jpg b/doc/salome/gui/GUI/pics/newsticn.jpg deleted file mode 100755 index 94c8ee971..000000000 Binary files a/doc/salome/gui/GUI/pics/newsticn.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/objectbrowser1.png b/doc/salome/gui/GUI/pics/objectbrowser1.png deleted file mode 100755 index 16ab896a2..000000000 Binary files a/doc/salome/gui/GUI/pics/objectbrowser1.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/objectbrowser2.png b/doc/salome/gui/GUI/pics/objectbrowser2.png deleted file mode 100755 index e010ef2b0..000000000 Binary files a/doc/salome/gui/GUI/pics/objectbrowser2.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/open.jpg b/doc/salome/gui/GUI/pics/open.jpg deleted file mode 100755 index 5829aef52..000000000 Binary files a/doc/salome/gui/GUI/pics/open.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref11.png b/doc/salome/gui/GUI/pics/pref11.png deleted file mode 100755 index 26ddbe9b9..000000000 Binary files a/doc/salome/gui/GUI/pics/pref11.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref12.png b/doc/salome/gui/GUI/pics/pref12.png deleted file mode 100755 index 8cafab810..000000000 Binary files a/doc/salome/gui/GUI/pics/pref12.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref13.png b/doc/salome/gui/GUI/pics/pref13.png deleted file mode 100755 index 4cfe950cf..000000000 Binary files a/doc/salome/gui/GUI/pics/pref13.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref14.png b/doc/salome/gui/GUI/pics/pref14.png deleted file mode 100755 index 2f8bcfb3c..000000000 Binary files a/doc/salome/gui/GUI/pics/pref14.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref15.png b/doc/salome/gui/GUI/pics/pref15.png deleted file mode 100755 index 05fe67721..000000000 Binary files a/doc/salome/gui/GUI/pics/pref15.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref21.png b/doc/salome/gui/GUI/pics/pref21.png deleted file mode 100755 index a487dbafa..000000000 Binary files a/doc/salome/gui/GUI/pics/pref21.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref22.png b/doc/salome/gui/GUI/pics/pref22.png deleted file mode 100755 index 26921dc5a..000000000 Binary files a/doc/salome/gui/GUI/pics/pref22.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref23.png b/doc/salome/gui/GUI/pics/pref23.png deleted file mode 100755 index bbd45259b..000000000 Binary files a/doc/salome/gui/GUI/pics/pref23.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref24.png b/doc/salome/gui/GUI/pics/pref24.png deleted file mode 100755 index 55a0ed5ef..000000000 Binary files a/doc/salome/gui/GUI/pics/pref24.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref31.png b/doc/salome/gui/GUI/pics/pref31.png deleted file mode 100755 index e5606d133..000000000 Binary files a/doc/salome/gui/GUI/pics/pref31.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref32.png b/doc/salome/gui/GUI/pics/pref32.png deleted file mode 100755 index 63daf463f..000000000 Binary files a/doc/salome/gui/GUI/pics/pref32.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref33.png b/doc/salome/gui/GUI/pics/pref33.png deleted file mode 100755 index 74ea331b4..000000000 Binary files a/doc/salome/gui/GUI/pics/pref33.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref34.png b/doc/salome/gui/GUI/pics/pref34.png deleted file mode 100755 index 5072c62b6..000000000 Binary files a/doc/salome/gui/GUI/pics/pref34.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref37.png b/doc/salome/gui/GUI/pics/pref37.png deleted file mode 100755 index 1d4d082fe..000000000 Binary files a/doc/salome/gui/GUI/pics/pref37.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref38.png b/doc/salome/gui/GUI/pics/pref38.png deleted file mode 100755 index 5c8d31ce3..000000000 Binary files a/doc/salome/gui/GUI/pics/pref38.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/pref39.png b/doc/salome/gui/GUI/pics/pref39.png deleted file mode 100755 index 878a52607..000000000 Binary files a/doc/salome/gui/GUI/pics/pref39.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/productpage.png b/doc/salome/gui/GUI/pics/productpage.png deleted file mode 100755 index 71fe213b6..000000000 Binary files a/doc/salome/gui/GUI/pics/productpage.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/progresspage.png b/doc/salome/gui/GUI/pics/progresspage.png deleted file mode 100755 index 88fc08000..000000000 Binary files a/doc/salome/gui/GUI/pics/progresspage.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/readmepage.png b/doc/salome/gui/GUI/pics/readmepage.png deleted file mode 100755 index 54663625a..000000000 Binary files a/doc/salome/gui/GUI/pics/readmepage.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/registry1.png b/doc/salome/gui/GUI/pics/registry1.png deleted file mode 100755 index b8912c6ba..000000000 Binary files a/doc/salome/gui/GUI/pics/registry1.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/registry3.png b/doc/salome/gui/GUI/pics/registry3.png deleted file mode 100755 index f44e2ec3a..000000000 Binary files a/doc/salome/gui/GUI/pics/registry3.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/registry4.png b/doc/salome/gui/GUI/pics/registry4.png deleted file mode 100755 index 98a3772b5..000000000 Binary files a/doc/salome/gui/GUI/pics/registry4.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/save.jpg b/doc/salome/gui/GUI/pics/save.jpg deleted file mode 100755 index 90001afb9..000000000 Binary files a/doc/salome/gui/GUI/pics/save.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/selectcolor.png b/doc/salome/gui/GUI/pics/selectcolor.png deleted file mode 100755 index 70800b28a..000000000 Binary files a/doc/salome/gui/GUI/pics/selectcolor.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/selectfont.png b/doc/salome/gui/GUI/pics/selectfont.png deleted file mode 100755 index 04eff08fd..000000000 Binary files a/doc/salome/gui/GUI/pics/selectfont.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/studyproperties.png b/doc/salome/gui/GUI/pics/studyproperties.png deleted file mode 100755 index af88317f1..000000000 Binary files a/doc/salome/gui/GUI/pics/studyproperties.png and /dev/null differ diff --git a/doc/salome/gui/GUI/pics/view2.png b/doc/salome/gui/GUI/pics/view2.png deleted file mode 100755 index 9d48a09bb..000000000 Binary files a/doc/salome/gui/GUI/pics/view2.png and /dev/null differ diff --git a/doc/salome/gui/GUI/post-pro_preferences.htm b/doc/salome/gui/GUI/post-pro_preferences.htm deleted file mode 100755 index 801ff8756..000000000 --- a/doc/salome/gui/GUI/post-pro_preferences.htm +++ /dev/null @@ -1,677 +0,0 @@ - - - - - -Post-Pro Preferences - - - - - - - - - - - - - -

Post-Pro Preferences

- -

In the Post-Pro module you can set preferences, default settings, which - can be used in later sessions with this module.

- -

 

- -

Scalar Bar Preferences

- -

 

- -

- -

 

- -
    - -
  • Scalar Range

  • - -
      - -
    • Scalar - Mode - this feature allows refining the value to be inspected:

    • - -
    • Modulus: - value of a scalar or modulus of a vector.

    • - -
    • Component - N: Nth component of a vector, a tensor - or a matrix..

    • - -
    • Logarithmic - Scaling - this checkbox toggles logarithmic scaling.

    • - -
    • Ranges - to Use - you can use either Field Range or Imposed Range. .

    • -
    -
- -
    - -
  • Min and Max for - Imposed Range - in this menu  you - can set the limits for your Imposed Range, if you have chosen to use it.

  • - -
  • Font - in - this menu you can set type, face and color for the font of - Title and Labels.

  • - -
  • Colors & - Labels - in this menu you can set the - number of colors and the number - of labels in the Scalar bar.

  • - -
  • Orientation - here you can choose between vertical and - horizontal orientation of the Scalar - Bar.

  • - -
  • Origin - & Size Vertical & Horizontal - allows - to define placement (X and - Y) and lookout (Width and Height) - of Scalar Bars

  • - -
  • X: - abscissa of the point of origin (from - the left side)

  • - -
  • Y: - ordinate of the origin of the bar (from - the bottom)

  • - -
  • Scalar - bars default position

  • - -
  • Arrange - Scalar Bars - this option prevents - superposition of scalar bars during visualisation of several fields in - the same window. If checked, a separate scalar bar is displayed for each - presentation.

  • -
- -

 

- -

Sweep, MED Import Preferences

- -

 

- -

- -

 

- -
    - -
  • Sweeping preferences

  • - -
      - -
    • Time step - in this menu you can set - the time of representation of - one step.

    • - -
    • Number of cycles - in this menu you - can define the number of times this animation will be repeated.

    • - -
    • Number of steps - in this menu you can - define the number of steps, which will compose the whole animation.

    • -
    -
- -

 

- -
    - -
  • MED files import  

  • - -
  • Use - Build Progress - when this option is - checked you can choose all other import MED options at the moment of loading - of each file using Build Progress - menu, otherwise the loading will be done according to the Preferences without addressing to the user.

  • - -
  • Full - MED Loading - when this option is checked, - the MED file is fully loaded in the study, and no additional access to - the MED file is needed during the session. Reversibly, when unchecked, - the MED file is loaded on demand. This is the default behaviour in SALOME - and recommended for big files to optimize memory usage.

  • - -
  • Build - at once - when this option is checked, you can't perform any operations - until the MED file is fully loaded and processed.

  • - -
  • Build - fields -  when - this option is checked, the - fields are built automatically at loading.

  • - -
  • Build - min/max - when this option is checked, - minimum and maximum values of the time stamps are found at loading.

  • - -
  • Build - groups - when this option - is checked, the groups and families are built automatically at loading. -

  • - -
  • Close - dialog at finish - when this option - is checked, the dialog box is closed after loading of the selected MED - file. When unchecked, it allows loading other MED files.

  • -
- -

 

- -

Representation Preferences

- -

 

- -

- -

 

- -
    - -
  • Representation properties - - these checkboxes allow to choose - the default representation type for each field presentation.

  • - -
  • Use - Shading - when this option - is checked, the objects will be displayed with shading.

  • -
- -

 

- -

 

- -

Gauss Points Preferences

- -

 

- -

- -

 

- -
    - -
  • Primitive - this - menu allows user to choose the graphic primitive to use to present the - results at Gauss points in the viewer. -

  • - -
      - -
    • Primitive type - - provides choice between Point - sprites, Open GL points and Geometrical Spheres.

    • - -
    • Maximum - Size (Clamp) - defines - the maximum size of sprite points ranging from 1 to 512. By default the - value is set to 256 pixels.

    • - -
    • Main Texture - -  path - to the Main Texture (16x16 pixels) - which defines the shape of the point sprite used for rendering.

    • - -
    • Alpha Channel Texture (16*16) - path - to the Alpha Channel Texture which - defines the transparency of the point sprite.

    • - -
    • Alpha Channel Threshold - - defines the level of transparency - ranging from 0 to 1.

    • - -
    • Geometrical Sphere - Resolution - defines the number of - faces of Geometry Spheres.

    • - -
    • Notify when number - of faces exceeds - limitation of the - number of faces; the user will - be warned if it exceeds the given value.

    • -
    -
- -

 

- -
    - -
  • Size - in this menu - you can define

  • -
- -
    - -
  • Range value for min - and max size - these two parameters - will be respectively multiplied by a reference length (average size of - cells of the mesh) to define the range for minimum and maximum size of - a point during rendering (at magnification = 100%). Default values are:

  • - -
      - -
        - -
      • Rainbow - scale: min = 10%, max - = 33%

      • - -
          - -
        • Min size - is associated to the smallest real value (including negative values).

        • - -
        • Max size - is associated to the largest real value.

        • -
        - -
      • Bicolor - scale: min = 0 (not editable), - max = 33%

      • - -
          - -
        • Null size - is associated to the 0 scalar value.

        • - -
        • Max size - is associated to the largest absolute value.

        • -
        -
      -
    -
- -

Both values are dynamically updated by the - system according to the selected scalar bar. In the case of a Bicolor - scale, the minimum value is set to 0 in the dialog and the control is - disabled.

- -
    - -
  • Magnification - (%) corresponds to the change of size of results at Gauss point - primitives in 2D space. Acceptable values range from 0 to N; 100% means - no magnification, 50% means half of its size, 200% mean twice its size - and so forth. By default this value is set to 100%.

  • - -
  • +/- - Ratio corresponds to the number by which the magnification will - be respectively multiplied or divided at edition, ranging from 0.01 to - 10. By default this value is set to 2.

  • -
- -

 

- -
    - -
  • Geometry

  • - -
  • Size - of points (%) defines a value that will be multiplied by a reference - length (representative of the average size of cells of the mesh) to define - the size of points during rendering (at magnification = 100%). Default - values 10%.

  • - -
  • Background - Color -  allows - to select the color of points used for presentations. Click on the colored - line to access to the Select - Color dialog box.

  • -
- -

 

- -
    - -
  • Gauss Points Scalar - Bar

  • - -
  • Active - Bar - this option allows to choose - Local or Global Bar - as active.

  • - -
  • Display - Global Bar - this option allows to - visualize or to hide the Global Bar.

  • - -
  • Scalar - Bar Mode - this option allows to choose - between Bicolor and - Rainbow Scalar Bar Mode.

  • - -
  • Spacing - - allows to define Spacing from 0.01 - to 1.

  • -
- -

 

- -

Inside and - Outside Cursor Preferences allow to - set Primitives, Size and - Magnification for the respective zones. -  

- -

 

- -

Picking Preferences

- -

 

- -

- -

 

- -
    - -
  • Cursor - - allows to adjust the Size of the cursor used for Picking (ranging from - 0.1 to 1), the Height of the pyramids (ranging from 0 to 10) and the Selection - cursor color.

  • - -
  • Tolerance - - defines at which distance of the cursor from the point it becomes selected - (ranges from 0.001 to 10).

  • - -
  • Information window - - allows to define the Transparency - (from 0% = opaque to 100% = transparent) and Position - of the window, which can be:

  • - -
  • Centred - below the point, or

  • - -
  • located at Top-left - corner of the 3D view

  • - -
  • Movement - of the Camera can also be define by - the user.

  • - -
  • Zoom - at first selected point - This value is used to define the focal - distance at the first selected point (at the end of the movement of the - camera). This value is a ratio that will be multiplied by the current - zoom value.

  • - -
  • Number - of steps between two positions - defines - the smoothness of camera movement at selection by the number of iterations. - If set to 1 the camera is zoomed and centered at the point momentarily. - Greater numbers mean very slow camera movement.   

  • - -
  • Display - parent mesh element - allows to visualize - or hide the patent mesh element of the selected gauss point.

  • -
- -

 

- -

Navigation Preferences

- -

 

- -

- -

 

- -

 

- -
    - -
  • Mouse

  • -
- -
    - -
  • Mouse Behaviour - this option allows to choose one of the modes - of work with mouse in Gauss Viewer.

  • - -
  • Salome Standard Controls - - allows to manipulate objects in the - viewer with the mouse and locked Ctrl button: increase or decrease the - zoom ratio with the left mouse button, translate object in any direction - with the central mouse button or rotate it with the right mouse button. -

  • - -
  • Keyboard Free - allows to manipulate objects in the viewer - with the mouse without locking Ctrl button. In - this case the operations are assigned to the buttons differently: rotation - is made with the left button, translation with the right and zoom with - both pressed in the same time.   

  • -
- -

 

- -
    - -
  • Keyboard

  • -
- -
    - -
  • [+]/[-] Speed Increment - - defines the number of units by which - the speed increases or respectively decreases after pressing [+] or [-] - keyboard buttons.

  • -
- -

 

- -
    - -
  • Spacemouse - - a mouse-like manipulator device specially designed for working with 3D - presentations, objects, etc. You can reassign the actions listed below - to any of its buttons.

  • -
- -
    - -
  • Decrease Speed Increment - - decreases by 1 the speed increment - used for the keyboard (same as [-] key).

  • - -
  • Increase Speed Increment - - increase by 1 the speed increment - used for the keyboard (same as [+] key).

  • - -
  • Decrease Gauss Points - Magnification - divides the current - magnification by the magnification ratio.

  • - -
  • Increase Gauss Points - Magnification - multiplies the current - magnification by the magnification ratio.

  • - -
  • Dominant / combined - switch - toggles button to switch to - dominant or combined movements.

  • -
- -

 

- -

 

- -

Recorder Preferences

- -

 

- -

- -

 

- -
    - -
  • Settings

  • -
- -
    - -
  • Mode - allows - to choose from two recording - regimes:

  • - -
  • Recording all displayed - frames - records exactly at the FPS - rate specified by the user.  

  • - -
  • Recording at a given - FPS - records only when the contents - of the viewer change (some activity is performed).  In - the AVI file non-recorded images are substituted with the copies of the - latest recorded image, which produces files with lower quality but requires - less system resources.  

  • - -
  • FPS - allows - to define the FPS (frames per second) rate for the clip. Set greater value - for better quality.  

  • - -
  • Quality - allows - to set the quality of the clip in the interval between 0 and 100. -

  • - -
  • Progressive - allows to record a progressive API file. -

  • -
- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/robohhre.lng b/doc/salome/gui/GUI/robohhre.lng deleted file mode 100755 index 297538b0b..000000000 --- a/doc/salome/gui/GUI/robohhre.lng +++ /dev/null @@ -1,101 +0,0 @@ -[GlossaryTab] -TabCaption=&Glossary -TermCaption=&Term -DefinitionCaption=&Definition For: - -[BrowseSequence] -PreCaption=Previous -PreTooltip=Previous Topic -NextCaption=Next -NextTooltip=Next Topic -BlockTooltip=Select Block - -[Common] -Contents=Contents -Index=Index -Search=Search -Glossary=Glossary -Logo/Author=Powered By -Show=Show -Hide=Hide -SyncToc=SyncToc -Prev=<< -Next=>> -Disabled Prev=<< -Disabled Next=>> -Seperate = | - -[WebHelp] -Cancel=Cancel -CantOpenURLorFile=Can't open URL or file -CompletingContents=Completing Contents... -Display=Display -Term=Term: -Definition=Definition: -Done=Done -Find=Find -IndexInputPrompt=Type in the keyword to find: -RelateTopicListPrompt=Click a topic, then click Display. -LoadingData=Loading data, please wait... -LoadingContents=Loading contents, please wait... -LoadingContentsData=Loading, click here to cancel... -LoadingFTS=Reading Search Data... -LoadingIndex=Loading Index... -LoadingTOCItem=Loading Table of Contents: -Searching=Searching... -FtsInputPrompt=Type in the word(s) to search for: -TopicsFound=Topics Found -BrowserLimitedMessage=Your browser does not support frames. We recommend that you update your browser to a version that supports frames. -SuggestViewNoFrameMessage=To view the Help system without frames click on this -SuggestViewNoFrameMsg2=hyperlink. -TopicsNotFound=No Topics Found. -CantSearch=Cannot search for that phrase. -JS_alert_appletNotLoad = Unable to load applet. If you are using an old version of Netscape, the prefs.js file needs to be edited. -JS_alert_colorlimitation=WebHelp has detected that your display is set to 16 colors. For full WebHelp support, please set your display to use 256 or more colors. -Blank_topic_text=This topic was created by WinHelp Project Conversion Wizard, and is the destination of a missing topic or broken hyperlink. -JS_alert_ProjectLoadingFail=Could not load correctly, please click Refresh. -JS_alert_cantLoadProject=Can't load project: -JS_alert_ErrorInLoading=Error in Loading navigation component. Please regenerate WebHelp. -IndexBtnText=Go -FtsBtnText=Go -ToolBarSearchBtnText=Go -InTopicSearchBtnText=Go -SearchLabel=Search -SearchPrompt=- Search - -PreTooltip=Previous Topic -NextTooltip=Next Topic -WebSearch=WebSearch -SyncTocTooltip=Sync TOC -Book=Book -Page=Page -Remote_Page=Remote Page -Show_Navigation_Component=Show Navigation Component -Hide_Navigation_Component=Hide Navigation Component -nls_edit_label=Type in your question: -nls_button_go_hint=Go Search -nls_button_go_text=Go -nls_body_instruction=Enter your question in the text box above, then click GO. -nls_body_empty=Sorry, we were unable to find a good answer for your question. -IndexSelectTopicTitle=Select a Topic -IndexSelectTopicLabel=Select a topic, then click Display -IndexSelectTopicError=Please select a topic. -IndexAlphabetBookmarks=ABCDEFGHIJKLMNOPQRSTUVWXYZ -MergeError1=The merged Help system -MergeError2=is using a different language from the master Help system, which will cause the index and full-text search functionality to be disabled in the merged Help system. -PoweredBy=Powered by -GeneratedBy=Generated by -Author=Author -About=About -Print=Print - -[PrintedDoc] -TableOfContents=Table Of Contents -TitlePage=Title Page -ChapterFileNamePrefix=Chapter_ -TitlePageFileName=Chapter__Title_Page.doc -CrossReferencePrefix=See -GlossaryHeadingStyleName=Glossary Heading -GlossaryTermStyleName=Glossary Term -GlossaryDefinitionStyleName=Glossary Definition -TitlePageTitleStyleName=Title Page Title -TocPageTitleStyleName=Table of Contents Page Title diff --git a/doc/salome/gui/GUI/select_color_and_font.htm b/doc/salome/gui/GUI/select_color_and_font.htm deleted file mode 100755 index 33ad83d45..000000000 --- a/doc/salome/gui/GUI/select_color_and_font.htm +++ /dev/null @@ -1,129 +0,0 @@ - - - - - -Select Color and Font - - - - - - - - - - - - -

Select Color and Font

- -

Select Color and Select - Font menus are used in many Preferences.

- -

Select color

- -

- -

 

- -

This menu  allows - to choose from either predefined Basic - Colors grouped in the upper left corner of the window or Custom Colors, which you can define - yourselves. To define a Custom Color, click on one of the Custom Color - cells, select the color you need in the field of colors or by typing in - its numeric parameters in the lower right corner of the window, then click - Add to Custom Colors button. The - chosen color will be added to Custom - Colors table.  

- -

Select Font

- -

- -

 

- -

This menu provides a wide choice of Fonts, - Font Styles and Sizes. Characters can be underlined or struck out. - It is possible to preview them in the Sample window. - Script dialog-box - gives the possibility to use not only Latin and Latin Extended but also - Cyrillic, Greek, Arabic, Runic and many other subsets.  

- -

 

- - - - diff --git a/doc/salome/gui/GUI/setting_preferences.htm b/doc/salome/gui/GUI/setting_preferences.htm deleted file mode 100755 index 047528a6d..000000000 --- a/doc/salome/gui/GUI/setting_preferences.htm +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -Setting Preferences - - - - - - - - - - - - - -

Setting Preferences

- -

In SALOME you can set preferences - for each module in the common editor of preferences. SALOME preferences - refer to the whole GUI SALOME session, other preferences are module-specific - and are accessible only after you load a respective module.

- -

When you change settings (click OK - or Apply button) each module receives - the notification about what preferences are changed. You can also click - Defaults button to restore default - preferences or Close button to - quit the menu without any changes.

- -

Import button allows to load - a user file containing preferences from your home directory through a - standard Import dialog box.

- -

 

- -

- -

 

- -

This file has no extension and by default starts with .SalomeApprc. - followed by Salome version number. There exists one file for each Salome - version in use.

- -

The preferences, set during the current study session, are automatically - saved in this file at the end of the session. Next time you launch SALOME - application, these preferences will be restored.

- -

 

- -

The preferences you set - will be default preferences for all new - objects, but they are not retroactive and do not automatically apply to - the existing objects.

- -

 

- -

 

- -

 

- -

 

- - - - diff --git a/doc/salome/gui/GUI/ss_btn_related_topics.gif b/doc/salome/gui/GUI/ss_btn_related_topics.gif deleted file mode 100755 index 5158bc468..000000000 Binary files a/doc/salome/gui/GUI/ss_btn_related_topics.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/texture_horiz_ltbluebubbles.jpg b/doc/salome/gui/GUI/texture_horiz_ltbluebubbles.jpg deleted file mode 100755 index a10d494a5..000000000 Binary files a/doc/salome/gui/GUI/texture_horiz_ltbluebubbles.jpg and /dev/null differ diff --git a/doc/salome/gui/GUI/tip1.gif b/doc/salome/gui/GUI/tip1.gif deleted file mode 100755 index bb74c875c..000000000 Binary files a/doc/salome/gui/GUI/tip1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/webhelp.cab b/doc/salome/gui/GUI/webhelp.cab deleted file mode 100755 index b942f642f..000000000 Binary files a/doc/salome/gui/GUI/webhelp.cab and /dev/null differ diff --git a/doc/salome/gui/GUI/webhelp.jar b/doc/salome/gui/GUI/webhelp.jar deleted file mode 100755 index 53b266636..000000000 Binary files a/doc/salome/gui/GUI/webhelp.jar and /dev/null differ diff --git a/doc/salome/gui/GUI/whcsh_home.htm b/doc/salome/gui/GUI/whcsh_home.htm deleted file mode 100755 index 5a486ba28..000000000 --- a/doc/salome/gui/GUI/whcsh_home.htm +++ /dev/null @@ -1,600 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whcshdata.htm b/doc/salome/gui/GUI/whcshdata.htm deleted file mode 100755 index 2832d87e0..000000000 --- a/doc/salome/gui/GUI/whcshdata.htm +++ /dev/null @@ -1,87 +0,0 @@ - - -GUI Module Reference Manual - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whd_dpns.htm b/doc/salome/gui/GUI/whd_dpns.htm deleted file mode 100755 index 1bca23603..000000000 --- a/doc/salome/gui/GUI/whd_dpns.htm +++ /dev/null @@ -1,43 +0,0 @@ - - -Navigator Pane - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whd_hide0.gif b/doc/salome/gui/GUI/whd_hide0.gif deleted file mode 100755 index 97ea0bb6d..000000000 Binary files a/doc/salome/gui/GUI/whd_hide0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_hide1.gif b/doc/salome/gui/GUI/whd_hide1.gif deleted file mode 100755 index 97ea0bb6d..000000000 Binary files a/doc/salome/gui/GUI/whd_hide1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_hide2.gif b/doc/salome/gui/GUI/whd_hide2.gif deleted file mode 100755 index 97ea0bb6d..000000000 Binary files a/doc/salome/gui/GUI/whd_hide2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_next0.gif b/doc/salome/gui/GUI/whd_next0.gif deleted file mode 100755 index d92dda522..000000000 Binary files a/doc/salome/gui/GUI/whd_next0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_next1.gif b/doc/salome/gui/GUI/whd_next1.gif deleted file mode 100755 index d92dda522..000000000 Binary files a/doc/salome/gui/GUI/whd_next1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_next2.gif b/doc/salome/gui/GUI/whd_next2.gif deleted file mode 100755 index d92dda522..000000000 Binary files a/doc/salome/gui/GUI/whd_next2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_nvp10.htm b/doc/salome/gui/GUI/whd_nvp10.htm deleted file mode 100755 index 209706456..000000000 --- a/doc/salome/gui/GUI/whd_nvp10.htm +++ /dev/null @@ -1,15 +0,0 @@ - - -Navigation Pane - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whd_nvp20.htm b/doc/salome/gui/GUI/whd_nvp20.htm deleted file mode 100755 index c5754bc41..000000000 --- a/doc/salome/gui/GUI/whd_nvp20.htm +++ /dev/null @@ -1,334 +0,0 @@ - - -navigation pane - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whd_prev0.gif b/doc/salome/gui/GUI/whd_prev0.gif deleted file mode 100755 index 518561a0d..000000000 Binary files a/doc/salome/gui/GUI/whd_prev0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_prev1.gif b/doc/salome/gui/GUI/whd_prev1.gif deleted file mode 100755 index 518561a0d..000000000 Binary files a/doc/salome/gui/GUI/whd_prev1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_prev2.gif b/doc/salome/gui/GUI/whd_prev2.gif deleted file mode 100755 index 518561a0d..000000000 Binary files a/doc/salome/gui/GUI/whd_prev2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_show0.gif b/doc/salome/gui/GUI/whd_show0.gif deleted file mode 100755 index 60e8e6897..000000000 Binary files a/doc/salome/gui/GUI/whd_show0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_show1.gif b/doc/salome/gui/GUI/whd_show1.gif deleted file mode 100755 index 60e8e6897..000000000 Binary files a/doc/salome/gui/GUI/whd_show1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_show2.gif b/doc/salome/gui/GUI/whd_show2.gif deleted file mode 100755 index 60e8e6897..000000000 Binary files a/doc/salome/gui/GUI/whd_show2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_sync0.gif b/doc/salome/gui/GUI/whd_sync0.gif deleted file mode 100755 index 1a9785ce6..000000000 Binary files a/doc/salome/gui/GUI/whd_sync0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_sync1.gif b/doc/salome/gui/GUI/whd_sync1.gif deleted file mode 100755 index 1a9785ce6..000000000 Binary files a/doc/salome/gui/GUI/whd_sync1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_sync2.gif b/doc/salome/gui/GUI/whd_sync2.gif deleted file mode 100755 index 1a9785ce6..000000000 Binary files a/doc/salome/gui/GUI/whd_sync2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab0.gif b/doc/salome/gui/GUI/whd_tab0.gif deleted file mode 100755 index 955c42f47..000000000 Binary files a/doc/salome/gui/GUI/whd_tab0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab1.gif b/doc/salome/gui/GUI/whd_tab1.gif deleted file mode 100755 index b3ec41d6d..000000000 Binary files a/doc/salome/gui/GUI/whd_tab1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab2.gif b/doc/salome/gui/GUI/whd_tab2.gif deleted file mode 100755 index 08fb0ce4f..000000000 Binary files a/doc/salome/gui/GUI/whd_tab2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab3.gif b/doc/salome/gui/GUI/whd_tab3.gif deleted file mode 100755 index 1819c8e8f..000000000 Binary files a/doc/salome/gui/GUI/whd_tab3.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab4.gif b/doc/salome/gui/GUI/whd_tab4.gif deleted file mode 100755 index 1a6fc4f4a..000000000 Binary files a/doc/salome/gui/GUI/whd_tab4.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab5.gif b/doc/salome/gui/GUI/whd_tab5.gif deleted file mode 100755 index 934019260..000000000 Binary files a/doc/salome/gui/GUI/whd_tab5.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab6.gif b/doc/salome/gui/GUI/whd_tab6.gif deleted file mode 100755 index fe312d238..000000000 Binary files a/doc/salome/gui/GUI/whd_tab6.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab7.gif b/doc/salome/gui/GUI/whd_tab7.gif deleted file mode 100755 index 3b95ae24e..000000000 Binary files a/doc/salome/gui/GUI/whd_tab7.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tab8.gif b/doc/salome/gui/GUI/whd_tab8.gif deleted file mode 100755 index c80acc8d5..000000000 Binary files a/doc/salome/gui/GUI/whd_tab8.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_tabs.htm b/doc/salome/gui/GUI/whd_tabs.htm deleted file mode 100755 index 1568f573d..000000000 --- a/doc/salome/gui/GUI/whd_tabs.htm +++ /dev/null @@ -1,533 +0,0 @@ - - -WebHelp Tabs Frame in Navigation Pane - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whd_toc1.gif b/doc/salome/gui/GUI/whd_toc1.gif deleted file mode 100755 index 11017258c..000000000 Binary files a/doc/salome/gui/GUI/whd_toc1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_toc2.gif b/doc/salome/gui/GUI/whd_toc2.gif deleted file mode 100755 index 975e5f6f4..000000000 Binary files a/doc/salome/gui/GUI/whd_toc2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_toc3.gif b/doc/salome/gui/GUI/whd_toc3.gif deleted file mode 100755 index 4b8122f0f..000000000 Binary files a/doc/salome/gui/GUI/whd_toc3.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_toc4.gif b/doc/salome/gui/GUI/whd_toc4.gif deleted file mode 100755 index 3f9a03686..000000000 Binary files a/doc/salome/gui/GUI/whd_toc4.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_topic.xml b/doc/salome/gui/GUI/whd_topic.xml deleted file mode 100755 index a1b0320fb..000000000 --- a/doc/salome/gui/GUI/whd_topic.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - -"]]> - - - - -"]]> - - - - -"; -OutputInTopicNavBarDataWebSearch.form();]]> - - - - - - - - - - -"]]> - - - diff --git a/doc/salome/gui/GUI/whd_wbsh0.gif b/doc/salome/gui/GUI/whd_wbsh0.gif deleted file mode 100755 index 383688e7c..000000000 Binary files a/doc/salome/gui/GUI/whd_wbsh0.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_wbsh1.gif b/doc/salome/gui/GUI/whd_wbsh1.gif deleted file mode 100755 index 383688e7c..000000000 Binary files a/doc/salome/gui/GUI/whd_wbsh1.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whd_wbsh2.gif b/doc/salome/gui/GUI/whd_wbsh2.gif deleted file mode 100755 index 383688e7c..000000000 Binary files a/doc/salome/gui/GUI/whd_wbsh2.gif and /dev/null differ diff --git a/doc/salome/gui/GUI/whdata/whftdata.js b/doc/salome/gui/GUI/whdata/whftdata.js deleted file mode 100755 index 071ae6fc7..000000000 --- a/doc/salome/gui/GUI/whdata/whftdata.js +++ /dev/null @@ -1,25 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE(sTopicTitle, sTopicURL) -{ - var len = gTEA.length; - gTEA[len] = new topicEntry(sTopicTitle, sTopicURL); -} - -function topicEntry(sTopicTitle, sTopicURL) -{ - this.sTopicTitle = sTopicTitle; - this.sTopicURL = sTopicURL; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsTData) - { - parent.putFtsTData(gTEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whftdata0.htm b/doc/salome/gui/GUI/whdata/whftdata0.htm deleted file mode 100755 index ec80b7254..000000000 --- a/doc/salome/gui/GUI/whdata/whftdata0.htm +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whdata/whfts.htm b/doc/salome/gui/GUI/whdata/whfts.htm deleted file mode 100755 index 7a1060e4a..000000000 --- a/doc/salome/gui/GUI/whdata/whfts.htm +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whfts.js b/doc/salome/gui/GUI/whdata/whfts.js deleted file mode 100755 index 2b6678690..000000000 --- a/doc/salome/gui/GUI/whdata/whfts.js +++ /dev/null @@ -1,40 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -var gaFileTopicMapping = new Array(); - -function fileMapping(sStartKey, sEndKey, sFileName) -{ - this.sStartKey = sStartKey; - this.sEndKey = sEndKey; - this.sFileName = sFileName; - this.aFtsKeys = null; -} - -function fileTopicMapping(nIdBegin, nIdEnd, sFileName) -{ - this.nBegin = nIdBegin; - this.nEnd = nIdEnd; - this.sFileName = sFileName; - this.aTopics = null; -} - - -function iWM(sStartKey, sEndKey, sFileName) -{ - gaFileMapping[gaFileMapping.length] = new fileMapping(sStartKey, sEndKey, sFileName); -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.ftsReady) - { - parent.ftsReady(gaFileMapping, gaFileTopicMapping); - } -} - -function iTM(nIdBegin, nIdEnd, sFileName) -{ - gaFileTopicMapping[gaFileTopicMapping.length] = new fileTopicMapping(nIdBegin, nIdEnd, sFileName); -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/GUI/whdata/whfwdata.js b/doc/salome/gui/GUI/whdata/whfwdata.js deleted file mode 100755 index e9e8bc6c1..000000000 --- a/doc/salome/gui/GUI/whdata/whfwdata.js +++ /dev/null @@ -1,37 +0,0 @@ -// WebHelp 5.10.001 -var gWEA = new Array(); -function aWE() -{ - var len = gWEA.length; - gWEA[len] = new ftsEntry(aWE.arguments); -} - -function ftsEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 1) - { - this.sItemName = fn_arguments[0]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (nLen > 1) - { - this.aTopics = new Array(); - for (var i = 0; i < nLen - 1; i ++ ) - { - this.aTopics[i] = fn_arguments[i + 1]; - } - } - } -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putFtsWData) - { - parent.putFtsWData(gWEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whfwdata0.htm b/doc/salome/gui/GUI/whdata/whfwdata0.htm deleted file mode 100755 index e5eee4ffb..000000000 --- a/doc/salome/gui/GUI/whdata/whfwdata0.htm +++ /dev/null @@ -1,1340 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whdata/whgdata.js b/doc/salome/gui/GUI/whdata/whgdata.js deleted file mode 100755 index 77e0107f3..000000000 --- a/doc/salome/gui/GUI/whdata/whgdata.js +++ /dev/null @@ -1,26 +0,0 @@ -// WebHelp 5.10.001 -var gIEA = new Array(); -function aGE(sName, sDef) -{ - var len = gIEA.length; - gIEA[len] = new gloEntry(sName, sDef); -} - -function gloEntry(sName, sDef) -{ - this.sName = sName; - this.sDef = sDef; - this.nNKOff = 0; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whgdata0.htm b/doc/salome/gui/GUI/whdata/whgdata0.htm deleted file mode 100755 index 9d256b1a8..000000000 --- a/doc/salome/gui/GUI/whdata/whgdata0.htm +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whdata/whglo.htm b/doc/salome/gui/GUI/whdata/whglo.htm deleted file mode 100755 index dc5a67786..000000000 --- a/doc/salome/gui/GUI/whdata/whglo.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whglo.js b/doc/salome/gui/GUI/whdata/whglo.js deleted file mode 100755 index e0519afcb..000000000 --- a/doc/salome/gui/GUI/whdata/whglo.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/GUI/whdata/whidata.js b/doc/salome/gui/GUI/whdata/whidata.js deleted file mode 100755 index 9f0eb15ed..000000000 --- a/doc/salome/gui/GUI/whdata/whidata.js +++ /dev/null @@ -1,89 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gIEA = new Array(); -function aIE() -{ - var len = gIEA.length; - gIEA[len] = new indexEntry(aIE.arguments); -} - -function topic(sName, sURL) -{ - this.sName = sName; - this.sURL = sURL; -} - -function indexEntry(fn_arguments) -{ - if (fn_arguments.length && fn_arguments.length >= 3) - { - this.nType = fn_arguments[0]; - this.nPKOff = 0; - this.nNKOff = fn_arguments[1]; - this.sName = fn_arguments[2]; - this.aTopics = null; - var nLen = fn_arguments.length; - if (Math.floor(nLen / 2) * 2 == nLen) - { - this.sTarget = fn_arguments[3]; - if (nLen > 5) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 5)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 4], fn_arguments[i * 2 + 5]); - } - } - - } - else - { - if (nLen > 4) - { - this.aTopics = new Array(); - for (var i = 0; i < (nLen - 4)/2; i++) - { - this.aTopics[i] = new topic(fn_arguments[i * 2 + 3], fn_arguments[i * 2 + 4]); - } - } - } - } -} - -function getIndexTopicMappingList(nItemIndex) -{ - var sTopics = ""; - if (gIEA.length > nItemIndex) - { - if (gIEA[nItemIndex].aTopics) - { - var i = 0; - var nLen = gIEA[nItemIndex].aTopics.length; - for (i = 0; i < nLen; i ++) - { - sTopics += "," + gIEA[nItemIndex].aTopics[i]; - } - } - } - return sTopics; -} - -function window_OnLoad() -{ - if (parent && parent != this) { - if (parent.putData) - { - for (var i = 0; i < gIEA.length; i ++ ) - { - if (gIEA[i].nNKOff != 0 && i + gIEA[i].nNKOff + 1 < gIEA.length) - { - - gIEA[i + gIEA[i].nNKOff + 1].nPKOff = gIEA[i].nNKOff; - } - } - parent.putData(gIEA); - } - } -} - -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whidx.htm b/doc/salome/gui/GUI/whdata/whidx.htm deleted file mode 100755 index 0a0deedd0..000000000 --- a/doc/salome/gui/GUI/whdata/whidx.htm +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whidx.js b/doc/salome/gui/GUI/whdata/whidx.js deleted file mode 100755 index e0519afcb..000000000 --- a/doc/salome/gui/GUI/whdata/whidx.js +++ /dev/null @@ -1,34 +0,0 @@ -// WebHelp 5.10.001 -var gaFileMapping = new Array(); -function fileMapping(sBK, sEK, sFileName, nNum) -{ - this.sBK = sBK; - this.sEK = sEK; - this.sFileName = sFileName; - this.aKs = null; - this.nNum = nNum; - this.oUsedItems = null; -} - - -function iFM(sBK, sEK, sFileName, nNum) -{ - var i = gaFileMapping.length; - gaFileMapping[i] = new fileMapping(sBK, sEK, sFileName, nNum); - if (i == 0) { - gaFileMapping[i].nTotal = nNum; - } - else { - gaFileMapping[i].nTotal = nNum + gaFileMapping[i - 1].nTotal; - } -} - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) - { - parent.projReady(gaFileMapping); - } -} - -window.onload = window_OnLoad; diff --git a/doc/salome/gui/GUI/whdata/whtdata.js b/doc/salome/gui/GUI/whdata/whtdata.js deleted file mode 100755 index d5428a7de..000000000 --- a/doc/salome/gui/GUI/whdata/whtdata.js +++ /dev/null @@ -1,64 +0,0 @@ -// WebHelp 5.10.001 -var gTEA = new Array(); -function aTE() -{ - gTEA[gTEA.length] = new tocEntry(aTE.arguments); -} - -function tocEntry(fn_arguments) -{ - if (fn_arguments.length < 3) - { - alert ("data format wrong!!!"); - return; - } - - this.nType = fn_arguments[0]; - this.nContents = fn_arguments[1]; - this.sItemName = fn_arguments[2]; - - if (this.nType == 1 || this.nType == 2 || this.nType == 16) - { - if (fn_arguments.length > 3) - { - this.sItemURL = fn_arguments[3]; - if (fn_arguments.length > 4) - { - this.sTarget = fn_arguments[4]; - if (fn_arguments.length > 5) - this.sIconRef = fn_arguments[5]; - } - } - } - if (this.nType == 4 || this.nType == 8) - { - if (fn_arguments.length > 3) - { - this.sRefURL = fn_arguments[3]; - if (this.nType == 4) - { - if(this.sRefURL.lastIndexOf("/")!=this.sRefURL.length-1) - this.sRefURL+="/"; - } - if (fn_arguments.length > 4) - { - this.sItemURL = fn_arguments[4]; - if (fn_arguments.length > 5) - { - this.sTarget = fn_arguments[5]; - if (fn_arguments.length > 6) - this.sIconRef = fn_arguments[6]; - } - } - } - } -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.putData) { - parent.putData(gTEA); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whtdata0.htm b/doc/salome/gui/GUI/whdata/whtdata0.htm deleted file mode 100755 index a037edb04..000000000 --- a/doc/salome/gui/GUI/whdata/whtdata0.htm +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whdata/whtoc.htm b/doc/salome/gui/GUI/whdata/whtoc.htm deleted file mode 100755 index 54e0cbf26..000000000 --- a/doc/salome/gui/GUI/whdata/whtoc.htm +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whdata/whtoc.js b/doc/salome/gui/GUI/whdata/whtoc.js deleted file mode 100755 index 163d8cc9f..000000000 --- a/doc/salome/gui/GUI/whdata/whtoc.js +++ /dev/null @@ -1,31 +0,0 @@ -// WebHelp 5.10.001 -// const strings -var gaProj = new Array(); -var gsRoot = ""; - -function setRoot(sRoot) -{ - gsRoot = sRoot -} - -function aPE(sProjPath, sRootPath) -{ - gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath); -} - -function tocProjEntry(sProjPath, sRootPath) -{ - if(sProjPath.lastIndexOf("/")!=sProjPath.length-1) - sProjPath+="/"; - this.sPPath = sProjPath; - this.sRPath = sRootPath; -} - - -function window_OnLoad() -{ - if (parent && parent != this && parent.projReady) { - parent.projReady(gsRoot, gaProj); - } -} -window.onload = window_OnLoad; \ No newline at end of file diff --git a/doc/salome/gui/GUI/whfbody.htm b/doc/salome/gui/GUI/whfbody.htm deleted file mode 100755 index 5666e1b55..000000000 --- a/doc/salome/gui/GUI/whfbody.htm +++ /dev/null @@ -1,37 +0,0 @@ - - -Search Result - - - - - - - - - - - - - - - - - diff --git a/doc/salome/gui/GUI/whfdhtml.htm b/doc/salome/gui/GUI/whfdhtml.htm deleted file mode 100755 index 37429607b..000000000 --- a/doc/salome/gui/GUI/whfdhtml.htm +++ /dev/null @@ -1,30 +0,0 @@ - - -Search Frame - - - - - - - - - diff --git a/doc/salome/gui/GUI/whfform.htm b/doc/salome/gui/GUI/whfform.htm deleted file mode 100755 index 87d754ec4..000000000 --- a/doc/salome/gui/GUI/whfform.htm +++ /dev/null @@ -1,136 +0,0 @@ - - -Search Form - - - - - - - - - - - - - - \ No newline at end of file diff --git a/doc/salome/gui/GUI/whfhost.js b/doc/salome/gui/GUI/whfhost.js deleted file mode 100755 index 167acc459..000000000 --- a/doc/salome/gui/GUI/whfhost.js +++ /dev/null @@ -1,945 +0,0 @@ -// WebHelp 5.10.003 -var gsSK2=null; -var gsSK=null; -var gsFtsBreakChars="\t\r\n\"\\ .,!@#$%^&*()~'`:;<>?/{}[]|+-=\x85\x92\x93\x94\x95\x96\x97\x99\xA9\xAE\xB7"; -var gnCLF=0; -var gsHelpCannotSearch="Cannot search for that phrase."; -var gsNoTopics="No Topics Found."; -var gsLoadingDivID="LoadingDiv"; -var gsLoadingMsg="Loading data, please wait..."; -var gsSearchMsg="Searching..."; -var gsResultDivID="ResultDiv"; -var gaaFCD=new Array(); -var gaaFTCD=new Array(); -var goCF=null; -var goCTF=null; -var gaTI=null; -var gnCurrentOp=0; -var gbNot=false; -var gbReady=false; -var gnLoadFts=1; -var gnCacheLimits=5; -var gaCCD=new Array(); -var gbXML=false; -var gaData=new Array(); -var gsBgColor="#ffffff"; -var gsBgImage=""; -var gsMargin="0pt"; -var gsIndent="0pt"; -var gsCheckKey=null; -var gnIndexNum=0; -var gaFtsContentsCon=null; -var gaTopicCheckInfo=null; -var gnTopicCheck=0; -var goFont=null; -var goErrFont=null; -var goHoverFont=null; -var gsABgColor="#cccccc"; -var gbWhFHost=false; -var gbFirst=false; - -function setBackground(sBgImage) -{ - gsBgImage=sBgImage; -} - -function setBackgroundcolor(sBgColor) -{ - gsBgColor=sBgColor; -} - -function setFont(sType,sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration) -{ - var vFont=new whFont(sFontName,sFontSize,sFontColor,sFontStyle,sFontWeight,sFontDecoration); - if(sType=="Normal") - goFont=vFont; - else if(sType=="Error") - goErrFont=vFont; - else if(sType=="Hover") - goHoverFont=vFont; -} - -function setActiveBgColor(sBgColor) -{ - gsABgColor=sBgColor; -} - -function setMargin(sMargin) -{ - gsMargin=sMargin; -} - -function setIndent(sIndent) -{ - gsIndent=sIndent; -} - -function updateCache(oCF) -{ - var len=gaCCD.length; - if(len0&&sURL) - { - var topic=new Object(); - topic.sTopicTitle=name; - topic.sTopicURL=sURL; - aTopics[aTopics.length]=topic; - } - } - oChild=oChild.nextSibling; - } - putFtsTData(aTopics); - } - } - else if(gnLoadFts==2) - { - var node=xmlDoc.lastChild; - if(node) - { - var oChild=node.firstChild; - var aFtsContents=new Array(); - while(oChild) - { - if(oChild.nodeName=="key") - { - var name=oChild.getAttribute("name"); - if(name&&name.length>0) - { - var item=new Object(); - item.sItemName=name; - aFtsContents[aFtsContents.length]=item; - var oChildChild=oChild.firstChild; - while(oChildChild) - { - if(oChildChild.nodeName=="#text") - { - var sIDs=oChildChild.nodeValue; - if(sIDs) - { - var nBPos=0; - do - { - var nPos=sIDs.indexOf(",",nBPos); - var sID=null; - if(nPos!=-1) - sID=sIDs.substring(nBPos,nPos); - else - sID=sIDs.substring(nBPos); - - if(sID) - { - var id=parseInt(sID); - if(!isNaN(id)) - { - if(!item.aTopics) - item.aTopics=new Array(); - item.aTopics[item.aTopics.length]=id; - } - } - nBPos=nPos+1; - }while(nBPos!=0&&nBPos0) - { - document.body.background=gsBgImage; - } - if(gsBgColor&&gsBgColor.length>0) - { - document.body.bgColor=gsBgColor; - } - writeResultDiv(); - loadFts(); - var oMsg=new whMessage(WH_MSG_SHOWFTS,this,1,null) - SendMessage(oMsg); -} - -function writeResultDiv() -{ - var sHTML="
"; - document.body.insertAdjacentHTML("beforeEnd",sHTML); -} - -function loadFts() -{ - if(!gbReady) - { - var oResMsg=new whMessage(WH_MSG_GETPROJINFO,this,1,null); - if(SendMessage(oResMsg)&&oResMsg.oParam) - { - gbReady=true; - var oProj=oResMsg.oParam; - var aProj=oProj.aProj; - gbXML=oProj.bXML; - if(aProj.length>0) - { - var sLangId=aProj[0].sLangId; - for(var i=0;i=0)&&(gsFtsBreakChars.charAt(nSep)=="|"))){ - gnCurrentOp=0; - gbNot=false; - }else if((sCW=="and")||((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="&"))){ - gnCurrentOp=1; - gbNot=false; - }else if((sCW=="not")|| - ((nSep>=0)&&(gsFtsBreakChars.charAt(nSep)=="~"))){ - gbNot=!gbNot; - }else if(sCW!=""&&!IsStopWord(sCW,gaFtsStop)){ - var sCurrentStem=GetStem(sCW); - gsCW=sCurrentStem; - ftsFindKeyword(); - return; - } - findOneKey(); - } - else{ - displayTopics(); - checkAgain(); - } -} - -function checkAgain() -{ - gsCheckKey = ""; - gnIndexNum = 0; - gsSK=gsSK2; - gsSK2=null; - if(gsSK!=null) - setTimeout("findFTSKey();",1); -} - -function displayTopics() -{ - var sHTML=""; - var sLine=""; - for(var i=0;i"+_textToHtml(gaTI[i].sTopicTitle)+""; - if(i>>4<<4==i) - { - sHTML+=sLine; - sLine=""; - } - } - if(sLine.length>0) - sHTML+=sLine; - - if(sHTML.length==0) - sHTML="

"+gsNoTopics+"

" - else - sHTML="
"+sHTML+"
"; - - var resultDiv=getElement(gsResultDivID); - if(resultDiv) - resultDiv.innerHTML=sHTML; -} - -function displayMsg(sErrorMsg) -{ - var sHTML="

"+sErrorMsg+"

"; - - var resultDiv=getElement(gsResultDivID); - if(resultDiv) - resultDiv.innerHTML=sHTML; -} - -function ftsFindKeyword() -{ - var sKey=gsCW; - var bNeedLoad=false; - var aFtsContentsCon=null; - var s=0; - if(sKey==null) return; - if(!gsCheckKey||sKey!=gsCheckKey||gnIndexNum==0) - { - aFtsContentsCon=new Array(); - gnCheck=0; - gsCheckKey=sKey; - gnTopicCheck=0; - gaTopicCheckInfo=null; - } - else{ - s=gnIndexNum; - aFtsContentsCon=gaFtsContentsCon; - } - for(var i=gnCheck;i=aTI.length) - { - aLS=gaTI; - aSS=aTI; - } - else - { - aLS=aTI; - aSS=gaTI; - } - var s=0; - for(var i=0;i=0) - { - var nM; - var bFound=false; - do{ - nM=(nB+nE)>>1; - if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)>0) - nE=nM-1; - else if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0) - nB=nM+1; - else - { - bFound=true; - break; - } - }while(nB<=nE); - if(bFound) - insertItemIntoArray(aTI,nM,oTI); - else - { - if(compare(aTI[nM].sTopicTitle,oTI.sTopicTitle)<0) - insertItemIntoArray(aTI,nM+1,oTI); - else - insertItemIntoArray(aTI,nM,oTI); - } - } - else - aTI[0]=oTI; -} - -function mergeTopics(aTI1,aTI2) -{ - var i1=0; - var i2=0; - var len1=aTI1.length; - var len2=aTI2.length; - var aTopicNew=new Array(); - var i=0; - while(i1>1; - if(compare(keys[nM].sItemName,sKey)>0) - nE=nM-1; - else if(compare(keys[nM].sItemName,sKey)<0) - nB=nM+1; - else{ - bFound=true; - break; - } - }while(nB<=nE); - if(bFound) - { - if(keys[nM].aTopics) - { - for(var i=0;i>1; - if(aFTCD[nM].nBegin>nTopicId) - nE=nM-1; - else if(aFTCD[nM].nEnd

For - all color definitions click on the respective line to access to the Select - Color dialog box.