1 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3 * LaTeX.C (run): Fix problem with --export code.
5 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7 * BufferView.[Ch] (workarea): removed.
8 (getClipboard) new method; wrapper for workarea()->getClipboard()
10 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13 * WorkArea.h (width, height, xpos, ypos): These methods all
14 returned the dimensions of the work_area sub-area of WorkArea,
15 resulting in a position error if the WorkArea were resized. Now
16 return the dimensions of the entire WorkArea.
18 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
20 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
22 * LaTeX.C (deplog): correct the syntax of regex reg1
24 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
26 * undo.C: remove !NEW_INSETS cruft
28 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
30 * text2.C: remove !NEW_INSETS cruft
32 * text.C: remove !NEW_INSETS cruft
34 * tabular.C: remove !NEW_INSETS cruft
36 * spellchecker.C: remove !NEW_INSETS cruft
38 * lyxtext.h: remove !NEW_INSETS cruft
40 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
42 * lyxfunc.C: remove !NEW_INSETS cruft
44 * lyxfind.C: remove !NEW_INSETS cruft
46 * lyx_cb.C: remove !NEW_INSETS cruft
48 * figureForm.C: remove !NEW_INSETS cruft
50 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
52 * buffer.[Ch]: remove !NEW_INSETS cruft
54 * ToolbarDefaults.C: remove !NEW_INSETS cruft
56 * CutAndPaste.C: remove !NEW_INSETS cruft
58 * BufferView_pimpl.C: remove !NEW_INSETS cruft
60 * BufferView2.C: remove !NEW_INSETS cruft
62 * BufferView.h: remove !NEW_INSETS cruft
64 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
66 * Lsstream.h: include LString.h before the sstream headers to
67 fix problem with gcc 2.95.3 and lyxstring
69 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
71 * lyx_main.C: add using directives when needed for C functions
72 declared in std:: namespace.
74 2001-04-27 Juergen Vigna <jug@sad.it>
76 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
77 (SetHeightOfRow): comment out the update call should not be needed!
79 2001-04-13 Juergen Vigna <jug@sad.it>
81 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
82 (LyXTabular): tried to minimize operator= operations (and realized
85 2001-04-27 Juergen Vigna <jug@sad.it>
87 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
89 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
91 * lyxfunc.C (Dispatch): hack to make listof algorithm work
93 * buffer.C (readInset): hack to make listof algorithm work
95 * BufferView_pimpl.C: hack to make listof algorithm work
97 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
99 * LyXAction.C: removed all !NEW_INSETS cruft
100 (init): moved lfun_item in method
102 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
104 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
106 * BufferView2.C (theLockingInset): white space.
108 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
110 * minibuffer.C: include <iostream>
112 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
114 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
116 * commandtags.h: add LFUN_TRANSPOSE_CHARS
118 * text.[Ch] (TransposeChars): new method
120 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
122 * call message directly through LyXView instead of through LyXFunc
123 * BufferView2.C: adjust
124 * BufferView_pimpl.C: adjust
125 * FontLoader.C: adjust
127 * bufferview_funcs.C: adjust
128 * converter.C: adjust
129 * figureForm.C: adjust
132 * lyx_gui_misc.C: adjust
136 + more files in subdirs
138 * lyxparagraph.h (size): move up int file
141 * adjust all uses of Assert to lyx::Assert.
143 * BufferView2.C (ChangeCitationsIfUnique): adjust for
144 lyxfunctional in namespace lyx
145 * layout.C (hasLayout): ditto
148 (delete_layout): ditto
149 (NumberOfClass): ditto
150 * converter.C (GetFormat): ditto
155 * bufferlist.C (getFileNames): ditto
156 (emergencyWriteAll): ditto
159 * MenuBackend.C (hasSubmenu): ditto
162 * BufferView_pimpl.C (getInsetByCode): ditto
164 2001-04-18 Juergen Vigna <jug@sad.it>
166 * vspace.C (asLatexString): fixed the 100% problem.
168 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
170 * lyxfunc.C (Dispatch):
172 * minibuffer.h: add a few std:: qualifiers
174 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
176 * minibuffer.[Ch]: reimplement so that commands is initiated and
177 run from lyxfunc, simplified som handling, and made the completion
178 and history code for complete. wip.
180 * lyxfunc.C (processKeySym): call message
181 (miniDispatch): new temporary method
182 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
183 (LFUN_MESSAGE): implement
184 (LFUN_MESSAGE_PUSH): implement
185 (LFUN_MESSAGE_POP): implement
186 (initMiniBuffer): the initial/defualt minibuffer message.
188 * lyxfont.[Ch]: inline some more getters
190 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
192 * lyx_gui_misc.[Ch] (WriteStatus): remove method
194 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
195 (AutoSave): use LFUN_MESSAGE
198 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
200 * figureForm.C: use LFUN_MESSAGE
202 * converter.C (runLaTeX): use LFUN_MESSAGE
204 * bufferview_funcs.C: use LFUN_MESSAGE
208 * bufferparams.h: use boost::
210 * bufferlist.h: inherit privately from noncopyable
212 * bufferlist.C (loadLyXFile): remove some commented code.
214 * buffer.C (runChktex): use LFUN_MESSAGE
216 * ShareContainer.h: inherit privately from noncopyable
218 * ParagraphParameters.[hC] (depth): inline it.
220 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
222 (message): new method
225 (show): init minibuffer
226 (showState): direct call
228 * LaTeX.[Ch]: inherit privately from noncopyable
229 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
230 instead of WriteStatus.
232 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
234 * BufferView_pimpl.C (buffer): don't init minibuffer
235 (workAreaButtonPress): use LFUN_MESSAGE
236 (workAreaButtonRelease): ditto
237 (savePosition): ditto
238 (restorePosition): ditto
239 (MenuInsertLyXFile): ditto
240 (workAreaExpose): don't init minibuffer
241 (update): remove commented code, simplify
243 * BufferView2.C (openStuff): use LFUN_MESSAGE
247 (copyEnvironment): ditto
248 (pasteEnvironment): ditto
253 (updateInset): remove some commented code
255 * lastfiles.h: inherit privately from noncopyable
260 * lyxlex_pimpl.h: ditto
262 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
263 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
264 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
266 * LyXAction.h: inherit privately from noncopyable, add methods
267 func_begin, func_end, returning iterators to the func map.
269 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
270 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
271 (func_begin): new method
272 (func_end): new method
274 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
276 (copySelection): ditto
277 (pasteSelection): ditto
279 * BufferView.C: whitespace change
280 * BufferView.h: inherit privately from noncopyable
282 2001-04-16 Allan Rae <rae@lyx.org>
284 * tabular-old.C (l_getline):
285 * spellchecker.C (sc_check_word):
286 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
287 an unrecognised preprocessor directive. So ensure they're wrapped.
289 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
291 * src/exporter.C (Export): Give an error message when path to file
294 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
296 * LaTeX.C (deplog): Always check that foundfile exists.
298 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
301 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
303 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
305 * tabular.[Ch] (getLabelList): implement new method
307 * minibuffer.h: comment ouf setTiimer
309 * minibuffer.C (ExecutingCB): constify res
310 (peek_event): constify s
311 (Set): constify ntext
312 (Init): constify nicename
314 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
316 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
317 (savePosition): use two params to Minibuffer::Set
318 (restorePosition): ditto
320 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
322 * lyx_main.C: include language.h
324 * Makefile.am (lyx_main.o): add language.h
326 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * CutAndPaste.C: include gettext.h
334 * lyxfont.h: remove old hack with ON and OFF.
337 * lyxfont.h: do not include language.h...
342 * bufferview_funcs.C:
348 * paragraph.C: ... but do it here instead
350 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
352 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
354 * tabular.C: small reformat
356 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
359 (BreakParagraph): ditto
360 (SetOnlyLayout): ditto
363 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
366 * lastfiles.C: removed most using decl, add std:: where needed
368 * buffer.C: ws changes
370 * MenuBackend.C (class compare_format): put into anon namespace
371 (expand): constify label, names, action, action2
374 * text.C (SingleWidth): constify font
375 (IsBoundary): constify rtl2
376 (GetVisibleRow): constify ww
378 * LaTeX.C (deplog): constify logfile
380 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
382 (workAreaExpose): constify widthChange, heightChange
384 * lyxrow.C (par): moved
387 * lyxrow.h: as inlines here
389 * lyxfont.h (shape): moved from lyxfont.C
390 (emph): moved from lyxfont.C
392 * lyxfont.C (LyXFont): use initialization list for all
394 (shape): move to lyxfont.h as inline
395 (emph): move to lyxfont.h as inline
398 2001-04-04 Juergen Vigna <jug@sad.it>
400 * vspace.C: had to include stdio.h for use of sscanf
402 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
405 * BufferView_pimpl.h: remove xforms cruft. Both classes are
406 independent of xforms.
408 2001-04-02 Juergen Vigna <jug@sad.it>
410 * spellchecker.C: fixed namespace placing!
412 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
414 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
415 the LyXParagraph * is 0.
417 2001-03-29 Juergen Vigna <jug@sad.it>
419 * vspace.C: added support for %, c%, p%, l%.
420 (stringFromUnit): added helper function.
421 (asLatexString): changed to give right results for the %-values.
423 * buffer.C: convert the widthp in a width%.
425 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
427 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
430 * figureForm.[Ch]: stripped the FD_from_figure manipulation
431 code out of lux_cb.[Ch], ready for its (imminent?) removal.
433 * lyx_cb.[Ch]: see above.
435 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
439 * lyx.[Ch]: replaced by figure_form.[Ch].
443 * lyxfunc.C: changed headers associated with above changes.
445 2001-03-27 Juergen Vigna <jug@sad.it>
447 * BufferView_pimpl.C: set the temporary cursor right!
449 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
451 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
453 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
455 * LString.h: removed "using std::getline"!
457 * BufferView_pimpl.C (Dispatch): changes due to changes in
458 InsetInclude::Params.
460 * buffer.C (tag_name): removed redundant break statements as they were
461 producing lots of warnings with my compiler.
463 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
465 * LString.h: add "using std::getline" when using the real <string>.
467 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
469 * buffer.C: removed bitset usage.
470 PAR_TAG moved to an anonymous name space.
471 (tag_name): new funtion, also in the anonymous namespace.
472 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
473 (makeDocBookFile): clean code. Completed transition from string arrays
475 (SimpleDocBookOnePar): code clean.
477 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
479 * tabular.C: add some comments.
481 2001-03-22 Juergen Vigna <jug@sad.it>
483 * buffer.C (parseSingleLyXformat2Token): redone the minipage
484 compatibility read a bit and fixed bug with minipage in different
487 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
489 * buffer.C (pop_tag): removed.
491 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
492 array replaced with vector. Added support for CDATA sections.
493 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
495 (makeDocBookFile): XML conformant declaration of CDATA section,
496 fixed bug related to <emphasis> in the first paragraph char.
497 (sgmlOpenTag): exclude empty tags.
498 (sgmlCloseTag): ditto.
500 * buffer.h (pop_tag): removed.
503 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
505 * language.h (Languages): added size_type and size().
507 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
509 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
510 response on compability reading of minipages. One probliem is that
511 the old usage of minipages was «flertydig»
513 * several files here and in subdirs: don't use static at file
514 scope use anon namespaces instead.
516 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
518 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
519 LaTeX output. This is necessary for Literate document
522 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
524 * buffer.C: insert hfill when needed.
526 * tabular.C (l_getline): use string::erase, small whitespace change.
528 * BufferView_pimpl.C: try the anon namespace.
531 2001-03-16 Juergen Vigna <jug@sad.it>
533 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
534 otherwise it won't open options-dialogs.
536 * buffer.C: honor pextraWidth(p) on converting minipages.
538 * tabular.C (l_getline): changed the functions to strip trailing \r.
540 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
542 * BufferView_pimpl.C:
543 * minibuffer..C: added "using SigC::slot" declaration.
545 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
547 * lyxlex_pimpl.h: noncopyable is in namespace boost.
555 * lyxtext.h: NO_PEXTRA
557 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
559 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
560 * ParameterStruct.h: ditto
561 * ParagraphParameters.h: ditto
562 * lyxparagraph.h: ditto
564 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
566 * buffer.C: add compability for minipage alignment.
567 (latexParagraphs): remove unwanted pextra check.
569 * several files: remove CXX_WORKING_NAMESPACES
571 * buffer.C (pop_tag): tie is in namespace boost
573 * BufferView.h: noncopyable is in namespace boost
579 * bufferlist.h: ditto
580 * ShareContainer.h: ditto
585 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
587 * Merging changes from BRANCH_MVC back into HEAD.
589 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
591 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
593 * BufferView_pimpl.C: change from intl.C
597 * Makefile.am: move combox.*
603 * intl.C: remove dialog (covered by prefs)
605 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
607 * lyxfunc.C (Dispatch): removed redundant break statement.
609 2001-03-14 Juergen Vigna <jug@sad.it>
611 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
613 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
615 * buffer.C: add hack to fix compability reading of minipages.
617 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
619 * buffer.C (getLists): Cleanup.
621 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
623 * lyxfont.C (update): don't honor toggleall on font size.
625 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
629 * Makefile.am: moved to frontends/xforms/
633 * BufferView_pimpl.C: changes for moved mathpanel
635 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
637 * gettext.h: fix gettext_init() in --disable-nls
639 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
643 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
646 * lyx.h: strip external form
648 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
650 * BufferView_pimpl.C: add comment, destroySplash()
652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
654 * BufferView_pimpl.C:
658 * lyxfunc.C: use re-worked insetinclude
660 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
662 * buffer.C: add using std::stringstream.
664 * lyx_cb.C: readd using std::ios.
666 * buffer.C: add using std::map.
668 * BufferView_pimpl.C: add using std::vector.
670 * ShareContainer.h: add std:: to swap.
672 * buffer.h: add some typedefs
673 * buffer.C (getLists): use them
674 (getLists): renamed from getTocList.
675 add a counter for the different float types and use it in the
677 (getLists): use the same counter for the NEW_INSETS and the "non"
680 * lyx_cb.h: remove unused items, includes, using etc.
682 * ShareContainer.h: remove some commented code, add more comments
685 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
687 * buffer.C (getTocList): make the list also when NEW_INSETS is
690 * buffer.h: remove TocType
692 * buffer.C (getTocList): change to return a map<string,
693 vector<TocItem> >, implement for dynamic number of list.
695 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
696 * text2.C (PasteSelection): adjust
697 * CutAndPaste.C (pasteSelection): adjust
699 * FloatList.C (FloatList): update from the new_insets branch.
700 * Floating.[Ch]: ditto
701 * LaTeXFeatures.C: ditto
703 * lyxlex_pimpl.C: ditto
705 * paragraph.C (Last): remove when NEW_INSETS is defined.
707 * other file: changes because of the above.
709 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
711 * lyxparagraph.h: rename next to next_, previous to previous_,
712 make them private for NEW_INSETS. Rename Next() to next(),
713 Previous() to previous().
715 * other files: changes because of the above.
717 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
720 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
723 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
725 * main.C (main): pass lyx_localedir to gettext_init().
727 * gettext.h: remove locale_init and gettext_init macros
729 * gettext.C (locale_init): new function
730 (gettext_init): new function
732 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
735 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
737 * Moved credits to frontends:
738 * credits.[Ch]: removed
739 * credits_form.[Ch]: removed
740 * lyx_gui_misc.C: remove credits stuff
743 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
745 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
747 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
750 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
751 a standalone pointer again.
753 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
755 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
770 * BufferView_pimpl.C: use new file dialog in GUII
773 * lyx_cb.C: remove LayoutsCB to Toolbar
775 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
777 * ShareContainer.h (get): add std:: qualifier
779 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
781 * ShareContainer.h: define a proper ShareContainer::value_type
782 type (and use typename to please compaq cxx)
784 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
786 * lyxparagraph.h: move serveral local vars to
787 ParameterStruct/ParagraphParameters., use ShareContainer in
788 FontTable., make vars in FontTable private and add getter and
791 * paragraph.C: changes because of the above.
793 * lyxfont.h: remove copy constructor and copy assignment. (the
794 default ones is ok), move number inside FontBits. move inlines to
797 * lyxfont.C: add number to initializaton of statics, move several
798 inlines here. constify several local vars. some whitespace
799 cleanup. Dont hide outerscope variables.
801 * Spacing.h: add two new constructors to match the set methods.
803 * ShareContainer.h: new file, will perhaps be moved to support
805 * ParameterStruct.h: new file
807 * ParagraphParameters.h: new file
809 * ParagraphParameters.C: new file
811 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
812 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
814 * BufferView_pimpl.C: ParagraphParameter changes.
815 * buffer.C: Likewise.
816 * bufferview_funcs.C: Likewise.
820 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
822 * lyxfind.C (LyXReplace): do not redefine default argument in
824 (IsStringInText): ditto
825 (SearchForward): ditto
826 (SearchBackward): ditto
828 2001-03-06 Juergen Vigna <jug@sad.it>
830 * lyxfind.C (IsStringInText): put parentes around expressions.
832 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
834 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
836 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
838 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
840 * stl_string_fwd.h: add comment
842 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
845 * tabular.C: remove unused DocBook methods
851 killed DO_USE_DEFAULT_LANGUAGE
853 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
855 * lyx_gui.C: do not include language.h.
857 * bufferview_funcs.C (ToggleAndShow): do not provide optional
858 arguments in function implementation.
860 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
862 * BufferView_pimpl.C: add <ctime>
864 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
866 * BufferView_pimpl.C: add using std::find_if
868 2001-02-27 José Matos <jamatos@fep.up.pt>
870 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
873 2001-02-11 José Matos <jamatos@fep.up.pt>
875 * buffer.C (makeDocBookFile): command styles now have a parameter as
878 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
880 * layout_forms.[Ch]: removed
881 * lyx_cb.[Ch]: out character
882 * lyx_gui.C: out character
883 * lyx_gui_misc.C: out character
884 * bufferview_funcs.C: : out character,
885 added toggleall as parameter in ToggleAndShow
887 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
889 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
891 * text2.C (SetCurrentFont): Disable number property at boundary.
893 2001-02-26 Juergen Vigna <jug@sad.it>
895 * lyxfunc.C (getStatus): added a string argument override function so
896 that this is correctly called from LyXFunc::Dispatch if it contains a
897 do_not_use_argument which is used!
898 (Dispatch): added check for "custom" export and call appropriate func.
900 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
902 * lyxrc.C: Add language_command_local, language_use_babel and
903 language_global_options.
905 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
907 * buffer.C (makeLaTeXFile): Use language_use_babel and
908 language_global_options.
910 2001-02-23 Juergen Vigna <jug@sad.it>
912 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
913 which works with LyXText and putted it inside BufferView. Here now we
914 only call for that part the BufferView::Dispatch() function.
916 * BufferView.C (Dispatch): added.
918 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
919 functions which needs to use a LyXText over from LyXFunc.
920 (MenuInsertLyXFile): added
921 (getInsetByCode): added
922 (moveCursorUpdate): added
925 2001-02-22 Juergen Vigna <jug@sad.it>
927 * BufferView_pimpl.C (update): call a status update to see if LyXText
930 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
932 * vc-backend.C (revert): implement for CVS
933 (getLog): implement for CVS
935 2001-02-20 Juergen Vigna <jug@sad.it>
937 * text2.C (ClearSelection): added BufferView param for inset_owner call
939 * lyxfunc.C (TEXT): added this function and use it instead of
940 directly owner->view()-text of getLyXText().
942 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
944 * src/layout_forms.C: out preamble
945 * src/layout_forms.h: out preamble
946 * src/lyx_cb.C: out preamble
947 * src/lyx_cb.h: out preamble
948 * src/lyx_gui.C: out preamble
949 * src/lyx_gui_misc.C: out preamble
950 * src/lyxfunc.C: connect with guii preamble
952 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
954 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
956 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
958 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
959 whether to run bibtex.
961 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
963 * Makefile.am (lyx_SOURCES): Remove BackStack.h
965 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
967 * Makefile.am (lyx_SOURCES): removed bibforms.h
971 * text.C (GetVisibleRow): make several local vars const
973 * tabular.C: small cleanup.
975 * lyxserver.C (callback): use compare instead of strncmp
977 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
978 inlines to after class or to paragraph.C
980 * lyxfont.h: remove friend operator!=
982 * converter.h: move friend bool operator< to non friend and after
985 * combox.h: small cleanup
987 * buffer.h: doxygen, remove unused constructor, move inclas inlies
988 to inlines after class def.
990 * buffer.C (pop_tag): use string operations instead of strcmp
992 * bmtable.c: doxygen, small cleanup
994 * LaTeX.h: remove friend operator==
996 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1008 * BufferView_pimpl.C:
1009 * BufferView.[Ch]: remove cruft
1011 2001-02-14 Juergen Vigna <jug@sad.it>
1013 * lyxfunc.C: removed #if 0 unused code
1015 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1017 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1019 * text2.C (SetSelection): added a BufferView * parameter
1021 2001-02-13 Juergen Vigna <jug@sad.it>
1023 * lyxfunc.C (Dispatch): fixed protected blank problem.
1024 * BufferView2.C (protectedBlank): added LyxText * parameter.
1026 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1027 (AppendColumn): same as above for column_info.
1029 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1030 (moveCursorUpdate): use a LyXText param for support of InsetText.
1032 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1033 (tripleClick): ditto
1035 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1037 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1039 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1041 * text2.C (SetSelection): set correct update status if inset_owner
1044 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1046 * tabular.C: remove some commented code.
1048 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1050 * BufferView_pimpl.C: call hideSplash()
1052 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1055 * bibforms.h: remove
1058 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1059 add LFUN_CHILD_CREATE
1061 * counters.h: fix tiny typo
1066 * lyx.C: move splash to frontends/xforms/
1068 * lyx_gui_misc.C: move Include and Bibform to frontends
1070 * lyxvc.h: clarify comment
1072 * vspace.C: tiny housekeeping
1074 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1076 * text.C (PrepareToPrint): RTL Fix.
1078 * paragraph.C (GetUChar): New method.
1079 (String): Use GetUChar.
1081 * buffer.C (asciiParagraph): Use GetUChar.
1083 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1085 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1087 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1090 * buffer.C: rename to getLogName(), handle
1091 build log / latex log nicely
1093 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1096 * MenuBackend.h: remove support for reference menuitem type.
1098 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1100 * BufferView_pimpl.C: housekeeping
1101 * BufferView_pimpl.h:
1106 * minibuffer.h: move Timeout GUI-I
1108 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1110 * lyxrc.C (read): Update converters data-structures.
1112 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1114 * LaTeX.h (operator!=): add operator != for Aux_Info
1116 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1118 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1120 * LaTeXLog.C: deleted, useful code moved to Buffer
1123 * buffer.C: new function getLatexLogName()
1129 * lyxfunc.C: use frontends for LaTeX and VC logs
1131 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1133 * LaTeX.h: yet another std:: that Allan forgot.
1135 * Variables.C (set): renamed from isset(), because this clashes
1136 with some HP-UX macros (grr).
1138 2001-02-06 Allan Rae <rae@lyx.org>
1140 * LaTeX.h: Another bug fix. Missing std:: this time.
1142 2001-02-04 Allan Rae <rae@lyx.org>
1144 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1145 floats problem. I've left it commented out because it's not quite
1146 correct. It should also test that the current object is a table or
1147 figure inset. But I haven't gotten around to figuring out how to do
1148 that. I *think* it'll be something like: "table" == inset.type()
1150 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1153 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1155 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1156 all the citation/databases/styles in the auxilary file.
1157 (run): Rerun latex if there was a babel language error.
1159 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1161 * text.C (Backspace): Preserve the font when changing newline char
1163 (BreakParagraph): If the cursor is before a space, delete the space.
1165 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1167 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1169 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1170 new argument (code).
1171 (ChangeCitationsIfUnique): New method.
1173 * paragraph.C (GetPositionOfInset): Handle bibkey.
1175 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1177 * BufferView_pimpl.h: change type of Position::par_pos to
1178 LyXParagraph::size_type.
1180 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1182 * BufferView_pimpl.C (savePosition, restorePosition): Write
1183 messages to minibuffer.
1185 2001-01-28 José Matos <jamatos@fep.up.pt>
1187 * buffer.C (makeDocBookFile): adds support for document language.
1188 A silly restriction on the name of LatexCommand types where removed.
1189 Added support for CDATA sections, allows to chars unescaped, used
1190 among others in code, to avoid escape < and >.
1192 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1194 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1195 saved positions instrad of a stack. Furthermore, a position is
1196 stored using paragraph id/paragraph position.
1198 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1199 Remove LFUN_REF_BACK.
1201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1203 * converter.C (dvipdfm_options): New method.
1205 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1207 * vspace.C (isValidLength): Fix for empty input string.
1209 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1211 * LyXAction.C (init): change description of LFUN_FIGURE to
1214 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1216 * LaTeX.C: add using directive
1218 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1220 * MenuBackend.C (expand): Fix the sorting of the formats.
1222 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1224 * lyx_main.C: tiny error message fix
1226 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1228 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1229 calling fl_initialize(). This fixes the problem with ',' as
1230 decimal separator in text files.
1232 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1234 * trans.C (process): Fix the keymap bug.
1236 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1238 * LaTeX.C (scanAuxFiles): New method. Provides support for
1239 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1240 (scanLogFile) Scan for "run BibTeX" messages.
1242 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1243 OT1 font encoding. Also, load the aecompl package if the ae
1246 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1248 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1250 * texrow.C (increasePos): turn two error messages into debug
1253 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1255 * LaTeX.C (scanAux): Handle the \@input macro.
1256 (runBibTeX): Use scanAux().
1258 * language.C (latex_options_): New field.
1260 * LaTeXFeatures.C (getMacros): Add language macros.
1262 * buffer.C (makeLaTeXFile): Small fix.
1264 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1266 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1268 * text2.C: add a using directive.
1270 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1275 * lyxfunc.C: kill LyXBell.
1277 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1279 * text.C (IsBoundary): Remove the error message
1281 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1283 * lyxrc.C (setDefaults): Correct initialization value for
1286 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1288 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1291 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1294 * src/LyXAction.C: Added reference-next.
1296 * text.C (InsertChar): Use contains instead of strchr.
1298 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1300 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1302 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1303 alignment commands (when needed).
1305 * text.C (InsertChar): Add ':' to number separator chars.