2003-01-21 David A Knight <david@ritter.demon.co.uk> * imageWizard.c: return FALSE from image_wizard_preview() 2003-01-16 David A Knight <david@ritter.demon.co.uk> * screem-site-view.c: move to using a ScreemFileBrowser for the file list model. This means that the icons will now update correctly with a change in the nautilus theme. * screem-file-browser.c: updated to use GnomeIconTheme from the up coming gnome 2.2 emit added signals when initially building. added a data column for user defined data. added uri column added user column for a second text column of user defined text added screem_file_browser_set_sort_func() made screem_file_browser_get_icon() public * screem-page-druid.c: added default script and style meta tags as required by the HTML 4 spec. 2003-01-13 David A Knight <david@ritter.demon.co.uk> * screem.glade: fixed modal issues with dialogs which use a GnomeFileEntry. * screem-editor.c: fix tags with no set attributes not building an attribute sidebar * screem-window.c: no longer assert when setting the current DTD if we fail to load both the page one, and the default one 2003-01-02 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fix crash when we don't get a tag back if space is pressed. 2002-12-29 David A Knight <david@ritter.demon.co.uk> * support.c: return NULL if the word to find is NULL in screem_support_ctags() * screem-editor.c: fix setting pos on matching a ctag by using a g_idle_add() 2002-12-28 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: fix authentication * editMenu.c: don't try and match a regexp if we fail to compile the expression. * support.c: added screem_support_ctags() * screem-editor.c: if a tag (as defined by a ctags file) if double clicked on, jump to the page it is defined in. 2002-12-27 David A Knight <david@ritter.demon.co.uk> * screem-appliction.c, editMenu.c: added REG_NEWLINE to regcomp() flags. 2002-12-25 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fixed crash when dropping of uris / urls if we fail to obtain a mime type for a file. added screem_editor_drop_uris() to handle uri drops specifically. Handles uri lists as well as single uris now handle text/x-moz-url by converting from utf16 2002-12-23 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: when fixing links don't call screem_page_set_data() if we haven't actually changed the page. 2002-12-22 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: in screem_editor_select_region() scroll so that the region is in the display area * editMenu.c: fix infinite loop when replace all is selected and we aren't acting upon all files. 2002-12-21 David A Knight <david@ritter.demon.co.uk> * documentation: stripped out old documentation added scrollkeeper stuff created "new" documentation file screem.xml, which is bascily the same as all the old ones put together, but using Docbook XML 4.1.2 and with a few changes for the development version of screem. * screem-site-view.c: copy pages as other files when renaming, just change the pathname on the ScreemPage if the copying fails when renaming don't delete the original * editMenu.c: fix display of replace/replace all buttons when Replace is selected from the edit menu * screem-window-ui.xml: added a Save All menu item to the file and site menus so that all modified documents in a site can be saved * screem-window-menus.c: hook up "Save All" verb * screem-site.c: don't save pages in screem_site_save(), as we auto save now, we don't want to save pages that we may not want to. 2002-12-20 David A Knight <david@ritter.demon.co.uk> * screem-application.c: up syntax version to 2.2 so the new php and asp syntax files can be put in place after loading a syntax file, remove all sub tags, and then reinsert to ensure tag priority. claim gdk thread lock when creating initial page, then release straight after * php.screem.syntax: changed groups/patterns, makes PHP with syntax highlighting on actually usable. * asp.screem.syntax: as php.screem.syntax. * screem-page.c: only search for start/end of tags in insert_text() if the buffers tag table has any tags, major speed up on large sections of plain text. only search for start/end tags in delete_range() if the iterators contain tags leave gdk threads when calling screem_application_load_syntax_tables(), prevents lockup if we fail to create the syntax tables for some reason. check we have loaded tag tables before getting mime types for a page or setting it's mime type * screem-window-ui.xml: moved open/close/recent sites menu items to the Site menu. added New Site to the Site Menu * screem-site-ui.c, screem-window-menus.c: removed save/save as for sites, auto save changes to settings, and upon closing a site. * screem-site.c: save/load preview from publish settings * screem-preview.c: prepend http:// to site base uri when previewing from publishing address, so that it is consitant with external browsers 2002-12-19 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: fix the end ent hack in screem_dtd_allowed() so if an entity is done sensibly and ended with a ; then we carry on and process the ';' case allow '-' in allowed element names in screem_dtd_allowed(), we now only subtract an allowed element if we encounter a '-' and have no current element name in construction. in screem_dtd_parse_attribute() handle entities as values better, by inserting the expanded entity into the string being parsed. in screem_dtd_parse_attribute() handle default values better, by allowing them to be quoted, e.g. preserveAspectRatio %PreserveAspectRatioSpec; 'xMidYMid meet' from the SVG DTD. add default values to start of values list for attributes in screem_dtd_parse_attribute(), also only add a value if it doesn't match the default, otherwise we end up with the default value in twice. * screem-site-view.c: when renaming from the properties dialog, copy rather than move, then delete after calling screem_site_file_change() 2002-12-18 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: fix bug in screem_markup_fix_css_links() which was missing off the opening quote fix all links in pages that have "feature_markup" set using screem_markup_fix_html_links() fix crash in screem_markup_fix_links() when the page has no mime type * screem-application.c: fix bug in screem_application_copy_tag_table() where we were appending the pattern of sub groups to the start patterns for the table, was the cause of crashes in PHP/ASP files 2002-12-17 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fix crash in build_attribute_list() when we have no page. * screem-application.c: removed macro GtkListStore fixed removal of macros * support.c: removed key grabbing functions * screem-preferences.c: change screem_preferences_grab_key(), we no longer do any grabbing, just connected to the key_press_event, and call convert_keysym_state_to_string() based on the event. build GtkListStore for macros when we display prefs * screem-window-menus.c: remove rename file callback as it has been removed from the ui * screem-site-view.c: support setting permissions / group in file properties dialog. support toggling upload options in file properties dialog. handle renaming in the properties dialog, including updating any links which may get broken by the renaming 2002-12-16 David A Knight <david@ritter.demon.co.uk> * screem-window.c: don't attempt to show a popup for the file browser, it is only for site file lists. 2002-12-13 David A Knight <david@ritter.demon.co.uk> * imageWizard.c: handle being called from the editor popup to edit an already existing <img> * plugin.c: changed plugin popup function so that it can actually be used. * linkWizard.c: handle being called from the editor popup to edit an already existing <a> refuse to allow editing of window properties when called from the popup and the tag has an onclick="" * screem-todo.c: handle editing of cells to modify tasks. strdup values when creating a new ScreemTodoItem 2002-12-12 David A Knight <david@ritter.demon.co.uk> * screem-tree-view.c: handle elements which are optional to close, if a child element is invalid then we close the parent 2002-12-10 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: added special cases to screem_markup_is_tag() for comments, and server side languages, e.g. php, asp, jsp etc. fix crash in screem_markup_next_tag() in special cases where the correct close to the tag isn't found * screem-site-view.c: don't try and destroy entries under quick access nodes, if the quick access nodes don't exist. * screem-preferences.c: handle the dummy item at the start of tags list in syntax tables. * all wizards: removed g_print() from g_module_check_init() * screem-window.c: fix another crash on window close * screem-linkview.c: when not online still check local links * screem-page.c: change hi_trigger() to try and speed it up a little, not that it's noticable, even with http://www.w3.org/TR/2002/PR-DOM-Level-2-HTML-20021108/html.html which takes 35 seconds to display on my machine. fix crash in screem_page_check_charset() when a <meta> is being typed fix lock up in hi_trigger() * screem-editor.c: fix insertion of <> when < is typed and we are next to an already existing tag added additional intelliclose feature, when space is pressed in a tag, if the page is xml, and the element isn't allowed a close tag, and the /> isn't present, add it in. * screem-tree-view.c: fix off by 1 in closing tag end positions 2002-12-09 David A Knight <david@ritter.demon.co.uk> * screem-editor.c, screem-page.c: when searching for the correct charset handle the change to the attributes list order in screem-markup.c * screem-markup.c: screem_markup_build_attributes_list() returns the list in reversed order handle the reversed order attribute list in screem_markup_get_links() and screem_markup_fix_html_links() * screem-linkview.c: don't call gnome_vfs_get_mime_type() on pathnames, we don't care if a uri is for an image at the moment cancel async connections when we are stopping checks rather then close actually pass the ScreemDTD object to screem_markup_get_links(), taken a month to spot this was missing! handle attribute list order correctly due to screem-markup.c change * screem-link-view-html.c: set html->name to the name relative to the site base for all local files, even if the path isn't to a ScreemPage * screem-site-ui.c: check that a site isn't already loaded before attempting to load it a second time in screem_site_open_with_filename() * screem-application.c: added screem_application_get_site() which takes a pathname, and returns the ScreemSite if it is already loaded * screem-window.c: add pages to recent pages in screem_window_set_document() if we are dealing with the fake site, rather than doing all over the place where needed. fix crash on window close * screem-site-view.c: set the sort toggle on the site file view to the name column. * imageWizard.c: check if we are inserting into an XHTML document and use <img /> if we are. fix pathname problem if copy to page location is requested * screem-page-druid.c: overide template meta content for author, generator, keywords set content-type meta tag to text/html; charset=selected charset if a content-type meta tag doesn't already exist and we aren't dealing with a template insert <!DOCTYPE> tag for non template pages * screem-dtd.c: handle <!ENTITY nameofent ... instead of just <!ENTITY % nameofent ... handle parsing of () blocks in screem_entity_parse_name() better with respect to entities contained within 2002-12-06 David A Knight <david@ritter.demon.co.uk> * imageWizard.c: fix insertion of img src="" when creating a thumbnail fix initial setting of image height spin button 2002-12-05 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fix inserting of images tags when insert as tag is selected on a dropped image. * screem-site-view.c: remove nodes from quick access branches, e.g. Images, Scripts, Stylesheets etc. in screem_site_view_row_deleted() * fileops.c: if NULL is passed as the second arg of relative_path, return the first arg * screem-window-menus.c: include the root element name when inserting a doctype added From File item to insert menu * screem-dtd.c: calc root element on load 2002-12-04 David A Knight <david@ritter.demon.co.uk> * screem-window.c: fix closing of pages, I did have to find this just after I release 0.5.7, typical of me not testing things properly * screem-editor.c: correctly indent close tags request_context now has 2 more parameters, pointers to guint for start and end positions re-enabled build_attribute_list() 2002-12-03 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: fix compilation for non C99 compilers * screem-window.c: get/set size of file view / resource pane 2002-12-02 David A Knight <david@ritter.demon.co.uk> * imageWizard.c: implement layout attributes * screem-tree-view.c: when building the tree keep popping the stack when we have a close tag until we run out of stack, or we find the matching open tag. * screem-dtd.c: handle more dtds, "-//Microsoft//DTD Internet Explorer 2.0 HTML Strict//EN" was particularly annoying, and still has 1 problem. although it just happened to be the first dtd tried of many that don't do %entname; and miss of the ; 2002-12-01 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: changes due to screem-dtd.c modifications * xml.c: removed xml_get_value() * screem-application.c: always call screem_dtd_load() as we can't check if a dtd is loaded due to making ScreemDTD variables private; * screem-dtd.c: make member variables private screem_dtd_load() returns TRUE if the dtd is already loaded no longer build the dtd as an xml document, use hash tables instead, lots of changes made because of this. sort allowed child elements into alphabetical order 2002-11-30 David A Knight <david@ritter.demon.co.uk> * screem-tree-view.c: call screem_dtd_element_get_close_state() to decide if we need to push onto the stack when building the tree. don't build a view if the page doesn't have "feature_markup" set * screem-dtd.c: use screem_dtd_lookup_element() when checking to see if an element is valid. screem_dtd_lookup_element() now takes a third parameter which specifies if the check should be case sensitive or not screem_dtd_element_get_close_state() now uses screem_dtd_valid_element() rather than screem_dtd_lookup_element() 2002-11-29 David A Knight <david@ritter.demon.co.uk> * screem-link-view-html.c: added upload flags to popup menu * screem-preferences.c: save syntax files when they change. don't react to signals for syntax use toggle buttons, or colour picker changes if we are changing which group we are editing. * screem-application.c: don't free the xmlDoc when creating the syntax tag tables, instead set it as a data variable on the GtkTextTagTable, along with its filename. 2002-11-28 David A Knight <david@ritter.demon.co.uk> * rb-sidebar-button.c: add a tooltip for buttons so the whole label can be read even when elipsed. * rb-sidebar.c: fix rb_sidebar_remove() to set sitebar->priv->radiogroup correctly darken colours again as original code did, I'm still not sure if this is a good thing or not * uploadWizard.c: prepend file:// to filenames before putting them in the upload status hash table * screem-linkview.c: hookup verbs for zoom items in the popup menu. hookup refresh verb for popup menu removed screem_link_view_create() removed screem_link_view_zoom() use normal print /command for the popup menu show files which need uploading in yellow again * screem-site-view.c: fixed display of upload flags * screem-window.c: get/set upload status flags in file view popup * screem-site.c: only add exclude/ignore/ascii if it isn't already present. prepend rather than append to list of excludes/ignores/asciis don't g_return_if_fail when removing from excludes/ignores/asciis if the path isn't found update view model on adding/removing excludes/ignores/asciis 2002-11-27 David A Knight <david@ritter.demon.co.uk> * screem-preferences.c: fixed typo in gconf path for the shortcut bar * screem-tree-view.c: screem_tree_view_query_element_context() now takes a pointer to a guint to return the depth of the context * screem-editor.c: the "request_context" signal now passes another pointer, to a guint so the depth can be returned as well. implemented screem_editor_indent() (doesn't handle closing tags properly) if auto indent is turned on and return is pressed, auto indent the new line. 2002-11-26 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: insert a system id when inserting a doctype as XML requires it, this will be a local file: URI. support cvs commit/update/add of files, from the file view popup menu, so image files etc, can be added/commited from within screem. * screem-application.c: added screem_dtd_get_system_id() check /etc/sgml for catalogs before checking other paths * screem-dtd.c: when added elements insert according to alphabetical order, does not yet handle the "attlists" case. sort an elements allowed attributes into alphabetical order fix parsing of allowed element names to strip leading white space. (This removes a huge pile of warnings when dealing with docbook xml v4.1.2) 2002-11-25 David A Knight <david@ritter.demon.co.uk> * screem-cvs.c: ensure the pathname doesn't contain the uri method in functions which allow the pathname to be passed in. * screem-site-view.c: fix crash when a file delete event is reported. * screem-window.c: add pages opened in the file browser to the recent pages menu * screem-application.c: sort doctypes in screem_dtd_fill_combo() otherwise its impossible to find the one you want. store open sites on exit load previously open sites on startup if option to auto load is enabled claim gdk thread lock in screem_application_load() * screem-view.c: allow setting of page property, as it is needed in the page druid store a ScreemPage in ScreemViewPrivate, which will be used if no window is set on the view and display is requested. * screem-page-druid.c: update insert of ScreemPreview to reflect changes in the UI 2002-11-24 David A Knight <david@ritter.demon.co.uk> * screem-window.c: store position of shortcut bar pane store window dimensions * ssiWizard.h: removed * ssiWizard_handlers.c: removed * ssiWizard.c: revamp, use glade no longer uses individual apply buttons, instead each section is switchable to via an option menu. * screem-application.c: handle creation of different size stock icons 2002-11-22 David A Knight <david@ritter.demon.co.uk> * imageWizard.c: revamp 2002-11-21 David A Knight <david@ritter.demon.co.uk> * linkWizard.c: revamp, use glade again, support opening a new window via javascript 2002-11-15 David A Knight <david@ritter.demon.co.uk> * screem-application.c: if a directory is passed as an arguement try and load it as a site * screem-preferences.c: don't allow editing of included tags in the highlighting section 2002-11-13 David A Knight <david@ritter.demon.co.uk> * screem-application.c: added supported for syntax files including other syntax files via <include filename="" /> check for ~/.screem/.syntaxv2.1 instead of ~/.screem/.syntaxv2 to decide if we need to overwrite old syntax files. * screem-page.c: added screem_page_is_dynamic() which returns TRUE is a page is dynamicaly generated. This is decided upon by the "feature_dynamic" feature in the syntax file for the page's mime type * ssiWizard_handlers.c: fix crash when attempting to cast to a GtkEntry * screem-markup.c: screem_markup_get_links() now takes a ScreemDTD as the first arguement so all attributes which are URIs can be correctly processed, if no dtd is passed the old behaviour of processing src="" and href="" is kept, with the addition of checking data="" * screem-link-view.c: derive from ScreemView and setup function pointers take notice of offline/online status when checking links / building the tree of links get a ScreemDTD object for a page being processed so we can pass it onto screem_markup_get_links() * screem-window-menus.c: use ScreemView methods for undo/redo * screem-window.c: use ScreemView methods for displaying views / printing * screem-editor.c, screem-preview.c, screem-tree-view.c: derive from ScreemView and setup function pointers 2002-11-08 David A Knight <david@ritter.demon.co.uk> * screem-file-browser.c: fixed some bugs * screem-site-view.c: fix double free of info struct * screem-linkview.c: scrolling implemented background popup now appears * screem-site-ui.c: site template create working 2002-11-04 David A Knight <david@ritter.demon.co.uk> * screem-site-druid.c: set site template path if requested * screem-site.c: added screem_site_create_from_template() call screem_site_create_from_template() in screem_site_create() if the site has a template setup. * screem-editor.c: use GTK_TEXT_WINDOW_WIDGET to position drops 2002-11-02 David A Knight <david@ritter.demon.co.uk> * screem-page-druid.c: set requested colours in new documents set page title, overiding what a template may already have set, if the user specified a title set author, generator, keywords meta elements. set a stylesheet if specified by the user, doesn't overide any existing in the template if used. 2002-10-31 David A Knight <david@ritter.demon.co.uk> * screem-page-druid.c: fix template override checkbox behaviour. init functions now return a bool, TRUE if the init is a 1 off, FALSE if it should be executed each time the notebook page is displayed take notice of the "Page defines a frameset" checkbox. 2002-10-30 David A Knight <david@ritter.demon.co.uk> * screem-window-toolbars.c: removed indent code due to it not being correct use of the markup * screem-site.c: change pathnames as necessary in screem_site_file_change() * pageUI.c: removed screem_page_create_blank_page() * screem-site-druid.c, screem-page-druid.c: make druid windows transient for the ScreemWindow that opened them. * screem-markup.c: handle directories moving when fixing links in HTML and CSS files fixed a problem with CSS files themselves having been moved only updating @import instead of all occurances of url() * fileops.c: added screem_uri_is_dir() * screem-site-view.c: remove g_assert() from screem_site_view_create_dir() delete new page in build_directory_tree() if we already have it in the site. expand directory branch of site view, or root of file system before returning the GtkTreeView from screem_site_get_tree_view() 2002-10-29 David A Knight <david@ritter.demon.co.uk> * screem-window.c: ensure editor view is displayed upon startup. * screem-application.c: change SPLASH_TEXT to unlock the gdk thread mutex, then lock it again once the while loop is complete, avoids deadlock when we have to show the overwrite dialog during startup. check version="" attribute in syntax files to ensure we only process files which claim to be the correct version. * screem-main.c: lock gdk thread mutex before calling screem_application_startup(); * fileops.c: fixed copy_dir() iterating through the target directory instead of the source. 2002-10-28 David A Knight <david@ritter.demon.co.uk> * screem-window.c: added sidebar using the widget from Rhythembox removed use of GAL * screem-application.c: add sites to window sidebar upon creation of a window. remove sites from window sidebars when a site is closed. 2002-10-27 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: fix screem_markup_fix_html_links() to use pageroot rather than sitepath when trying to match urls implemented screem_markup_fix_css_links() screem_markup_fix_html_links() now fixes all links in a moved page 2002-10-25 David A Knight <david@ritter.demon.co.uk> * screem-application.c: set a data pointer on ScreemSite objects when they are added, so we can get the application for link updating. * screem-markup.c: screem_markup_fix_html_links() working 2002-10-22 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: fix buglet with | being appended to element names when parsing <!ELEMENT> and <!ATTLIST> and there aren't any previous names added to the string added screem_dtd_attr_is_uri() which returns TRUE if an attribute for an element is supposed to contain a URI 2002-10-21 David A Knight <david@ritter.demon.co.uk> * screem-markup.c: added screem_markup_next_tag_close(), screem_markup_build_attributes_list(), screem_markup_get_links() screem_markup_build_attributes_list() and screem_markup_get_links() now return GSLists. screem_markup_build_attributes_list() now handles attributes better, dealing with \" and \' properly handle PI elements correctly in screem_markup_next_tag() handle ASP elements correctly in screem_markup_next_tag() * html.c: removed everything but screem_html_fix_links() and screem_html_link_fix() which needs rewriting and moving to screem-markup.c 2002-10-20 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: use "feature_markup" on the GtkTextTagTable to decide if the attribute popup menu is needed and if the insert element menu is needed. use "feature_markup" to decide if markup key presses should be handled. ( i.e. call html_key_press() ) and also for markup tooltips in screem_editor_tooltip() * screem-page.c: changed sub pattern matching to include the end pattern in hi_trigger() screem_page_doctype_check() now only does anything if the syntax file for the page's mime_type has doctype="1" in it's <features> screem_page_charset_check() as above but for charset="1" * screem-application.c: make end pattern a sub match pattern read in feature support requests from syntax files 2002-10-19 David A Knight <david@ritter.demon.co.uk> * screem-page.c: inc end_chunk to past the matching end pattern in hi_trigger() 2002-10-11 David A Knight <david@ritter.demon.co.uk> * screem-window-toolbars.c: support view from publishing address in external browsers * screem-preferences.c: support external/dynamic viewing prefs of external browsers 2002-10-10 David A Knight <david@ritter.demon.co.uk> * screem-page.c: support sub groups in highlighting * screem-application.c: support sub groups in highlighting 2002-10-07 David A Knight <david@ritter.demon.co.uk> * screem-page.c: update hi_trigger() for new syntax file structure * screem-application.c: changed syntax files 2002-09-30 David A Knight <david@ritter.demon.co.uk> * screem-page.c: re-added screem_page_set_mime_type() added screem_page_get_mime_types() to retrieve a list of all mime types * screem-editor.c: change mime type statusbar to a button and add all supported modes + the correct mime type for the file to a popup activated on click 2002-09-29 David A Knight <david@ritter.demon.co.uk> * screem-site.c: fix setting of auto update ask * screem-helper.c: fix escaping of helper name * screem-window-menus.c: display the CVS root in the dialog when updating a site added cvs_menu_add_page_callback() * screem-site-ui.c: emit verb on UpdateSite menu item when a cvs update is to be performed upon opening a site. fix cvs updating on load when ask is false 2002-09-26 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: updates for changes to screem-cvs modified cvs dialog implemented site checkout * screem-cvs.c: inherit from ScreemHelper * screem-helper.c: fix mem leak in screem_helper_execute() add support for handling the different input / output types, STDIN_USER and STDOUT_INSERT not implemented yet 2002-09-25 David A Knight <david@ritter.demon.co.uk> * screem-preferences.c: remove mime_type from helpers code * screem-application.c: remove mime_type from helpers code * screem-helper.c: remove mime_type property added input/output mode properties 2002-09-23 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: call screem_cvs_set_root() with the current sites cvs root before attempting to import a site. * screem-preferences.c: hookup radio button preferences to their gconf keys / toggle signal callback 2002-09-22 David A Knight <david@ritter.demon.co.uk> * pageUI.c: call screem_window_set_document() after a screem_page_save_as() so the new GtkTextBuffer is given to the editor * screem-page.c: default mime type is text/plain now 2002-09-21 David A Knight <david@ritter.demon.co.uk> * screem-site.c: replace xml_get_value() with xmlGetProp() where appropriate * screem-application.c: replace xml_get_value() with xmlGetProp() * screem-tagtree.c: replace xml_get_value() with xmlGetProp() * screem-dtd.c: replaced all xml_get_value() calls with xmlGetProp as they are always properties we are after * screem-tree-view.c: improved performance of screem_tree_view_build_tree() 2002-09-20 David A Knight <david@ritter.demon.co.uk> * screem-tree-view.c: build the tree in select_context() if the build tree timeout has been set * html.c: remove screem_html_autoclose(), tag_name(), previous_tag() made next_tag static, screem_markup_next_tag() should be used instead * css.c: pass permissions to save_file() * fileops.c: save_file() now takes a third parameter so the permissions can be passed mkdir_recursive now takes a second parameter so the permissions can be passed * screem-page.c: save page with the save_file() util function in fileops.c load page with load_file() util function in fileops.c * screem-preferences.c: remove "Document Parsing" toggle button / related gconf key (which wasn't even used) * screem-site-ui.c: screem_site_save_confirmation() returns the response from the dialog. check that we haven't been passed the fake site in screem_site_save_confirmation() rebuild the file view after a save as * screem-application.c: call screem_site_save_confirmation() in screem_application_save_sites() * pageUI.c: added check for a NULL pathname in screem_page_save_confirmation() * screem-site-druid.c: create initial page in the site, copying the default page template if necessary * screem-editor.c: don't draw line numbers / bookmark icons if we don't actually have a page being displayed remove all references to /apps/screem/editor/parsetree remove old code for screem_editor_indent emit "request_context" signal instead of using screem_html_autoclose() * screem-site.c: build the file view in screem_site_create() save the project file with the save_file() util function in fileops.c 2002-09-18 David A Knight <david@ritter.demon.co.uk> * screem-window.c: preview pages via a sites base uri if requested (checks both static/dynamic currently for all pages) * screem-preview.c: added screem_preview_uri() to preview a uri. 2002-09-17 David A Knight <david@ritter.demon.co.uk> * screem-site-ui.c: display site statistics in the settings dialog. removed screem_site_purge_pages_with_path() * screem-site-view.c: added screem_site_get_statistics() to build a site statistics model for the site settings dialog * screem-site.c: if the given path in screem_site_set_cvs_root() or screem_site_set_template_path() is an empty string set to NULL added get/set funcs for getting/setting the preview mode for dynamic and static pages 2002-09-16 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: put correct label on the menu items in screem_dtd_allowed_menu() * screem-editor.c: removed screem_editor_select_context() emit a "request_context" signal on menu popup so we can be returned the name of the current context, avoids ScreemEditor needing to know about ScreemTreeView * screem-window.c: hookup to the "select_context" callback on a window's ScreemTreeView hookup to the "request_context" callback on a window's ScreemEditor * screem-window-menus.c: call screem_tree_view_select_element_context() from the "SelectContext" verb * screem-tree-view.c: added screem_tree_view_select_element_context() which emits a "select_context" containing the start and end positions to select hookup "row_activated" signal on the mini tree view and emit the "select_context" signal on the ScreemTreeView it belongs to added screem_tree_view_query_element_context() to obtain the name of the element in the current context 2002-09-15 David A Knight <david@ritter.demon.co.uk> bundle libneon 0.20 + reenable upload wizard 2002-09-13 David A Knight <david@ritter.demon.co.uk> * screem-application.c: fixed screem_application_load() to construct a full path for files passed on the command line, fixes problem with getting the mime type call screem_application_save_sites() when the delete_event is received on the last window call screem_application_save_sites() in screem_application_close_all_windows() 2002-09-12 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: removed screem_editor_set_charset() * screem-preview.c: add "online" parameters to screem_preview_page() and screem_preview_display() take notice of online status in url_requested * screem-application.c: add offline gconf notification * screem-dtd.c: add "online" parameter to screem_dtd_load() so that we don't attempt to access remote DTDs if note requested 2002-09-11 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: hookup Offline verb * screem-page.c: connect signals up for new blank documents * screem-tree-view.c: build page tree on a timeout which is triggered by a page change * screem-window.c: always display a page in the tree view, it does very little so won't be noticed added code for on/offline toggle button in the status bar * screem-link-view-html.c added a ScreemPage parameter to screem_link_view_html_new() to handle documents with no pathname. added a ScreemPage field to the member variables of ScreemLinkViewHtml * screem-linkview.c: handle NULL being passed as the page to display correctly handle documents which have no pathname properly 2002-09-06 David A Knight <david@ritter.demon.co.uk> * screem-preview.c: removed initial screem splash page * screem-window.c: start in the editor view * screem-page.c, screem-editor.c: add WML to mime type checks for html/xml features * screem.mime: add WML mime types 2002-09-03 David A Knight <david@ritter.demon.co.uk> * screem-application.c: change made to screem_application_add_dtd() so it will load a dtd if it is in the hash tables but not loaded. (never happens yet) * screem-page.c: extract page charset from document when it changes 2002-09-02 David A Knight <david@ritter.demon.co.uk> * screem-window.c: only build the tag tree doctype branch if the dtd has actually changed in screem_window_set_doctype() * screem-page.c: convert to page charset or default charset if the page doesn't specify one when saving, if the conversion fails the file is not saved. * screem-preferences.c: add some default charsets to the charset combo 2002-09-01 David A Knight <david@ritter.demon.co.uk> * misc files: fixed some compile warnings, use g_list_foreach etc instead of a for loop as it looks neater * screem-preview.c: fixed cleaning up of threads on finalize, messy but it seems to work * screem-dtd.c: store dtds locally if the uri passed to screem_dtd_load() is non local, as determined by gnome_vfs_uri_is_local() 2002-08-31 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fixed line numbering display * screem-dtd.c: don't copy parents entities, instead store a pointer to the parent when loading, and have lookup_entity check the parent if an entity isn't found 2002-08-30 David A Knight <david@ritter.demon.co.uk> * css.c, colourWizard.c, entityWizard.c, formWizard.c, galleryWizard.c, imageWizard.c, linkWizard.c, ssiWizard.c, tableWizard.c, uploadWizard.c:modified add_ui() so it is translatable * screem-dtd.c: screem_dtd_load() now returns a gboolean indicating success or not * screem-preferences.c: destroy the dialog after we have removed notifications etc instead of connecting the close and response ids to gtk_widget_destroy, fixes screem not exiting after editing preferences * screem-window-menus.c: added insert doctype callback * pageUI.c: sort out window titles where the page doesn't yet have a pathname * screem.glade: fix setting of preferences displayed in combos * screem-application.c: clean up catalog loading, the code was horrible. make ~/.screem/dtds on startup if it doesn't exist 2002-08-29 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: call php_tooltip() if html_editor_tip() fails() and we are editing a php document bookmarks are now shown with an image, GTK_STOCK_YES at the moment, although this needs to change. * screem-window.c: append a \n when outputing to one of the message text areas * screem-application.c: add call to screem_php_build_function_hash_table() * php.c: change path for php function file, also change to php4_functions. reenabled php function tooltips strip trailing \n from function prototypes in screem_php_build_function_hash_table() 2002-08-28 David A Knight <david@ritter.demon.co.uk> * screem-file-browser.c: fix screem_file_browser_get_pathnames() when recursion is requested * screem-editor.c: connect to motion_notify_event on the text view widget 2002-08-26 David A Knight <david@ritter.demon.co.uk> * screem-preview.c: don't try and create a uri if the page has no pathname * screem-helper.c: output error message from the helper into the windows error message text box don't terminate the loop if errno == EINTR in read_from_pipe() set all helper icons to gtk-execute for now don't call screem_page_set_data() if the return val from the helper is non 0 emit signals on helper failure, or the helper returning an error * screem-window.c: if message contains \n in screem_window_real_show_message() do not place in the statusbar switch to correct message display on output in screem_window_real_show_message() * screem-preferences.c: build helper list store on display of dialog add helpers to list store rather than expect it to be done in screem_application_add_helper() select helpers based on row selection rather than activation remove helpers from list store rather than expect it to be done in screem_application_remove_helper() * screem-application.c: stop being stupid and don't build a list store for helpers, we only need it in the preferences dialog general cleanup of helper loading/adding/removal hookup to helper callbacks * screem-file-browser.c: fixed bug when a fam file create event is received (the sort compare func was returning the wrong value) 2002-08-25 David A Knight <david@ritter.demon.co.uk> * screem-dtd-test.c: updated for changes to screem-dtd.c * screem-application.c: hookup to the load_module signal on a ScreemDTD before attempting to load it, the callback adds the requested DTD to the applications hash table of DTDs screem_application_add_dtd() now takes a pointer to a "parent" ScreemDTD, this is so DTDs referenced inside others can have access to the already declared entities. moved <!DOCTYPE> parsing into screem-dtd.c add DTD types to dtd types hash to avoid reloading. * screem-window-menus.c: new blank document no longer asks for a filename, down to the user to save when needed. * screem-dtd.c: load DTDs references inside other DTDs and copy contents fixed bug in attribute parsing when loading an included dtd try and open the exact given resource, if that fails open relative to the parent dtd's directory, if that fails open relative to the root dtd's directory. moved <!DOCTYPE> parsing from screem-application.c cleaned up some memory links fixed adding of empty allowed elements handle <!ATTLIST>s defined in modules where the elements aren't defined 2002-08-24 David A Knight <david@ritter.demon.co.uk> * screem-file-browser.c: append to the correct parent on GNOME_VFS_MONITOR_EVENT_CREATED 2002-08-22 David A Knight <david@ritter.demon.co.uk> * screem-preferences.c: fixed init of GValue when creating syntax prefs page * screem-linkview.c: added radio buttons for toggling broken link checking on and off 2002-08-21 David A Knight <david@ritter.demon.co.uk> * screem-file-browser.c: sync up with code from GnomeDAP, adds handling for FAM create / delete events 2002-08-19 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: when dealing with document callbacks check tab_popup data on the window if not set use the current document. * screem-window.c: set object data on a ScreemWindow when we show the document tab popup, otherwise we don't know which page to operate on. 2002-08-15 David A Knight <david@ritter.demon.co.uk> * editMenu.c: make columns resizable * screem-site-view.c: make columns resizable * screem-tree-view.c: make columns resizable * screem-window-menus.c: show failed to save dialog from document save callback make filepath const in document save callback * pageUI.c: move check for no file association to before uri creation check if we make a valid uri from existing paths 2002-08-11 Lee Mallabone <gnome@fonicmonkey.net> * screem-window.c, screem-window-menus.c: tweaks so that 'save' works much better when a screem 'page' does not have a filename associated with it. Fixed a couple of related bugs. 2002-07-12 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: for allowed elements take notice of how many of them are allowed. NOTE: doesn't group them correctly yet so is only useful for very basic doctypes * lots of little changes over the past couple of days, fixing crashes / trying to sort out the editor speed problem I was seeing. 2002-07-10 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: remove pages from individual files site when we close them. * screem-dtd.c: fix for empty entities when parsing attributes 2002-07-09 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: relink elements after xmlAddSibling, bit of a hack but we need to do it, and it saves iterating through all siblings to only add themselves as siblings of each other again. * screem-site.c: changed screem_site_file_change() for changes to screem_html_fix_links() * html.c: changed screem_html_autoclose() to take a ScreemDTD as the first arguement pass a ScreemPage in place of the first 2 params to screem_html_fix_links() disabled screem_html_fix_links() for now * screem-window.c: added screem_window_set_doctype() added screem_window_get_current_dtd() * screem-editor.c: add guttering to the line numbers, so we can flag bookmarks etc. there. get doctype via screem_window_get_current_dtd() rather than the previous methods * screem-page.c: added signals for doctype_changed and charset_changed, that way we can just connect to them instead of constantly looking them up which requires searching the text. added screem_page_get_doctype(), so we can know what the doctype is in screem_window_set_document() before we have connected to the doctype_changed signal 2002-07-08 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: we were unrefing the wrong site when a site was closed! - fixed. * screem-tree-view.c: build a tree up when a page is displayed in the view. Doesn't deal with optional closing elements yet, or forbidden apart from xml elements where there is no closing tag for the element. * screem-preview.c: added screem_preview_new_with_window() so we can pass a ScreemWindow on creation, used a new func as we may want to use the widget elsewhere, such as the CSS wizard for previewing styles. (its also used in the page druid) moved all variables into ScreemPreviewPrivate * structure.c: removed attribute list stuff * screem-editor.c: moved attributes side tab into the editor, as thats what it really belongs to, also allows us to hide/show it as needed added variables for the attributes tab and containing box to ScreemEditorPrivate added attribute list stuff from structure.c * screem-linkview.c: add side tab to window when the "window" property is set. show the legend panel on show, hide it on hide. * screem-window.c: added func for append tabs to the side panel removed adding of link view legend everytime we switch to it 2002-07-06 David A Knight <david@ritter.demon.co.uk> * screem-page.c: stop monitoring while we save, then start monitoring again once we have finished, otherwise we end up receiving notification of our own changes, which we don't care about. 2002-07-05 David A Knight <david@ritter.demon.co.uk> * fileops.c: fixed crash in delete_dir, we were ignoring the return value from gnome_vfs_directory_read_next() for some reason. * screem-site-view.c: remove iter from the tree model if we are notified the file/directory has been deleted. call build_directory_tree() upon being notified of file/directory creation. when refreshing the tree, clear all old node info out added screem_site_view_show_properties() to show a file properties dialog * screem-tasks.gnumeric: added more css wizard tasks added more ScreemLinkView tasks * screem-window-menus.c: only set the current document to NULL if there are no more documents open in the window. when creating a new window set it to display the site that is being displayed is current window. fix getting GtkTreeView in the site popup menu callbacks * screem-window.c: enable/disable ui elements for pages based on if we have a page being displayed. enable/disable ui elements based on if we are editing a site or individual pages * pageUI.c: removed calls to screem_page_set/get_mod_time() call screem_page_get_modified() in screem_page_save_check() to see if the page was modified outside screem. * screem-page.c: removed screem_page_set/get_mod_time() use gnome_vfs_monitor_add() to monitor the file. set / cancel in screem_page_set_pathname(); * screem-site.c: remove calls to screem_page_set_mod_time() 2002-07-04 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: use gtk_tree_model_sort_convert_iter_to_child_iter when deleting a file. don't attempt to delete from the tree model when deleting. * screem-site-view.c: fix problem of moved files ending up as children of themselves in the tree by using gtk_tree_model_sort_convert_iter_to_child_iter monitor directories with gnome_vfs_monitor_add() the problem here is that it requires fam to be running http://oss.sgi.com/projects/fam/faq.html 2002-07-03 David A Knight <david@ritter.demon.co.uk> * screem-preview.c: added locking to handle streams being closed while the url may be being opened/read async. heh, although the first checking of this would deadlock when a linked in stylesheet requested a url. * screem-page.c: only build the parse tree when it is requested, we don't need to keep it up to date anymore as the tree view no longer needs to be synced up. 2002-07-02 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: when inserting a relative path don't switch directories, use the dirname of the current page as the base. removed all references to private->dom, replaced with screem_page_get_structure() removed dom from ScreemEditorPrivate * pageUI.c: fix crash when an auto opened page is no longer there. * screem-link-view-html.c: fix for update to relative_path fixed crash when viewing links for individual files. * fileops.c: fix relative_path() * html.c: re-enable fixing of links when files are moved from within screem. NOTE: fixing links in a page being moved doesn't work correctly yet * screem-page.c: got redo working right screem_page_get_structure() now returns a pointer to the document tree. * screem-main.c: call g_thread_init() wrap gtk_main() in gdk_threads_enter()/ gdk_threads_leave() * screem-preview.c: use gnome_vfs_async stuff for url_requested callback. * screem-spell.c: get text iterators for replacing words, don't know why this was present to start with. 2002-07-01 David A Knight <david@ritter.demon.co.uk> * screem-window.c: connect to the changed signal on pages when we display them + add a * infront of the filename if it has changed when the signal is fired. * screem-page.c: added a changed signal, so we can show in the notebook tabs for a page if it needs saving or not by connecting to the signal (which passes a bool to signify if there are any changes or not) upon loading a page set changed to false. (gets set to true when we initially add the content to the GtkTextBuffer) * screem-markup.c: rewrote screem_markup_is_attribute() to try and remove the annoying problem when typing " in the editor where it would insert the entity. * screem-hint.c: use gconf for the hints directory, and the current hint number to show * screem-tree-view.c: screem_tree_view_new() now needs a ScreemWindow passing * screem-linkview.c: screem_link_view_new() now needs a ScreemWindow passing * screem-editor.c: add status bars for line/column and overwrite/insert mode when the "window" property is set hide/show status bars for line/column and overwrite/insert when the widget is hidden / shown. set line numbers column width dependant on the number of lines. screem_editor_new() now needs a ScreemWindow passing fixed bug where auto attribute completion, eg insert "" after <name>= would place the cursor after the "" instead of between them can now select lines of text by dragging down the line numbers bar (like MS Dev Studio except we show the line numbers) * screem-print.c: read print prefs at time of job creation, we don't want them changing in the middle of printing so we don't attach a gconf notification * pageUI.c: use the printing preferences. * screem-preferences.c: hooked up the printing preferences. 2002-06-27 David A Knight <david@ritter.demon.co.uk> * fileops.c: rewrote mkdir_recursive so it actually works * screem-site-druid.c use a GtkNotebook instead of a GnomeDruid * screem-page-druid.c: use a GtkNotebook instead of a GnomeDruid 2002-06-26 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: dont free namelist from scandir if we didn't get any results * plugin.c: dont free namelist from scandir if we didn't get any results * screem-application.c: dont free namelist from scandir if we didn't get any results 2002-06-25 David A Knight <david@ritter.demon.co.uk> * screem-tree-view.c: added * screem-application.c: added tree view to the model * screem-window.c: removed the structure tab, its being made into its own editing view. 2002-06-21 David A Knight <david@ritter.demon.co.uk> * screem-application.c: if we don't have the required doctype loaded then use the path in the doctype if present to try and load it. * screem-window.c: when switching pages switch the notebook tab to the correct one if it isn't already * editMenu.c: add icons to search all files list enable replace / replace all again. 2002-06-19 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: cope with self closing xml tags when inserting attributes * screem-linkview.c: take notice of /apps/screem/linkview/check_external * screem.schema: added /apps/screem/linkview/check_external which defaults to FALSE, so we don't go hitting servers of external links in pages all the time. 2002-06-18 David A Knight <david@ritter.demon.co.uk> * screem-linkview.c: changed the broken link checking to not operate on a timeout, but instead just fire all the asyncs off at once. set gnome vfs async job limit to 5, to avoid broken link checking creating too many threads / flooding the network. fixed a bug in the link checking. check all links in the background, not just remote. 2002-06-17 David A Knight <david@ritter.demon.co.uk> * screem-application.c: added icon for link view as Screem_LinkView * screem-window.c: if we already have the link view displayed don't add the legend notebook tab again * screem-link-view-html.c, screem-link-view-image.c, screem-link-view-util.c: added, need cleaning up as its mainly a straight cut/paste * screem-linkview.c: started to split into separate files to make it easier to deal with. moved all variables into ScreemLinkViewPrivate 2002-06-15 David A Knight <david@ritter.demon.co.uk> * pageUI.c: unref URI in screem_page_open_with_filename() * screem-linkview.c: only display relative paths for links to files in the site. tidy up of build_link_tree() * screem-site.c: ensure we always have a URI as the site pathname. 2002-06-13 David A Knight <david@ritter.demon.co.uk> * screem-window.c: when switching sites remove page 0 from the notebook all the time when looping through closing open page tabs set window->details->documents to NULL when closing a window * lots of changes, I've not been bothering with the changelog recently 2002-05-01 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: alert on failing to save as * uploadWizard.c: strip uri method/hostname when building up the sitecopy site struct / show error dialog if the site isn't a local one use GtkMessageBox instead of gnome_error_dialog added upload_wizard_message() show message dialog when the site is already uptodate 2002-04-26 David A Knight <david@ritter.demon.co.uk> * screem-application.c: create the sidebar models in screem_application_add_site(), maybe the view model should be created elsewhere? its ok at the moment as we add the default site before we create any windows * css.c: don't try and switch notebook pages when we are removing from a ui * formWizard.c: dont set popdown strings on the action combo * screem-window.c: connect to "highlight" signal on ScreemSpell, and call screem_editor_select_region() and screem_editor_set_pos() so we highlight the word and scroll to it. moved creation of application->model out of here. * screem-spell.c: added "highlight" signal, which is emitted whenever a word in the buffer is highlighted. don't actually highlight words in the buffer, leave it to whatever connects to the highlight signal * fileops.c: fix save_file() so it builds 2002-04-23 David A Knight <david@ritter.demon.co.uk> * fileops.c: added load_file() to load a text file via gnome-vfs added save_file() to save a text file via gnome-vfs * support.c: removed execute_command() removed add_recent() removed load_text_file_*() functions * css-window.c: BonoboWindow object to replace the usage of GnomeApp in the CSS Wizard. added a GeditRecent object for stylesheets * css.c: changes for GTK 2 / GNOME 2 use gnome-vfs for loading / saving fix parsing crash when dealing with borders 2002-04-20 David A Knight <david@ritter.demon.co.uk> made changes to get make dist to work 2002-04-18 David A Knight <david@ritter.demon.co.uk> * screem-application.c: fixed adding new macros * screem-helper.c: when setting a helper name reencode spaces as _ otherwise we get gconf errors * screem-page.c: removed screem_page_read() 2002-04-15 David A Knight <david@ritter.demon.co.uk> * html.c: changes to match those in fileops.c * fileops.c: paths_match now takes a base uri as a new 1st arguement relative_to_full takes a base uri as a second arguement split overwrite() into uri_exists() and overwrite() * screem-linkview.c: connect object signals with G_CONNECT_SWAPPED changes to match those in fileops.c replace stat calls with uri_exists(), or gnome_vfs_uri_is_local() depending on the context it is used in 2002-04-14 David A Knight <david@ritter.demon.co.uk> * tableWizard.c: fixed summary insertion fixed width insertion * imageWizard.c: works again * structure.c: use g_signal_connect() * screem-window.c: use g_signal_stop_emission_by_name() use g_signal_connect() * screem-site-view.c: use g_signal_stop_emission_by_name() * screem-preview.c: use g_signal_connect() * screem-linkview.c: use g_object_unref instead of gtk_object_destroy() use g_signal_connect() use g_signal_stop_emission_by_name() use g_signal_connect_object() switch to GObject * screem-editor.c: use g_signal_stop_emission_by_name() use g_signal_connect() use g_signal_emit_by_name() * guile.c: use g_signal_connect() * all plugins: change gtk_object_get/set_data() to g_object_get/set_data() changed gtk_signal_connect() to g_signal_connect() * print.c: removed * preferences.c: removed * screem-preferences.c: syntax colours are now editable from the preferences dialog, we don't save the changes again * screem-page.c: fixed bug in selecting the correct syntax highlighting tag table added signal handlers for GtkTextTags changing / being removed / being added 2002-04-13 David A Knight <david@ritter.demon.co.uk> * screem-preferences.c: made a start at adding the syntax highlighting colour configuration back to the preferences 2002-04-07 David A Knight <david@ritter.demon.co.uk> * screem-site.c: store excluded/ignored/ascii paths as uris * a few files: make parent_class static like it should have been to start with. 2002-04-06 David A Knight <david@ritter.demon.co.uk> * screem-todo.c: fix screem_todo_class_init() to set parent_class correctly implemented screem_todo_finalize() * screem-site.c: fixed screem_site_remove_page() fixed screem_site_purge() * screem-site-ui.c: don't call screem_application_close_site() in screem_site_close_site(), call outside if required * screem-editor.c: implemented screem_editor_paste_encoded() * screem-window-menus.c: hook up clipboard funcs * screem-site-druid.c: rewritten druid handling code * siteDruid.c: removed 2002-04-03 David A Knight <david@ritter.demon.co.uk> * screem-application.c: close all windows when finalizing, this will make sure any ScreemSpell objects terminate their ispell process 2002-04-02 David A Knight <david@ritter.demon.co.uk> * screem-page-druid.c: fix some stupid little errors * screem-preview.c: added extra error checking * screem-spell.c: when no more misspelt words are present disable the the notebook in the dialog, leaving the close button active. when spell checking interactively loop until the dialog is destroyed * screem-window.c: fix switching of sites, pages from the old site would still be displayed 2002-04-01 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: enable macros 2002-03-31 David A Knight <david@ritter.demon.co.uk> * screem-helper.c run a g_main_loop() while reading from the helper app so we can allow ui redraws etc. * screem-preferences.c: added helper config stuff added macro config stuff * Helpers.c: removed * screem-editor.c: remove calls to old helper stuff * preferences.c: remove calls to old helper stuff * screem-application.c: create ScreemHelpers for each helper stored via gconf when opening a window add it to all helpers added a GtkListStore for the Helpers config, avoids creating it each time we open the config dialog + simplifies things with a single screem_application_add_helper() to handle gconf stuff, list store + handling duplicates load editor macros 2002-03-30 David A Knight <david@ritter.demon.co.uk> * screem-helper.c: added 2002-03-29 David A Knight <david@ritter.demon.co.uk> * screem-window.c: create GeditRecent objects for recent sites and pages on window construction. * screem-appliction.c: removed screem_application_load_recent_site() use the GeditRecent object for sites in the first ScreemWindow in the applications list * screem-window-private.h: added GeditRecent fields in ScreemWindowDetails for recent pages and recent sites * gedit-recent.c/h: added gedit's recent file class + modified for use with screem ( ie removed gedit_debug() calls, and changed GEDIT_RECENT_BASE_KEY ) * screem-window-menus.c: get extra flags and log text in cvs verb handlers when loading individual pages add them to the GeditRecent object for pages added callbacks for recent site and page menu items 2002-03-28 David A Knight <david@ritter.demon.co.uk> * screem-todo.c: switch to GObject * screem-editor.c: switch to GObject * screem-preview.c: switch to GObject * screem-dtd.c: switch to GObject * screem-hint.c: switch to GObject * screem-application.c: switch over to GOjbect from GtkObject * lots of files: use g_object_get/set_data() instead of gtk_object_get/set_data() * screem-window-menus.c: added handlers for CVS verbs, ScreemCVS doesn't handle URIs at the moment though * screem-window.c: create a ScreemCVS object on initialisation switched over to GObject from GtkObject 2002-03-27 David A Knight <david@ritter.demon.co.uk> * cvs.c: removed * screem-cvs.c: added * siteDruid.c: g_object_unref() the site instead of gtk_object_destroy() in screem_site_druid_cancel() and screem_site_druid_finish() * screem-window-menus.c: unref a site that has just been closed. * screem-site-ui.c: don't destroy the site in screem_site_close_site() remove attempt to clear non existant GtkCTree in screem_site_close_site() g_object_unref() instead of gtk_object_destroy() in screem_site_open_with_filename() and screem_site_purge_pages_with_path() * screem-site.c: convert to GObject from GtkObject added finalize function 2002-03-26 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: unref ScreemPage objects when closing them if they are in the fake site * screem-page.c: Use GObject instead of GtkObject added finalize function 2002-03-25 David A Knight <david@ritter.demon.co.uk> * screem-page.c: use page->private->highlight instead of performing a gconf_client_get_bool(), as we have a notify attached so we will have the correct value * screem-window-menus.c: check retval of gtk_tree_model_get_iter() * screem-spell.c: check retval of gtk_tree_model_get_iter() in screem_spell_alt_selected() * screem-site-view.c: check retval of gtk_tree_model_get_iter() * screem-tagtree.c: make sure we are working with a valid GtkTreeIter in screem_tag_tree_clear_branch() * screem-dtd.c: use g_strcasecmp() in screem_dtd_valid_element(), screem_dtd_valid_attribute(), screem_dtd_valid_child() if its an HTML doctype * screem-application.c: delay loading of sites / pages until we have entered the main gtk loop handle being passed just the dtd type, eg "-//W3C//DTD HTML 4.01 Transitional//EN" in screem_application_add_dtd() set the id string as a data item on the ScreemDTD object * screem-main.c: call parse_args() again after getting the poptContext from the GnomeProgram returned by gnome_program_init() * screem.desktop: added the Categories field * screem.applications: file to put screem in the applications registry * structure.c: use screem_markup_is_tag() instead of in_tag() use screem_markup_next_tag() instead of next_tag() handle screem_get_doctype() returning NULL * html.c: removed screem_html_key_to_ent() removed screem_html_encode_text() removed in_attribute() removed in_entity() removed in_tag() removed screem_html_parse_uri() deal with screem_get_doctype() returning NULL * screem-editor.c: use screem_markup_is_entity() instead of in_entity() use screem_markup_is_attribute() instead of in_attribute() use_screem_markup_is_tag() instead of in_tag() use screem_markup_next_tag() instead of next_tag() use screem_markup_char_to_ent() instead of screem_html_key_to_ent() use screem_markup_encode_text() instead of screem_html_encode_text() screem_get_doctype() no longer returns NULL if no !DOCTYPE element is present, it now, as it should always have, resorted to attempting to load the default doctype deal with screem_get_doctype() returning NULL in screem_editor_get_doctype() * screem-markup.c: tidy up of the old html.c 2002-03-23 David A Knight <david@ritter.demon.co.uk> * screem-window.c: create a ScreemSpell object on initialisation * screem-window-toolbars.c: hook up the SpellCheck verb * spell.c: removed * screem-spell.c: a rewrite of spell.c 2002-03-22 David A Knight <david@ritter.demon.co.uk> * screem-window-toolbars.c: hookup gconf notifications for external browsers * entityWizard.c: fix insertion of entities * screem-site-ui.c: use gtk_dialog_run() on the settings dialog * screem-site-view.c: show upload flags in the site file view * screem-preferences.c: handle font_set signal on the editor font picker 2002-03-21 David A Knight <david@ritter.demon.co.uk> * screem-site.c: save off the completed status of tasks load the completed status of tasks * screem-todo.c: tasks are edited in the GtkTreeView using editable cells added ability to add/remove/complete tasks. * screem-preferences.c: use BrowserX_path and BrowserX_icon instead of browserX_path and browserX_icon (where X = 1 - 3) 2002-03-20 David A Knight <david@ritter.demon.co.uk> * screem-site-ui.c: switch over to gconf when opening a site open pages in a site that were open when it was saved, if /apps/screem/autoopen is true * pageUI.c: call screem_page_set_open() in screem_page_close_page() * screem-window.c: when opening a page call screem_page_set_open() * screem-page.c: added screem_page_is_open() and screem_page_set_open(), required for ScreemSite. * screem-site.c: save opened files again in the project file 2002-03-19 David A Knight <david@ritter.demon.co.uk> * screem-site-ui.c: removed screem_site_rename_pages_with_path() * siteTreeUI.c: removed file * fileops.c: call gnome_vfs_uri_create() in copy_file() if the uri doesn't exist fix overwrite(), it was returning FALSE if the file didn't exist changed mkdir_recursive() to use GnomeVFS changed copy_dir() to use GnomeVFS * screem-site-view.c: implemented dropping of URIs onto the site file view. implemented dragging from file view added screem_site_view_create_dir() so we can build up a full path when creating a directory. 2002-03-18 David A Knight <david@ritter.demon.co.uk> * entityWizard.c: convert from GtkCList to GtkTreeView / GtkListStore * editMenu.c: setup the tree view for the multifile match build up a GtkListStore model of files for multiple file search. * screem-window-menus.c: set wmclass on delete confirm prompt * screem-site-ui.c: set wmclass on save site prompt * screem-application.c: set wmclass on save site prompt * pageUI.c: set wmclass on message dialogs * fileops.c: set wmclass on overwrite prompt use GnomeVFS for delete_dir() * screem-preferences.c: added support for altering the editor bg/txt colours * screem-editor.c: added screem_editor_expose_lines() which forces an expose event on the line numbers window (only the visible area) so that bookmarks get added / removed correctly store the editor bg/txt colours as a string and use gdk_color_parse() to get them get the current site pathname in screem_editor_drop() fixed "double drop" problem by removing GTK_DEST_DEFAULT_DROP from the flags on gtk_drag_dest_set() * screem-window.c: set wmclass * screem-window-toolbars.c: don't try and run an external browser when we have not path for one. cast to a screem window from user_data, not the window variable we are assigning to, whooops. /apps/screem/Browser0_path is unset by default, in this case we default to /desktop/gnome/application/browser/exec. 2002-03-16 David A Knight <david@ritter.demon.co.uk> * screem-page.c: added redo support 2002-03-13 David A Knight <david@ritter.demon.co.uk> * fileops.c: call gnome_vfs_truncate_handle() in copy_file() * screem-page.c: added HtmlDocument to a ScreemPage (from libgtkhtml, gets us a DOM tree, dunno if this will stay in ) added undo support call gnome_vfs_truncate_handle() when saving a file * screem-page-druid.c: rewritten page druid * pageDruid.c: removed * screem-window.c: allow NULL as the page to screem_window_set_document() use gconf for reading number of lines to buffer in message GtkTextViews * screem-preview.c: is NULL is passed as the page to screem_preview_page() display an empty page. don't try and preview non html documents * screem-editor.c: display an empty GtkTextBuffer when NULL is passed to screem_editor_display_page() removed undo related stuff, screem_editor_undo/redo() now simply call screem_page_undo/redo() * screem-window-menus.c: call screem_window_set_document() when closing a page, and pass NULL as the page. call screem_page_druid_begin() instead of screem_page_druid() 2002-03-12 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: don't allow closing of the fake site * screem-application.c: when closing a site remove it from the shortcut bar model 2002-03-11 David A Knight <david@ritter.demon.co.uk> * screem-page.c: take notice of /apps/screem/editor/highlight attach a gconf notification to /apps/screem/editor/highlight and turn on / off highlighting based on its value * screem-window.c: use /apps/screem/barsize to set the width of the shortcutbar * screem-window-menus.c: added tip of the day item to the Help menu * screem-preferences.c: fix setting default filename entry put all toggle button info in an array so we can just loop and handle them all connect toggle buttons up to a Gconf Notify put all string conf prefs in an array and loop + connect gconf notify up, a bit messy due to some differing widget types. * screem-application.c: removed Browser stuff * screem-window-toolbars.c: use GConf for external browser configuration 2002-03-09 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: screem_editor_set_pos() now scrolls so that position is in view * editMenu.c: replace_entry and find_entry are GnomeEntries, so we need to get the GtkEntry from them. Find in the open file is now working again 2002-03-06 David A Knight <david@ritter.demon.co.uk> * screem.glade: re-added find_dialog * editMenu.c: find() -> screem_find() replace() -> screem_replace() find_replace() -> screem_find_replace() above find / replace funcs take a ScreemWindow * screem-window.c: use GnomeVFS in screem_window_set_document_tab() * screem-site-view.c: use GnomeVFS in build_directory_tree() and screem_site_view_set_val_at() the full project uri is now shown in the tree view due to us storing the protocol etc. in the site pathname 2002-03-05 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: double clicking an item in the tree inserts that tag * screem-preview.c: use GnomeVFS to calculate the base uri for displaying from use GnomeVFS in url_requested() * screem-window.c: use GnomeVFS on page pathnames * screem-site.c: use GnomeVFS in screem_site_load() use GnomeVFS in screem_site_add_page() 2002-03-04 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: called screem_editor_cursor_moved() on keypress again. * structure.c: build the attributes view again * screem-preference.c: made a start at the new preferences dialog 2002-03-03 David A Knight <david@ritter.demon.co.uk> * screem-site-ui.c: moved site_settings dialog back into main glade file * screem-page.h: moved ScreemPageBookMark definition to here, pageUI.c needs it * screem-page.c: added a GtkListStore for the bookmarks * pageUI.c: use a glade dialog for the bookmark dialog * screem-editor.c: screem_editor_goto_line() now takes the line number, also implemented the goto 2002-03-02 David A Knight <david@ritter.demon.co.uk> * tableWizard.c: table_wizard_clicked() now searchs the list of wizards based on the GladeXML* of the clicked widget * screem-page.c: fixed saving * screem-window-menu.c: use new todo stuff * screem-application.c: only display the hints at startup if requested * screem-site.c: use ScreemTodo instead of old todo code * screem-todo.c: a GtkObject site todo list handler * Todo.c: removed * screem-hint.c: regladified use gconf for setting show on startup parameter 2002-02-28 David A Knight <david@ritter.demon.co.uk> * screem-window-toolbars.c: fix typo of pixtype and use pixbuf instead of pixmap which means custom browser icons now show * screem-application.c: register stock icon types with gtk_stock as well as adding the icon factory 2002-02-27 David A Knight <david@ritter.demon.co.uk> * configure.ac: use AM_GCONF_SOURCE_2 for gconf stuff * screem.schemas: set default back to 65535, not 255 added Helvetica 12 as the default font for now. * screem-window.c: added screem_window_print(), which calls the print function on whatever the current view is, eg screem_editor_print() * screem-window-menus.c: added print / print preview verbs * screem-application.c: take notice of the use attribute in <fore> and <back> elements in syntax files * pageUI.c: added screem_page_print(), just displays the print dialog so far * screem-page.c: added screem_page_get_lines() * screem-preview.c: added screem_preview_print() * screem-editor.c: added screem_editor_print() * screem-print.c: added 2002-02-24 David A Knight <david@ritter.demon.co.uk> * screem-application.c: create a ScreemHint on startup * screem-hint.c: use GtkWindow as the base class added screem_hint_show() to display the next hint when gtk_widget_show() is called on it. degladified. NOTE: still uses hardcoded path to tips files 2002-02-23 David A Knight <david@ritter.demon.co.uk> * screem-linkview.c: call screem_site_get_sync_status() in the upload wizard if it is present * plugin.c: added screem_plugin_get_sitecopy() added screem_plugin_tag_wizard() to provide a menu item giving access to a wizard for the specified tag. * screem-editor.c: call screem_plugin_tag_wizard() to add tag specific wizards to the editor popup 2002-02-21 David A Knight <david@ritter.demon.co.uk> * screem-window-ui.xml: added linkviewmenu popup * screem-linkview.c: popups use bonobo ui stuff added "window" property 2002-02-20 David A Knight <david@ritter.demon.co.uk> * fileops.c: delete_dir will call delete_file if the given path is a file and not a directory. * screem-window-menus.c: added verb callbacks for site view menu. implemented "New Directory", "Delete File" * screem-window-ui.xml: added site tree popup menu * screem-window.c: use Bonobo UI stuff for the site view tree popup menu 2002-02-17 David A Knight <david@ritter.demon.co.uk> * screem-application: use icon->close_pixbuf instead of icon->pixbuf set glade_path via gconf if not already set, inform gconf we want /apps/screem and /apps/screem/editor * screem-site-view.c: use icon->close_small instead of icon->small * support.c: Icons holds open/close pixbufs * screem.schema: updated * Todo.c Helpers.c editMenu.c pageDruid.c screem-window.c siteDruid.c siteTemplate.c spell.c structure.c: use gconf * screem-linkview.c: removed the extern ScreemApplication, now uses gconf to access preferences disable popups, need redoing to use Bonobo UI stuff. * screem-editor: use gconf for prefs removed "preferences" property * screem-application.h: declare array of Browser in here for now * toolbar.c: removed * screem-window-toolbars.c: added help bar code create custom browser buttons using bonobo ui stuff handle launching of external browsers * screem-window.c: removed old toolbar construction code use icon->close_pixbuf instead of icon->pixbuf 2002-02-16 David A Knight <david@ritter.demon.co.uk> * colourWizard.c css.c entityWizard.c formWizard.c galleryWizard.c imageWizard.c linkWizard.c ssiWizard.c tableWizard.c uploadWizard.c: use bonobo ui stuff to add to the wizards toolbar add to menus as well * screem-editor.c: added a "window" property call bonobo_window_add_popup() to obtain the standard menu on right click * screem-window.c: added screem_window_show_message() and screem_window_show_error() added popup menu for page tabs 2002-02-15 David A Knight <david@ritter.demon.co.uk> * screem-window-toolbars.c: added form bar * screem-window.c: removed notebook toolbar 2002-02-14 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: added a "window" property which is the ScreemWindow the tree belongs to. insert markup on row activation * screem-window.c: call screem_window_initialise_toolbars() as well as menus * screem-window-toobars.c: handle registering bonobo verbs for toolbar items + their callbacks * screem-window-ui.xml: added toolbar commands, added toolbar items, added markup toolbar items to insert menu 2002-02-12 David A Knight <david@ritter.demon.co.uk> * screem-page.c: connect insert_range() and delete_range() after, fixes highlighting on insertion 2002-02-11 David A Knight <david@ritter.demon.co.uk> * fileops.c: replace GnomeMessageBox with GtkMessageBox copy_file(), move_file(), delete_file() and overwrite() now use gnome-vfs * toolbar.c: use GTK_RESPONSE_CANCEL instead of 2 when checking for cancel response from screem_page_save_confirmation() * screem-application.c, pageUI.c, screem-site-ui.c: replace GnomeMessageBox with GtkMessageBox * uploadWizard.c: remove GnomeMessageBox for initial upload, use a GtkMessageBox instead * tablewizard.glade: update tablewizard dialog in newer version of glade-2 * screem-site.glade: update site_settings dialog in newer version of glade-2 2002-02-10 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: actually put new wizards in the list * screem-window-menus.c: don't access editor->page, instead call screem_window_get_document() * screem-editor.h: moved all variables into ScreemEditorPrivate and added a ScreemEditorPrivate * to ScreemEditor * screem-editor.c: added ScreemEditorPrivate added Preferences* to ScreemEditorPrivate added a property to set Preferences * screem-tagtree.c: screem_tag_tree_add_node() tags the ScreemTagTree object rather than a GtkTreeStore if a branch is added to the tree that already exists remove the old one added screem_tag_tree_clear_branch() to clean up when erasing from the tree 2002-02-09 David A Knight <david@ritter.demon.co.uk> * uploadwizard.glade: ran through libglade-convert * uploadWizard.c: update to sitecopy 0.11.4 updated to new plugin API try and move away from all this horrible static stuff, can't do this though due to use of signal() don't need all_sites, only used in site_find() which is only accessed from the sitecopy console frontend use a GMutex to stop multiple wizards updating at the same time * tableWizard.c: changes for AddUI change * ssiWizard.c: changes for AddUI change * linkWizard.c: changes for AddUI change * imageWizard.c: changes for AddUI change * galleryWizard.c: changes for AddUI change * formWizard.c: changes for AddUI change * entityWizard.c: changes for AddUI change * css.c: changes for AddUI change * colourWizard.c: changes for AddUI change * screem-application.c: call remove_ui and add_ui on plugins with GtkWidgets * screem-plugin.h: AddUI now takes GtkWidgets rather than ScreemWindow, ScreemEditor, ScreemPreview etc 2002-02-03 David A Knight <david@ritter.demon.co.uk> * screem-site.glade: added file_tree_menu, not used yet as libglade doesn't like it, the old file_tree_menu from screem.glade is used instead. * screem-window.c: added a button_press_event handler for the file tree view, displays the popup from the GNOME 1 version, doesn't do anything with it yet. 2002-02-02 David A Knight <david@ritter.demon.co.uk> * screem-application.c: Use EShortcutBar from GAL again * screem-window.c: Use EShortcutBar from GAL again * screem-site.glade: added, all site related guis should go in here, currently only contains the site settings dialog * screem-window-menus.c: don't try and save a page if we don't have one open, should really not have the buttons enabled. * preferences.c: added a site_glade_path * screem-site-ui.c: get site settings dialog going again, based on a new screem-site.glade now that glade-2 is improving 2002-01-30 David A Knight <david@ritter.demon.co.uk> * screem-site-view.c: added images / stylesheets under their own branches as well as the directory view for quick easy access. * screem-window.c: screem_window_remove_document(), remove index, not index -1. 2002-01-26 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: fix xy_to_cursor_pos() * screem-site-view.c: add pixmap column to the model, insert pixmap into model along with filename etc. use a sorted model added compare func for sort, so dirs appear first * screem-window.c: sort out pixmap renderer in site tree view 2002-01-23 David A Knight <david@ritter.demon.co.uk> * screem-page.c: check we have a syntax table before trying to apply one in hi_trigger(), stops link view crashing on sites when for example a css file is loaded * screem-editor.c: screem_editor_insert_file() now creates a ScreemPage and uses it to load the data, then inserts it. Allows insertion of urls content. connect "popup_menu" signal, so shift+f10 pops up the menu DnD insert file uses the full URI so we can open via GnomeVFS added support for DnD action modifier keys, e.g. hold alt to force the popup to appear asking what action to perform 2002-01-21 David A Knight <david@ritter.demon.co.uk> * replace all calls to file_select() with bonobo_file_selector_open/save() * support.c: removed file_select * screem-page.c: use gnome-vfs for loading/saving of pages, weeeee open/save from ftp etc! A good file selector, my kingdom for a good file selector. 2002-01-20 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: don't call gtk_widget_modify_font() for now its causing strange goings on. 2002-01-19 David A Knight <david@ritter.demon.co.uk> * screem-tasks.gnumeric: added a tasks spreadsheet to show what needs doing / who is doing what * linkWizard.c: degladeified for now * formWizard.c: degladeified for now * colourWizard.c: changed GnomeDialog to GtkDialog 2002-01-15 David A Knight <david@ritter.demon.co.uk> * colourWizard.c: fixed closing of window with the window decoration inserting a colour now overwrites any selected text. Cancelling will reinsert the previous text. The colour remains highlighted on applying 2002-01-14 David A Knight <david@ritter.demon.co.uk> * screem-main.c * screem-application.c: use gtk_main_* rather than bonobo_main_* (see reading ChangeLogs for Nautilus isn't that insane) * screem-page.c: ScreemPage now stores a pointer to the table for its mime-type, which is set on calls to screem_page_set_pathname() as it may cause the mime-type to change. hi_trigger added, called from "insert_text" and "delete_range" callbacks on the ScreemPage GtkTextBuffer, and from screem_page_read() * screem-editor.c: removed syntax highlighting setup from here removed hi_trigger 2002-01-07 David A Knight <david@ritter.demon.co.uk> * screem-window.c: opening files in a site from the file view now works 2001-12-31 David A Knight <david@ritter.demon.co.uk> * screem-linkview.c: prevent crash when viewing individual files by treating the site path as the directory that the single file is in. zoom from the popup menu reimplemented a ScreemLinkView now stores the site and page it is displaying refresh view from the popup menu reimplemented 2001-12-30 David A Knight <david@ritter.demon.co.uk> * screem-window.c: when displaying the link view display the legend as a tab in the project notebook (details->file_view) setup application->view_group to 1 for now (until GAL can be used again) * screem-linkview.c: do not display the legend in the main display area, instead return a pointer to it from screem_link_view_display() * screem-window-menus.c: call screem_window_change_view() to switch views, just use a NULL for the shortcut bar and event 2001-12-23 David A Knight <david@ritter.demon.co.uk> * screem-page.c: connected the "changed" signal on the GtkTextBuffer belonging to the page. 2001-12-21 David A Knight <david@ritter.demon.co.uk> * screem-application.c: syntax file loading stuff added as its more an application than an editor thing. (that and it actually loads here, whereas for some reason I've spent weeks trying to discover it wouldn't in the editor) for syntax colours use %.4x instead of %.2x * screem-editor.c: removed syntax file loading stuff, it doesn't really use any editor stuff. 2001-12-17 David A Knight <david@ritter.demon.co.uk> * misc changes, couldn't be bother to write a proper log entry * screem-editor.c: implemented screem_editor_get_pos() inline tagging popup now functions again reimplemented xy_to_cursor_pos(), much neater and less complex now thanks to the new GtkTextView widget. no_attribute() now returns a gboolean as callbacks should 2001-12-05 David A Knight <david@ritter.demon.co.uk> misc files: libxml changes, use xmlDocGetRootElement() instead of xmlRootNode 2001-12-04 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: <Doctype> becomes <node name="Doctype">, fixes invalid formation of the tag tree entry 2001-12-03 David A Knight <david@ritter.demon.co.uk> * screem-window.c: try and build the dtd tag tree on opening a page always call screem_editor_display_page() in screem_window_set_document() even if its not the current view. * screem-dtd.c: fixed some parsing bugs * screem-application.c: implement screem_application_add_dtd() 2001-12-01 David A Knight <david@ritter.demon.co.uk> * screem-page.c: added ScreemPageBookmark struct added functions to support addition / removal of bookmarks * screem-editor.c: add display of line numbers, using the code from testtext.c in gtk+ commented out old references to GTK_EDITABLE, replacements need adding 2001-11-25 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: added beginings of syntax file io, removed old syntax file code * preferences.c: removed syntax file io 2001-11-01 David A Knight <david@ritter.demon.co.uk> * screem-page.c: switched over to using a GtkTextBuffer to store data * removed calls to screem_editor_buffer_text() from several files * screem-editor.c: removed screem_editor_buffer_text() 2001-10-31 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: made a start at switching to GtkTextView, mostly straight forward stuff (will require ScreemPage to switch to GtkTextBuffer) 2001-10-29 David A Knight <david@ritter.demon.co.uk> * screem-window.c: disable browser bar for now, its throwing an exception (I believe) which was stopping other controls from appearing in the dock (as I'm not checking/resetting exceptions yet) 2001-10-28 David A Knight <david@ritter.demon.co.uk> * siteDruid.c: const correct stuff * structure.c * spell.c * screem-window.c * screem-site.c * screem-preview.c * screem-linkview.c * pageDruid.c * editMenu.c * Helpers.c: screem_page_get_data() is no longer const, so needs g_free()ing * screem-page.c: screem_page_get_data() returns a copy of the data. screem_page_save() now checks the changed flag rather then seeing if private->data is NULL, as changed will be false if we haven't loaded it. * screem-window-menus.c: added about box 2001-10-27 David A Knight <david@ritter.demon.co.uk> * screem-application.c: SPLASH_TEXT macro now uses g_main_context_pending() and g_main_iteration() allowing the splash screen to work again (although not display as it still uses a GtkText) changed the splash screen to not use glade, and to use a new image 2001-10-25 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: added view switching callbacks * screem-window-ui-notebook.xml * screem-window-ui.xml: added editor,preview,link view to view menu 2001-10-24 David A Knight <david@ritter.demon.co.uk> * editMenu.c: fixed bug in search 2001-10-23 David A Knight <david@ritter.demon.co.uk> * screem-window-ui-notebook.xml * screem-window-ui.xml: change stock icon types to be compatable with GNOME 2 * screem-window.c: ooh, eye candy added, Site/Resource tabs now come complete with icons 2001-10-22 David A Knight <david@ritter.demon.co.uk> * screem-window.c: don't use a GtkInvisible in the page notebook, use a GtkHBox instead, avoids the crashing display startup splash message 2001-10-14 David A Knight <david@ritter.demon.co.uk> * tableWizard.c: unref GladeXML as a GObject * linkWizard.c: unref GladeXML as a GObject * css.c: unref GladeXML as a GObject * toolbar.c: unref GladeXML as a GObject * screem-window.c: refresh the site model before building the view (I can't see a function to notify a view that the whole model has changed.) put the window deletion cleanup code in screem_window_close() instead of screem_window_destroy() which is for the object class * screem-site-view.c: build the view model properly * screem-tagtree.c: added screem_tag_tree_add_dtd() which builds a branch of the tag tree based on the given ScreemDTD object, not called any where yet. 2001-10-13 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: disabled bluefish function branches switched to GtkTreeStore/View 2001-10-11 David A Knight <david@ritter.demon.co.uk> * screem-application.c: it appears as if SPLASH_TEXT is causing the problem with bonobo_main(), and the bonobo_ui_component_object_set() the main window now displays call bonobo_main_quit() when no windows are left, not gtk_main_quit() its gdk_threads_enter() as well as SPLASH_TEXT 2001-10-08 David A Knight <david@ritter.demon.co.uk> * screem-main.c: hmm bonobo_main() isn't working gtk_main() works for now, and we get the main window! (just no views displayed in it) 2001-10-07 David A Knight <david@ritter.demon.co.uk> * screem-tagtree.c: g_strdup() "invalid tree" text * remove uses of gal as its pulling in gnome 1.x stuff this means that we now build successfully, now to get it to bring the main window up * cvs.c: add back into the build * screem-preview.c: use gtkhtml 2 * more build fixes 2001-10-04 David A Knight <david@ritter.demon.co.uk> * screem-main.c: change gtk_main_quit() to bonobo_main_quit() 2001-10-03 David A Knight <david@ritter.demon.co.uk> * screem.glade: converted to glade2 format, original is now screem.glade1, new is screem.glade2 linked to screem.glade 2001-09-30 David A Knight <david@ritter.demon.co.uk> * screem-site.c/h added screem_site_get_store() to obtain the GtkTreeStore for the site 2001-09-29 David A Knight <david@ritter.demon.co.uk> * all plugins (except the upload wizard): make them build * css.c: make it build * css.h: include gtkctree.h include gtknotebook.h * colorWizard.c: add gtktoolbar.h and gtkcolorsel.h to includes * screem-linkview.c: make it build * screem-editor.c: add gtkselection.h to includes make the thing build * structure.c: make the thing build * preferences.c: add more includes to remove the flood of warnings 2001-09-28 David A Knight <david@ritter.demon.co.uk> * support.c: added missing includes * screem-editor.c: switch to screem-dtd * structure.c: switch to screem-dtd * preferences.c: switch to screem-dtd * php.c: switch to screem-dtd * pageDruid.c: switch to screem-dtd * editor.c: switch to screem-dtd * html.c: switch to screem-dtd * pageDruid.c: renamed screem_dtd_build_doctype_tag() to screem_page_druid_build_doctype_tag() as its only used in here and doesn't belong as part of ScreemDTD * screem-dtd.h: switch includes from gnome-xml to libxml 2001-09-27 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: working again * siteTemplate.c: libxml2 updates * preferences.c: libxml2 updates * screem-site-view.c: switch to GtkTreeModel * screem-site.c: use GtkTreeModel rather than ETableModel * screem-window.c: use a GtkTreeView instead of an ETableScrolled, NOTE still doesn't build * screem-dtd-test.c now builds and runs, doesn't work yet though, just get an empty xml doc 2001-09-26 David A Knight <david@ritter.demon.co.uk> * screem-site.c: update to libxml2 structs, eg doc->root becomes doc->xmlRootNode etc * misc files: replace includes that used gnome-xml with libxml * screem-sitedruid-test.c: small app to testout the site druid * screem-hint-test.c: small test app to test out the ScreemHint object * screem-window.c: bind the ui container to the windows engine * screem-main.c: added gnome_program init stuff * pageUI.c: added NULL as second param of gnome_url_show 2001-09-13 David A Knight <david@ritter.demon.co.uk> * screem-dtd.c: a modified ScreemDTD object, stores data in an xml tree, loads from a uri, rather than having separate file/remote load functions. This file is not yet included in the main binary, its presence at the moment is only for development and testing with.... * screem-dtd-test.c: test the new ScreemDTD object * tests added tests directory * macros removed macros directory 2001-09-08 David A Knight <david@ritter.demon.co.uk> * nearly everyfile :-) Changes to get Screem building under GNOME 2 screem-window.c is the only thing that doesn't currently build, due to te use of EShortcutBar, which relies upon ECanvas (both in GAL which hasn't been ported to GNOME 2) 2001-08-27 David A Knight <david@ritter.demon.co.uk> * screem-editor.c: if the page hasn't changed, don't update highlighting * html.c: added #include libgnomevfs/gnome-vfs-types.h * screem-application.c: added start at recent sites menu * dtd.c: fix screem_dtd_parse_name() when parsing entity names, we stop parsing the name when the char isn't [a-zA-Z0-9_\-] 2001-08-25 David A Knight <david@ritter.demon.co.uk> * pageDruid.c: removed #ifdefs on gtkhtml stuff * html.c: removed #ifdefs on gnome-vfs stuff 2001-08-23 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: add undo / redo support * screem-editor.c: moved undo stuff into here from screem-page * screem-page.c: removed undo stuff into screem-editor where it belongs 2001-08-22 David A Knight <david@ritter.demon.co.uk> * screem-window-menus.c: dont use editor->page for save as or close, use screem_window_get_document() * screem-window.c: if setting the current document to a page which is already open in the window, then ensure the tooltip / notebook tab have the correct pathname / filename added screem_window_set_document_tab() to be able to update a tab so that the label/ name match after a screem_page_save_as() for instance. Returns true if the tab exists. screem_window_set_document() relies on screem_window_set_document_tab() to decide if a new tab needs adding. remove the stupid displaying the page twice bug, ie in screem_window_notebook_change() check if the page we have changed to is the current one, and if so don't try and set the page. added screem_window_remove_document() * pageUI.c: screem_page_save_as() now takes a ScreemWindow as the second parameter refresh site file tree model after screem_page_save_as() screem_page_close_page() now takes a ScreemWindow as the second parameter call screem_window_remove_document() in screem_page_close_page() 2001-08-20 David A Knight <david@ritter.demon.co.uk> * screem-site.c: added screem_site_get/set_documents() not nice but we need to store the list of open docs somewhere, stores in a hash table based on a unique name of the window it is view in. * screem-window.c: switch to site file view on opening a site switch open page tabs when switching sites each window is now given a unique name * pageUI.c: screem_page_open_with_filename() now takes a ScreemWindow as the second parameter. display pages that are opened via screem_page_open_with_filename() * screem-site-ui.c: dont try and build recent sites menu in screem_site_open_with_filename(), as the code hasn't been modified yet. screem_site_open_with_filename() now takes a ScreemWindow as the first param when opening a site in screem_site_open_with_filename() set it as the current site in its window * screem-application.c: added screem_application_get_default_site() to fetch the individual files site. moved handling of loading files from the command line into screem_application_startup() * screem-main.c: re-enabled loading of sites / pages from the command line. 2001-08-17 David A Knight <david@ritter.demon.co.uk> * Removed Mozilla support until license stuff is resolved 2001-08-04 David A Knight <david@ritter.demon.co.uk> * Lots of changes have occured since the last ChangeLog entry, these are to facilitate the easier addition of new features when the switch is made to GTK / GNOME 2 They also make a nice clean up of the code and remove some of the horrible hacks, such as the hide/show of dockitems which is now performed via the standard Bonobo way NOTE: not everything is back in place yet, and there are lots of bugs present from the changes oh, and if part of the architecture looks Nautilus like (screem-application, screem-window etc) theres a good reason, I liked it, so used it :-) 2001-04-21 Matthew Colyer <linuxcoder@colyer.org> * siteDruid.c Increase intelligence of GUI. If you add base project dir then the site template and the the template will be under that. Also greyed out buttons until use was necessary. 2001-04-12 Matthew Colyer <linuxcoder@colyer.org> * page.h Added the real site struct into it from Page.c * galleryWizard.c Fixed multiple errors. The pages were not having the changed value set to 1 and therefore not being saved. I also fixed that the </tr> tags weren't being added. As well as the footer not being added to the end of the file. Just a small bug fix ;) 2001-04-07 David A Knight <david@ritter.demon.co.uk> * preview.c: changed release notes text to only mark for translation text which needs translating. 2001-03-26 David A Knight <david@ritter.demon.co.uk> * css.c: handle stylesheets with \r in them 2001-03-25 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: don't call gtk_clist_set_pixmap() with NULL pixmaps, ie check that icon->pixbuf is non NULL, which means we managed to load the image. * support.c: change into $datadir/pixmaps before trying to load icons when using gnome-vfs it helps if I check the right variable to see if we loaded a pixbuf or not doesn't it! * dtd.c: check if we suceed in loading the file specified by an entity instead of trying to insert it anyway. fix to attribute parsing, when we run out of text switch to the ANEXT state otherwise we miss out valid attributes. renamed screem_dtd_load_catalog() to screem_dtd_load_catalogs(). screem_dtd_load_catalog() now just loads a single catalog (called with the catalogs to check by screem_dtd_load_catalogs()) now supports entries in catalog files which point to other catalog files * HTMLsymbol.ent: renamed HTMLsymbols.ent * support.c: fix load_text_file_from_stream(), it would fail if there was an incomplete last line. This would effect dtd support, and templates in the page druid. 2001-03-10 David A Knight <david@ritter.demon.co.uk> * css.c: if no filename is set when attempting a save do a save as instead. fix loading of parameters which have multiple space separated values fix setting of box attributes (border-*) handle loading of margin rather than just margin-* handle loading of padding rather than just padding-* handle loading of border rather than just border-* fix setting of bottom-border unknown css properties will no longer be silently removed. When a style is outputted then they will be appended onto the end * pageUI.c: update tooltips when a page path changes 2001-03-08 David A Knight <david@ritter.demon.co.uk> * pageUI.c: add tooltips to page tabs, so the full pathname can be seen. Useful if for instance you have 2 index.html files open. * main.c: fixed startup crash bug after first switching off notebook toolbar mode from a fresh new config file. 2001-03-07 David A Knight <david@ritter.demon.co.uk> * screem.spec.in: fix the thing 2001-03-04 David A Knight <david@ritter.demon.co.uk> * css.c: fixed output bug 2001-02-27 David A Knight <david@ritter.demon.co.uk> * POTFILES.in: commented out imagemapWizard references. * preview.c: remove TODO before release blurb * libneon/Makefile.am: always define EXTRA_DIST = sslcerts.c otherwise we aren't getting it included in the dist tarball 2001-02-24 David A Knight <david@ritter.demon.co.uk> * screem.spec.in: finally updated with the changes sent by Martin Preishuber back in January. 2001-02-21 David A Knight <david@ritter.demon.co.uk> * screem.glade: added label to inform user that broken link checking is broken. * linkView.c: its taking too long to get the broken link checking working well, disabled the actual check for now. 2001-02-20 Christophe Merlet <redfox@eikonex.org> * src/preview.c: Add missing string terminator. * configure.in: Add az translation contributed by Vasif Ismailoglu MD <azerb_linux@hotmail.com> 2001-02-17 David A Knight <david@ritter.demon.co.uk> sync up with sitecopy 0.10.15 * screem.glade: make sure toggle buttons call preferences_changed() * structure.c: don't create the structure tree if we are not using document parsing. * editor.c: check if we are using document parsing before attempting to use any features which need it. * preferences.[c,h]: allow disabling of on the fly document parsing as this is a serious speed problem with larger documents. * linkView.c: race condition isn't sorted out. 2001-02-14 David A Knight <david@ritter.demon.co.uk> * linkView.c: if the cancel thread signal comes when inside gdk_threads_enter/lock() raise a flag, but don't terminate the thread until we leave the critical section. The above should sort out the race condition. move the hash tables from being global as there was no need, although it does lead to functions with even more parameters, something which looks messy and is a problem with the link view in general. Are the memory leaks really in linkView.c ? I can't find them, but then again I cant use memprof so its just looking by hand, its possible it was the canvas as its not quite so noticable now we restrict node drawing correctly 2001-02-13 David A Knight <david@ritter.demon.co.uk> * editor.c: removed attempt to update parse tree rather than rebuild it wasn't working and won't make the deadline of Friday 2001-02-11 David A Knight <david@ritter.demon.co.uk> * linkview.h: changed htmlFileData and imageFileData to HtmlFileData and ImageFileData to match style guidelines * linkView.c: sort out the GLib Critical warning with the failing g_assert in G_NODE_IS_ROOT, we were trying to append a node to its parent when it had already been done. changed htmlFileData and imageFileData to HtmlFileData and ImageFileData to match style guidelines dont build link sub tree for a link if that link occurs higher upper in the tree. This should be correct, not sure though. HIGH PRIORITY: Fix memory leaks in linkView.c * bugs.sgml: documentation on bug reporting * interface.c: sort out the placing of dockitems when we have no layout string. They now appear in the correct order. 2001-02-10 David A Knight <david@ritter.demon.co.uk> * linkView.c: max/min x/y go from group coords, not item world coords * pageUI.c: cancel the link view broken link check when we change the view from the link view to something else. 2001-02-08 David A Knight <david@ritter.demon.co.uk> * pageDruid.c: can now use standard templates, as with custom ones the details entered by the user are not yet entered. We need some good page templates 2001-02-07 David A Knight <david@ritter.demon.co.uk> * screem.glade: don't let the linkview depth spinbutton wrap around set the standard template ctree in the page druid to browse mode * siteTemplate.c: use gnome-vfs-mime functions if available * siteTree.c: use gnome-vfs-mime functions if available * siteTreeUI.c: use gnome-vfs-mime functions if available changed browse list again, only add the cwd node to the top of the list after we have displayed and sorted the rest. * tagtree.c: use gnome-vfs-mime functions if available * preferences.c: use gnome-vfs-mime functions if available fixed memory leak in save preferences * pageDruid.c: use gnome-vfs-mime functions if available * main.c: use gnome-vfs-mime functions if available * linkView.c: use gnome-vfs-mime functions if available lock check_lock in another place just incase pass the pthread_t to pthread_kill rather than passing a pointer to it. * editor.c: use gnome-vfs-mime functions if available * Site.c: use gnome-vfs-mime functions if available * Page.c: use gnome-vfs-mime functions if available * support.c: if no mime type is given to icon_from_mime_type() then determine it from the given filename if possible use gnome-vfs-mime functions if available 2001-02-06 David A Knight <david@ritter.demon.co.uk> * support.c: added another load_text_file() function, this time taking a directory name and file, saves concatinating them in multiple places that want to open a file. don't close the file in load_text_file_with_stream() leave it to the calling function * pageDruid.c: support loading of standard templates files show info for standard template files set new page to changed when we create it so that it will be saved added callback for selecting a standard template, this is to allow us to set the template info label. * siteTreeUI.c: check that icon->pixbuf is not NULL before we try and do gdk_pixbuf operations on it. add a / onto the front of directory names in the browse list if they don't already have one, this ensures they get listed before files * toolbar.c: fixed the indent buttons, glade sends text as the data item so we needed to use atoi to get the value to flag increase or decrease indentation. 2001-02-05 David A Knight <david@ritter.demon.co.uk> * menus.h: hooked up the screem_print() callback to the print menu item. * preview.c: added stuff about the new link view to the splash preview screen blurb * requirements.sgml: removed errors, added info that system specifications are only recommendations * features.sgml: removed some of the errors move all sections up one, eg sect2 becomes sect1, sect3 becomes sect2 etc. * dtd.c: add some checking of return values, removes some of the CRITICAL warnings. 2001-02-03 David A Knight <david@ritter.demon.co.uk> * Helpers.c: waitpid using the child pid rather than -1 which waits for any child process, which may be the spell checker, or some other child process. check that the page has data after running the helper, if not do not insert into the editor and treat as if the helper had failed inform user if helper fails * siteTreeUI.c: browse list wasnt working correctly, the current directory wasn't being stored correctly. This will also have effected the DnD * pageUI.c: fixed previewing 2001-02-01 David A Knight <david@ritter.demon.co.uk> * screem.sgml: added requirements page * requirements.sgml: a requirements page for the documentation, the system specs part is more recommendations than requirements. * siteTreeUI.c: fix the DnD from the browse list, it wasn't updated to use the new method of determining the filename of the list item. 2001-01-28 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: sort browse list, also stop being stupid and using the row data item when we already have the cwd stored as an item of the list itself, and we can read the last part of the path to switch to from what is displayed in the list. * editor.c: got a crash to do with the tooltips, hopefully fixed but can't be sure * localdriver.c: final got around to implementing this properly, and actually testing it, well it uploads the initial site properly anyway. 2001-01-27 David A Knight <david@ritter.demon.co.uk> * css.glade: fix the saveMessage message box, its buttons were not in the action area, which was missing! * main.c: call screem_link_view_clean_async() on exiting. * linkView.c: add checking node to legend make sure the legend canvas is big enough, by settings its height based on the height of the nodes/text dont use gnome_vfs_async calls, they suck big time when dealing with a large number of simultanious connections like may occur. Instead use our own thread which checks a link a time, which is also more network friendly as well. Perhaps they should be used, but only a couple at once? As sync ones appear very slow in comparison 2001-01-25 David A Knight <david@ritter.demon.co.uk> * features.sgml: more info added 2001-01-21 David A Knight <david@ritter.demon.co.uk> * linkView.c: hide text labels on displaying canvas if the toggle button is set on no show * features.sgml: more info added 2001-01-20 David A Knight <david@ritter.demon.co.uk> * features.sgml: more info added * Helpers.c: helper_button_clicked() returns TRUE, this prevents the dock popup appearing when it shouldn't * siteUI.c: call screem_page_close_page() on each page in the site, this ensures the syntax menus are removed 2001-01-19 David A Knight <david@ritter.demon.co.uk> * features.sgml: more info added 2001-01-18 David A Knight <david@ritter.demon.co.uk> * features.sgml: added info on more features 2001-01-17 David A Knight <david@ritter.demon.co.uk> * linkView.c: async link checking added. orange node denotes link being checked, TODO: add orange node to the legend protect cache lookup/removal/addition with a mutex existing external links made blue instead of green when found to exist, as per legend. HACK: internal links, eg: index.html#internal are treated as external links, hence end up coloured blue if we find them. Quick hack added to scan the filename for a # 2001-01-16 David A Knight <david@ritter.demon.co.uk> * linkView.c: added a hash table to cache results of external link checking. added skeleton for allowing more than just exists and broken. dont use gnome_vfs_uri_exists(), it is too slow as it attempts to get file info. instead simple attempt to open the file, closing it if successful. Also this doesn't lead to false broken links like using gnome_vfs_uri_exists() did. * linkView.h: added different external link checking states 2001-01-14 Matthew Colyer <linuxcoder@colyer.org> *linkview.c -got rid of compile warnings -got rid of runtime errors (the gnode things still persists not sure how to fix) -wrote the code to check external files (only works when connnected to internet be careful can take a very long to time out on files that don't exist so don't use it without being on) -took out the old hack by david I read the documentation and noticed that it would stop if the function returned true. (maybe i should read the directions first) 2001-01-14 Matthew Colyer <linuxcoder@colyer.org> *linkView.c: Spilt up the monster function build_link_tree for some reason the traverse you had at the top took out external links. so it is removed for preformance as well as the above Took a stab at trying to make sure the higher up links were not duplicated. Not right but better. I think we might have to switch to breadth recursion instead of depth to fix. 2001-01-14 David A Knight <david@ritter.demon.co.uk> * preview.c: add request not to use Gnome bug track system. * features.sgml: added info on some of the features. 2001-01-13 David A Knight <david@ritter.demon.co.uk> * dtd.c: when checking elements check the case its in, then check all upper, then lower, then uppercase first letter. call a single function to find the element for a given tag. 2001-01-10 David A Knight <david@ritter.demon.co.uk> * features.sgml: start of a page with complete info about the features of screem. * AUTHORS: updated Joe's email address * authors.sgml: added all authors from the AUTHORS file * started.sgml: updated inline tagging info, auto entity insertion info and upload info. * intro.sgml: added some blurb about how advanced screem is :-P and a request for feedback. 2001-01-08 David A Knight <david@ritter.demon.co.uk> * css.c: fix support of width/height/float/clear style parameters. 2001-01-06 David A Knight <david@ritter.demon.co.uk> * screem.sgml: changed from <article> to <book> split chapters into individual files * docs/Makefile.am: install the new sgml files 2001-01-01 David A Knight <david@ritter.demon.co.uk> * screemDev.sgml: added section on the tag tree * main.c: removed cmd line option to hide messages notebook show/hide dock items according to what the user had set them to previously * preferences.c: save the visible status of dock items as Placement/Hidden remove Config/show_panel and Config/show_messages as they are just dock items 2000-12-31 David A Knight <david@ritter.demon.co.uk> * linkView.c: altering depth now functional. We need to limit the work we do by not building nodes for links we have already done, the limiting code in there only works for depth 2 2000-12-29 David A Knight <david@ritter.demon.co.uk> * screemDev.sgml: added info on plugins and helpers sorted out the coding conventions removed release specification section 2000-12-28 David A Knight <david@ritter.demon.co.uk> * screemDev.sgml: added a little bit about scripting 2000-12-24 David A Knight <david@ritter.demon.co.uk> * css.c: request a filename when creating a new stylesheet. store the filename as a data item of the style tree. added a proper css_save() changed original css_save() to css_save_as() convert <url> types to relative paths store_current() now calls input_style() fixed setting of box style padding, it was setting the margin to be the padding, leaving the padding empty. allow setting of right-style, bottom-style and left-style in css_box_style_set() 2000-12-21 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: in create_sitecopy_directory() try and mkdir the directory, not try and access site->infofile. check we have managed to create a sitecopy site structure before calling verify_site() when getting the site status info * linkView.c: modified rendering code to remove spurious canvas groups, also added support for definable depth (via static global variable called depth) depth is currently hard coded to 3 * linkView.[ch]: build_icon() no longer returns anything 2000-12-20 David A Knight <david@ritter.demon.co.uk> * linkView.c: lines linking nodes are in the GnomeCanvasGroup "root" rather than the group belonging to any node. text labels are in the same group as the node they are for, this is to prevent the deadlock occuring with the notify/enter events when flashing labels on node highlighting, and also seems more intuitive to me as well in that pointing at the label highlights the node the same way as pointing at the node itself does. make the zoom menu update the zoom spinbutton * rcfile.c: support the local driver in rcfile_verify() * toolbar.c: dont unref the sidebar GladeXML object 2000-12-20 Matthew Colyer <linuxcoder@colyer.org> *linkView.c -fixed the crashing when flipping between the editor window and the linkview *Doc dir cleaned up I left all the old documentation where it was including the figs but this should be thrown out because it is too old TODO: -new makefile that correctly supports the new dir structure -updating the topic.dat to show the 3 manauals -updating the 3 manuals 2000-12-19 David A Knight <david@ritter.demon.co.uk> * css.c: handle removal of url() when inserting a <url> type into a GtkEntry widget connect the delete_event signal of the wizard window to css_close() * Page.c: fix screem_page_set_data() crashing when the passed data is NULL 2000-12-18 David A Knight <david@ritter.demon.co.uk> * css.c: use url(./filename) where value is of type <url> * interface.c: toggle the hide/show items in the View menu item when dock items are hidden/shown. 2000-12-14 David A Knight <david@ritter.demon.co.uk> * pageDruid.c: insert the DOCTYPE tag gain via calling screem_dtd_build_doctype_tag() with the dtd type given in the druid. * dtd.c: added screem_dtd_build_doctype_tag() which given a dtd type will build up the DOCTYPE tag. 2000-12-12 David A Knight <david@ritter.demon.co.uk> * html.c: dont require all paramters to be non null in screem_html_parse_url() * Site.c: fix memleak * fileops.c: fix memleaks * linkView.c: hack to be able to hide and show the labels when labels are hidden we display the label for the currently highlighted node, and hide it again when the node is longer highlighted. fix memleaks no need to g_strdup() retval of relative_path() the return value isn't const which means the function allocates the memory for each call 2000-12-10 David A Knight <david@ritter.demon.co.uk> * linkView.c: dont rebuild the link view when we are just zooming in 2000-12-09 Matthew R Colyer <linuxcoder@colyer.org> *linkView.c Added more stuff to sidebar in linkview linkView.h TODO:fix the update on zoom main.c and make the link label toggle work 2000-12-09 David A Knight <david@ritter.demon.co.uk> * linkView.c: if we didn't get a hash table of file upload status then assume all files we add are new. id images via mime type being image/* rather than checking for the specific file extensions individually. * uploadWizard.c: remove deadlock displaying error dialog * localdriver.c: hacked version of rshdriver.c to support local copying in the upload wizard this prevents a crash when the link view tries to get info on upload status when a site is set on local upload method. WARNING: This driver is completly untested as I can't be bothered at the moment, it was only created as a quick fix for the link view crashing. * sites.h: added siteproto_local to site_protocol_modes enum. * editor.c: move the cursor to the end of a users key combo input after insertion * preferences.c: changed default file_width to 200 changed default messages_height to 150 2000-12-07 David A Knight <david@ritter.demon.co.uk> * linkView.c: do the highlighting on nodes 2000-12-05 Matthew Colyer <linuxcoder@colyer.org> * linkView.c Changed from xpm to gnome canvas items TODO: still needs the highlighting fixed * interface.c moved legend to the bar along the side screem.glade TODO: add a zoom control, label remove checkbox and current node info section * All node .xpm files removed 2000-12-04 David A Knight <david@ritter.demon.co.uk> * editor.c: don't flash valid tags in the statusbar * Makefile.am (toplevel one) added dtd directory, I cant believe this was missed. 2000-12-03 David A Knight <david@ritter.demon.co.uk> * screem.glade: add tooltips to RCP and SCP upload methods to inform user that they must be setup so the password is not required to be entered * Site.c: functions to flag if we are to auto update the site from CVS upon loading * siteUI.c: support auto updating from CVS on loading prompt for CVS update if user hasn't set a default of what to do for this site. 2000-12-02 Matthew Colyer <linuxcoder@colyer.org> * linkView.c Added support for the yellow node Moved legend so it doesn't cover anything Changed some of the labels Attempted to unclutter the display 2000-12-02 David A Knight <david@ritter.demon.co.uk> * interface.c: use cfg->tag_height as the height of the tag tree again * linkView.c: added basic zoom functionality, needs work HACK: set a data item on the GnomeApp widget so that the right click on a node doesn't get passed on down and lead to the dock item popup appearing. * screem.glade: HACK: connect button_press_event on messages_book to gtk_widget_grab_focus, otherwise we lost all events until one of the message text widgets was clicked if the dockitem popup menu was activated by right clicking on one of them. * main.c: fix --glade-file flag 2000-12-01 David A Knight <david@ritter.demon.co.uk> * siteUI.c: auto open pages when loading a site if the user has the config option enabled. * Site.c: store the filenames to auto open * interface.c: added support for toggling display of ALL dock items! 2000-11-30 David A Knight <david@ritter.demon.co.uk> * Site.c: save names of files open in a site when the project file is saved * support.c: remove old lines from message/debug windows, not finished yet. * linkView.c: a start at a key * structure.c: really deal with the sitebook widget change to a dock item 2000-11-26 David A Knight <david@ritter.demon.co.uk> * linkView.c: drag scrolling added to canvas via the background item. 2000-11-25 David A Knight <david@ritter.demon.co.uk> * structure.c: deal with sitebook widgets change to a dock item. * linkView.c: deal with sitebook widgets change to a dock item. * main.c: added command line param --glade-file to specify an alternative glade xml file to use as the interface. * Helpers.c, Todo.c, dtd.c, editMenu.c, interface.c, main.c, linkView.c, main.c, pageDruid.c, pageUI.c, preferences.c, siteDruid.c, siteTemplate.c, siteTreeUI.c, siteUI.c, spell.c, structure.c, toolbar.c: use cfg->glade_path instead of GLADE_PATH * uploadWizard.c: report errors with uploading files into screems error reporting window * preferences.c: hardcoded tag_width and tag_height to 200 and 125, and the dimensions are now of the sitebook rather than the tag tree support auto load of previously open sites when screem starts up. * interface.c: big hack which parses the dock layout string from the config file and inserts dock items in the correct place, as the widget isn't doing this properly. added code to protect against dock items wanting to be placed in the same position, fixes problem with the sitebook disappearing that I was experiencing. At least in theory it should. 2000-11-24 David A Knight <david@ritter.demon.co.uk> * support.c: added message/warning/error utility functions which, as well as displaying in the statusbar show in the message/error text widgets * interface.c: handle sitebook and messages_book now being dock items The dock items do not seem to be getting placed in the stored positions, at least on my system. A hack is probably needed. 2000-11-20 Christophe Merlet <christophe@merlet.net> * configure.in: Added sv to $ALL_LINGUAS. * hints/screem_hints_sv.txt: Added sv hints files from GNOME CVS. * screem.desktop: Added sv strings. sv translations by Christian Rose. 2000-11-18 David A Knight <david@ritter.demon.co.uk> * linkView.c: merged Matts changes with mine 2000-11-18 Matthew Colyer <linuxcoder@colyer.org> * linkView.c: Fixed lots of bugs the labels are now relative filenames added the ignore node checking fills out the image ll of the node struct fixed the filtering of files solved the popup menu crashing screem 2000-11-18 David A Knight <david@ritter.demon.co.uk> * linkView.c: added code to be able to call screem_site_get_sync_status() in the upload wizard. set upload_status on htmlFileData structs by looking up pathname in the hash table. This field is only valid if pathname is not NULL. * uploadWizard.c: reverted changes to screem_site_to_sitecopy_site() added screem_site_get_sync_status() which will give a list of files with their change status, files not in the list will be in sync. changed the above mentioned list to be a hash table. 2000-11-17 David A Knight <david@ritter.demon.co.uk> * plugin.c: added screem_plugin_get_sitecopy() to get the GModule for the sitecopy plugin (ie uploadwizard) ignore sitecopy_hack registered tags when checking for a wizard to add to the editor popup menu * uploadWizard.c: hack - register as a tag wizard for the tag sitecopy_hack, this is so we can id the upload wizard. screem_site_to_sitecopy_site() changed to return a gpointer rather than struct site* Also made non static. 2000-11-13 Matthew Colyer <linuxcoder@colyer.org> *linkView.c -Updated so it doesn't draw links over nodes -filter all the no html php etc files to clear up the useless crap some javascript stuff still gets through ;-( 2000-11-12 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: support port as part of hostname again, eg: ftp.site.net:8080 It appears this feature was lost when the update to sitecopy 0.10.0 was made. Fixes bug #74549 in the Debian bug tracking system. Single file uploads are still limited to the default ftp port (21) 2000-11-11 David A Knight <david@ritter.demon.co.uk> * dtd.c: use default dtd in screem_dtd_check_element() if the passed dtd pointer is NULL * dtds: added the entity files that the html/xhtml dtds require added xhtml entity files to the catalog 2000-11-10 David A Knight <david@ritter.demon.co.uk> * linkView.c: use gnew0() instead of malloc. pass htmlFileData->name as the data to the event callback, just to get the menu working again for now, although this will probably change, depending on what Matt does. * pageDruid.c: doh, actually assign g_strconcat result to something * main.c: put #ifdef around gnome_vfs_shutdown() 2000-11-07 Matthew Colyer <linuxcoder@colyer.org> * linkView.c Many changes to how the linkview works Took out labels to relieve the amt. of clutter Color Coded node icons ;-) Color Coded links (not quite finished) Scrolls correctly Background covers the background Overhauled the backend to better map the node info and to make it easier to access for other uses * linkview.h Added function definitions and changed others 2000-11-06 David A Knight <david@ritter.demon.co.uk> * editor.c: html_editor_tip() now states if an element is not valid in the documents dtd. * dtd.c: added screem_dtd_check_element() which checks if a given element name is valid within the documents dtd. * siteTreeUI.c: display user and group names instead of ids in the file information dialog. 2000-11-05 David A Knight <david@ritter.demon.co.uk> * dtd.c: DTDs fetched remotely are saved in the users dtd directory (~/.screem/dtds/) and added to the catalog file held there. The filename is currently generated by mkstemp() 2000-11-04 David A Knight <david@ritter.demon.co.uk> * dtd.c: if the DTD in use can't be found locally, then load it from the URI mentioned, requires gnome-vfs support. * configure.in: no longer use --with-gtkhtml If we find gtkhtml we use it. check for gnome-vfs * html.c: use gnome-vfs-uri functions in screem_html_parse_uri() if compiled with gnome-vfs support. 2000-11-01 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: rename and open now use the value of "node" set in the GtkCTree widget rather than the row value held in "drag_start". 2000-10-30 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: sort the browse list in alphabetical order, with uppercase coming before all lowercase * linkView.c: popup menu on nodes which are local files now works fully. 2000-10-29 David A Knight <david@ritter.demon.co.uk> * dtd.c: prepend the "More" item to the attribute menu * Page.c: a few changes towards only rebuilding parts of the parse tree, the code isn't used yet though as its nowhere near finished * css.c: treat '\t' the same as ' ' and '\n' in parsing 2000-10-28 David A Knight <david@ritter.demon.co.uk> More tidying up, this time with -Werror switched on rather than using g++ * html.h: removed, shifted stuff into the .c files that use it as its only single files that used each of the arrays. * perl.h: removed * entities.h: the entities that were in html.h 2000-10-27 David A Knight <david@ritter.demon.co.uk> Lots of tidying up by trying to compile with g++ instead of gcc, there are still lots of errors building like this, but some of them I can't sort out as they are Gnome problems, although as neither screem or gnome-libs is meant to be built with a c++ compiler then it doesn't really matter, still its good for finding possible errors. 2000-10-23 Christophe Merlet <christophe@merlet.net> * configure.in: Added es_ES and pt_BR to $ALL_LINGUAS. * hints/screem_hints_pt_BR.txt: Added pt_BR hints files from GNOME CVS. 2000-10-22 David A Knight <david@ritter.demon.co.uk> * linkView.c: popup file tree menu as popup on links in the link view 2000-10-15 David A Knight <david@ritter.demon.co.uk> * html.c: screem_html_add_node() takes the dtd as the first arguement so it knows which tags need closing. * dtd.c: proper support for feature switches in DTDs Load "Sub" DTDs, eg HTML Frameset DTDs that include the normal HTML DTD with the Frameset feature switch on fixed the missing off of the last allowed element. updated libneon and uploadwizard to sitecopy 0.10.6 2000-10-14 David A Knight <david@ritter.demon.co.uk> Ah, back to some coding under Linux, its so much nicer than under NT which I'm having to do now I'm not a student anymore and the place I work seems to love Microsoft products. * dtd.c: we now parse the allowed attributes added screem_dtd_allowed_tags_menu() which returns a menu of the allowed tags. NOTE: support for offering allowed tags of optional subtags is not in yet, eg offering tr, td, th etc for table. attribute menu and allowed tags menu limited to 10 entries, if there are more a submenu is added. This limit of 10 is a bit arbitrary and should possibly be customisable. Its also only a stop gap until GTK 2 which will hopefully support scrollable menus. * editor.c: call screem_dtd_allowed_tags_menu() when the popup menu is opened inside a tags data area, ie <tag> here </tag> 2000-10-05 Christophe Merlet christophe@merlet.net> * configure.in: add no and uk to ALL_LINGUAS 2000-10-01 David A Knight <david@ritter.demon.co.uk> * configure.in: add da to ALL_LINGUAS 2000-09-30 David A Knight <david@ritter.demon.co.uk> * interface.c: if view bar is switched off display the notebook tabs. * Site.c: when adding a page stat the file to get the correct mod time. 2000-09-21 David A Knight <david@ritter.demon.co.uk> * siteDruid.c: fixed site creation where an absolute path wasn't given. 2000-09-20 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: removed a pointless return in screem_site_create_dir() added a return in create_dir_callback(); added more strings to be translated. call mkdir_recursive() in create_dir_callback() rather than mkdir() * configure.in: changed to version 0.4.0, this is because the DTD stuff is a major change so 0.3.1 isn't really suitable. * pageUI.c: screem_page_close_page() is now called screem_page_close_current(). screem_page_close_page() is a different function now which takes a page, if that page is the current one it will call screem_page_close_current() The above changes allow the close menu item in the tab popup to work. added screem_page_set_tab_label() as we need it for the rename menu item in the tab popup as well as in the saveas 2000-09-16 David A Knight <david@ritter.demon.co.uk> * editor.c: fixed a memory leak in the popup menu. removed the popup menu memory list and the function to free it as we do things properly now. * dtd.c: connect callbacks to screem_editor_insert_attribute() in the attribute menu. added icons from Marian P. Ivasiuk <iva@romsat.kiev.ua> 2000-09-13 David A Knight <david@ritter.demon.co.uk> * pageUI.c: changed screem_page_save_as() to not create a new label for the notebook tab, but to just alter its content. added popup menu to open page tabs, allowing saving, saving as, Closing isn't implemented yet. * structure.c: add support for dropping urls onto the structure tree. The effect is to insert a link to the url as the given position (chosen from the popup menu) added support for dropping text/plain onto the structure tree. 2000-09-12 David A Knight <david@ritter.demon.co.uk> I must stop playing Diablo II ! * dtd.c: add ~/.screem/dtds to the search path for dtd catalogs. * structure.c fixed moving of tags that aren't allowed closing tags. add as sibling now works 2000-09-09 David A Knight <david@ritter.demon.co.uk> * css.c: fixed loading where a class and /or pseudo class are not present. Also fixed by Matt Colyer in the load code. Both fixes left in as mine will catch any other occurances as well. * html.c: changed tag name to work if the opening < isn't part of the passed string * structure.c: DnD working when adding a node as a child of another. 2000-09-03 David A Knight <david@ritter.demon.co.uk> * structure.c: added a start at DnD in the structure tree 2000-08-30 David A Knight <david@ritter.demon.co.uk> * editor.c * html.c: patches from Tristan Tarrant * dtd.c: scan different paths for dtd catalog files. load any catalog files found in the directories. 2000-08-21 David A Knight <david@ritter.demon.co.uk> * html.c: screem_html_build_parse_tree() now takes a ScreemDTD* as the first param. * editor.c: added function to get the doctype * structure.c: get doctype so the correct dtd can be passed to screem_html_build_parse_tree(); 2000-08-20 David A Knight <david@ritter.demon.co.uk> * editor.c: enable dtd attribute menu if a key press isn't handled by a syntax file and the mime type is text/sgml or text/xml then call html_key_press * html.c: use the dtd structure rather than the old static html 4 info in html.h removed binary_search_tags() as its not needed anymore. fixed tag autoclose * html.h: removed attribute structs and tag close data as we now use the dtd for this info * structure.c: use the dtd information for the properties display * dtd.c: if a dtd isn't given to a non parsing function then we lookup the default dtd set in the preferences and use that. 2000-08-19 David A Knight <david@ritter.demon.co.uk> * pageDruid.c: call screem_dtd_fill_combo() with the page doctype combo. set the page doctype to whatever the default in the preferences is. set the page charset to whatever the default in the preferences is. * preferences.c: added default dtd setting. * dtd.c: added screem_dtd_fill_combo() which will fill a combo with all the loaded dtd types. screem_loaded_dtds() displays a dialog with a list of all loaded dtd types and their pathnames. 2000-08-15 David A Knight <david@ritter.demon.co.uk> * editor.c: can use dtd attribute menu, disabled via #if 0 as we don't want this to be used just yet. changed tag_attribute_menu() to take the tag name rather than element number, this is for when we change over to the dtd attribute menu. * dtd.c: now parses <!ATTLIST> properly, building up a list of allowed attributes, values, and the default value. If an attribute default is #FIXED we set the allowed values to be that string. ID if closing tag is optional/forbidden. build attribute menu working, doesn't connect the activate signals yet. 2000-08-14 David A Knight <david@ritter.demon.co.uk> * dtd.c: expansion of entities / expressions when finding out allowed child nodes now done. * html.c: fixed screem_html_link_fix() to work with the slightly changed parse tree. fixed binary search tags, I don't know where I got the idea strcasecmp returned -1, 0, or 1. This fixes the select context problem. * uploadWizard.c: fixed crash when close button is clicked. * interface.c: a quick hack to try and sort out the resizing problem of GnomeApp * de.po: updated by Kai Lahmann<kl@linuxfaqs.de> 2000-08-12 David A Knight <david@ritter.demon.co.uk> * html.c: more changes while building parse tree to reduce the work being done. removed unused variables from various files 2000-08-11 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: changes in file_information() for the new file info dialog (based on the gmc one) * html.c: more changes to next_tag, now takes a third paramter, which may be NULL. This avoids doing the extra work of calling tag_name() after a lot of cases. more work on building the parse tree done, hopefully it is a tiny bit faster now. * editor.c: revert the insert_text/delete_text callbacks to connect normally. Add extra callbacks to handle the after stuff which just rebuild the parse tree. Hmm, could we build the parse tree on a timeout from an insert/delete? That way if the user it typing fast then we will not built it, until there is a pause, in the same way the highlighting code currently works. For a speed to be kept up the context probably will not change so this may work and would be a big improvement. 2000-08-09 David A Knight <david@ritter.demon.co.uk> * preferences.c added default character set setting. * editor.c: set page charset at each change, not as much work as it sounds as we have the parse tree to traverse to find the meta tags. entity insertion by set now works, only inserting entities for characters if the charset is ISO-8859-1 2000-08-08 David A Knight <david@ritter.demon.co.uk> * support.c: fixed incorrect icon problem * main.c: only save preferences on exit if it was a clean exit, ie the user decided to exit. This should sort a few problems out. * editor.c: change insert_text/delete_text callbacks to after the event. 2000-08-07 David A Knight <david@ritter.demon.co.uk> * dtd.c: DTD parsing code now builds up a hash table of all the elements and entities in the DTD. Still to be done is ATTLIST handling, and allowed sub elements for ELEMENT tags. * html.c: changed next_tag(), it now keeps a count of open tags, and requires that many close tags before a tag is said to be found. 2000-08-06 David A Knight <david@ritter.demon.co.uk> * support.c: set the window manager class and name on the file select dialog * all glade files: set the window manager class and name on all windows. * css.c: stylesheet loading added by Matt Colyer fixed a bug in the loading, and tidied up the code a bit. split css_load() into css_load() and css_parse(), to allow for parsing a string as css. 2000-07-31 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: fe_login() now working properly 2000-07-30 David A Knight <david@ritter.demon.co.uk> * rshdriver.c: rsh doesn't support user@host like ssh does, so we use -l user instead. rewrote command building in run_ssh() * tr.po: added Turkish translation from Fatih Demir 2000-07-29 David A Knight <david@ritter.demon.co.uk> * uploadWizard: major changes due to a start at incorporating sitecopy 0.10.0, Catchup a new site is now working, uploading of a site has not been attempted at this point and would probably fail anyway as the fe_login() function is not implemented yet setup the excludes correctly, before if a file was excluded then any file with that name was being excluded setup the ignores and asciis lists as well I've now added the fe_login() function. ok, we now have the upload part running as a detached thread. * rshdriver.c: use user@hostname instead of just hostname in file_move() and file_upload() * libneon: added libneon directory, needed for uploadWizard if user doesn't have libneon installed We build a non installed library out of the files contained in this directory. This is so the uploadWizard can link the required files, which need to be libtool objects. This meant replacing Makefile.incl with an automake file * configure.in: changes for the sitecopy upgrade use AC_ENABLE_STATIC(no) * neon-xml-parser.m4: screem only wants libxml so the expat stuff has been removed * neon-ssl.m4: modified to set $enable_ssl to true or false, so we can use an AM_CONDITIONAL in the configure file. * site.h: add RSH and SSH to the upload style enum, and "rsh", "ssh" to the upload strings * siteUI.c: In the site settings dialog if the upload method is WebDAV, then alter the Base URL entry when the upload host or the upload path change. This avoids the same info having to be typed twice added SCP and RCP options. 2000-07-28 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: fixed the already uploaded bug * guile.c: guile script plugin support now working, guile script plugins add to the editor popup menu, and evalute the specified function in the script when the menu item is selected. * html.c: screem_html_parse_tree_find_node(), ensure strings being compared are not NULL * spell.c: fix offset problem * fileops.c: removed file_information() * siteTreeUI.c: fix directories not showing their EAI status renable showing of hidden files added file_information() file_information() now shows the EAI status of the file/directory that was selected 2000-07-27 David A Knight <david@ritter.demon.co.uk> * guile.c: implement the guile shell tab, allows guile scripts to be executed. moved calls to init the guile functions for site, page, and editor access into screem_init_guile(); * plugin.c: changed guile script loading, now loads and evaluates the file, then calls script-register which adds the script to the script menu, with the callback set to call the correct function. * main.c: don't call screem_site/page/editor_init_guile(), just call screem_init_guile() 2000-07-26 David A Knight <david@ritter.demon.co.uk> * Site.c: when loading the project file load ".project.screem" in preference to "project.screem" save project file as ".project.screem" 2000-07-24 David A Knight <david@ritter.demon.co.uk> * editor.c: don't autoclose if the next tag is the close tag for the context. for the close tag key combo, don't do it if the next tag is the close tag. * fileops.c: in copy_dir() use mkdir_recursive() rather than mkdir() 2000-07-23 David A Knight <david@ritter.demon.co.uk> * preferences.c: if there are no syntax files in ~/.screem/syntax then copy the global ones to the users home space. Use syntax files in ~/.screem/syntax rather than the global ones. * interface.c: don't add the editor/preview/help notebook pages by hand, use a custom widget in glade instead. don't add data to app for the editor or preview widgets. * preview.c: added screem_preview_get_width() added screem_preview_get_heigth() 2000-07-22 David A Knight <david@ritter.demon.co.uk> * siteUI.c: fill in last upload entry in site info dialog 2000-07-21 Dirk-Jan C. Binnema <dirkjan@gnome.org> * linkView.c: fix strcmp segfault in build_icon by first checking arg 2000-07-20 David A Knight <david@ritter.demon.co.uk> * siteDruid.c: new site druid replacing the site wizard. * fileops.c: fixed a very nasty bug in mkdir recursive, where it would ignore a pathname being absolute and so always create the path relative to the current working directory. 2000-07-17 David A Knight <david@ritter.demon.co.uk> * pageDruid.c: page creation without a template now complete. 2000-07-16 David A Knight <david@ritter.demon.co.uk> * pageWizard.c: no longer required * pageDruid.c: a rework of the page wizard, now with a much better interface, not fully functional yet. * html.c: added screem_html_parse_tree_find_node() which finds the next occurance of a given node. * pageUI.c: use screem_page_druid() instead of screem_page_wizard() 2000-07-15 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: fixed the refreshing of the file tree to remove deleted nodes. Split add_node() up into two functions, add_node() and add_node_do() 2000-07-14 David A Knight <david@ritter.demon.co.uk> * html.c: fix broken link updating code, we weren't changing into the directory of the page we were checking, so it only worked with pages that were in the sites top directory. 2000-07-12 David A Knight <david@ritter.demon.co.uk> * php.c: build the function hash table from the Bluefish php3_functions file. tooltips now display function prototype based on a PHP function name under the cursor! * editor.c: don't do html tooltip for <? ?> as this is probably PHP, ASP, JSP etc. 2000-07-11 David A Knight <david@ritter.demon.co.uk> Just finished jury service! * sites.c: (uploadwizard) removed inline from line 177 it doesn't compile with -ansi -pedantic * php.c: added screem_php_require() which inserts a php require instruction with the given filename. added screem_php_authenticate() which inserts code to request authentication when a page is displayed. The PHP code is taken from the PHP3 manual. * html.screem.syntax: added PHP menu, with include file option, and authenticate option. * pageUI.c: add save confirm check when closing a page. fix menu removal when closing a page. 2000-07-08 David A Knight <david@ritter.demon.co.uk> * interface.c: removed stupid code that was causing Gtk-Critical errors when using the notebook toolbar. * pageUI.c: removed critical error when preview_current_page() ends up being called while building the interface. * main.c: removed gtkhtmllib_init() as its gone from CVS init gconf for gtkhtml if necessary * configure.in: get the correct libraries to link to for gtkhtml 2000-07-07 David A Knight <david@ritter.demon.co.uk> * editor.c: screem_editor_tooltip() changed, syntax files now support a <tip> tag which has an attribute callback. This attribute is the function that screem_editor_tooltip() will call. * configure.in: finally fixed the installation procedure to install .desktop + mime files in gnome-config --datadir or in --with-gnome=path 2000-07-06 David A Knight <david@ritter.demon.co.uk> * editor.c: removed lineslabel variable, and the set style call to it 2000-07-03 David A Knight <david@ritter.demon.co.uk> * tagtree.c: TagData has had an extra field added at the start of the struct called hack. It is a gchar set to '\0' so we can tell the difference between a TagData type and a gchar* as the clist row data. drag and drop from resources now added, does not drop anything from tagtree / bluefish function entries. 2000-07-02 David A Knight <david@ritter.demon.co.uk> * screem.glade: fix the resizing problems by setting the shrink/resize attributes on pane childs correctly, and not setting the pane position. * pageUI.c: when screem_page_open() or recent_proxy() are called switch to the fake site. 2000-07-01 David A Knight <david@ritter.demon.co.uk> * preferences.c: store hidden state of messages / side panel. handle size differences when side panel / messages are hidden. * interface.c: set side panel / messages to hidden if needed select menu items for the hide/show state of the above. 2000-06-30 David A Knight <david@ritter.demon.co.uk> * interface.c: removed the "Design" tab from the notebook, the preview can be made editable when gtkhtml's editing is more stable. added another pane to the main display to show messages in. * support.c: execute_command() now reports into the messages text area in the main display rather than display a new dialog. don't free the passed in command. * cvs.c: free the command passed to execute_command() * menus.h: added view menu, can switch between editor, preview, link views, and also toggle the display of the side pane. * preferences.c: added support for not displaying the view switching toolbar ( the one on the right ). Handy for small displays. 2000-06-29 David A Knight <david@ritter.demon.co.uk> * editor.c: removed the key press after connection to the editor, fixes the double paste bug along with a few others. stopped removing timeout handlers inside the callback function, return FALSE from them instead. 2000-06-28 David A Knight <david@ritter.demon.co.uk> * siteUI.c: when switching sites set the open page notebook to be on the correct tab for the displayed page. 2000-06-27 David A Knight <david@ritter.demon.co.uk> * editor.c: stop being stupid and mixing up extended and basic regular expressions in the syntax highlighting fix menu insertion/removal when we don't have a mime type for the page misc work on the syntax highlighting code trying to improve the speed / remove the jumping 2000-06-26 David A Knight <david@ritter.demon.co.uk> * editor.c: keep selections when popping up menu * toolbar.c: prompt for page saving when viewing with an external browser, allows cancelling of the action. * support.c: fixed creation of recent lists when the list is initially empty 2000-06-25 David A Knight <david@ritter.demon.co.uk> * html.c: added screem_html_encode_text() which converts all characters that should be entities to entities. * html.screem.syntax: added a menu item for encoding entities * editor.c: added screem_editor_paste_encoded() which pastes from the clipboard, converting characters to html entities where needed. 2000-06-24 David A Knight <david@ritter.demon.co.uk> * preferences.c: add support for syntax files to contain menu entries. * editor.c: ScreemHighlightMode changed to ScreemEditorMode as it can now contain menus specific to the mode fixed the " offset problem When displaying a page remove the menus for the old page type and insert those for the new page's type * menus.h: removed tag case altering items, and select context item from the edit menu, they are now handled by the html syntax file 2000-06-23 David A Knight <david@ritter.demon.co.uk> * editor.c: disabled line/column numbering * html.screem.syntax: finished html syntax file * perl.screem.syntax: started a perl syntax file 2000-06-21 David A Knight <david@ritter.demon.co.uk> * editor.c: removed tag_colour() as it isn't used anywhere changed syntax highlighting code to reflect changes to support syntax files. * preferences.c: changes to syntax highlighting configuration so we can support syntax files. Loading and saving of syntax files implemented build the gui for altering colours when the colours tab is selected. This just involves glade_xml_new'ing the frame widget and placing it in the box along with the rest that have been created. Screem now has syntax highlighting file support! * preferences.h: the HiColour struct has been replaced by ColourGroup. 2000-06-20 David A Knight <david@ritter.demon.co.uk> * pageUI.c: removed more memory leaks * siteUI.c: removed more memory leaks * editor.c: removed more memory leaks 2000-06-19 David A Knight <david@ritter.demon.co.uk> * css.c: fixed the descendant selectors in the css wizard. sorted out a couple of memory leaks in the wizard. * frameWizard.c: added a start at code to load frame styles * html.c: added function screem_html_attribute_from_list() which given a list of attributes and an attribute name, returns a pointer into the list where the named attribute appears. 2000-06-17 David A Knight <david@ritter.demon.co.uk> * editor.c: Arg!!! The line/column code doesn't work, as the widget only keeps a list of lines from the top line displayed since the last change in the number of lines. 2000-06-16 David A Knight <david@ritter.demon.co.uk> * editor.c: only rebuild the parse tree when the document has changed. This still isn't optimal but its better as we don't need to build one for thing like select context, or checking if a key press is inside a script. 2000-06-15 David A Knight <david@ritter.demon.co.uk> * editor.c: improved line/column finding code, we no longer go through the entire document counting newlines. we only look for the previous newline to find the column number. 2000-06-14 David A Knight <david@ritter.demon.co.uk> * preferences.c: generalise the syntax highlighting settings better. * editor.c: changes for the syntax highlighting settings changes. 2000-06-13 David A Knight <david@ritter.demon.co.uk> * plugin.c: fix memory leak from wizard popup menu entry by freeing the list of tag attributes * print.c: updated with latest code from gedit, adds support for landscape/portrait selection * preferences.c: added printer option support * support.c: destroy the scaled pixbuf used to render the Pixmap and Bitmap. 2000-06-12 David A Knight <david@ritter.demon.co.uk> * html.c: new link fixing code added that uses the a parse tree. It still doesn't handle complete uri's to files in the site. * Site.c: removed old link fixing code, call the function in html.c instead. link fixing now fixes all links in a moved page. 2000-06-11 David A Knight <david@ritter.demon.co.uk> * structure.c: fixed crashing in structure tree when clicking on a node. 2000-06-09 David A Knight <david@ritter.demon.co.uk> * preview.c: fixed crashing when clicking on external links in preview window when editing a single page. * support.c: changed convert_keysym_state_to_string() to not use gstrings as they were leaking memory, and lead to memory usage increasing with every keypress. * structure.c: fix building of structure tree when the document is empty. * editor.c: when auto inserting the close tag place the cursor outside the closing tag. fixed another small memory leak. added support for key combo actions. key action: add closing tag added, adds the closing tag for the tag the cursor is already in, and places the cursor between them. * preferences.c: added support for key combos to perform specific actions other than inserting text. 2000-06-08 David A Knight <david@ritter.demon.co.uk> fixed various memory leaks 2000-06-07 David A Knight <david@ritter.demon.co.uk> * editor.c: change xy_to_cursor_pos() so it doesn't allocate any memory, should give a speed up. display the line and column the cursor is at. * html.c: fix a VERY nasty memory leak, well that had to be at least 1 major bug in a new release! * structure.c: display the attributes for the tag the cursor is currently present in. If return is pressed in any of the entries then insert/replace that attribute in the tag. The box is disabled if the cursor isn't inside a tag. 2000-06-03 David A Knight <david@ritter.demon.co.uk> * siteWizard.c: confirm creation of default file if a file with the same name already exists 2000-06-01 David A Knight <david@ritter.demon.co.uk> * html.h: fix html_tags_size to be the array size -1 as the last element is NULL * editor.c: fix the broken link updating again, by altering screem_editor_display_page() not to buffer the current page if it is the page being displayed. 2000-05-31 David A Knight <david@ritter.demon.co.uk> * main.c: symlink screem.mime and screem.keys to ~/.gnome/mime-info incase screem wasn't installed in the same directory as gnome. This ensures we pick up the mime-types. * siteUI.c: remove warnings when displaying the site info dialog for an imported site. fixed page data loss when switching sites. * html.c: initialise the list of tags to NULL before building the parse tree, otherwise strange things happen. * pageUI.c: removed a duplicate buffer text call in page_book_switch() as it is performed by screem_editor_display_page() 2000-05-30 David A Knight <david@ritter.demon.co.uk> * editMenu.c: complete rewrite as it was a mess before, with lots of redundant parts, and all the global variables are now gone. The find facility is now inline with the behaviour of gedit, with the dialog almost looking identical. All functions are commented as well, that must be a first :-) If a page is excluded then it is no longer searched when performing a site wide search. fixed searching results of checking all files. replace all now works with the list of checked files, although it currently opens them all in the editor, which may not be a good idea for a very large site. The problem with recusivly replacing words is now fixed. * editor.c: remove calls to set_use_regex, it was a stupid function in the first place. In screem_editor_display_page() buffer the old page before switching. 2000-05-29 David A Knight <david@ritter.demon.co.uk> * html.c: fixed screem_html_build_parse_tree(), it wasn't allowing for optional closing tags. added screem_html_destroy_parse_tree() destroy parse tree in screem_tag_autoclose() when finished fix running off the end of the document when building the parse tree * editor.c: select context is back using the parse tree destroy parse tree used in select context when finished. don't display the inline tagging popup if we are already inside an attribute allow escape to insert the space pressed to display the inline tagging popup tidied up the popup menu function indenting of lines to the correct level now works when tab is pressed anywhere in the line, so long as an entity isn't being inserted. simplified html_key_press() by breaking it down into more functions, namely screem_html_key_to_ent() screem_editor_goto_line() now uses gnome_app_request_string() if inside a script tag, or inside an inline script ( php, asp, ssi etc) then do not perform any auto insertion, displaying popups etc when a key is pressed. * structure.c: destroy parse tree used in building structure tree when finished * preferences.c: turn on auto ident by default fix setting of auto indent button in dialog, it was using the intelligent close tag setting. * html.c: added screem_html_key_to_ent(), returns the entity name of a key value, or NULL if the key cannot be an entity. * pageUI.c: when toggling the main frame page also toggle the toolbar buttons on the right. 2000-05-28 David A Knight <david@ritter.demon.co.uk> * html.c: screem_html_autoclose() is now used to determine what closing tag is needed. * editor.c: use screem_html_autoclose(); select context disabled, needs to be rewritten to use the GNode tree. * siteTreeUI.c: when deleting a file/dir remove the node as the code that refreshes the file tree doesn't seem to be working correctly in this respect. Applied patch from Lee to create directories in the file tree. * fileops.c: when copying a directory avoid checking to see if dest is a directory if we had to make it after the stat() call * main.c: fixed exiting problem. * preview.c: fixed crash on external link click * misc other files: ensure changing back to cwd after finished if chdir is used, unless we are changing to the site's directory. * siteTemplate.c: probably broken, although not tested 2000-05-27 David A Knight <david@ritter.demon.co.uk> * structure.c: ok another fix to the building of the structure tree disabled attribute view until its working fully the structure tree is now built up from a GNode tree. * preview.c: update gtkhtml code to reflect the API changes in gnome CVS * configure.in: fixed the gnome-libs version check, I'd messed it up as it didn't like the change in the minor version number * html.c: moved parsing code from structure.c to here, as a function to build a parse tree belongs in this file. Also change the function to build a GNode tree. 2000-05-26 David A Knight <david@ritter.demon.co.uk> * editor.c: removed tag attributes dialog * interface.c: when switching to the attributes tab build the correct view * structure.c: added function to build attributes view for the tag that the cursor is currently in. fixed structure tree * uploadWizard.c: added code for uploading of individual pages, ftp only at the moment. 2000-05-25 David A Knight <david@ritter.demon.co.uk> * structure.c: the fix html option in the popup menu now works! Missing closing tags are inserted, and closing tags which are mixed up can be fixed. It needs some beautifying work done through. * html.c: * editor.c: removed convert to xhtml functions, as this can be handled by the fix html from the structure tree. * preferences.c: near total rewrite to use a better looking preferences dialog instead of the default Gnome one, involved changed quite a few other files as well. * preferences.h: tidy up the Preferences struct as part of the work on preferences.c 2000-05-24 David A Knight <david@ritter.demon.co.uk> * uploadWizard.c: libgladified, use screem exclude list, and a general clean up, although I may have broken something, but it appears that the pre change code also has the problem so I don't know when it happened. * preview.c: fixed compilation problem with gtkxmhtml grrrr, gtkxmhtml doesn't seem to like having 2 different widgets in the same app 2000-05-23 David A Knight <david@ritter.demon.co.uk> * toolbar.c: find correct help file for the help toolbar item. help now displayed in internal browser. * interface.c: scrolling the page notebook now works * preview.c: a bit of a tidy up removing duplicate code, and adding in support for a help browser * editor.c: added context sensitive help to the editor popup. * siteTreeUI.c: don't show hidden files Show the Exclude Ignore Ascii state in the second column. 2000-05-22 David A Knight <david@ritter.demon.co.uk> * structure.c: now handles tags with optional close tags properly. the struct tree can handle close tags being mixed up, so it should be possible to have a tidy like function built from this. * html.c: get the tags the right way round in screem_html_close_tag(); * print.c: close off a comment * linkView.c: handle absolute links * pageUI.c: allow cancelling of exiting screem when asking for confirmation on saving a page or not * toolbar.c: * interface.c: support a side toolbar in place of the Editor,Preview,Design,Link View tabs 2000-05-21 David A Knight <david@ritter.demon.co.uk> * linkView.c: background now has a popup menu, with options to refresh the view, and print, although the print does nothing at the moment. handle internal anchors better, they now display the correct icon, although they can't be double clicked on. if a link appears more than once in a page, only display 1 icon for it. * interface.c: override the Gnome "Toolbars have text labels" setting as it just looks stupid when you have lots of toolbars. * structure.c: Not to be outdone by Quanta, Screem can now show you a tree of the page structure, clicking on a tree node will take you to that part of the page in the editor. * html.c: screem_html_close_tag() identifies if a tag forces the closure of another. 2000-05-20 David A Knight <david@ritter.demon.co.uk> * spell.c: the new spell checker is now working, although no configuration is supported yet. words still need commas etc removing from the end of them before checking 2000-05-19 David A Knight <david@ritter.demon.co.uk> * siteUI.c: added functions to gather and display site statistics in the site info dialog 2000-05-18 David A Knight <david@ritter.demon.co.uk> * site_guile.c: finished adding the guile glue functions * page_guie.c: finished adding the guile glue functions * script.scm: test out the guile functions * Page.c: call screem_page_set_mod_time() in screem_page_load() stat the page path so we can get its mod time, and also check it even exists. only save a page when screem_page_save() is called if the page has changed. in screem_page_set_data() only change it if the new data doesn't match the old data. in screem_page_set_data() set the page as changed * linkView.c: internal links are no longer displayed as broken. * siteTreeUI.c: fixed broken link updating code to use screem_editor_display_page() rather than screem_page_insert(); 2000-05-17 David A Knight <david@ritter.demon.co.uk> * main.c: call function setup site and page guile procedures * site_guile.c: glue for accessing a screem site from guile Arg! how do I return a pointer for scheme? Whoo! it was PTR2SCM() and SCM2PTR() * page_guile.c: glue for accessing a screem page from guile * plugin.c: removed the plugin script code, now just loads scheme files, which are evaluated when the menu item is clicked via gh_eval_file(); 2000-05-16 David A Knight <david@ritter.demon.co.uk> * main.c: call function to setup editor guile procedures * editor_guile.c: added glue for accessing editor functions from guile. Still todo: * glue for site access, * glue for page access * linkView.c: draw lines linking up the icons If a link is a uri then set the mime-type to x-url/<protocol> to avoid the mime-type of the file being pointed to being used. * support.c: icon_from_mime-type now takes the filename or NULL as the first parameter. Mini versions of the image are used when a filename is given and the mime-type is image/* disabled mini image icon, although the code is still there, it needs some proper calculation code added in so the images don't look streched, ie. scale so that the largest out of x and y is scaled down. To reenable change the define I_LIKE_WASTING_RESOURCES in config.h 2000-05-15 David A Knight <david@ritter.demon.co.uk> * support.c: added another default icon for a mime-type of broken-link. * linkView.c: Icons for broken links have the stock-not.png icon placed over them, the icon is compiled with support.c Link type now determined by parsing the link uri to decide if it is a local file or not merged build_icon() and build_mini_icon() * html.c: added screem_html_parse_uri() 2000-05-14 David A Knight <david@ritter.demon.co.uk> * Site.c: exclude/ignore/ascii remove now works after I got over yesterdays attack of stupidity. * linkView.c: another rewrite in progress Ouch! There was a nasty non terminated recursion if a page had a link to itself. toggle displaying of 3rd level links implemented added white background to link view so it looks nice. Pages can now be opened from the link view! Width of the canvas set up right 2000-05-13 David A Knight <david@ritter.demon.co.uk> * siteTreeUI.c: better refresh tree function that keeps expanded nodes expanded. Upload flags submenu now functional * Site.c: added support for adding/removing files/directories to the exclude/ignore/ascii lists. Hmm, they don't seem to want to be removed. support saving/restoring exclude/ignore/ascii lists in the project file, should the sitecopy file be used instead? 2000-05-08 David A Knight <david@ritter.demon.co.uk> * preview.c: fix problem when using GtkXmHTML * support.c: hopefully fix problem with non existant icons 2000-05-07 David A Knight <david@ritter.demon.co.uk> * editor.c: show the tag underneath the mouse in the editor after a short delay, will eventually show some useful info on the tag. * uploadWizard.c: quick hack to allow specifying a port number in the remote address. * print.c: hacked the gedit printing code into Screem, YUCK! some of the print code from gedit was a mess! * preferences.h: added fields to the struct for the printing settings 2000-05-06 David A Knight <david@ritter.demon.co.uk> * pageUI.c: when closing a page in a site clear the pages undo and redo lists * Page.c: added screem_page_clear_undo_list() * support.c: If an icon file can't be found use the default xpm that is compiled in. * html.c: added function to convert to xhtml 2000-05-03 David A Knight <david@ritter.demon.co.uk> * preferences.c: fix loading of editor key combos 2000-04-30 David A Knight <david@ritter.demon.co.uk> * interface.c: added code to rip apart the notebook toolbar and add them all as individual ones, if the user wants separate toolbars. 2000-04-29 David A Knight <david@ritter.demon.co.uk> * preview.c: clicking on a link that is a local file in your site will open it. 2000-04-28 David A Knight <david@ritter.demon.co.uk> * editor.c: removed gtkextext support added undo/redo support. added screem_editor_display_page() which avoid the insertion of a complete page being added to the undo list. * preferences.c: removed gtkextext support * highlight.{c,h}: removed as they were only used by gtkextext * Page.c: added undo/redo lists to the Page struct added access functions for the lists * pageUI.c: use screem_editor_display_page() 2000-04-27 David A Knight <david@ritter.demon.co.uk> * editor.c: fix auto entity insertion when not set to ON. 2000-04-26 David A Knight <david@ritter.demon.co.uk> * editor.c: place cursor at the end of any inputted text after insertion from popup. change cursor to GDK_XTERM in the text widget Select context now works from the popup menu, although there is still a problem in the function itself. 2000-04-23 David A Knight <david@ritter.demon.co.uk> * support.c: Remove usage of Imlib and replace with GdkPixbuf * support.h: as above, change image in Icon struct to pixbuf * siteTreeUI.c: as support.c * linkView.c: as support.c Screem now requires gdk-pixbuf to build 2000-04-20 David A Knight <david@ritter.demon.co.uk> * interface.c: More Gladification * toolbar.c: move external browsers plugin into the main app Remove creation of toolbars 5, 6, 7, 8 as they are in the notebook now. * glade files: merged all non plugin glade files into one 2000-04-19 David A Knight <david@ritter.demon.co.uk> * interface.c: remove unneeded variables + widgets when creating the interface. 2000-04-18 David A Knight <david@ritter.demon.co.uk> * interface.c: removed resources tab, can be put back by playing about with the glade file. * tag_tree.c: if a node of a given name already exists use that node when an attempt is made to add a new node at the same level with the same name. * siteTreeUI.c: begin to merge site tree and resources tree 2000-04-17 David A Knight <david@ritter.demon.co.uk> * siteWizard.c: applied patch from Sven to add the extra sitecopy options now supported to the site druid. * Site.c: applied patch from Sven to fix bug in reading status of new sitecopy options from the project file. 2000-04-12 David A Knight <david@ritter.demon.co.uk> * html.c: when convertings tags to upper/lower case convert the attribute names as well. * screem_hints.txt: added more hints * siteTreeUI.c: use g_basename() in appropriate places * interface.c: if sitebook is a GtkWindow then don't try and add it into the main interface, display it instead. * pageUI.c: for the page tabs use a GtkDrawingArea rather than GtkHSeparator as it is less conspicious. * frameWizard.c: start of the frameWizard again. Happy Birthday to Screem, or close enough as I can't remember the exact day I started, although I started by creating the interface to what was going to be a News client :-) 2000-04-11 David A Knight <david@ritter.demon.co.uk> * main.c: added GIMP style tip of the day * preferences.c: load/save status of tip of the day * support.c: added add_recent() so the recent menus work properly * pageUI.c: use add_recent() * siteUI.c: use_add_recent() * siteTreeUI.c: use g_basename() rather than g_filename_index() popup menu is now in main.glade. Added a "flags" column to the site tree. * editor.c: added goto line dialog + functionality 2000-04-10 David A Knight <david@ritter.demon.co.uk> * pageUI.c: add confirm saving of page function * main.c: confirm saving of any open individual pages * siteTreeUI.c: added file info option to site tree popup menu * fileops.c: added file info dialog, (interface from Xsitecopy's glade file) 2000-04-08 David Knight <david@ritter.demon.co.uk> * preferences.c: configuring of custom editor keys now works * editor.c: check key presses againt custom editor keys * Site.c, SiteUI.c, uploadWizard.c: Store upload type as a value, rather than a string. * support.c: moved convert_keysym_state_to_string() from preferences.c to here. 2000-04-05 David Knight <david@ritter.demon.co.uk> * tagtree.c: merged bluefishfn.c to reduce no of files * Site.c, SiteUI.c, uploadWizard.c: applied patch from Sven Liessem to support some options for the upload wizard. Made small modification to the patches so the options are not stored as strings * pageUI.c: fixed last mod time bug * main.c: confirm saving of opened sites when quitting * print.c: print preview code for GtkHtml widget 2000-04-01 David Knight <david@ritter.demon.co.uk> lots of little bug fixes * Page.c, pageUI.c: when saving check to see if the page has changed on disk, and if so offer the option of reverting instead of saving 2000-03-11 David Knight <david@ritter.demon.co.uk> * editor.c: highlighting uses cfg->font for now. Put data files in datadir/screem and pixmaps in datadir/pixmaps/screem 2000-03-06 David Knight <david@ritter.demon.co.uk> * editor.c: a few highlighting changes/fixes * imageWizard.c: fix popup menu action * linkWizard.c: fix popup menu action * editor.h: HiColour is now defined here as well as in preferences.h, this isn't very good but will do for now. 2000-03-05 David Knight <david@ritter.demon.co.uk> * editor.c: attempt at auto indent implemented, doesn't work right yet. * preferences.c: add auto_indent option 2000-03-04 David Knight <david@ritter.demon.co.uk> * editor.c: rewritten highlighting, now uses regexps, built the same way as for gtkextext, so the construction code was already there. We can now support highlighting for any language just by adding regexps to deal with the mime type 2000-03-03 David Knight <david@ritter.demon.co.uk> Not really just 3/3 but the past weeks changes. * siteUI.c: fix segfault when importing a site, caused by strcmp'ing the method of uploading as its NULL with a fresh import. change order of actions performed when a site is opened, and if a site is an import give it a name of imported_site, so that even if one isn't set when the settings dialog is displayed we will have one for the combo * pageUI.c: hack to redisplay documents when one has been closed in a site. * editor.c: we have new highlighting code that is much better and doesn't crash, still needs modifying so that perl highlighting works again, can use code already in place for the GtkExText highlighting to generate the regexps needed * linkView.c: don't try and display when we are in a fake site 2000-02-27 David Knight <david@ritter.demon.co.uk> * editMenu.c: Fixed bug in find_text() when replacing existing text. (fixes new page creation problems) * pageWizard.c: Removed some memory leakages 2000-02-16 David Knight <david@ritter.demon.co.uk> * linkView.c: More hacking, It now creates a basic display, at least for 1 level of links. * editor.c: reverted highlighting code 2000-02-07 David Knight <david@ritter.demon.co.uk> I've not been writing these entries as often as I should, anyway, changes include: syntax highlighting in php/asp documents changes to track gtkhtml in CVS, options to switch all tags in a page to lower or upper case, select context option, which will select the current block of html. 2000-01-15 David Knight <david@ritter.demon.co.uk> Reworked how single pages are handled. They are now dealt with in a "fake" site, removes the need to check if we are working on a single page or site. Effects most of the code. 2000-01-08 David Knight <david@ritter.demon.co.uk> * editor.c: added undo + redo functions (only work with gtkextext currently) * configure.in: added options to select to use gtkextext and gtkhtml 2000-01-06 David Knight <david@ritter.demon.co.uk> * preferences.c: added auto entity insertion settings to dialog * editor.c: don't perform auto entity insertion if the setting is off * interface.c: add form_bar as data for the app widget * formWizard.c adds a form button to the form bar * pageUI.c: look for the character set that a page is using upon insertion * toolbar.c: added a forms toolbar * preview.c: load images in gtkhtml widget 2000-01-03 David Knight <david@ritter.demon.co.uk> * editor.c: fixed bug when not using syntax highlighting * editMenu.c: find dialog now uses glade file list in find dialog is hidden unless check all is selected * plugin.c: fixed pthread check so script plugins can run in their own thread if they request to. allow scheme script plugins * main.c: if HAVE_GUILE is defined then we initialise guile * siteTreeUI.c: display resources file tree * preview.c: change gtk_html_new( NULL, NULL ) to gtk_html_new() as per the new function definition (from 1 Jan CVS checkout) 1999-12-23 David Knight <david@ritter.demon.co.uk> * editor.c: clean up after the attributes menu has been closed. * preferences.c: If we have no DEFAULT_COLOURS section then set the default to foreground blue. * menus.h: added the site template editor to the tools menu * css.c: fixed output of Box styles 1999-12-21 David Knight <david@ritter.demon.co.uk> * editor.c: added code for switching to the GtkExText widget when it improves. (not compiled by default) attempted to lessen the "jumping" effect with the syntax highlighting fixed attribute insertion bug. * preferences.c: as editor.c * interface.c: added line/column display (only functional when the GtkExText widget is in use) * siteTree.c: treat php and asp files as text files * css.c: more code for the css wizard * menus.h: added a Tools menu. The css and upload wizards now add entries under this menu. 1999-12-18 David Knight <david@ritter.demon.co.uk> lots of little changes to remove compiler warnings lots of other stuff I can't remember 1999-12-05 David Knight <david@ritter.demon.co.uk> * interface.c: added signals to the browse list * siteTreeUI.c: modified the site tree DnD functions to handle the browse list as well. directory switching in the browse tree is now possible 1999-12-04 David Knight <david@ritter.demon.co.uk> * siteTreeUI.c: added function to build the browse list * interface.c: create a clist for the browse tab * main.c: create initial browse list (in current dir) 1999-12-03 David Knight <david@ritter.demon.co.uk> * siteTreeUI.c: when moving files/directories rename all pages in the site to match any changed paths. * siteUI.c: when switching sites the open page tabs are created correctly, and the current page in the site switched to is displayed in the editor. dirty hack to stop callback on changing the page notebook tabs. * pageUI.c: change for the dirty hack 1999-12-02 David Knight <david@ritter.demon.co.uk> * siteUI.c: added function to rename all pages in a site that are in a specific directory. * siteTreeUI.c: rename now handles renaming of all pages that are in a renamed directory. 1999-12-01 David Knight <david@ritter.demon.co.uk> * siteTreeUI.c: rename file now deals with the open tabs. we no longer erase the old page name from the site, we just alter the page pathname, now why the hell didn't I just do that before? when deleting a directory remove all child pages of that directory. * siteUI.c: added function to remove all pages in a given directory + its subdirectories. fixed a few g_list_remove calls 1999-11-28 David Knight <david@ritter.demon.co.uk> * interface.c: added changed callback on the site combo * PageUI.c: when opening a single page wipe out all sites * siteUI.c: don't close the current site when creating or opening another. when opening added the site to the list of loaded ones. when site combo changes switch current site to the site with the matching name * siteWizard.c: add new site to list of loaded sites * Site.c: remove some debugging output. * Page.c: remove some debugging output. * support.h: added Icons struct * support.c: moved icon_list GList to here added icon_from_mime_type to create or return an already created icon. * siteTreeUI.c: changed icon_list to be extern, included support.h use icon_from_mime_type. * editMenu.c: use the icon_list display an icon for the matching filenames when checking all files Fixed match list so that the horizontal scrollbar is displayed if needed. 1999-11-27 David Knight <david@ritter.demon.co.uk> ensured that all .h files use #ifndef to avoid multiple inclusion * Page.c: added a tab int to store the notebook tab number being used * PageUI.c: added code for dealing with closing pages, ie remove the notebook tab and update all the other page tab numbers started using loaded_pages list so multiple single pages can be loaded at once. * interface.c: added more code to support tabs for open files added a window in the file tree notebook for a resource tree added a window in the file tree notebook for browsing the machines filesystem * cvs.s: removed the -m option from cvs delete * siteUI.c: when closing a site remove the tabs for any open pages * editor.c: pass site pathname to relative path * Site.c: pass site pathname to relative path 1999-11-26 David Knight <david@ritter.demon.co.uk> * preferences.c: fixed bug with apply altering the style of the inline tagging button instead of the editor Fixed bug with reseting tag colours on apply. Fixed crash on right click editor menu by setting a more generic default font * interface.c: fixed settings of the editor data in the main app (was trying to get it from text_area instead of text widget) a notebook has been added underneath the editor notebook to hold tabs for currently opened pages. * pageUI.c: when opening a page add a tab to the page notebook * editor.c: removed a gtk_text_freeze/thaw pair in the highlight code. 1999-11-25 David Knight <david@ritter.demon.co.uk> * applied patch from Christophe Merlet. * Site.c: update_all_links now picks out links internal to the site so it can modify them in the moved file 1999-11-21 David Knight <david@screem.org> added Russian translation * plugin.c: a bit more done on the plugin scripts * cvs.c: fixed the usage of -m "" on cvs update Commited SCREEM to CVS on sourceforge.net 1999-11-15 David Knight <david@screem.org> added Japanese translation * plugin.c: added support for plugin scripts. These are added under the Script submenu of the editor popup and are essential helpers but there are defined commands that can be passed between screem and the plugin to achieve greater control. These are experimental 1999-11-14 David Knight <david@screem.org> added Italian translation German translation includes umlauts now. * editor.c: applied patch from Sven Liessem to insert the html entities for accented characters when the equivalent key was pressed on the keyboard (not intelligent yet) * siteTemplate.c: loading/saving of templates now working. Ability to specify a template file for entries in the site template. (ignored for directories at the moment) Building of a site directory from a template now working. * siteWizard.c: support now included for creating sites from site template files. When creating the default page it is copied from the page template for the site if one has been set. If no page template has been specified in a site template then the default page template for the site will be used if the file is of type text/html 1999-10-27 David Knight <david@screem.org> added Polish and German translations sorted out the pointless function lookups I was doing in the plugins 1999-10-24 David Knight <david@screem.org> * sitedruid.glade: added titles to all druid pages * pagedruid.galde: added titles to all druid pages * preferences.glade: given sample display text widget a string containing a space as its contents to get around a problem with the german translation 1999-10-23 David Knight <david@screem.org> * uploadWizard.c: added CVS to the list of dirs/files to ignore * siteTreeUI.c: icons for the file tree are now loaded from the icon set for the mime type, defaulting to text/plain if the mime_type is unknown * interface.c: removed the different layouts to just concentrate on the tab layout. * preferences.{c,h}: as above * pageUI.c: added function screem_page_insert(), to avoid duplicating code for clicking on a text file in the site tree and opening a single page. * editMenu.c: stopped using REG_NEWLINE in searching, fixes syntax highlighting of tags when the tag + attributes aren't all on 1 line. 1999-10-22 David Knight <david@screem.org> * siteTreeUI.c we no longer destroy/create a file tree when refreshing it. Its now just cleared. * interface.c: all signal connection to the file tree has been moved to here, since we now only create the tree once instead of a new one each time we refresh the file tree 1999-10-21 David Knight <david@screem.org> * siteUI.c: finally sorted out screem_site_save_as fixed bug in recent site list. * cvs.c: update import to update page pathnames upon post import checkout (as the dir name may be different) import now functioning correctly * siteTreeUI.c: option to delete/add when renaming a file. * editor.c: tag attributes dialog semi-working 1999-10-20 David Knight <david@screem.org> * editor.c: tag attribute dialog now inserts the tags current attribute settings (for HTML 4.0 only) Any unknown attributes will just be left alone. Upon opening the tag attribute dialog the tag which was clicked on is highlighted in the editor. * externBrowsers.c (plugin): now supports preview as url, so you can view the effects of cgi's, php etc. The option is configurable, and is either view as url, or just view the file locally, not both at the same time. * preferences.c: added a default font if one isn't found in the config file to avoid the segfaulting upon right clicking on a tag. 1999-10-19 David Knight <david@screem.org> * bluefishfn.c: code to read bluefish function files and create tag tree entries for them all * tagtree.c: call added to create tree nodes for bluefish function files (php_functions etc) * support.c: added function to escape '_' in strings for use as labels in menus (otherwise its taken to mean that the character following it is an accelerator) * siteUI.c: * pageUI.c: use above function in build_recent_*_menu * siteUI.c: when opening a site via the recent menu call screem_site_close_site. 1999-10-17 David Knight <david@screem.org> * siteTreeUI.c: links are now automatically updated when a file or directory in the site is renamed. If the renamed path is for a directory and the given name doesn't end in a directory separator then add one. * cvs.c: cvs import now performs a checkout of the imported site, fixed bug in import function (I was attempting to free the backup_path which is a static area returned by tmpnam) * preferences.c: fixed bug in removing helpers 1999-10-16 David Knight <david@screem.org> * siteTreeUI.c: when moving a file / directory don't actually delete the original until after we have updated any links, otherwise relative_to_full() won't work * Site.c: Fixed problem with updating links where the link was to a file/directory within a moved directory. 1999-10-15 David Knight <david@screem.org> * siteTreeUI.c: fixed copying/moving directories * Site.c: changed screem_site_file_change() splitting it up into separate functions to make it tidier, also updated to support links that are subdirectories of a moved directory. 1999-10-13 David Knight <david@screem.org> * siteUI.c: site settings now correctly sets the remote pathname site settings dialog now uses libglade * Site.c: sorted out the list for pages to act properly, this tidies up screem_site_file_change() somewhat. screem_site_file_change() now honours full pathnames and doesn't change them to relative ones. * siteTreeUI.c: opening a page now correctly changes to the page's directory * link wizard now uses libglade for its dialog 1999-10-10 David Knight <david@screem.org> * image wizard now uses libglade for its dialog * lots of other changes that I never got around to writing a changelog entry for * Page.c (screem_page_read) fixed problem with reading pages ***** ChangeLog for pre-rewrite ***** 1999-08-05 David Knight <david@screem.org> * editor.c Added support for "inline" drops - if the drop is a text file then the contents will be inserted at the drop location. Sorted out some of the syntax highlighting bugs in version 0.1 * preferences.c adding/removing helper apps activates the ok and apply buttons in the dialog 1999-08-03 David Knight <david@screem.org> * spell.c Moved the spell checking code from toolbar.c into its own file (spell.c) Fixed bug in replacing words. Spell checker no longer crashes when closing HTML entities are now ignored by the spell checker 1999-08-02 David Knight <david@screem.org> * editor.c removed the gtk_text_freeze/thaw when inserting text this removes the flickering, but they were there to prevent crashing, which doesn't seem to be happening in current tests. bufferText() no longer calls callHelpers() cursor returns to previous position after accessing the editor menu * Helper.c fixed problem with executing helpers misc other changes/fixes 1999-07-24 David Knight <david@screem.org> * editor.c added xyToCursorPos(), a right click now positions the cursor *before* opening the popup menu, this means that a right click on a tag will allow you to edit its attributes without needing to left click first. 1999-07-23 David Knight <david@screem.org> * Site.c added fileChange() scans all the files in the site and alters links etc to the original file to the new one * fileops.c relativePath() now works from the current directory rather than from the current pages directory. added fullPath() to get the fullpath name for what may be a relative path. 1999-07-20 Lee Mallabone <lee0@callnetuk.com> * configure.in * plugins/Makefile.am Changed to accomodate the new uploadWizard plugin. 1999-07-20 David Knight <david@screem.org> * editor.c added previousTag() to find the first opening tag to the left of the given position. added backElement() * frameWizard.c frameWizard now working, not 100% complete though * editMenu.c searchAll() added. Replace all option added to find/replace dialog 1999-07-18 David Knight <david@screem.org> * editor.c insertText, deleteForward, and deleteBack now perform the gtk_text_freeze/gtk_text_thaw themselves, all files which use these three functions have been modified to reflect this. insertText now checks to see if it is inserting into a tag 1999-07-16 David Knight <david@screem.org> * html.h added all HTML 4.0 attributes for the tags * editor.c added support for inline tagging added tag attribute menu to editor popup fixed a bug with editorDelete added code so a keypress will cause the attribute popup to disappear as the user musn't have wanted it. improved the syntax highlighting. * preferences.h added inlineTagging field * preferences.c added loading/saving of the inline tagging setting added checkbox to misc tab to toggle inline tagging * toolbar.c the tag help combo box now gets its entries from htmlTags (in html.h) 1999-07-12 David Knight <david@screem.org> * editMenu.c added checkbox to find replace dialog for choosing whether or not to use regular expressions 1999-07-11 David Knight <david@screem.org> * editMenu.c added initial code for regular expression support when using find and or find/replace. added support for specifying start of document or cursor position when instigating a find or find/replace * interface.c file tree placed into a notebook second page added to notebook with a GnomeCanvas object in to support showing a link view of the site. Complete HTML 4.0 tag tree file created * plugins/Makefile.am added all the plugins to the SUBDIRS variable, I had missed some of them off in the last release * editor.c added editorCut() editorCopy() editorDelete() and editorPaste() so that cut and paste actions support the syntax highlighting. * plugins/galleryWizard the beginings of a wizard that will , when given a directory containing images, create a set of pages containing thumbnail links to them. 1999-07-10 David Knight <david@screem.org> * Page.c fixed file creation segfaulting when editing a site title / colour settings for new page are now applied upon creation. * editor.c fixed crashing out when inserting tags * new plugins: fishGuts, takes the Bluefish toolbar and makes it into a Screem plugin, missing out some features though. * siteTree.c: added renameFile() * fileops.c: added overwrite check to moveFile(); 1999-07-06 David Knight <david@screem.org> Well a week after I rm *'ed the src directory I've finally been mailed the source, from the day before it, from Matthew (he's had a few problems with Redhat 6) * fileops.c when copying files a dialog will appear asking for confirmation of file overwrites rather than simple failing * Page.c New page dialog radically updated * all plugins are now kept in a directory of their own. * new plugins: externalBrowsers, enables users to add upto 3 external browsers and choose an icon to show in the toolbar frameWizard, doesn't do anything yet, other than show the dialog, close by closing the window as the buttons aren't connected up yet. * preferences.c fixed crashing when changing font if you are not working on a site with a page currently open * added docs directory with a few text files explaining some of screems features. 1999-06-29 David Knight <david@screem.org> * html.h Added html entities for special character encodings * toolbar.c Added a justify button to the toolbar * Page.c Change to page's directory before displaying the preview (so the preview can find the images) * editor.c Added insertMarkup() to add open/close tags, handles inserting tags around selected region. * toolbar.c insertTag now calls insertMarkup() * tagType.c tagNodeClick now calls insertMarkup() 1999-06-28 David Knight <david@screem.org> * preferences.c Tag colour selection now working * editor.c Insert tags in the correct colours * toolbar.c Spell checker working (segfaults on exit though) * fileops.c Added recursive mkdir function * Site.c Page.c Non existant directories in path names are now created with the above function. * editMenu.c Changed find/replace dialogs to be the same one, with a toggle button for switing replace off. Changed the search function to use strstr() * plugins/imageWizard.c Removed * plugins/imageWizard/ImageWizard.c added, a greatly improved image wizard * plugins/ssiWizard.c * plugins/ssiWizard.h * plugins/ssiWizard_handlers.c * plugins/ssiWizard_handlers.h added Server Side include wizard, by Lee Mallabone * include/htmled.h renamed * include/screem.h replaces above file * include/html.h contains the HTML tag group information for syntax highlighting 1999-06-15 David Knight <david@screem.org> Whoops, keep forgetting to update this, heres some of the changes * preferences.c Support added for loading/saving tag trees, Tag colour selection dialog updated. * main.c Allowing passing of project file / html file on the command line *(multiple files) Can now edit single pages * Site.c project filename changed to project.screem Site settings dialog reworked * editor.c creation of the editor area is now in this file Drag and drop support added Syntax highlighting / tag identification added editor popup menu moved to this file * interface.c added support for a different layout style removed editor creation code * siteTree.c gtk_clist_freeze/thaw used when constructing the directory tree, so it doesn't take very long when loading a site anymore Drag and drop support * transfer.c stubs for uploading support * toolbar.c added spellchecker dialog, not functioning yet Todo dialog now fully functioning * Plugins.c plugins altered, they now take an extra parameter to handle editing single pages Checking for plugins in other directories added 1999-05-27 David Knight <david@ritter.demon.co.uk> * Added i18n support * Site.c template loading added, template path added to xml project file * Page.c Added use template check box to new page dialog 1999-05-25 David Knight <david@ritter.demon.co.uk> * interface.c added drop support for the editor area * editor.c when receiving a file/url drop the name is inserted into the page at the current cursor position * siteTree.c page selection now requires double clicking, need to support dragging a file from here to the editor area without the page changing. * Page.c fixed new page creation 1999-05-20 David Knight <david@ritter.demon.co.uk> * Plugins.c added support for plugins * linkWizard.c tableWizard.c imageWizard.c all moved to being plugins * toolbar.c tag help now working for present entries view in external browser functioning wizard toolbar no longer displays anything, buttons are added by the plugins Todo dialog/button added to toolbar * menus.h added CVS menu (does nothing yet) removed entries under insert menu, entries are added by plugins 1999-05-14 David Knight <david@ritter.demon.co.uk> * tableWizard: applied patch from Lee Mallabone to disable/enable entries if they are set to being used. Patch also made entries into spinboxes * toolbar.c: removed compile warnings * siteTree.c: doesn't show the xml project file * linkWizard.c: added link wizard * editMenu.c: removed compile warnings * Site.c: save xml project file, added CSS tab to create site wizard * interface.c: removed compile warnings 1999-05-08 David Knight <david@ritter.demon.co.uk> * tagType.c: editorArea now grabs focus when a tag in the tree is selected. * toolbar.c: removed the dirty hacky code for the attribute buttons * Site.c: now saves out an xml file upon site creation as project.prj * imageWizard.c: started image wizard * toolbar.c: updated for image wizard 1999-05-03 David Knight <david@ritter.demon.co.uk> * Helper.c: callHelper() written and working (tested using tidy) * editor.c: moved call to callHelper() to correct place 1999-05-02 David Knight <david@ritter.demon.co.uk> * Helper.c: added helperNew() and helperDestroy() functions initHelpers no longer sets the config prefix saveHelpers added * interface.c: bookPage no longer static * preferences.c: added helper application tab * siteTree.c: selecting a new page in the site tree when under the preview tab now updates the preview to that page * tableWizard.c: now implements all the options in the wizard 1999-05-01 David Knight <david@ritter.demon.co.uk> tableWizard.c: All the options in the dialog apart from the background section are now working and will insert the tags to create the table toolbar.c: added a button for the image wizard