1 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxparagraph.[Ch]: add copy constructor, remove Clone
5 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6 (pasteSelection): likewise
7 * text2.C (CreateUndo): likewise
9 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * minibuffer.C (peek_event): temporarily reduce the functionality
12 of the minibuffer (to allow args on lfuns)
14 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17 * buffer.C (readInset): add compability reading of old float
18 lists, add reading of new style float list.
19 (readInset): avoid reevaluation of inscmd.getCmdName()
22 * MenuBackend.C (MenuItem): implement parsing of
23 md_floatlistinsert and md_floatinsert.
24 (expand::LastFiles): move initalizaton of iterators out of loop,
26 (expand::Documents): introduce typdedef vector<string> Strings,
28 (expand::ExportFormats): introduce typedef vector<Format const *>
30 (expand): implement FloatListInsert and FloatInsert.
32 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
33 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
34 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
36 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
38 (Dispatch::LFUN_FLOAT_LIST): implement
40 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
42 * LaTeX.C (run): Fix problem with --export code.
44 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
46 * BufferView.[Ch] (workarea): removed.
47 (getClipboard) new method; wrapper for workarea()->getClipboard()
49 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
52 * WorkArea.h (width, height, xpos, ypos): These methods all
53 returned the dimensions of the work_area sub-area of WorkArea,
54 resulting in a position error if the WorkArea were resized. Now
55 return the dimensions of the entire WorkArea.
57 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
59 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
61 * LaTeX.C (deplog): correct the syntax of regex reg1
63 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
65 * undo.C: remove !NEW_INSETS cruft
67 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
69 * text2.C: remove !NEW_INSETS cruft
71 * text.C: remove !NEW_INSETS cruft
73 * tabular.C: remove !NEW_INSETS cruft
75 * spellchecker.C: remove !NEW_INSETS cruft
77 * lyxtext.h: remove !NEW_INSETS cruft
79 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
81 * lyxfunc.C: remove !NEW_INSETS cruft
83 * lyxfind.C: remove !NEW_INSETS cruft
85 * lyx_cb.C: remove !NEW_INSETS cruft
87 * figureForm.C: remove !NEW_INSETS cruft
89 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
91 * buffer.[Ch]: remove !NEW_INSETS cruft
93 * ToolbarDefaults.C: remove !NEW_INSETS cruft
95 * CutAndPaste.C: remove !NEW_INSETS cruft
97 * BufferView_pimpl.C: remove !NEW_INSETS cruft
99 * BufferView2.C: remove !NEW_INSETS cruft
101 * BufferView.h: remove !NEW_INSETS cruft
103 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
105 * Lsstream.h: include LString.h before the sstream headers to
106 fix problem with gcc 2.95.3 and lyxstring
108 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
110 * lyx_main.C: add using directives when needed for C functions
111 declared in std:: namespace.
113 2001-04-27 Juergen Vigna <jug@sad.it>
115 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
116 (SetHeightOfRow): comment out the update call should not be needed!
118 2001-04-13 Juergen Vigna <jug@sad.it>
120 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
121 (LyXTabular): tried to minimize operator= operations (and realized
124 2001-04-27 Juergen Vigna <jug@sad.it>
126 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
128 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
130 * lyxfunc.C (Dispatch): hack to make listof algorithm work
132 * buffer.C (readInset): hack to make listof algorithm work
134 * BufferView_pimpl.C: hack to make listof algorithm work
136 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
138 * LyXAction.C: removed all !NEW_INSETS cruft
139 (init): moved lfun_item in method
141 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
143 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
145 * BufferView2.C (theLockingInset): white space.
147 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
149 * minibuffer.C: include <iostream>
151 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
153 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
155 * commandtags.h: add LFUN_TRANSPOSE_CHARS
157 * text.[Ch] (TransposeChars): new method
159 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
161 * call message directly through LyXView instead of through LyXFunc
162 * BufferView2.C: adjust
163 * BufferView_pimpl.C: adjust
164 * FontLoader.C: adjust
166 * bufferview_funcs.C: adjust
167 * converter.C: adjust
168 * figureForm.C: adjust
171 * lyx_gui_misc.C: adjust
175 + more files in subdirs
177 * lyxparagraph.h (size): move up int file
180 * adjust all uses of Assert to lyx::Assert.
182 * BufferView2.C (ChangeCitationsIfUnique): adjust for
183 lyxfunctional in namespace lyx
184 * layout.C (hasLayout): ditto
187 (delete_layout): ditto
188 (NumberOfClass): ditto
189 * converter.C (GetFormat): ditto
194 * bufferlist.C (getFileNames): ditto
195 (emergencyWriteAll): ditto
198 * MenuBackend.C (hasSubmenu): ditto
201 * BufferView_pimpl.C (getInsetByCode): ditto
203 2001-04-18 Juergen Vigna <jug@sad.it>
205 * vspace.C (asLatexString): fixed the 100% problem.
207 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * lyxfunc.C (Dispatch):
211 * minibuffer.h: add a few std:: qualifiers
213 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
215 * minibuffer.[Ch]: reimplement so that commands is initiated and
216 run from lyxfunc, simplified som handling, and made the completion
217 and history code for complete. wip.
219 * lyxfunc.C (processKeySym): call message
220 (miniDispatch): new temporary method
221 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
222 (LFUN_MESSAGE): implement
223 (LFUN_MESSAGE_PUSH): implement
224 (LFUN_MESSAGE_POP): implement
225 (initMiniBuffer): the initial/defualt minibuffer message.
227 * lyxfont.[Ch]: inline some more getters
229 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
231 * lyx_gui_misc.[Ch] (WriteStatus): remove method
233 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
234 (AutoSave): use LFUN_MESSAGE
237 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
239 * figureForm.C: use LFUN_MESSAGE
241 * converter.C (runLaTeX): use LFUN_MESSAGE
243 * bufferview_funcs.C: use LFUN_MESSAGE
247 * bufferparams.h: use boost::
249 * bufferlist.h: inherit privately from noncopyable
251 * bufferlist.C (loadLyXFile): remove some commented code.
253 * buffer.C (runChktex): use LFUN_MESSAGE
255 * ShareContainer.h: inherit privately from noncopyable
257 * ParagraphParameters.[hC] (depth): inline it.
259 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
261 (message): new method
264 (show): init minibuffer
265 (showState): direct call
267 * LaTeX.[Ch]: inherit privately from noncopyable
268 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
269 instead of WriteStatus.
271 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
273 * BufferView_pimpl.C (buffer): don't init minibuffer
274 (workAreaButtonPress): use LFUN_MESSAGE
275 (workAreaButtonRelease): ditto
276 (savePosition): ditto
277 (restorePosition): ditto
278 (MenuInsertLyXFile): ditto
279 (workAreaExpose): don't init minibuffer
280 (update): remove commented code, simplify
282 * BufferView2.C (openStuff): use LFUN_MESSAGE
286 (copyEnvironment): ditto
287 (pasteEnvironment): ditto
292 (updateInset): remove some commented code
294 * lastfiles.h: inherit privately from noncopyable
299 * lyxlex_pimpl.h: ditto
301 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
302 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
303 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
305 * LyXAction.h: inherit privately from noncopyable, add methods
306 func_begin, func_end, returning iterators to the func map.
308 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
309 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
310 (func_begin): new method
311 (func_end): new method
313 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
315 (copySelection): ditto
316 (pasteSelection): ditto
318 * BufferView.C: whitespace change
319 * BufferView.h: inherit privately from noncopyable
321 2001-04-16 Allan Rae <rae@lyx.org>
323 * tabular-old.C (l_getline):
324 * spellchecker.C (sc_check_word):
325 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
326 an unrecognised preprocessor directive. So ensure they're wrapped.
328 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
330 * src/exporter.C (Export): Give an error message when path to file
333 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
335 * LaTeX.C (deplog): Always check that foundfile exists.
337 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
340 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
342 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
344 * tabular.[Ch] (getLabelList): implement new method
346 * minibuffer.h: comment ouf setTiimer
348 * minibuffer.C (ExecutingCB): constify res
349 (peek_event): constify s
350 (Set): constify ntext
351 (Init): constify nicename
353 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
355 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
356 (savePosition): use two params to Minibuffer::Set
357 (restorePosition): ditto
359 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
361 * lyx_main.C: include language.h
363 * Makefile.am (lyx_main.o): add language.h
365 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
371 * CutAndPaste.C: include gettext.h
373 * lyxfont.h: remove old hack with ON and OFF.
376 * lyxfont.h: do not include language.h...
381 * bufferview_funcs.C:
387 * paragraph.C: ... but do it here instead
389 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
391 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
393 * tabular.C: small reformat
395 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
398 (BreakParagraph): ditto
399 (SetOnlyLayout): ditto
402 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
405 * lastfiles.C: removed most using decl, add std:: where needed
407 * buffer.C: ws changes
409 * MenuBackend.C (class compare_format): put into anon namespace
410 (expand): constify label, names, action, action2
413 * text.C (SingleWidth): constify font
414 (IsBoundary): constify rtl2
415 (GetVisibleRow): constify ww
417 * LaTeX.C (deplog): constify logfile
419 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
421 (workAreaExpose): constify widthChange, heightChange
423 * lyxrow.C (par): moved
426 * lyxrow.h: as inlines here
428 * lyxfont.h (shape): moved from lyxfont.C
429 (emph): moved from lyxfont.C
431 * lyxfont.C (LyXFont): use initialization list for all
433 (shape): move to lyxfont.h as inline
434 (emph): move to lyxfont.h as inline
437 2001-04-04 Juergen Vigna <jug@sad.it>
439 * vspace.C: had to include stdio.h for use of sscanf
441 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
444 * BufferView_pimpl.h: remove xforms cruft. Both classes are
445 independent of xforms.
447 2001-04-02 Juergen Vigna <jug@sad.it>
449 * spellchecker.C: fixed namespace placing!
451 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
453 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
454 the LyXParagraph * is 0.
456 2001-03-29 Juergen Vigna <jug@sad.it>
458 * vspace.C: added support for %, c%, p%, l%.
459 (stringFromUnit): added helper function.
460 (asLatexString): changed to give right results for the %-values.
462 * buffer.C: convert the widthp in a width%.
464 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
466 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
469 * figureForm.[Ch]: stripped the FD_from_figure manipulation
470 code out of lux_cb.[Ch], ready for its (imminent?) removal.
472 * lyx_cb.[Ch]: see above.
474 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
478 * lyx.[Ch]: replaced by figure_form.[Ch].
482 * lyxfunc.C: changed headers associated with above changes.
484 2001-03-27 Juergen Vigna <jug@sad.it>
486 * BufferView_pimpl.C: set the temporary cursor right!
488 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
490 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
492 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
494 * LString.h: removed "using std::getline"!
496 * BufferView_pimpl.C (Dispatch): changes due to changes in
497 InsetInclude::Params.
499 * buffer.C (tag_name): removed redundant break statements as they were
500 producing lots of warnings with my compiler.
502 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
504 * LString.h: add "using std::getline" when using the real <string>.
506 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
508 * buffer.C: removed bitset usage.
509 PAR_TAG moved to an anonymous name space.
510 (tag_name): new funtion, also in the anonymous namespace.
511 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
512 (makeDocBookFile): clean code. Completed transition from string arrays
514 (SimpleDocBookOnePar): code clean.
516 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
518 * tabular.C: add some comments.
520 2001-03-22 Juergen Vigna <jug@sad.it>
522 * buffer.C (parseSingleLyXformat2Token): redone the minipage
523 compatibility read a bit and fixed bug with minipage in different
526 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
528 * buffer.C (pop_tag): removed.
530 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
531 array replaced with vector. Added support for CDATA sections.
532 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
534 (makeDocBookFile): XML conformant declaration of CDATA section,
535 fixed bug related to <emphasis> in the first paragraph char.
536 (sgmlOpenTag): exclude empty tags.
537 (sgmlCloseTag): ditto.
539 * buffer.h (pop_tag): removed.
542 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
544 * language.h (Languages): added size_type and size().
546 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
548 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
549 response on compability reading of minipages. One probliem is that
550 the old usage of minipages was «flertydig»
552 * several files here and in subdirs: don't use static at file
553 scope use anon namespaces instead.
555 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
557 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
558 LaTeX output. This is necessary for Literate document
561 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
563 * buffer.C: insert hfill when needed.
565 * tabular.C (l_getline): use string::erase, small whitespace change.
567 * BufferView_pimpl.C: try the anon namespace.
570 2001-03-16 Juergen Vigna <jug@sad.it>
572 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
573 otherwise it won't open options-dialogs.
575 * buffer.C: honor pextraWidth(p) on converting minipages.
577 * tabular.C (l_getline): changed the functions to strip trailing \r.
579 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
581 * BufferView_pimpl.C:
582 * minibuffer..C: added "using SigC::slot" declaration.
584 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
586 * lyxlex_pimpl.h: noncopyable is in namespace boost.
594 * lyxtext.h: NO_PEXTRA
596 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
598 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
599 * ParameterStruct.h: ditto
600 * ParagraphParameters.h: ditto
601 * lyxparagraph.h: ditto
603 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
605 * buffer.C: add compability for minipage alignment.
606 (latexParagraphs): remove unwanted pextra check.
608 * several files: remove CXX_WORKING_NAMESPACES
610 * buffer.C (pop_tag): tie is in namespace boost
612 * BufferView.h: noncopyable is in namespace boost
618 * bufferlist.h: ditto
619 * ShareContainer.h: ditto
624 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
626 * Merging changes from BRANCH_MVC back into HEAD.
628 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
630 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
632 * BufferView_pimpl.C: change from intl.C
636 * Makefile.am: move combox.*
642 * intl.C: remove dialog (covered by prefs)
644 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
646 * lyxfunc.C (Dispatch): removed redundant break statement.
648 2001-03-14 Juergen Vigna <jug@sad.it>
650 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
652 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
654 * buffer.C: add hack to fix compability reading of minipages.
656 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
658 * buffer.C (getLists): Cleanup.
660 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * lyxfont.C (update): don't honor toggleall on font size.
664 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
668 * Makefile.am: moved to frontends/xforms/
672 * BufferView_pimpl.C: changes for moved mathpanel
674 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
676 * gettext.h: fix gettext_init() in --disable-nls
678 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
680 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
682 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
685 * lyx.h: strip external form
687 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
689 * BufferView_pimpl.C: add comment, destroySplash()
691 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
693 * BufferView_pimpl.C:
697 * lyxfunc.C: use re-worked insetinclude
699 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
701 * buffer.C: add using std::stringstream.
703 * lyx_cb.C: readd using std::ios.
705 * buffer.C: add using std::map.
707 * BufferView_pimpl.C: add using std::vector.
709 * ShareContainer.h: add std:: to swap.
711 * buffer.h: add some typedefs
712 * buffer.C (getLists): use them
713 (getLists): renamed from getTocList.
714 add a counter for the different float types and use it in the
716 (getLists): use the same counter for the NEW_INSETS and the "non"
719 * lyx_cb.h: remove unused items, includes, using etc.
721 * ShareContainer.h: remove some commented code, add more comments
724 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
726 * buffer.C (getTocList): make the list also when NEW_INSETS is
729 * buffer.h: remove TocType
731 * buffer.C (getTocList): change to return a map<string,
732 vector<TocItem> >, implement for dynamic number of list.
734 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
735 * text2.C (PasteSelection): adjust
736 * CutAndPaste.C (pasteSelection): adjust
738 * FloatList.C (FloatList): update from the new_insets branch.
739 * Floating.[Ch]: ditto
740 * LaTeXFeatures.C: ditto
742 * lyxlex_pimpl.C: ditto
744 * paragraph.C (Last): remove when NEW_INSETS is defined.
746 * other file: changes because of the above.
748 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
750 * lyxparagraph.h: rename next to next_, previous to previous_,
751 make them private for NEW_INSETS. Rename Next() to next(),
752 Previous() to previous().
754 * other files: changes because of the above.
756 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
759 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
762 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
764 * main.C (main): pass lyx_localedir to gettext_init().
766 * gettext.h: remove locale_init and gettext_init macros
768 * gettext.C (locale_init): new function
769 (gettext_init): new function
771 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
774 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
776 * Moved credits to frontends:
777 * credits.[Ch]: removed
778 * credits_form.[Ch]: removed
779 * lyx_gui_misc.C: remove credits stuff
782 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
784 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
786 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
789 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
790 a standalone pointer again.
792 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
794 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
809 * BufferView_pimpl.C: use new file dialog in GUII
812 * lyx_cb.C: remove LayoutsCB to Toolbar
814 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
816 * ShareContainer.h (get): add std:: qualifier
818 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
820 * ShareContainer.h: define a proper ShareContainer::value_type
821 type (and use typename to please compaq cxx)
823 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
825 * lyxparagraph.h: move serveral local vars to
826 ParameterStruct/ParagraphParameters., use ShareContainer in
827 FontTable., make vars in FontTable private and add getter and
830 * paragraph.C: changes because of the above.
832 * lyxfont.h: remove copy constructor and copy assignment. (the
833 default ones is ok), move number inside FontBits. move inlines to
836 * lyxfont.C: add number to initializaton of statics, move several
837 inlines here. constify several local vars. some whitespace
838 cleanup. Dont hide outerscope variables.
840 * Spacing.h: add two new constructors to match the set methods.
842 * ShareContainer.h: new file, will perhaps be moved to support
844 * ParameterStruct.h: new file
846 * ParagraphParameters.h: new file
848 * ParagraphParameters.C: new file
850 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
851 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
853 * BufferView_pimpl.C: ParagraphParameter changes.
854 * buffer.C: Likewise.
855 * bufferview_funcs.C: Likewise.
859 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
861 * lyxfind.C (LyXReplace): do not redefine default argument in
863 (IsStringInText): ditto
864 (SearchForward): ditto
865 (SearchBackward): ditto
867 2001-03-06 Juergen Vigna <jug@sad.it>
869 * lyxfind.C (IsStringInText): put parentes around expressions.
871 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
873 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
875 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
877 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
879 * stl_string_fwd.h: add comment
881 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
884 * tabular.C: remove unused DocBook methods
890 killed DO_USE_DEFAULT_LANGUAGE
892 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
894 * lyx_gui.C: do not include language.h.
896 * bufferview_funcs.C (ToggleAndShow): do not provide optional
897 arguments in function implementation.
899 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
901 * BufferView_pimpl.C: add <ctime>
903 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
905 * BufferView_pimpl.C: add using std::find_if
907 2001-02-27 José Matos <jamatos@fep.up.pt>
909 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
912 2001-02-11 José Matos <jamatos@fep.up.pt>
914 * buffer.C (makeDocBookFile): command styles now have a parameter as
917 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
919 * layout_forms.[Ch]: removed
920 * lyx_cb.[Ch]: out character
921 * lyx_gui.C: out character
922 * lyx_gui_misc.C: out character
923 * bufferview_funcs.C: : out character,
924 added toggleall as parameter in ToggleAndShow
926 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
928 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
930 * text2.C (SetCurrentFont): Disable number property at boundary.
932 2001-02-26 Juergen Vigna <jug@sad.it>
934 * lyxfunc.C (getStatus): added a string argument override function so
935 that this is correctly called from LyXFunc::Dispatch if it contains a
936 do_not_use_argument which is used!
937 (Dispatch): added check for "custom" export and call appropriate func.
939 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
941 * lyxrc.C: Add language_command_local, language_use_babel and
942 language_global_options.
944 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
946 * buffer.C (makeLaTeXFile): Use language_use_babel and
947 language_global_options.
949 2001-02-23 Juergen Vigna <jug@sad.it>
951 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
952 which works with LyXText and putted it inside BufferView. Here now we
953 only call for that part the BufferView::Dispatch() function.
955 * BufferView.C (Dispatch): added.
957 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
958 functions which needs to use a LyXText over from LyXFunc.
959 (MenuInsertLyXFile): added
960 (getInsetByCode): added
961 (moveCursorUpdate): added
964 2001-02-22 Juergen Vigna <jug@sad.it>
966 * BufferView_pimpl.C (update): call a status update to see if LyXText
969 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
971 * vc-backend.C (revert): implement for CVS
972 (getLog): implement for CVS
974 2001-02-20 Juergen Vigna <jug@sad.it>
976 * text2.C (ClearSelection): added BufferView param for inset_owner call
978 * lyxfunc.C (TEXT): added this function and use it instead of
979 directly owner->view()-text of getLyXText().
981 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
983 * src/layout_forms.C: out preamble
984 * src/layout_forms.h: out preamble
985 * src/lyx_cb.C: out preamble
986 * src/lyx_cb.h: out preamble
987 * src/lyx_gui.C: out preamble
988 * src/lyx_gui_misc.C: out preamble
989 * src/lyxfunc.C: connect with guii preamble
991 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
993 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
995 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
997 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
998 whether to run bibtex.
1000 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1002 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1004 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1006 * Makefile.am (lyx_SOURCES): removed bibforms.h
1010 * text.C (GetVisibleRow): make several local vars const
1012 * tabular.C: small cleanup.
1014 * lyxserver.C (callback): use compare instead of strncmp
1016 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1017 inlines to after class or to paragraph.C
1019 * lyxfont.h: remove friend operator!=
1021 * converter.h: move friend bool operator< to non friend and after
1024 * combox.h: small cleanup
1026 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1027 to inlines after class def.
1029 * buffer.C (pop_tag): use string operations instead of strcmp
1031 * bmtable.c: doxygen, small cleanup
1033 * LaTeX.h: remove friend operator==
1035 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1047 * BufferView_pimpl.C:
1048 * BufferView.[Ch]: remove cruft
1050 2001-02-14 Juergen Vigna <jug@sad.it>
1052 * lyxfunc.C: removed #if 0 unused code
1054 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1056 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1058 * text2.C (SetSelection): added a BufferView * parameter
1060 2001-02-13 Juergen Vigna <jug@sad.it>
1062 * lyxfunc.C (Dispatch): fixed protected blank problem.
1063 * BufferView2.C (protectedBlank): added LyxText * parameter.
1065 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1066 (AppendColumn): same as above for column_info.
1068 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1069 (moveCursorUpdate): use a LyXText param for support of InsetText.
1071 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1072 (tripleClick): ditto
1074 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1076 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1078 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1080 * text2.C (SetSelection): set correct update status if inset_owner
1083 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1085 * tabular.C: remove some commented code.
1087 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1089 * BufferView_pimpl.C: call hideSplash()
1091 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1094 * bibforms.h: remove
1097 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1098 add LFUN_CHILD_CREATE
1100 * counters.h: fix tiny typo
1105 * lyx.C: move splash to frontends/xforms/
1107 * lyx_gui_misc.C: move Include and Bibform to frontends
1109 * lyxvc.h: clarify comment
1111 * vspace.C: tiny housekeeping
1113 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1115 * text.C (PrepareToPrint): RTL Fix.
1117 * paragraph.C (GetUChar): New method.
1118 (String): Use GetUChar.
1120 * buffer.C (asciiParagraph): Use GetUChar.
1122 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1124 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1126 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1129 * buffer.C: rename to getLogName(), handle
1130 build log / latex log nicely
1132 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * MenuBackend.h: remove support for reference menuitem type.
1137 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1139 * BufferView_pimpl.C: housekeeping
1140 * BufferView_pimpl.h:
1145 * minibuffer.h: move Timeout GUI-I
1147 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1149 * lyxrc.C (read): Update converters data-structures.
1151 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1153 * LaTeX.h (operator!=): add operator != for Aux_Info
1155 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1157 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1159 * LaTeXLog.C: deleted, useful code moved to Buffer
1162 * buffer.C: new function getLatexLogName()
1168 * lyxfunc.C: use frontends for LaTeX and VC logs
1170 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1172 * LaTeX.h: yet another std:: that Allan forgot.
1174 * Variables.C (set): renamed from isset(), because this clashes
1175 with some HP-UX macros (grr).
1177 2001-02-06 Allan Rae <rae@lyx.org>
1179 * LaTeX.h: Another bug fix. Missing std:: this time.
1181 2001-02-04 Allan Rae <rae@lyx.org>
1183 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1184 floats problem. I've left it commented out because it's not quite
1185 correct. It should also test that the current object is a table or
1186 figure inset. But I haven't gotten around to figuring out how to do
1187 that. I *think* it'll be something like: "table" == inset.type()
1189 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1192 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1194 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1195 all the citation/databases/styles in the auxilary file.
1196 (run): Rerun latex if there was a babel language error.
1198 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1200 * text.C (Backspace): Preserve the font when changing newline char
1202 (BreakParagraph): If the cursor is before a space, delete the space.
1204 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1206 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1208 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1209 new argument (code).
1210 (ChangeCitationsIfUnique): New method.
1212 * paragraph.C (GetPositionOfInset): Handle bibkey.
1214 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * BufferView_pimpl.h: change type of Position::par_pos to
1217 LyXParagraph::size_type.
1219 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1221 * BufferView_pimpl.C (savePosition, restorePosition): Write
1222 messages to minibuffer.
1224 2001-01-28 José Matos <jamatos@fep.up.pt>
1226 * buffer.C (makeDocBookFile): adds support for document language.
1227 A silly restriction on the name of LatexCommand types where removed.
1228 Added support for CDATA sections, allows to chars unescaped, used
1229 among others in code, to avoid escape < and >.
1231 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1233 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1234 saved positions instrad of a stack. Furthermore, a position is
1235 stored using paragraph id/paragraph position.
1237 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1238 Remove LFUN_REF_BACK.
1240 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1242 * converter.C (dvipdfm_options): New method.
1244 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1246 * vspace.C (isValidLength): Fix for empty input string.
1248 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1250 * LyXAction.C (init): change description of LFUN_FIGURE to
1253 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1255 * LaTeX.C: add using directive
1257 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1259 * MenuBackend.C (expand): Fix the sorting of the formats.
1261 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1263 * lyx_main.C: tiny error message fix
1265 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1267 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1268 calling fl_initialize(). This fixes the problem with ',' as
1269 decimal separator in text files.
1271 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1273 * trans.C (process): Fix the keymap bug.
1275 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1277 * LaTeX.C (scanAuxFiles): New method. Provides support for
1278 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1279 (scanLogFile) Scan for "run BibTeX" messages.
1281 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1282 OT1 font encoding. Also, load the aecompl package if the ae
1285 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1287 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1289 * texrow.C (increasePos): turn two error messages into debug
1292 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1294 * LaTeX.C (scanAux): Handle the \@input macro.
1295 (runBibTeX): Use scanAux().
1297 * language.C (latex_options_): New field.
1299 * LaTeXFeatures.C (getMacros): Add language macros.
1301 * buffer.C (makeLaTeXFile): Small fix.
1303 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1305 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1307 * text2.C: add a using directive.
1309 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1314 * lyxfunc.C: kill LyXBell.
1316 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1318 * text.C (IsBoundary): Remove the error message
1320 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1322 * lyxrc.C (setDefaults): Correct initialization value for
1325 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1327 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1330 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1333 * src/LyXAction.C: Added reference-next.
1335 * text.C (InsertChar): Use contains instead of strchr.
1337 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1339 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1341 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1342 alignment commands (when needed).
1344 * text.C (InsertChar): Add ':' to number separator chars.