- Timestamp:
- Mar 16, 2016, 8:14:59 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 LocalConfig.kmk 3 3 LocalEnv.cmd 4 5 .project 6 7 .cproject 8 9 .settings
-
- Property svn:ignore
-
trunk/Config.kmk
r519 r520 42 42 # poppler 43 43 # 44 LIB_POPPLER_LIBS = $(patsubst %,$(PATH_STAGE_LIB)/%$(SUFF_LIB), \45 fofi goo poppler splash fontconfig freetype2 jpeg)44 #LIB_POPPLER_LIBS = $(patsubst %,$(PATH_STAGE_LIB)/%$(SUFF_LIB), \ 45 # fofi goo poppler splash fontconfig freetype2 jpeg) 46 46 47 47 #------------------------------------------------------------------------------ … … 95 95 # 96 96 97 TOOL_GXX3OMF_RC ?= rc$(HOSTSUFF_EXE) 97 # 2016-03-10 SHL 98 override TOOL_GXX3OMF_RC ?= rc$(HOSTSUFF_EXE) 98 99 TOOL_GXX3OMF_RCOBJSUFF ?= .res 99 100 … … 104 105 TOOL_GXX3OMF_COMPILE_RC_OUTPUT = 105 106 TOOL_GXX3OMF_COMPILE_RC_OUTPUT_MAYBE = 106 define TOOL_GXX3OMF_COMPILE_RC_CMDS 107 # 2016-03-05 SHL 108 override define TOOL_GXX3OMF_COMPILE_RC_CMDS 107 109 $(QUIET)cd $(subst /,\\,$(patsubst %/,%,$(dir $(source)))) && \ 108 110 $(TOOL_GXX3OMF_RC) -n -r \ … … 146 148 endef 147 149 148 TOOL_GCC3OMF_RC ?= $(TOOL_GXX3OMF_RC) 150 # 2016-03-10 SHL 151 override TOOL_GCC3OMF_RC ?= $(TOOL_GXX3OMF_RC) 149 152 TOOL_GCC3OMF_RCOBJSUFF ?= $(TOOL_GXX3OMF_RCOBJSUFF) 150 153 … … 155 158 TOOL_GCC3OMF_COMPILE_RC_OUTPUT = $(TOOL_GXX3OMF_COMPILE_RC_OUTPUT) 156 159 TOOL_GCC3OMF_COMPILE_RC_OUTPUT_MAYBE = $(TOOL_GXX3OMF_COMPILE_RC_OUTPUT_MAYBE) 157 TOOL_GCC3OMF_COMPILE_RC_CMDS = $(TOOL_GXX3OMF_COMPILE_RC_CMDS) 160 # 2016-03-10 SHL 161 override TOOL_GCC3OMF_COMPILE_RC_CMDS = $(TOOL_GXX3OMF_COMPILE_RC_CMDS) 158 162 159 163 override define TOOL_GCC3OMF_LINK_DLL_CMDS … … 436 440 INSTALL := $(PATH_ROOT)/tools/install.cmd 437 441 442 -
trunk/Lucide/changelog
r517 r520 1 1.3.6: 2 - updated build conf for GCC 4.9.2 / kBuild 0.1.9998 r2803 3 - use poppler as system wide installed shared library (ticket #266) 4 1 5 1.3.5: 2 6 - updated poppler to 0.20.3 -
trunk/Lucide/gui/Makefile.kmk
r496 r520 54 54 lcdfdlg.cpp \ 55 55 Lucide.rc 56 Lucide_dll_LIBPATH = $(PATH_STAGE_LIB) 56 Lucide_dll_LIBPATH = $(PATH_STAGE_LIB) \ 57 $(LIB_POPPLER_LIBS) \ 58 $(UNIXROOT)/usr/lib 57 59 Lucide_dll_LIBS = \ 58 ludoc.lib 60 ludoc.lib \ 61 poppler_dll 59 62 60 63 Lucide.rc_DEPS = dialogs.rc … … 77 80 include $(FILE_KBUILD_SUB_FOOTER) 78 81 82 -
trunk/Lucide/plugins/lupoppler/Makefile.kmk
r496 r520 16 16 lupoppler_NAME = lupplr 17 17 lupoppler_INCS = \ 18 ../ludoc $(lupoppler_0_OUTDIR)/../ludoc 19 ../../../poppler/mypoppler\20 ../../../poppler/mypoppler/poppler\21 ../../../poppler/fc-emulate-os218 ../ludoc $(lupoppler_0_OUTDIR)/../ludoc \ 19 $(UNIXROOT)/usr/include \ 20 $(UNIXROOT)/usr/include/poppler \ 21 $(UNIXROOT)/usr/include/os2tk45 22 22 lupoppler_SOURCES = \ 23 23 lupoppler.idl \ … … 35 35 lupoppler_LIBS = \ 36 36 $(PATH_STAGE_LIB)/ludoc$(SUFF_LIB) \ 37 $(LIB_POPPLER_LIBS) 37 $(LIB_POPPLER_LIBS) \ 38 poppler_dll 38 39 39 40 include $(FILE_KBUILD_SUB_FOOTER) 40 41 42 -
trunk/Lucide/plugins/lupoppler/lupibutton.cpp
r492 r520 139 139 LuPopplerInputButtonData *somThis = LuPopplerInputButtonGetData(somSelf); 140 140 141 int count = somThis->widget->getNumSiblingsID(); 141 // int count = somThis->widget->getNumSiblingsID(); 142 int count = 0; 142 143 143 144 LuInputButton_SiblingSequence* siblings = (LuInputButton_SiblingSequence *) … … 147 148 siblings->_buffer = (unsigned long *)SOMMalloc( sizeof( unsigned long * ) * count ); 148 149 149 unsigned *ids = somThis->widget->getSiblingsID(); 150 // unsigned *ids = somThis->widget->getSiblingsID(); 151 unsigned *ids = 0; 150 152 for ( int i = 0; i < count; ++i ) 151 153 siblings->_buffer[ i ] = ids[ i ]; -
trunk/Lucide/plugins/lupoppler/lupifield.cpp
r492 r520 148 148 } 149 149 150 SOM_Scope boolean SOMLINK isModified(LuPopplerInputField *somSelf,151 Environment *ev)152 {153 LuPopplerInputFieldData *somThis = LuPopplerInputFieldGetData(somSelf);154 155 return somThis->widget->isModified();156 }157 158 150 SOM_Scope boolean SOMLINK isReadOnly(LuPopplerInputField *somSelf, 159 151 Environment *ev) -
trunk/Lucide/plugins/lupoppler/lupifield.idl
r367 r520 31 31 getRectangle: override; 32 32 getID: override; 33 33 // isModified: override; 34 34 isReadOnly: override; 35 35 -
trunk/Lucide/plugins/lupoppler/lupoppler.cpp
r515 r520 59 59 #include <Link.h> 60 60 #include <Form.h> 61 #include <config.h>62 61 63 62 #include "lupoppler.xih" … … 107 106 { 108 107 strcpy(version, "PDF plugin, based on poppler library "); 109 strcat(version, VERSION);108 strcat(version, POPPLER_VERSION); 110 109 return version; 111 110 } … … 803 802 804 803 PSOutputDev *out = new PSOutputDev( filename, doc, NULL, 805 (first_page <= last_page) ? (first_page + 1) : (last_page + 1),806 (first_page <= last_page) ? (last_page + 1) : (first_page + 1) ,804 { (first_page <= last_page) ? (first_page + 1) : (last_page + 1), 805 (first_page <= last_page) ? (last_page + 1) : (first_page + 1) }, 807 806 psModePS, (int)width, (int)height, gFalse ); 808 807 -
trunk/Lucide/readme
r517 r520 30 30 - gcc446.dll: 31 31 - ftp://ftp.netlabs.org/pub/gcc/gcc4core-1_2_1.wpi (WarpIn format) 32 - poppler library needs to be installed to view PDFs: 33 - "yum install poppler", can be installed from netlabs.org repository 32 34 33 35 … … 74 76 $presentation - will switch to presentation (even if minimized) 75 77 $minimize - will mimimize Lucide (even if fullscreen) 76 $rotate - will rotate 90 øCW78 $rotate - will rotate 90ᅵ CW 77 79 $zoomin - will zoom in 78 80 $zoomout - will zoom out -
trunk/Makefile.kmk
r509 r520 9 9 # Include sub-makefiles 10 10 # 11 include $(PATH_SUB_CURRENT)/poppler/Makefile.kmk12 11 include $(PATH_SUB_CURRENT)/libdjvu/Makefile.kmk 13 12 include $(PATH_SUB_CURRENT)/libjpeg/Makefile.kmk … … 137 136 include $(FILE_KBUILD_SUB_FOOTER) 138 137 138 -
trunk/libdjvu/GContainer.h
r280 r520 963 963 The new element is initialized with a copy of argument #elt#. */ 964 964 void append(const TYPE &elt) 965 { GListImpl<TI>::append(newnode((const TI&)elt)); } 965 // 2016-03-10 SHL 966 { GListImpl<TI>::append(this->newnode((const TI&)elt)); } 966 967 /** Inserts an element before the first element of the list. 967 968 The new element is initialized with a copy of argument #elt#. */ … … 972 973 list. The new element is initialized with a copy of #elt#. */ 973 974 void insert_after(GPosition pos, const TYPE &elt) 974 { GListImpl<TI>::insert_after(pos, newnode((const TI&)elt)); } 975 // 2016-03-10 SHL 976 { GListImpl<TI>::insert_after(pos, this->newnode((const TI&)elt)); } 975 977 /** Inserts a new element before the list element at position #pos#. When 976 978 position #pos# is null the element is inserted at the end of the 977 979 list. The new element is initialized with a copy of #elt#. */ 978 980 void insert_before(GPosition pos, const TYPE &elt) 979 { GListImpl<TI>::insert_before(pos, newnode((const TI&)elt)); } 981 // 2016-03-10 SHL 982 { GListImpl<TI>::insert_before(pos, this->newnode((const TI&)elt)); } 980 983 /** Inserts an element of another list into this list. This function 981 984 removes the element at position #frompos# in list #frompos#, inserts it … … 1198 1201 GMapImpl<K,TI>::get_or_create(const K &key) 1199 1202 { 1200 GCONT HNode *m = get(key); 1203 // 2016-03-10 SHL 1204 GCONT HNode *m = this->get(key); 1201 1205 if (m) return m; 1202 1206 MNode *n = (MNode*) operator new (sizeof(MNode)); … … 1207 1211 new ((void*)&(n->val)) TI (); 1208 1212 n->hashcode = hash((const K&)(n->key)); 1209 installnode(n); 1213 // 2016-03-10 SHL 1214 this->installnode(n); 1210 1215 return n; 1211 1216 } … … 1273 1278 dealing with a #const GMAP<KTYPE,VTYPE>#. */ 1274 1279 const VTYPE& operator[](const KTYPE &key) const 1275 { return (const VTYPE&)(((const typename GMapImpl<KTYPE,TI>::MNode*)(get_or_throw(key)))->val); } 1280 // 2016-03-10 SHL 1281 { return (const VTYPE&)(((const typename GMapImpl<KTYPE,TI>::MNode*)(this->get_or_throw(key)))->val); } 1276 1282 /** Returns a reference to the value of the map entry for key #key#. This 1277 1283 reference can be used for both reading (as "#a[n]#") and modifying (as … … 1279 1285 for that key with the null constructor #VTYPE::VTYPE()#. */ 1280 1286 VTYPE& operator[](const KTYPE &key) 1281 { return (VTYPE&)(((typename GMapImpl<KTYPE,TI>::MNode*)(get_or_create(key)))->val); } 1287 // 2016-03-10 SHL 1288 { return (VTYPE&)(((typename GMapImpl<KTYPE,TI>::MNode*)(this->get_or_create(key)))->val); } 1282 1289 /** Destroys the map entry for position #pos#. 1283 1290 Nothing is done if position #pos# is not a valid position. */ -
trunk/libdjvu/GSmartPointer.h
r280 r520 66 66 #endif 67 67 68 // 2016-03-10 SHL 69 #include <types.h> 70 68 71 /** @name GSmartPointer.h 69 72
Note: See TracChangeset
for help on using the changeset viewer.