[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog server/character.h server/gnash...
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] gnash ChangeLog server/character.h server/gnash... |
Date: |
Wed, 28 May 2008 08:37:14 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Benjamin Wolsey <bwy> 08/05/28 08:37:13
Modified files:
. : ChangeLog
server : character.h gnash.h impl.cpp impl.h
utilities : processor.cpp
gui : Player.cpp
Log message:
* server/impl.{cpp,h}: drop gnash.h include, old verbosity
functions.
* server/gnash.h: remove long-dead global functions.
* server/character.h: drop gnash.h include.
* gui/Player.cpp, utilities/processor.cpp: setting cache flag
didn't do anything.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6733&r2=1.6734
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.h?cvsroot=gnash&r1=1.145&r2=1.146
http://cvs.savannah.gnu.org/viewcvs/gnash/server/gnash.h?cvsroot=gnash&r1=1.122&r2=1.123
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.145&r2=1.146
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.h?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/processor.cpp?cvsroot=gnash&r1=1.99&r2=1.100
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.115&r2=1.116
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6733
retrieving revision 1.6734
diff -u -b -r1.6733 -r1.6734
--- ChangeLog 28 May 2008 08:32:35 -0000 1.6733
+++ ChangeLog 28 May 2008 08:37:12 -0000 1.6734
@@ -4,6 +4,11 @@
functions and flags.
* server/parser/movie_definition.h: drop gnash.h include.
* server/swf/StartSoundTag.cpp: include gnash.h for sound handler.
+ * server/impl.{cpp,h}: drop gnash.h include, old verbosity functions.
+ * server/gnash.h: remove long-dead global functions.
+ * server/character.h: drop gnash.h include.
+ * gui/Player.cpp, utilities/processor.cpp: setting cache flag
+ didn't do anything.
2008-05-27 Sandro Santilli <address@hidden>
Index: server/character.h
===================================================================
RCS file: /sources/gnash/gnash/server/character.h,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -b -r1.145 -r1.146
--- server/character.h 21 May 2008 13:24:05 -0000 1.145
+++ server/character.h 28 May 2008 08:37:12 -0000 1.146
@@ -24,7 +24,6 @@
#endif
#include "smart_ptr.h" // GNASH_USE_GC
-#include "gnash.h"
#include "types.h"
#include "event_id.h" // for inlines
#include "as_object.h" // for inheritance
Index: server/gnash.h
===================================================================
RCS file: /sources/gnash/gnash/server/gnash.h,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -b -r1.122 -r1.123
--- server/gnash.h 24 May 2008 13:41:09 -0000 1.122
+++ server/gnash.h 28 May 2008 08:37:13 -0000 1.123
@@ -26,7 +26,6 @@
#include "dsodefs.h"
#include <memory> // for auto_ptr
-#include <cctype> // for poxy wchar_t
#include <string> // for movie_definition*
create_movie(std::auto_ptr<tu_file>
// in, const std::string& url);
@@ -70,20 +69,6 @@
/// Get currently registered sound handler
DSOEXPORT media::sound_handler* get_sound_handler();
-
-///
-/// Log & error reporting control.
-///
-
-/// Supply a function pointer to receive log & error messages.
-void register_log_callback(void (*callback)(bool error, const char*
message));
-
-/// Control verbosity of action processing
-void set_verbose_action(bool verbose);
-
-/// Control verbosity of SWF parsing
-void set_verbose_parse(bool verbose);
-
/// Set the render handler. This is one of the first
/// things you should do to initialise the player (assuming you
/// want to display anything).
@@ -124,11 +109,6 @@
typedef as_value (*as_c_function_ptr)(const fn_call& fn); // original typedef
is in as_value.h ...
void register_component(const std::string& name, as_c_function_ptr handler);
-/// Use this to control how finely curves are subdivided. 1.0
-/// is the default; it's a pretty good value. Larger values
-/// result in coarser, more angular curves with fewer vertices.
-void set_curve_max_pixel_error(float pixel_error);
-float get_curve_max_pixel_error();
// Some helpers that may or may not be compiled into your
// version of the library, depending on platform etc.
@@ -151,19 +131,10 @@
};
-/// Enable/disable attempts to read cache files (.gsc) when loading movies.
-DSOEXPORT void set_use_cache_files(bool use_cache);
-
/// Create a gnash::movie_definition from the given URL.
//
/// The URL can correspond to either a JPEG or SWF file.
///
-/// Normally, will also try to load any cached data file
-/// (".gsc") that corresponds to the given movie file. This
-/// will still work even if there is no cache file. You can
-/// disable the attempts to load cache files by calling
-/// gnash::use_cache_files(false).
-///
/// Uses the global StreamProvider 'streamProvider'
/// to read the files themselves.
///
@@ -177,7 +148,7 @@
/// global-ish flags, libraries, callback pointers, font
/// library, etc.
///
-/// IFF real_url is given, the movie's url will be set to that value.
+/// If real_url is given, the movie's url will be set to that value.
///
/// @param url
/// The URL to load the movie from.
@@ -226,34 +197,6 @@
///
DSOEXPORT movie_definition* create_movie(std::auto_ptr<tu_file> in, const
std::string& url, bool startLoaderThread=true);
-/// Creates the movie from the given input stream.
-//
-/// Only reads from the given stream; does not open files.
-/// If the movie imports resources from other movies, the created movie
-/// inserts proxy stubs in place of those resources. The list
-/// of imported movie filenames can be retrieved with
-/// movie_definition::visit_imported_movies(). The proxies can
-/// be replaced with actual movie_definition's via
-/// movie_definition::resolve_proxy(name,def).
-///
-/// Use DO_NOT_LOAD_BITMAPS if you have pre-processed bitmaps
-/// stored externally somewhere, and you plan to install them
-/// via get_bitmap_info()->...
-enum create_bitmaps_flag
-{
- DO_LOAD_BITMAPS,
- DO_NOT_LOAD_BITMAPS
-};
-
-/// Use DO_NOT_LOAD_FONT_SHAPES if you know you have
-/// precomputed texture glyphs (in cached data) and you know
-/// you always want to render text using texture glyphs.
-enum create_font_shapes_flag
-{
- DO_LOAD_FONT_SHAPES,
- DO_NOT_LOAD_FONT_SHAPES
-};
-
/// \brief
/// Create a gnash::movie_definition from the given URL
//
@@ -275,7 +218,7 @@
/// drop_ref() when you're done with it.
/// Or use boost::intrusive_ptr<T> from base/smart_ptr.h if you want.
///
-/// IFF real_url is given, the movie's url will be set to that value.
+/// If real_url is given, the movie's url will be set to that value.
///
/// @param url
/// The URL to load the movie from.
@@ -302,20 +245,6 @@
const std::string* postdata=NULL);
-/// Helper to pregenerate cached data (basically, shape tesselations).
-//
-/// Does this by running through each frame of
-/// the movie and displaying the shapes with a null renderer.
-/// The pregenerated data is stored in the movie_definition
-/// object itself, and is included with the cached data written
-/// by movie_definition::output_cached_data().
-///
-/// Note that this tesselates shapes to the resolution they
-/// explicitly appear in the linear frames of the movie. Does
-/// not try very hard to run your ActionScript to account for
-/// dynamic scaling (that's more or less futile anyway due to
-/// the halting problem).
-void precompute_cached_data(movie_definition* movie_def);
/// Initialize gnash core library
//
@@ -920,40 +849,6 @@
} // end namespace key
-/// Some optional helpers.
-namespace tools
-{
-
-class DSOLOCAL process_options
-{
-public:
- /// @@ not implemented yet (low priority?)
- bool m_zip_whole_file;
-
- /// removes existing image data; leaves minimal placeholder tags
- bool m_remove_image_data;
-
- bool m_remove_font_glyph_shapes;
-
- process_options()
- :
- m_zip_whole_file(false),
- m_remove_image_data(false),
- m_remove_font_glyph_shapes(false)
- {
- }
-};
-
-/// Copy tags from *in to *out, applying the given
-/// options. *in should be a SWF-format stream. The
-/// output will be a SWF-format stream.
-///
-/// Returns 0 on success, or a non-zero error-code on
-/// failure.
-int process_swf(tu_file* swf_out, tu_file* swf_in, const process_options&
options);
-}
-
-
} // namespace gnash
#endif // GNASH_H
Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -b -r1.145 -r1.146
--- server/impl.cpp 27 May 2008 13:27:24 -0000 1.145
+++ server/impl.cpp 28 May 2008 08:37:13 -0000 1.146
@@ -109,26 +109,6 @@
}
-bool s_verbose_action = false;
-bool s_verbose_parse = false;
-
-#ifndef NDEBUG
-bool s_verbose_debug = true;
-#else
-bool s_verbose_debug = false;
-#endif
-
-static bool
-s_use_cache_files = false;
-
-// Enable/disable attempts to read cache files when loading
-// movies.
-void
-set_use_cache_files(bool use_cache)
-{
- s_use_cache_files = use_cache;
-}
-
// Associate the specified tag type with the given tag loader
// function.
void
Index: server/impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/impl.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- server/impl.h 21 May 2008 13:24:05 -0000 1.56
+++ server/impl.h 28 May 2008 08:37:13 -0000 1.57
@@ -21,7 +21,6 @@
#include "dsodefs.h"
-#include "gnash.h"
#include "types.h"
#include "smart_ptr.h"
#include "swf/TagLoadersTable.h"
Index: utilities/processor.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/processor.cpp,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- utilities/processor.cpp 27 May 2008 16:54:48 -0000 1.99
+++ utilities/processor.cpp 28 May 2008 08:37:13 -0000 1.100
@@ -310,8 +310,6 @@
exit(1);
}
- gnash::set_use_cache_files(false); // don't load old cache files!
-
std::vector<movie_data> data;
if (infiles.size() > 1)
Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- gui/Player.cpp 25 May 2008 18:11:34 -0000 1.115
+++ gui/Player.cpp 28 May 2008 08:37:13 -0000 1.116
@@ -110,8 +110,6 @@
/// Initialize gnash core library
gnashInit();
- set_use_cache_files(false);
-
}
void
- [Gnash-commit] gnash ChangeLog server/character.h server/gnash...,
Benjamin Wolsey <=