+2005-01-04 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * common.h, JSClipboard.m: changed to use WOContext's new
+ resourceLookupLanguages now (v4.5.65)
+
2004-12-14 Marcus Mueller <znek@mulle-kybernetik.com>
* WEExtensions.xcode: minor changes and updated
NSString *tmp;
NSArray *languages;
- rm = [[_ctx application] resourceManager];
-
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
-
- tmp = [rm urlForResourceNamed:_name
- inFramework:_framework
- languages:languages
- request:[_ctx request]];
+ rm = [[_ctx application] resourceManager];
+ languages = [_ctx resourceLookupLanguages];
+ tmp = [rm urlForResourceNamed:_name
+ inFramework:_framework
+ languages:languages
+ request:[_ctx request]];
return tmp;
}
# version file
-SUBMINOR_VERSION:=64
+SUBMINOR_VERSION:=65
+
+# v4.5.65 requires libNGObjWeb v4.5.106
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.64;
+ DYLIB_CURRENT_VERSION = 4.5.65;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
if (_name == nil)
return nil;
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
+ languages = [_ctx resourceLookupLanguages];
if ((resourceManager = [[_ctx component] resourceManager]) == nil)
resourceManager = [[_ctx application] resourceManager];
+2005-01-04 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * common.h, JSConfirmPanel.m, JSAlertPanel.m, JSImageFlyover.m,
+ JSModalWindow.m: changed to use WOContext's new
+ resourceLookupLanguages now (v4.5.22)
+
2004-12-21 Marcus Mueller <znek@mulle-kybernetik.com>
* WOKeyValueConditional.[api,m]: added "negate" binding (v4.5.21)
if (self->filename) {
WOResourceManager *rm;
- rm = [[_ctx application] resourceManager];
-
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
+ rm = [[_ctx application] resourceManager];
+ languages = [_ctx resourceLookupLanguages];
tmp = [rm urlForResourceNamed:[self->filename stringValueInComponent:comp]
inFramework:[comp frameworkName]
if (self->filename) { /* image */
WOResourceManager *rm;
- rm = [[_ctx application] resourceManager];
-
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
-
+ rm = [[_ctx application] resourceManager];
+ languages = [_ctx resourceLookupLanguages];
+
tmp = [rm urlForResourceNamed:[self->filename stringValueInComponent:comp]
inFramework:[comp frameworkName]
languages:languages
NSString *tmp;
NSArray *languages;
- rm = [[_ctx application] resourceManager];
-
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
-
- tmp = [rm urlForResourceNamed:_name
- inFramework:_framework
- languages:languages
- request:[_ctx request]];
+ rm = [[_ctx application] resourceManager];
+ languages = [_ctx resourceLookupLanguages];
+ tmp = [rm urlForResourceNamed:_name
+ inFramework:_framework
+ languages:languages
+ request:[_ctx request]];
return tmp;
}
if (self->filename) {
WOResourceManager *rm;
- rm = [[_ctx application] resourceManager];
-
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
-
+ rm = [[_ctx application] resourceManager];
+ languages = [_ctx resourceLookupLanguages];
+
tmp = [rm urlForResourceNamed:[self->filename stringValueInComponent:comp]
inFramework:[comp frameworkName]
languages:languages
# $Id$
-SUBMINOR_VERSION:=21
+SUBMINOR_VERSION:=22
+
+# v4.5.22 requires libNGObjWeb v4.5.106
);
buildSettings = {
DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 4.5.21;
+ DYLIB_CURRENT_VERSION = 4.5.22;
FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks";
FRAMEWORK_VERSION = A;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
if (_name == nil)
return nil;
- languages = [_ctx hasSession]
- ? [[_ctx session] languages]
- : [[_ctx request] browserLanguages];
-
+ languages = [_ctx resourceLookupLanguages];
resourceManager = [[_ctx application] resourceManager];
-
+
uri = [resourceManager urlForResourceNamed:_name
inFramework:nil
languages:languages