From 19d2b275d370bb4487363d89eee95bc8b468926d Mon Sep 17 00:00:00 2001 From: znek Date: Thu, 27 May 2004 11:13:40 +0000 Subject: [PATCH] WebUI skeleton git-svn-id: http://svn.opengroupware.org/SOGo/trunk@7 d1b88da0-ebda-0310-925b-ed51d893ca5b --- WebUI/Application.h | 38 + WebUI/Application.m | 38 + WebUI/COPYING | 482 ++++++++++ WebUI/COPYRIGHT | 4 + WebUI/ChangeLog | 3 + WebUI/DirectAction.h | 38 + WebUI/DirectAction.m | 29 + WebUI/English.lproj/InfoPlist.strings | Bin 0 -> 528 bytes WebUI/GNUmakefile | 28 + WebUI/GNUmakefile.preamble | 8 + WebUI/Info.plist | 26 + WebUI/Lori.icns | Bin 0 -> 42190 bytes WebUI/NGExtensions/GNUmakefile | 18 + WebUI/NGExtensions/NGLogging/GNUmakefile | 30 + WebUI/NGExtensions/NGLogging/NGLogAppender.h | 50 + WebUI/NGExtensions/NGLogging/NGLogAppender.m | 59 ++ .../NGLogging/NGLogConsoleAppender.h | 38 + .../NGLogging/NGLogConsoleAppender.m | 34 + WebUI/NGExtensions/NGLogging/NGLogEvent.h | 47 + WebUI/NGExtensions/NGLogging/NGLogEvent.m | 56 ++ WebUI/NGExtensions/NGLogging/NGLogger.h | 49 + WebUI/NGExtensions/NGLogging/NGLogger.m | 104 ++ WebUI/NGExtensions/NGLogging/NGLogging.h | 42 + .../NGLogging/NSObject+ExtendedLogging.h | 63 ++ .../NGLogging/NSObject+ExtendedLogging.m | 128 +++ WebUI/NOTES | 0 WebUI/PROJECTLEAD | 3 + WebUI/README | 16 + WebUI/Session.h | 38 + WebUI/Session.m | 38 + WebUI/TODO | 0 WebUI/Version | 15 + WebUI/WebServerResources/favicon.ico | Bin 0 -> 3262 bytes WebUI/WebUI.xcode/project.pbxproj | 906 ++++++++++++++++++ WebUI/WebUI_Prefix.pch | 9 + WebUI/WebUI_main.m | 35 + WebUI/common.h | 33 + WebUI/version.plist | 16 + WebUI/wox-cheat-sheet.txt | 50 + 39 files changed, 2571 insertions(+) create mode 100644 WebUI/Application.h create mode 100644 WebUI/Application.m create mode 100644 WebUI/COPYING create mode 100644 WebUI/COPYRIGHT create mode 100644 WebUI/ChangeLog create mode 100644 WebUI/DirectAction.h create mode 100644 WebUI/DirectAction.m create mode 100644 WebUI/English.lproj/InfoPlist.strings create mode 100644 WebUI/GNUmakefile create mode 100644 WebUI/GNUmakefile.preamble create mode 100644 WebUI/Info.plist create mode 100644 WebUI/Lori.icns create mode 100644 WebUI/NGExtensions/GNUmakefile create mode 100644 WebUI/NGExtensions/NGLogging/GNUmakefile create mode 100644 WebUI/NGExtensions/NGLogging/NGLogAppender.h create mode 100644 WebUI/NGExtensions/NGLogging/NGLogAppender.m create mode 100644 WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.h create mode 100644 WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.m create mode 100644 WebUI/NGExtensions/NGLogging/NGLogEvent.h create mode 100644 WebUI/NGExtensions/NGLogging/NGLogEvent.m create mode 100644 WebUI/NGExtensions/NGLogging/NGLogger.h create mode 100644 WebUI/NGExtensions/NGLogging/NGLogger.m create mode 100644 WebUI/NGExtensions/NGLogging/NGLogging.h create mode 100644 WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.h create mode 100644 WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.m create mode 100644 WebUI/NOTES create mode 100644 WebUI/PROJECTLEAD create mode 100644 WebUI/README create mode 100644 WebUI/Session.h create mode 100644 WebUI/Session.m create mode 100644 WebUI/TODO create mode 100644 WebUI/Version create mode 100644 WebUI/WebServerResources/favicon.ico create mode 100644 WebUI/WebUI.xcode/project.pbxproj create mode 100644 WebUI/WebUI_Prefix.pch create mode 100644 WebUI/WebUI_main.m create mode 100644 WebUI/common.h create mode 100644 WebUI/version.plist create mode 100644 WebUI/wox-cheat-sheet.txt diff --git a/WebUI/Application.h b/WebUI/Application.h new file mode 100644 index 00000000..cd026c5c --- /dev/null +++ b/WebUI/Application.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __Application_H_ +#define __Application_H_ + + +#include + + +@interface Application : SoApplication +{ + +} + +@end + +#endif /* __Application_H_ */ diff --git a/WebUI/Application.m b/WebUI/Application.m new file mode 100644 index 00000000..9252c414 --- /dev/null +++ b/WebUI/Application.m @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#import "Application.h" +#import "common.h" + + +@implementation Application + +- (id)init { + self = [super init]; + if(self) { + [self logInfoWithFormat:@"Welcome to '%@'", [self name]]; + } + return self; +} + +@end diff --git a/WebUI/COPYING b/WebUI/COPYING new file mode 100644 index 00000000..161a3d1d --- /dev/null +++ b/WebUI/COPYING @@ -0,0 +1,482 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 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 library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + 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 Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, 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 or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the 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 a program 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. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + 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, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +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 compile 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) 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. + + c) 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. + + d) 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 source code 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 to +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 Library 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 + + Appendix: 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 Library General Public + License as published by the Free Software Foundation; either + version 2 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library 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/WebUI/COPYRIGHT b/WebUI/COPYRIGHT new file mode 100644 index 00000000..8e764497 --- /dev/null +++ b/WebUI/COPYRIGHT @@ -0,0 +1,4 @@ +Copyright (C) 2000-2004 SKYRIX Software AG + + +Contact: info@skyrix.com diff --git a/WebUI/ChangeLog b/WebUI/ChangeLog new file mode 100644 index 00000000..07ff8b46 --- /dev/null +++ b/WebUI/ChangeLog @@ -0,0 +1,3 @@ +2004-05-26 Marcus Mueller + + * ChangeLog: created diff --git a/WebUI/DirectAction.h b/WebUI/DirectAction.h new file mode 100644 index 00000000..e25f29b9 --- /dev/null +++ b/WebUI/DirectAction.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __DirectAction_H_ +#define __DirectAction_H_ + + +#include + + +@interface DirectAction : WODirectAction +{ + +} + +@end + +#endif /* __DirectAction_H_ */ diff --git a/WebUI/DirectAction.m b/WebUI/DirectAction.m new file mode 100644 index 00000000..695f82b6 --- /dev/null +++ b/WebUI/DirectAction.m @@ -0,0 +1,29 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#include "DirectAction.h" + + +@implementation DirectAction + +@end diff --git a/WebUI/English.lproj/InfoPlist.strings b/WebUI/English.lproj/InfoPlist.strings new file mode 100644 index 0000000000000000000000000000000000000000..d22a0a2c6f25abeb60629b1f7cb571b518ac6a6d GIT binary patch literal 528 zcmbV|OAoZ8B=zI*-4YV1jojRx({m;>bLVzf zMMYT}Xs@L_ZMD`_fqZ5cYN8{Py>?WK8uIP)7t)t?$nZyjUS3NR|Gt3xw9_e}HWD?9% Ld1jfn`9uE!8%bGs literal 0 HcmV?d00001 diff --git a/WebUI/GNUmakefile b/WebUI/GNUmakefile new file mode 100644 index 00000000..9ac78fbb --- /dev/null +++ b/WebUI/GNUmakefile @@ -0,0 +1,28 @@ +# $Id$ + +include $(GNUSTEP_MAKEFILES)/common.make + +WOAPP_NAME = WebUI + +WebUI_OBJC_FILES = \ + WebUI_main.m \ + Application.m \ + Session.m \ + DirectAction.m \ + Main.m \ + + +WebUI_COMPONENTS = \ + Main.wo \ + + +WebUI_RESOURCE_FILES = \ + + +WebUI_WEBSERVER_RESOURCE_FILES := \ + $(shell find WebServerResources -type f -print) + + +-include GNUmakefile.preamble +include $(GNUSTEP_MAKEFILES)/woapp.make +-include GNUmakefile.postamble diff --git a/WebUI/GNUmakefile.preamble b/WebUI/GNUmakefile.preamble new file mode 100644 index 00000000..9c0fa292 --- /dev/null +++ b/WebUI/GNUmakefile.preamble @@ -0,0 +1,8 @@ +# $Id$ + + +-include GNUmakefile.preamble.local + +ifeq ($(findstring darwin, $(GNUSTEP_HOST_OS)),) +ADDITIONAL_OBJCFLAGS += -DWITHOUT_SOPEX +endif diff --git a/WebUI/Info.plist b/WebUI/Info.plist new file mode 100644 index 00000000..d0cabb58 --- /dev/null +++ b/WebUI/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + WebUI + CFBundleIconFile + Lori + CFBundleIdentifier + my.sope.apps.WebUI + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleSignature + ???? + CFBundleVersion + 0.1 + NSMainNibFile + + NSPrincipalClass + SOPEXApplication + + diff --git a/WebUI/Lori.icns b/WebUI/Lori.icns new file mode 100644 index 0000000000000000000000000000000000000000..4d1024410cdf2b6083b078bd282c5751afd4e959 GIT binary patch literal 42190 zcmeFZ2UrzH|Mxwo_w9QMy-DZLL8PgmqKINav3Kk}wy5D8s)~vw7Su!&V+yf=SP*-! zNz^nGjV*VgsYXO83j6$Kj~dNwa=*`YJm2s%&irO}_BY?1`OM6Y9WiM- zLhpUrIi;I7LJ~C+H#L&95C{o(5K;*UU=X?pT4O zJ5q8MBVBG*Y;=dtseuV`?Xzr1y1>0>31Z58BDU_!BTw>mD>TGzr3@ zUj<V z{iE844fVo-Z6q2#KT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)zY0>W&v>0`rAWpL=+py-CDTX#SmoqW&K#;E(|a(gFyCj zeC=~1p-MST_OuAU1dh=0w%Lhw25Gkjw*XcyWUQ0a1d`2Mnwn~yfRG>ci*i2s0#<^< z;=|V>uTmuBYg=eS*(aHf9`mtZB0X~bGmoM!z}3t9;6+-k;OS`3>YWxUOJ-7DIhqe1 zq$y>e=rR3tFq#1^+F(2+hqwy#fOArlGO%t4Js*8uN@+=B7NeVrt~)G2Y*r{cA&Di-Xq2(K}9F{!Ph&W*|$UJG8ZPGb-{e| z+Vz-y!LJP#!%>A_vIg?&;w)9Cop3lj$Kp3E7NyB>v^JJ*E$;m2o?DI#n+m=Zt3_!# zt^$A)g5DaIb==Jx5oTw~=rvV}Wd$klZ5rV~AuMkBt`c&IGFyjJ+8@z*BNy(H!ay=@ zUJJe%xa%=& z%Je9e_vJVm(z}!FeEdMrRij>4c_^p5J$yvX%Fu^FE?ij8F*)_1WX@-A`H2y(9k^S6 z4~}C)wPut(NLJd<{i|I12-3`_YY#Gx!u)5uug4 zYK9Rk+fmv)#>#9*I7HoRxkYYjU%b{C#v0{hYrFr?8C>9FV!vy6NV;YzqdRO`9umBk zV2n?ivju~w&_Fq>(e&ZP%_q6sc2xD1vm#>>+m396+JH`g+I8;l_=@~YgU>b(NLM)( jL2S$nX}Lbjra0t9QLBfCoY4X3=z)$N=;(p}Sr7aN5MKxp literal 0 HcmV?d00001 diff --git a/WebUI/NGExtensions/GNUmakefile b/WebUI/NGExtensions/GNUmakefile new file mode 100644 index 00000000..40bba8bb --- /dev/null +++ b/WebUI/NGExtensions/GNUmakefile @@ -0,0 +1,18 @@ +# $Id$ + +include $(GNUSTEP_MAKEFILES)/common.make + + +SUBPROJECT_NAME = NGExtensions + + +ADDITIONAL_INCLUDE_DIRS += -I.. + + +NGExtensions_SUBPROJECTS = \ + NGLogging + + +-include GNUmakefile.preamble +include $(GNUSTEP_MAKEFILES)/subproject.make +-include GNUmakefile.postamble diff --git a/WebUI/NGExtensions/NGLogging/GNUmakefile b/WebUI/NGExtensions/NGLogging/GNUmakefile new file mode 100644 index 00000000..e596eaaf --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/GNUmakefile @@ -0,0 +1,30 @@ +# $Id$ + +include $(GNUSTEP_MAKEFILES)/common.make + + +SUBPROJECT_NAME = NGLogging + + +ADDITIONAL_INCLUDE_DIRS += -I.. -I../.. + + +NGLogging_OBJC_FILES = \ + NSObject+ExtendedLogging.m \ + NGLogger.m \ + NGLogEvent.m \ + NGLogAppender.m \ + NGLogConsoleAppender.m \ + +NGLogging_HEADER_FILES = \ + NGLogging.h \ + NSObject+ExtendedLogging.h \ + NGLogger.h \ + NGLogEvent.h \ + NGLogAppender.h \ + NGLogConsoleAppender.h \ + + +-include GNUmakefile.preamble +include $(GNUSTEP_MAKEFILES)/subproject.make +-include GNUmakefile.postamble diff --git a/WebUI/NGExtensions/NGLogging/NGLogAppender.h b/WebUI/NGExtensions/NGLogging/NGLogAppender.h new file mode 100644 index 00000000..bf00ca94 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogAppender.h @@ -0,0 +1,50 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NGLogAppender_H_ +#define __NGLogAppender_H_ + +/* + Abstract superclass for all appenders. +*/ + +#import +#import "NSObject+ExtendedLogging.h" + + +@class NGLogEvent; + + +@interface NGLogAppender : NSObject +{ + +} + +/* subclass responsibility */ +- (void)appendLogEvent:(NGLogEvent *)_event; + +- (NSString *)localizedNameOfLogLevel:(NGLogLevel)_level; + +@end + +#endif /* __NGLogAppender_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NGLogAppender.m b/WebUI/NGExtensions/NGLogging/NGLogAppender.m new file mode 100644 index 00000000..e8f2c18f --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogAppender.m @@ -0,0 +1,59 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#import "NGLogAppender.h" + + +@implementation NGLogAppender + +- (void)appendLogEvent:(NGLogEvent *)_event { + [self subclassResponsibility:_cmd]; +} + +- (NSString *)localizedNameOfLogLevel:(NGLogLevel)_level { + NSString *name; + + switch (_level) { + case NGLogLevelDebug: + name = @"DEBUG"; + break; + case NGLogLevelInfo: + name = @"INFO"; + break; + case NGLogLevelWarn: + name = @"WARN"; + break; + case NGLogLevelError: + name = @"ERROR"; + break; + case NGLogLevelFatal: + name = @"FATAL"; + break; + default: + name = @""; + break; + } + return name; +} + +@end diff --git a/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.h b/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.h new file mode 100644 index 00000000..bc3fd343 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NGLogConsoleAppender_H_ +#define __NGLogConsoleAppender_H_ + + +#import "NGLogAppender.h" + + +@interface NGLogConsoleAppender : NGLogAppender +{ + +} + +@end + +#endif /* __NGLogConsoleAppender_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.m b/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.m new file mode 100644 index 00000000..53eb3df6 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogConsoleAppender.m @@ -0,0 +1,34 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#import "NGLogConsoleAppender.h" +#import "NGLogEvent.h" + + +@implementation NGLogConsoleAppender + +- (void)appendLogEvent:(NGLogEvent *)_event { + NSLog(@"%@: %@", [self localizedNameOfLogLevel:[_event level]], [_event message]); +} + +@end diff --git a/WebUI/NGExtensions/NGLogging/NGLogEvent.h b/WebUI/NGExtensions/NGLogging/NGLogEvent.h new file mode 100644 index 00000000..3b1dfa4b --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogEvent.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NGLogEvent_H_ +#define __NGLogEvent_H_ + + +#import +#import "NSObject+ExtendedLogging.h" + + +@interface NGLogEvent : NSObject +{ + NSString *msg; + NGLogLevel level; + NSTimeInterval date; +} + +- (id)initWithLevel:(NGLogLevel)_level message:(NSString *)_msg; + +- (NGLogLevel)level; +- (NSString *)message; +- (NSDate *)date; + +@end + +#endif /* __NGLogEvent_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NGLogEvent.m b/WebUI/NGExtensions/NGLogging/NGLogEvent.m new file mode 100644 index 00000000..e9c61734 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogEvent.m @@ -0,0 +1,56 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#import "NGLogEvent.h" +#import + + +@implementation NGLogEvent + +- (id)initWithLevel:(NGLogLevel)_level message:(NSString *)_msg { + if((self = [super init])) { + self->date = [NSDate timeIntervalSinceReferenceDate]; + self->level = _level; + ASSIGN(self->msg, _msg); + } + return self; +} + +- (void)dealloc { + [self->msg release]; + [super dealloc]; +} + +- (NGLogLevel)level { + return self->level; +} + +- (NSString *)message { + return self->msg; +} + +- (NSDate *)date { + return [NSDate dateWithTimeIntervalSinceReferenceDate:self->date]; +} + +@end diff --git a/WebUI/NGExtensions/NGLogging/NGLogger.h b/WebUI/NGExtensions/NGLogging/NGLogger.h new file mode 100644 index 00000000..421abb0e --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogger.h @@ -0,0 +1,49 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NGLogger_H_ +#define __NGLogger_H_ + +/* + The logger, modeled closely after log4j. + */ + + +#import +#include "NSObject+ExtendedLogging.h" + + +@interface NGLogger : NSObject +{ + NGLogLevel minLogLevel; + id _appender; // going away as soon as we have a config +} + +- (id)initWithLogLevel:(NGLogLevel)_level; + +- (void)setLogLevel:(NGLogLevel)_level; +- (NGLogLevel)logLevel; + +@end + +#endif /* __NGLogger_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NGLogger.m b/WebUI/NGExtensions/NGLogging/NGLogger.m new file mode 100644 index 00000000..9f9d4853 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogger.m @@ -0,0 +1,104 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#include "NGLogger.h" +#include +#include "common.h" +#include "NGLogEvent.h" +#include "NGLogAppender.h" +#include "NGLogConsoleAppender.h" + + +@implementation NGLogger + +- (id)init { + self = [self initWithLogLevel:NGLogLevelAll]; + return self; +} + +- (id)initWithLogLevel:(NGLogLevel)_level { + if((self = [super init])) { + [self setLogLevel:_level]; +#warning ** remove this as soon as we have a config + self->_appender = [[NGLogConsoleAppender alloc] init]; + } + return self; +} + +- (void)dealloc { + [self->_appender release]; + [super dealloc]; +} + + +- (void)setLogLevel:(NGLogLevel)_level { + self->minLogLevel = _level; +} + +- (NGLogLevel)logLevel { + return self->minLogLevel; +} + +- (void)logLevel:(NGLogLevel)_level withFormat:(NSString *)_fmt, ... { + NSString *msg; + NGLogEvent *event; + va_list va; + + if(self->minLogLevel > _level) + return; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + + event = [[NGLogEvent alloc] initWithLevel:_level message:msg]; + + // iterate appenders + // TODO: as soon as we have more appenders, we need to iterate on them + [self->_appender appendLogEvent:event]; + + [event release]; + [msg release]; +} + +- (BOOL)isLogDebugEnabled { + return self->minLogLevel >= NGLogLevelDebug; +} + +- (BOOL)isLogInfoEnabled { + return self->minLogLevel >= NGLogLevelInfo; +} + +- (BOOL)isLogWarnEnabled { + return self->minLogLevel >= NGLogLevelWarn; +} + +- (BOOL)isLogErrorEnabled { + return self->minLogLevel >= NGLogLevelError; +} + +- (BOOL)isLogFatalEnabled { + return self->minLogLevel >= NGLogLevelFatal; +} + +@end diff --git a/WebUI/NGExtensions/NGLogging/NGLogging.h b/WebUI/NGExtensions/NGLogging/NGLogging.h new file mode 100644 index 00000000..b774724a --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NGLogging.h @@ -0,0 +1,42 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NGLogging_H_ +#define __NGLogging_H_ + +/* + NGLogging is a somewhat more sophisticated logging framework, modeled + apparently similar to log4j - without some of its bloat. The current + idea is to replace the default logging used throughout OGo (-logWithFormat:, + -debugWithFormat:, NSLog()) with the new logging framework to get rid of + stdout only logging. +*/ + + +#import + +#include "NSObject+ExtendedLogging.h" +#include "NGLogger.h" + + +#endif /* __NGLogging_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.h b/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.h new file mode 100644 index 00000000..04845d9a --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.h @@ -0,0 +1,63 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __NSObject_ExtendedLogging_H_ +#define __NSObject_ExtendedLogging_H_ + + +#import + + +typedef enum { + NGLogLevelAll = 0, + NGLogLevelDebug = 1, + NGLogLevelInfo = 2, + NGLogLevelWarn = 3, + NGLogLevelError = 4, + NGLogLevelFatal = 5, + NGLogLevelOff = 6 +} NGLogLevel; + + +@interface NSObject (NGExtendedLogging) + +- (id)sharedLogger; +- (id)logger; + +- (void)logDebugWithFormat:(NSString *)_fmt, ...; +- (void)logInfoWithFormat:(NSString *)_fmt, ...; +- (void)logWarnWithFormat:(NSString *)_fmt, ...; +- (void)logErrorWithFormat:(NSString *)_fmt, ...; +- (void)logFatalWithFormat:(NSString *)_fmt, ...; + +- (BOOL)isLogDebugEnabled; +- (BOOL)isLogInfoEnabled; +- (BOOL)isLogWarnEnabled; +- (BOOL)isLogErrorEnabled; +- (BOOL)isLogFatalEnabled; + +- (void)logLevel:(NGLogLevel)_level withFormat:(NSString *)_fmt, ...; + +@end + +#endif /* __NSObject_ExtendedLogging_H_ */ diff --git a/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.m b/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.m new file mode 100644 index 00000000..50d30204 --- /dev/null +++ b/WebUI/NGExtensions/NGLogging/NSObject+ExtendedLogging.m @@ -0,0 +1,128 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#import "NSObject+ExtendedLogging.h" +#import "NGLogger.h" + + +@implementation NSObject (NGExtendedLogging) + +- (id)sharedLogger { + static id sharedLogger = nil; + if(sharedLogger == nil) { + sharedLogger = [[NGLogger alloc] init]; + } + return sharedLogger; +} + +- (id)logger { + return [self sharedLogger]; +} + +- (void)logDebugWithFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [self logLevel:NGLogLevelDebug withFormat:msg]; + [msg release]; +} + +- (void)logInfoWithFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [self logLevel:NGLogLevelInfo withFormat:msg]; + [msg release]; +} + +- (void)logWarnWithFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [self logLevel:NGLogLevelWarn withFormat:msg]; + [msg release]; +} + +- (void)logErrorWithFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [self logLevel:NGLogLevelError withFormat:msg]; + [msg release]; +} + +- (void)logFatalWithFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [self logLevel:NGLogLevelFatal withFormat:msg]; + [msg release]; +} + +- (void)logLevel:(NGLogLevel)_level withFormat:(NSString *)_fmt, ... { + NSString *msg; + va_list va; + + va_start(va, _fmt); + msg = [[NSString alloc] initWithFormat:_fmt arguments:va]; + va_end(va); + [[self logger] logLevel:_level withFormat:msg]; + [msg release]; +} + +- (BOOL)isLogDebugEnabled { + return [[self logger] isLogDebugEnabled]; +} + +- (BOOL)isLogInfoEnabled { + return [[self logger] isLogInfoEnabled]; +} + +- (BOOL)isLogWarnEnabled { + return [[self logger] isLogWarnEnabled]; +} + +- (BOOL)isLogErrorEnabled { + return [[self logger] isLogErrorEnabled]; +} + +- (BOOL)isLogFatalEnabled { + return [[self logger] isLogFatalEnabled]; +} + +@end diff --git a/WebUI/NOTES b/WebUI/NOTES new file mode 100644 index 00000000..e69de29b diff --git a/WebUI/PROJECTLEAD b/WebUI/PROJECTLEAD new file mode 100644 index 00000000..ab0c70ac --- /dev/null +++ b/WebUI/PROJECTLEAD @@ -0,0 +1,3 @@ +# $Id$ + +PROJECTLEAD=helge.hess@opengroupware.org diff --git a/WebUI/README b/WebUI/README new file mode 100644 index 00000000..591cb493 --- /dev/null +++ b/WebUI/README @@ -0,0 +1,16 @@ +$Id$ + + + +Xcode notes: +============ + + +Rapid Development +================= + +In order for "Rapid Development" to work properly you need to open +Xcode's "Project" menu and select "Edit active executable" +(Apple-Option-X). In the following dialog navigate to the "Runtime" +section and select the "Project Directory" as the working directory +when launching the executable. diff --git a/WebUI/Session.h b/WebUI/Session.h new file mode 100644 index 00000000..9cea9077 --- /dev/null +++ b/WebUI/Session.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __Session_H_ +#define __Session_H_ + + +#include + + +@interface Session : WOSession +{ + +} + +@end + +#endif /* __Session_H_ */ diff --git a/WebUI/Session.m b/WebUI/Session.m new file mode 100644 index 00000000..58c00f53 --- /dev/null +++ b/WebUI/Session.m @@ -0,0 +1,38 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#include "Session.h" +#include "common.h" + + +@implementation Session + +- (id)init { + self = [super init]; + if(self) { + [self logWarnWithFormat:@"session with id '%@' did init - this " \ + @"should NOT happen!", [self sessionID]]; + } + return self; +} +@end diff --git a/WebUI/TODO b/WebUI/TODO new file mode 100644 index 00000000..e69de29b diff --git a/WebUI/Version b/WebUI/Version new file mode 100644 index 00000000..f96f6a3c --- /dev/null +++ b/WebUI/Version @@ -0,0 +1,15 @@ +# $Id$ +# +# This file is included by library makefiles to set the version information +# of the executable. +# +# NOTE: This has no effect whatsover if you are using Xcode on Mac OS X. +# For Xcode please use the appropriate user interface or issue the following +# command in a shell: +# /Developer/Tools/agvtool new-version \ +# ${MAJOR_VERSION}.${MINOR_VERSION}.${SUBMINOR_VERSION} + +MAJOR_VERSION=1 +MINOR_VERSION=0 +SUBMINOR_VERSION=0 + diff --git a/WebUI/WebServerResources/favicon.ico b/WebUI/WebServerResources/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..829cb223f786c55612001a27e68051ee38b9d38f GIT binary patch literal 3262 zcmeH|u}j-g5XYajwu4;$9F0mkbhJq*DpS zp<4+KjzT(g5toRAgHy0mNBxv*&o7slI0!oA<(Ke%zkBa{_r7=UlF|^L$;rfTHhq1T z(s)Yg6<=PZH+=uTziC_!#zRuz;_T$t-p=9f2G8l?eh976XsrJq;9zCFZGl&GO%C|;VM4a{M> z`RN_&t8>qxPID1yzpW;uysz$FCW86kVc45=1!-|$zf53H>+bZqff8nCu}DN z1b#JvO(ITVz+4c#E~5fHLQ19G{wJ@kxh20H#Q1}T%1|nm)HPVG=o73Szt+4~6zdVh zZBXHs(9kz-qYvE% zt-{#)Fasg?hzrGIt;VWFFIPAty~{J``Bf1dBfj+<3!7hDSi8{r4E3X_#Fw*m1+cLl zwRtp7j-yU>FCuvSo%hREHk(aE^JxH{3-jX5hhNj&@am3SpuCkaS + #include + #include +#endif diff --git a/WebUI/WebUI_main.m b/WebUI/WebUI_main.m new file mode 100644 index 00000000..dfe7dcd5 --- /dev/null +++ b/WebUI/WebUI_main.m @@ -0,0 +1,35 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifdef WITHOUT_SOPEX +#import +#define SOPEXMain WOApplicationMain +#else +#import +#endif /* WITHOUT_SOPEX */ + + +int main(int argc, const char *argv[]) +{ + return SOPEXMain(@"Application", argc, argv); +} diff --git a/WebUI/common.h b/WebUI/common.h new file mode 100644 index 00000000..79bf6b89 --- /dev/null +++ b/WebUI/common.h @@ -0,0 +1,33 @@ +/* + Copyright (C) 2000-2004 SKYRIX Software AG + + This file is part of OGo + + OGo 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, or (at your option) any + later version. + + OGo 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 OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ +// $Id$ + + +#ifndef __common_H_ +#define __common_H_ + + +#import + +#include "NGLogging.h" + + +#endif /* __common_H_ */ diff --git a/WebUI/version.plist b/WebUI/version.plist new file mode 100644 index 00000000..6f3c68ca --- /dev/null +++ b/WebUI/version.plist @@ -0,0 +1,16 @@ + + + + + BuildVersion + 1 + CFBundleShortVersionString + 0.1 + CFBundleVersion + 0.1 + ProjectName + NibPBTemplates + SourceVersion + 1160200 + + diff --git a/WebUI/wox-cheat-sheet.txt b/WebUI/wox-cheat-sheet.txt new file mode 100644 index 00000000..4a79b24b --- /dev/null +++ b/WebUI/wox-cheat-sheet.txt @@ -0,0 +1,50 @@ +WOxControlElemBuilder +--------------------- + +:if -> WOConditional +:foreach -> WORepetition +:for-each -> WORepetition +:with -> WOSetCursor + +WOxMiscElemBuilder +------------------ + +:component-content -> WOComponentContent +:checkbox-list -> WOCheckBoxList +:entity -> WOEntity +:multiselection -> WOBrowser +:nbsp /*DEPRECATED*/ -> WOEntity +:popup -> WOPopUpButton +:radio-button-matrix -> WORadioButtonMatrix +:string -> WOString +:singleselection -> WOBrowser + + +WOxHTMLElemBuilder +------------------ + +:text -> WOTextField +:file -> WOFileUpload +:a -> WOHyperlink +:img -> WOImage +:form -> WOForm +:textarea -> WOText +:embed -> WOEmbeddedObject +:frame -> WOFrame +:iframe -> WOIFrame +:body -> WOBody + +:input [type="submit"] -> WOSubmitButton +:input [type="reset"] -> WOResetButton +:input [type="image"] -> WOImageButton +:input [type="radio"] -> WORadioButton +:input [type="checkbox"] -> WOCheckBox +:input [type="file"] -> WOFileUpload +:input [type="hidden"] -> WOHiddenField +:input [type="password"] -> WOPasswordField +:input [type="*"] -> WOTextField + +:meta [http-equiv="refresh*"] -> WOMetaRefresh + +:* [hasChildNodes="YES"] -> WOGenericContainer +:* [hasChildNodes="NO"] -> WOGenericElement -- 2.39.5