Commit graph

55 commits

Author SHA1 Message Date
gambas
f87cd1025b Continue fixing compilation on old popplers.
[GB.PDF]
* BUG: Continue fixing compilation on old popplers.
2018-05-16 02:29:12 +02:00
gambas
e528f3441a Fix compilation with poppler < 0.64.
[GB.PDF]
* BUG: Fix compilation with poppler < 0.64.
2018-05-16 02:24:20 +02:00
Tobias Boege
0893ca7dee gb.pdf: Fix compilation with older popplers
[GB.PDF]
* BUG: Fix compilation with older popplers
2018-05-16 02:04:47 +02:00
Tobias Boege
fdf8fa658f gb.pdf: Compile with poppler 0.64
[GB.PDF]
* NEW: Add many consts to compile with poppler 0.64. Partial patch thanks to Tony Morehen
2018-05-15 21:27:51 +02:00
David Tardon
6a4adabfd7 adapt to poppler 0.58 2017-09-06 12:58:12 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* NEW: Update the state of many components.

[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.

[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.

[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries 
  in the history, to set or get the current history entry index, and to get
  or set the history maximum capacity.


git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-01 11:46:48 +00:00
Benoît Minisini
7bd4a3d770 [GB.PDF]
* BUG: Check for the availabilty of private poppler headers.


git-svn-id: svn://localhost/gambas/trunk@6729 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-12-13 13:25:25 +00:00
Benoît Minisini
5d95312b76 [GB.PDF]
* BUG: Search result now takes the orientation into account.


git-svn-id: svn://localhost/gambas/trunk@6489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 22:34:23 +00:00
Benoît Minisini
f9c1e12191 [GB.PDF]
* BUG: The initial rotation of the PDF document is now taken into account.


git-svn-id: svn://localhost/gambas/trunk@6488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-09-18 20:47:31 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
4f566fa199 [DEVELOPMENT ENVIRONMENT]
* BUG: Forgot the description of gb.opengl.sge.

[INTERPRETER]
* BUG: Propagate the GB_DATE_SERIAL structure changes to all components.


git-svn-id: svn://localhost/gambas/trunk@5879 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-10-13 12:39:56 +00:00
Laurent Carlier
6b8cf6448e [CONFIGURATION]
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.


git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 05:55:35 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Laurent Carlier
4a91059623 ...and another typo from #4730... sorry!!!!
git-svn-id: svn://localhost/gambas/trunk@4732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 08:17:51 +00:00
Laurent Carlier
6cb7591fad Fix Copy&Paste error from #4730
git-svn-id: svn://localhost/gambas/trunk@4731 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 07:56:55 +00:00
Laurent Carlier
9b235b37a4 [GB.PDF]
* BUG: Fix building with poppler-0.20.x

/!\ this changes are not yet tested /!\


git-svn-id: svn://localhost/gambas/trunk@4730 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-15 07:32:03 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
8eb1a35189 [EXAMPLES]
* NEW: Apply the gb.pdf changes to the PDFViewer example.

[GB.PDF]
* BUG: Remove a debugging message and fix the return value of the Find() 
  method.

[GB.FORM]
* NEW: Add a Click and a Change event to the DateBox control. The Click
  event is raised when the popup is closed.


git-svn-id: svn://localhost/gambas/trunk@4120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 14:20:45 +00:00
Benoît Minisini
33d0f6a217 [GB.PDF]
* NEW: Add a PdfRect class systematically used for returning the 
  coordinates of page elements or search results.
* BUG: Fix the retrieveing of index titles.
* BUG: Some fixes in classes description.

git-svn-id: svn://localhost/gambas/trunk@4119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-12 01:42:00 +00:00
Benoît Minisini
67ecd4b00a [INTERPRETER]
* NEW: New syntax for GB.AddString() and GB.ExtendString() interpreter API.
  Do not pass the string by reference anymore.
* NEW: GB.AddChar() is a new API for adding just a char to a string.

[GB.DB.SQLITE2]
* BUG: Fix ignored system call return values.

[GB.DB.SQLITE3]
* BUG: Fix ignored system call return values.

[GB.DB.NET]
* BUG: Fix ignored system call return values.

[GB.V4L]
* BUG: Remove some unused local variables.


git-svn-id: svn://localhost/gambas/trunk@4105 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-07 19:43:11 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
e498fe724b [GB.PDF]
* BUG: Fix compilation of gb.pdf.


git-svn-id: svn://localhost/gambas/trunk@4022 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 13:26:12 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
97d08b24f0 [GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.17.


git-svn-id: svn://localhost/gambas/trunk@3997 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-09 10:43:30 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
b3db598050 [DEVELOPMENT ENVIRONMENT]
* BUG: Breakpoints are correctly reset when opening a new project.

[INTERPRETER]
* BUG: The GB.NewString(), GB.NewZeroString() and GB.TempString() API 
  signature has changed. All components have been updated accordingly.
* OPT: Many optimizations to speed up the interpreter.

[GB.EVAL]
* NEW: During syntax highlighting, the first character of class names is
  automatically converted to uppercase.


git-svn-id: svn://localhost/gambas/trunk@2992 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-06-04 23:48:53 +00:00
Benoît Minisini
4a544c567a [INTERPRETER]
* BUG: Use GB.ReturnNewZeroString() instead of GB.ReturnNewString() now. 
  All components using the old syntax should be fixed now.
* NEW: Start to manage structures.


git-svn-id: svn://localhost/gambas/trunk@2957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-23 11:07:14 +00:00
Benoît Minisini
5bc6075e96 [DEVELOPMENT ENVIRONMENT]
* NEW: Use KDE 4.4 translation files to update translations.
* NEW: Keep project treeview item expanded when double-clicking on it.

[GB.DESKTOP]
* NEW: Use the current development version of xdg-utils scripts.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.5.

[GB.QT4]
* BUG: Don't translate the brush before raising the DrawingArea Draw event.



git-svn-id: svn://localhost/gambas/trunk@2745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-04 01:52:16 +00:00
Benoît Minisini
9c39e31fb5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for report form continues. Controls declaration has moved 
  from *.component files to the following Control hidden properties: 
  _Family, _Group, _IsControl, _IsContainer, _IsMultiContainer, _IsVirtual, 
  _IsForm. And to the following Form hidden properties: _HiddenControls.
  The wiki control documentation will be updated soon.

[COMPILER]
* NEW: Do not print a warning for a missing self-referenced *.list file.
* NEW: The '-L' is a new command-line option to print the license. The '-h'
  now only prints help.

[INFORMER]
* BUG: Support for boolean public constants.

[GB.DB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.GTK]
* NEW: Update control declarations to the new scheme.

[GB.QT4]
* NEW: Update control declarations to the new scheme.


git-svn-id: svn://localhost/gambas/trunk@2708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 18:15:16 +00:00
Benoît Minisini
67dbde9d7d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix packager for Debian and Ubuntu.

[GB.PDF]
* BUG: PDF indexes should be read correctly now.


git-svn-id: svn://localhost/gambas/trunk@2705 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-17 23:14:28 +00:00
Benoît Minisini
08c7b0f4d8 [INTERPRETER]
* BUG: Fix the GB.ConvString() API.

[GB.GTK]
* BUG: Fix the Key[] array accessor, so that it (almost) works like gb.qt.

[GB.PDF]
* NEW: All dimensions are now returned as Float.
* BUG: PdfDocument.Find() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@2672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-08 00:56:56 +00:00
Benoît Minisini
f306c0a5fb [DEVELOPMENT ENVIRONMENT]
* NEW: Sort project tree view with natural sort.
* NEW: Sort procedure combo-box with natural sort.

[GB.DB.FORM]
* BUG: Setting a "SELECT" request to the DataSource.Table property should 
  work in all cases now.

[GB.FORM.MDI]
* NEW: Vertical toolbar layout is more clever.

[GB.GTK]
* BUG: Modal windows are really modal.
* BUG: Try to prevent a possible crash in event management.

[GB.GTK.EXT]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 23:10:41 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Benoît Minisini
bd15563f2f [DEVELOPMENT ENVIRONMENT]
* NEW: Double-click is needed to modify a value in the debugger. But now
  you can't reset an object value to NULL. Something to fix later...

[GB.DEBUG]
* BUG: Fix an uninitialized value that made the debugger crash when 
  trying to see if an object can act like an array.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler >= 0.11.3.


git-svn-id: svn://localhost/gambas/trunk@2268 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 23:30:23 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Benoît Minisini
8007fdd1f7 [EXAMPLES]
* BUG: Fix the PdfViewer example to not crash when it cannot understand 
  the document index.

[GB.PDF]
* BUG: Fix a possible crash whith PDF documents having index but no action 
  associated with.


git-svn-id: svn://localhost/gambas/trunk@2161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 13:52:44 +00:00
Benoît Minisini
f90da327a9 [GB.PDF]
* BUG: PdfDocument.HasIndex does not return TRUE anymore when there is an 
  index whose length is null.
* BUG: Fix PdfIndex.HasChildren that sometimes returned TRUE when there was 
  no children.
* BUG: Fix PdfIndex.MoveChild() accordingly.


git-svn-id: svn://localhost/gambas/trunk@1900 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-05 13:19:37 +00:00
Benoît Minisini
7035914034 [CONFIGURATION]
* NEW: Update requirements in many *.component files.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update component names and component features.


git-svn-id: svn://localhost/gambas/trunk@1821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-27 01:29:38 +00:00
Benoît Minisini
e945a9faa6 [INTERPRETER]
* NEW: Requesting a component interface automatically loads the component 
  now.
* NEW: The Image and Picture functions in the interpreter API were removed.

[GB.DRAW]
* NEW: A new function in the Draw interface to get the size of a picture.
  This function replaces the removed Picture interpreter API.

[GB.IMAGE]
* NEW: This is a new component that manages images in memory. It implements 
  the Image class, can create images of many formats (RGB, RGBA, BGRA...) 
  and convert image data between different formats. This component replaces
  the previous interpreter Image API. All components were ported to this
  new image management system by loading this component automatically.
  Beware that the Image constructor has changed! The transparent property
  has been removed, and there is an optional color argument that is used
  for initializing the image data. Moreover, many classes (Webcam, 
  PdfDocument...) that have an Image property lost their Picture property.
  Now to get a Picture, you must use the Image property and then convert
  the Image to a Picture.

[GB.QT]
* BUG: As now the Image class overrides the one located in gb.image, it 
  must be declared early, at least earlier than the Picture class.


git-svn-id: svn://localhost/gambas/trunk@1803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-16 23:12:10 +00:00
Benoît Minisini
7323ee03a3 [CONFIGURATION]
* BUG: Fix the configuration of gb.image.info.

[INTERPRETER]
* NEW: The GB.LoadFile() and GB.ReleaseFile() API have changed. Now they 
  always use memory mapping instead of loading the file in memory.

[GB.IMAGE.INFO]
* BUG: Now ImageStat() works with the "~" shortcut in path names.


git-svn-id: svn://localhost/gambas/trunk@1748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-12-28 22:41:55 +00:00
Benoît Minisini
9ed30bf516 [INFORMER]
* NEW: The informer now can generate component information files for
  components that do not export any class in their C/C++ part.

[GB.DB.MYSQL]
* NEW: Import the MySQL specific component made by David Villalobos 
  Cambronero.

[GB.FORM.DIALOG]
* BUG: Standard dialogs now correctly react to double clicks.

[GB.PDF]
* BUG: The component now can really be compiled with poppler 0.8.


git-svn-id: svn://localhost/gambas/trunk@1357 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-03 20:54:10 +00:00
Benoît Minisini
9d8284bb09 [DEVELOPMENT ENVIRONMENT]
* NEW: Subversion conflicts support.
* BUG: Splitting view in editor correctly updates the procedure combo-box 
  now.

[GB.PDF]
* BUG: Compiles correctly against poppler 0.8 now.

[GB.QT]
* BUG: PictureBox is correctly refreshed now when its contents change.


git-svn-id: svn://localhost/gambas/trunk@1353 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-05-01 17:01:38 +00:00
Benoît Minisini
3df72165af [CONFIGURATION]
* NEW: The syntax of pkg-config detection macro has changed to better use 
  the pkg-config possibilities.

[DEVELOPMENT ENVIRONMENT]
* BUG: Correctly update .startup file when closing the project property 
  dialog.
* BUG: Don't crash when the debugger stops inside the form generated code.
* BUG: Update the project templates to the 3.0 syntax.

[GB.QTE]
* BUG: Make this component compile correctly.
* BUG: Remove the automake warning.

[GB.QT4]
* NEW: Upgrade to the new QT 4 syntax in many places.
* NEW: Menu class has been redesigned to use the new QAction class. Not 
  tested yet.
* NEW: Standard controls work better.


git-svn-id: svn://localhost/gambas/trunk@1344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-04-29 13:40:55 +00:00