1. 08 Jul, 2007 1 commit
  2. 23 Jun, 2007 1 commit
  3. 20 Jun, 2007 1 commit
  4. 04 Feb, 2007 1 commit
    • Bruno Coudoin's avatar
      Rework of the way we manage the config and user data directory. · 886ca282
      Bruno Coudoin authored
      	Now we respect the freedesktop and save our config file in
      	$XDG_CONFIG_HOME (~/.config/gcompris)
      	In this directory we save the files:
      	gcompris.conf  gcompris.log  gcompris_sqlite.db
      	The data file are now in a directory ~/My GCompris
      	This contains the Images directory. The children can put image in
      	them, they will be selectable in the anim and drawing activity.
      	The directories 'anim2  draw2 wordprocessor' contains the children
      	creation for each of these activities.
      	It is possible to change the base of these directory with the command line
      	switch --config-dir and --user-dir
      	(Does not work yet).
      svn path=/trunk/; revision=2467
  5. 16 Nov, 2006 1 commit
  6. 10 Nov, 2006 1 commit
    • Bruno Coudoin's avatar
      - Removed Ofset Logo. GCompris is no more an Ofset project. · 0985b20b
      Bruno Coudoin authored
      	- Removed Ofset Logo. GCompris is no more an Ofset project.
      	* boards/skins/gartoon/ofsetlogo.png:
      	* src/gcompris/about.c: (gc_about_start):
      	* src/gcompris/gameutil.c: Fixed to add G_STDIO_NO_WRAP_ON_UNIX
      	* src/gcompris/gcompris.c: (gc_fullscreen_set): Applied a patch from Karl Tomlinson
  7. 09 Nov, 2006 2 commits
  8. 24 Oct, 2006 1 commit
    • Bruno Coudoin's avatar
      Bruno Coudoin authored
      	autotools croos compilation with mingw32
      	use glib headers instead of glibc (g_mkdir, g_unlink, g_stat)
      	NEED MORE WORK. cvs maybe broken now.
      	* Makefile.am:
      	* acinclude.m4:
      	* configure.in:
      	* cross-configure.sh: script to run configure. Look variables.
      	* po/Makefile.in.in:
      	* src/boards/Makefile.am:
      	* src/boards/gtans.c:
      	* src/boards/gtans_support.c: (check_file_exists):
      	* src/boards/py-mod-gcompris.c: (py_gcompris_child_watch_add),
      	* src/gcompris/Makefile.am:
      	* src/gcompris/binreloc.c: (_br_find_exe):
      	* src/gcompris/board.c:
      	* src/gcompris/board.h:
      	* src/gcompris/file_selector.c: (parse_doc):
      	* src/gcompris/gameutil.c: (gc_util_create_rootdir):
      	* src/gcompris/gcompris.c: (activation_done), (gc_init):
      	* src/gcompris/gcompris_db.c: (gc_db_init):
      	* src/gcompris/images_selector.c: (parse_doc):
      	* src/gcompris/menu.c: (gc_menu_load):
      	* src/gcompris/properties.c: (gc_prop_new):
      	* src/gcompris/sdlplayer.c: (errorv):
      	* src/gcompris/soundutil.c:
  9. 23 Oct, 2006 1 commit
  10. 16 Oct, 2006 1 commit
  11. 15 Oct, 2006 1 commit
    • Bruno Coudoin's avatar
      *** RELEASE 8.1 *** · 6470b304
      Bruno Coudoin authored
      	- Fixed a major crash case on images with a focus and a changing image
      	  like the level icon.
  12. 12 Oct, 2006 1 commit
  13. 09 Oct, 2006 1 commit
    • Bruno Coudoin's avatar
      All memory leaks fixed by Miguel DE IZARRA (miguel2i) · 712088d0
      Bruno Coudoin authored
      	* Makefile.mingw.in: removed deprecated assetml files
      	* boards/flags/Makefile.am: cleanup
      	* boards/flags/README: updated image source
      	* boards/gcompris_pixmaps.assetml.in: removed, no more needed
      	* src/boards/chess.c: (chess_create_item): fixed leak
      	* src/boards/machpuzzle.c: (minigolf_destroy_all_items): fixed leak
      	* src/boards/maze.c: (twoDdisplay): fixed leak
      	* src/boards/menu2.c: (create_top): fixed leak
      	* src/boards/python/electric.py: added windows support
      	* src/boards/shapegame.c: (destroy_shape), (xmlGetProp_Double),
      	(add_xml_shape_to_data): fixed leak
      	* src/gcompris/bar.c: (gc_bar_start): no more show button by default
      	* src/gcompris/config.c: (gc_config_start), (item_event_ok): fixed leak
      	* src/gcompris/dialog.c: (gc_dialog): accept a dialog without a board running
      	  this is usefull to display dialog at statup when we don't find a board at all
      	* src/gcompris/gameutil.c: (gc_file_find_absolute): fixed leak
      	* src/gcompris/gcompris.c: (gc_cursor_set), (setup_window),
      	(cleanup), (load_properties), (gc_init): memory leak, display a dialog now when
      	no board are found
      	* src/gcompris/menu.c: (_add_xml_to_data): fixed leak
      	* src/gcompris/properties.c: (gc_prop_new): fixed leak
      	* src/gcompris/skin.c: (gc_skin_free): fixed leak
  14. 25 Sep, 2006 1 commit
    • Bruno Coudoin's avatar
      - fixed missing config.h.mingw.in (that replaces config.h.mingw) · bf2de288
      Bruno Coudoin authored
      	- added support for python plugin compilation under mingw
      	- improved wordprocessor activity. it no more crashes and allow
      	  two styles, on for the layout, one for the color (on an idea
      	  of my daughter Clara)
      	- This activity could be moved out of --experimental now but
      	  we are in string freeze.
      	- Added a double switch in electricity. It is now possible to make
      	  a 2 switches corridor like circuit (va et vient in french).
      	- config.c : fixed a double memory free on locale that crashed GC at exit time.
      	- file_selector.c: fixed mime type loading and display. now uses gettext instead of
      	  inline xml translation.
      	- menu.c: fixed a misplaced free that makes all board description in the database to be junk
  15. 28 Aug, 2006 1 commit
  16. 22 Aug, 2006 1 commit
    • Bruno Coudoin's avatar
      - completed the wordlist API which look like this now: · 2c8aec38
      Bruno Coudoin authored
      	    GcomprisWordlist *gc_wordlist_get_from_file(const gchar *fileformat, ...);
      	    void              gc_wordlist_free(GcomprisWordlist *wordlist);
      	    gchar		 *gc_wordlist_random_word_get(GcomprisWordlist *wordlist, guint level);
      	- changed wordsgame.c to use the gc_wordlist API.
      	- renamed gcompris_get_properties() in gc_prop_get()
      	* Still need to cleanup boards/wordsgame/wordslevel*.* that are replaced
      	  by default-*.xml
  17. 21 Aug, 2006 1 commit
  18. 19 Aug, 2006 1 commit
    • Bruno Coudoin's avatar
      *** RELEASE 8.0BETA4 *** · c753c10a
      Bruno Coudoin authored
      	- removed several race conditions. What happens is that in many activity
      	  and even in GCompris core, we set callback before the end of the initialisation
      	  like displaying all the content. It is then possible for the user to click
      	  start an action while it's not completly displayed. It ends up either in graphical
      	  inconsistencies or may even crash.
      	  Hopefully, this may solve some intermitent crashes we have in GCompris.
      	- Fixed several compilation issues
      	- No more warnings when sqlite is disabled
  19. 15 Aug, 2006 1 commit
    • Bruno Coudoin's avatar
      - Fixed default path search for platform not supported by binreloc · d6cf7d18
      Bruno Coudoin authored
      	- removed x86-64 warning (all remaining ones I hope).
      	- Added "weight", PANGO_WEIGHT_HEAVY, in all dialogs for the title and
      	  ok button. It looks better.
      	- Fixed menu2 to lock the user board selection until the display is complete.
      	- Added support in gc_net_load_pixmap to also load local file. Thus I standartize
      	  on called this one which will make local or remote load depending on the url given.
  20. 14 Aug, 2006 1 commit
  21. 13 Aug, 2006 1 commit
    • Bruno Coudoin's avatar
      - Added support for relocation using http://autopackage.org/docs/binreloc/ · 2cba2a20
      Bruno Coudoin authored
      	  (Needed to create an autopackage installer)
      	  Now GCompris will detect at runtime where it is installed and find it's data.
      	  As a fallback, default set at compile time are used (like before).
      	  To disable is, use sh configure --disable-binreloc
      	  Very usefull for developers, you can now run gcompris from within it's source
      	  code without even installing it !. The new code detect that and set the data
      	  dir accordingly.
      	  Warning, developers must no more use the PACKAGE_DATA_DIR define but must get the
      	  data dir always from the property object like this:
      	  GcomprisProperties *properties = gcompris_get_properties();
      	  properties->package_xxx_dir contains the root data directory, like:
      	  package_data_dir         = /usr/local/share/gcompris/boards
      	  package_locale_dir       = /usr/local/share/locale
      	  package_plugin_dir       = /usr/local/lib/gcompris
      	  package_python_plugin_dir= /usr/local/share/gcompris/python
  22. 12 Aug, 2006 1 commit
  23. 11 Aug, 2006 1 commit
    • Bruno Coudoin's avatar
      - Fixed potential the exit code to avoid a potential core dump when exiting GCompris · 7c9d8c5f
      Bruno Coudoin authored
      	  Fixed administration. When leave the boards module, GCompris was quitting. This bug has been
      	  introduced in a fix the 2006-07-10.
      	  Now leaving GCompris in administration mode, there is no more segfaults.
      	* boards/oscar_and_friends/scene1_0.png: improved by Josef Vybiral
      	* configure.in: added support for gnet (disabled by default)
      	* src/boards/python/admin/module_boards.py: fixed management of the module state. no more double stop modules.
      	* src/boards/python/admin/module_users.py: -
      	* src/boards/python/administration.py: -
      	* src/boards/python/oscar_and_friends.py: changed text coordinate and colors
      	* src/gcompris/Makefile.am: added gc_net.*
      	* src/gcompris/gc_net.c: empty now, will hold the network code
      	* src/gcompris/gc_net.h: -
      	* src/gcompris/board.c: (board_pause), (board_stop),
      	* src/gcompris/board.h: cleanup, removed pause board state saving. now board_pause takes an argument, no more a toggle.
      	* src/gcompris/board_config.c: (gcompris_combo_box_changed),
      	(my_strcmp): added several static. code cleanup.
      	* src/gcompris/gameutil.c: (gcompris_load_pixmap),
      	(gcompris_dialog), (item_event_ok): prepared net code.
      	* src/gcompris/gcompris.c: (gcompris_end_board), (cleanup),
      	(gcompris_exit), (quit_cb), (gcompris_init): fixed quit sequence. now a real exit is done after gtk_main_quit
      	* src/gcompris/gcompris.h: added gc_net
      	* src/gcompris/properties.c: (gcompris_properties_new): added server option
      	* src/gcompris/properties.h: -
      	* src/gcompris/sdlplayer.c: (sdlplayer_init), (sdlplayer_quit),
      	(sdlplayer_bg): replaced printf by g_warning
      	* src/gcompris/skin.c: (gcompris_image_to_skin): no more return an empty skin but the default one anyway. It will fail later on
      	  anyway if the image is not available.
  24. 10 Jul, 2006 1 commit
    • Bruno Coudoin's avatar
      - added support for the --display-resource option (uncomplete yet) · 25bc47ed
      Bruno Coudoin authored
      	* Makefile.am: Moved po/TRANSLATORS.README in README.translators
      	* README.translators:
      	* README.windows:
      	* boards/geography.xml.in: added a resource (test)
      	* po/TRANSLATORS.README: moved up
      	* src/boards/py-gcompris-board.c: (pyGcomprisBoardType_getattr): replace a printf by a g_warning
      	* src/boards/python/admin/module_boards.py: now exit gcompris when closed. It avoids a crash when
      	  quiting the admin mode. What happens is that since admin is the only activity, it is restarted
      	  by the menu and it creates an sqlite assertion.
      	* src/gcompris/gameutil.c: (gcompris_add_xml_to_data): added support for the --display-resource
      	* src/gcompris/gcompris.c: (gcompris_init): -
      	* src/gcompris/gcompris_db.c: (gcompris_is_activity_in_profile): added function to support
      	* src/gcompris/gcompris_db.h: -
      	* src/gcompris/skin.c: (gcompris_skin_xml_load): fixed warnings
  25. 11 May, 2006 1 commit
    • Bruno Coudoin's avatar
      - Applyed a patch by Hans de Goede to improve fullscreen · f66ade93
      Bruno Coudoin authored
      	 - Now OK is sent to a board only on Enter KP_Enter and Space
      	 - Now we make one sound package by locale
      	 - Fixed a bug in image selector that crashes GCompris if a file contains
      	   a % in it
      	 - Activated live fullscreen in configuration but it does not work yet.
  26. 10 May, 2006 1 commit
    • Bruno Coudoin's avatar
      assetml removal continues. added support for local sounds in click_on_letter · 385924ea
      Bruno Coudoin authored
      	and colors.
      	* src/boards/click_on_letter.c: (start_board), (conf_ok):
      	* src/boards/colors.c: (conf_ok), (start_board), (end_board): support sound locale.
                now the background music is muted.
      	* src/gcompris/board_config.c: (gcompris_get_locales_list),
      	(gcompris_get_locales_asset_list): now support $LOCALE in the file to check for.
      	* src/gcompris/config.c: (gcompris_config_start),
      	(gcompris_get_locale_name), (item_event_ok): added an API entry
      	 gcompris_get_locale_name() to return the country name based on a locale name.
      	* src/gcompris/gameutil.c: (gcompris_find_absolute_filename): improved to limit searches
      	* src/gcompris/gcompris.h:
  27. 09 May, 2006 1 commit
  28. 04 May, 2006 1 commit
    • Bruno Coudoin's avatar
      Removed unused sounds (10.ogg and above) from the install because · 2f5e98e8
      Bruno Coudoin authored
      	we don't use them.
      	Removed Brahms because it's huge and of bad quality.
      	Started the removal of assetml. Now in the core, all sounds are assetml free.
      	Improved the function gcompris_find_absolute_filename() to support a $LOCALE
      	tag in a string. It will be replaced by the current locale when found.
      	Next step is to remove assetml from the activity and dataset, then from the API.
  29. 03 Apr, 2006 1 commit
  30. 30 Mar, 2006 1 commit
  31. 29 Mar, 2006 1 commit
    • Bruno Coudoin's avatar
      - Updated for windows release 7.4BETA2 · 17382131
      Bruno Coudoin authored
      	* config.h.mingw:
      	* config.h.windows:
      	* gcompris-installer.nsi:
      	* src/boards/awele.c: (awele_destroy_all_items),
      	(awele_create_item): huge memory leak fixed
      	* src/boards/menu2.c: (menu_start): memory leak fixed. This one is probably
      	  in many other boards.
      	* src/gcompris/anim.c: (gcompris_load_animation): debug string change
      	* src/gcompris/gameutil.c: (gcompris_board_has_activity): fixed to have
      	  menu properly hidden if empty.
  32. 28 Mar, 2006 1 commit
  33. 02 Mar, 2006 1 commit
    • Bruno Coudoin's avatar
      - removed many warnings · dfd05859
      Bruno Coudoin authored
      - added two options from the command line to use GCompris in a kiosk mode.
          --disable-quit                  Disable the quit button
          --disable-config                Disable the config button
  34. 01 Mar, 2006 1 commit
  35. 17 Nov, 2005 1 commit
  36. 12 Nov, 2005 1 commit
  37. 10 Nov, 2005 1 commit
    • Bruno Coudoin's avatar
      cleanup, tries to solve double free but it's not this yet. · 11a4509b
      Bruno Coudoin authored
      	* src/boards/memory.c: (memory_destroy_all_items), (hide_card): cleanup, tries to solve
      	  double free but it's not this yet.
      	* src/gcompris/gameutil.c: (gcompris_find_absolute_filename):
      	* src/gcompris/images_selector.c: (display_image), (parseImage),
      	(read_dataset_directory): fixed bug where directory was considered as an image to load
      	and caused the bad file dialog to be displayed.
  38. 08 Nov, 2005 1 commit
    • Bruno Coudoin's avatar
      Fixed english typos, it's Math not Maths created based on Francks artwork · 257f29be
      Bruno Coudoin authored
      	* boards/algebramenu.xml.in: Fixed english typos, it's Math not Maths
      	* boards/boardicons/memory_sound.png: created based on Francks artwork
      	* boards/boardicons/memory_sound_tux.png: -
      	* boards/colors_group.xml.in: Fixed english typos, it's Color not Colour
      	* boards/guessnumber.xml.in: Fixed English typos: Tux hide(s) a number
      	* boards/memory_sound.xml.in: Updated board description, documentation
      	* boards/memory_sound_tux.xml.in: Updated  board description, documentation
      	* po/POTFILES.in: added memory_sound
      	* src/boards/memory.c: (update_scores), (create_item): added a text shadow
      	* src/boards/money.c: (money_next_level): Now the money format is I18N (to Use $...)
      	* src/gcompris/gameutil.c: (gcompris_find_absolute_filename): removed debug printout
      	* src/gcompris/gcompris.c: (init_background), (gcompris_init): Moved the xrandr fullscreen set at
      	                           the end of the initialisation to avoid flickering.
  39. 06 Nov, 2005 1 commit