1 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
3 * buffer.C (getLists): Cleanup.
5 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7 * lyxfont.C (update): don't honor toggleall on font size.
9 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11 * gettext.h: fix gettext_init() in --disable-nls
13 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
20 * lyx.h: strip external form
22 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
24 * BufferView_pimpl.C: add comment, destroySplash()
26 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
28 * buffer.C: add using std::stringstream.
30 * lyx_cb.C: readd using std::ios.
32 * buffer.C: add using std::map.
34 * BufferView_pimpl.C: add using std::vector.
36 * ShareContainer.h: add std:: to swap.
38 * buffer.h: add some typedefs
39 * buffer.C (getLists): use them
40 (getLists): renamed from getTocList.
41 add a counter for the different float types and use it in the
43 (getLists): use the same counter for the NEW_INSETS and the "non"
46 * lyx_cb.h: remove unused items, includes, using etc.
48 * ShareContainer.h: remove some commented code, add more comments
51 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
53 * buffer.C (getTocList): make the list also when NEW_INSETS is
56 * buffer.h: remove TocType
58 * buffer.C (getTocList): change to return a map<string,
59 vector<TocItem> >, implement for dynamic number of list.
61 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
62 * text2.C (PasteSelection): adjust
63 * CutAndPaste.C (pasteSelection): adjust
65 * FloatList.C (FloatList): update from the new_insets branch.
66 * Floating.[Ch]: ditto
67 * LaTeXFeatures.C: ditto
69 * lyxlex_pimpl.C: ditto
71 * paragraph.C (Last): remove when NEW_INSETS is defined.
73 * other file: changes because of the above.
75 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
77 * lyxparagraph.h: rename next to next_, previous to previous_,
78 make them private for NEW_INSETS. Rename Next() to next(),
79 Previous() to previous().
81 * other files: changes because of the above.
83 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
86 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
89 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
91 * main.C (main): pass lyx_localedir to gettext_init().
93 * gettext.h: remove locale_init and gettext_init macros
95 * gettext.C (locale_init): new function
96 (gettext_init): new function
98 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
101 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
103 * Moved credits to frontends:
104 * credits.[Ch]: removed
105 * credits_form.[Ch]: removed
106 * lyx_gui_misc.C: remove credits stuff
109 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
111 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
113 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
116 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
117 a standalone pointer again.
119 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
121 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
136 * BufferView_pimpl.C: use new file dialog in GUII
139 * lyx_cb.C: remove LayoutsCB to Toolbar
141 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
143 * ShareContainer.h (get): add std:: qualifier
145 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
147 * ShareContainer.h: define a proper ShareContainer::value_type
148 type (and use typename to please compaq cxx)
150 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
152 * lyxparagraph.h: move serveral local vars to
153 ParameterStruct/ParagraphParameters., use ShareContainer in
154 FontTable., make vars in FontTable private and add getter and
157 * paragraph.C: changes because of the above.
159 * lyxfont.h: remove copy constructor and copy assignment. (the
160 default ones is ok), move number inside FontBits. move inlines to
163 * lyxfont.C: add number to initializaton of statics, move several
164 inlines here. constify several local vars. some whitespace
165 cleanup. Dont hide outerscope variables.
167 * Spacing.h: add two new constructors to match the set methods.
169 * ShareContainer.h: new file, will perhaps be moved to support
171 * ParameterStruct.h: new file
173 * ParagraphParameters.h: new file
175 * ParagraphParameters.C: new file
177 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
178 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
180 * BufferView_pimpl.C: ParagraphParameter changes.
181 * buffer.C: Likewise.
182 * bufferview_funcs.C: Likewise.
186 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
188 * lyxfind.C (LyXReplace): do not redefine default argument in
190 (IsStringInText): ditto
191 (SearchForward): ditto
192 (SearchBackward): ditto
194 2001-03-06 Juergen Vigna <jug@sad.it>
196 * lyxfind.C (IsStringInText): put parentes around expressions.
198 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
200 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
202 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
204 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
206 * stl_string_fwd.h: add comment
208 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
211 * tabular.C: remove unused DocBook methods
217 killed DO_USE_DEFAULT_LANGUAGE
219 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
221 * lyx_gui.C: do not include language.h.
223 * bufferview_funcs.C (ToggleAndShow): do not provide optional
224 arguments in function implementation.
226 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
228 * BufferView_pimpl.C: add <ctime>
230 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
232 * BufferView_pimpl.C: add using std::find_if
234 2001-02-27 José Matos <jamatos@fep.up.pt>
236 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
239 2001-02-11 José Matos <jamatos@fep.up.pt>
241 * buffer.C (makeDocBookFile): command styles now have a parameter as
244 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
246 * layout_forms.[Ch]: removed
247 * lyx_cb.[Ch]: out character
248 * lyx_gui.C: out character
249 * lyx_gui_misc.C: out character
250 * bufferview_funcs.C: : out character,
251 added toggleall as parameter in ToggleAndShow
253 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
255 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
257 * text2.C (SetCurrentFont): Disable number property at boundary.
259 2001-02-26 Juergen Vigna <jug@sad.it>
261 * lyxfunc.C (getStatus): added a string argument override function so
262 that this is correctly called from LyXFunc::Dispatch if it contains a
263 do_not_use_argument which is used!
264 (Dispatch): added check for "custom" export and call appropriate func.
266 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
268 * lyxrc.C: Add language_command_local, language_use_babel and
269 language_global_options.
271 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
273 * buffer.C (makeLaTeXFile): Use language_use_babel and
274 language_global_options.
276 2001-02-23 Juergen Vigna <jug@sad.it>
278 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
279 which works with LyXText and putted it inside BufferView. Here now we
280 only call for that part the BufferView::Dispatch() function.
282 * BufferView.C (Dispatch): added.
284 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
285 functions which needs to use a LyXText over from LyXFunc.
286 (MenuInsertLyXFile): added
287 (getInsetByCode): added
288 (moveCursorUpdate): added
291 2001-02-22 Juergen Vigna <jug@sad.it>
293 * BufferView_pimpl.C (update): call a status update to see if LyXText
296 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
298 * vc-backend.C (revert): implement for CVS
299 (getLog): implement for CVS
301 2001-02-20 Juergen Vigna <jug@sad.it>
303 * text2.C (ClearSelection): added BufferView param for inset_owner call
305 * lyxfunc.C (TEXT): added this function and use it instead of
306 directly owner->view()-text of getLyXText().
308 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
310 * src/layout_forms.C: out preamble
311 * src/layout_forms.h: out preamble
312 * src/lyx_cb.C: out preamble
313 * src/lyx_cb.h: out preamble
314 * src/lyx_gui.C: out preamble
315 * src/lyx_gui_misc.C: out preamble
316 * src/lyxfunc.C: connect with guii preamble
318 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
320 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
322 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
324 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
325 whether to run bibtex.
327 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
329 * Makefile.am (lyx_SOURCES): Remove BackStack.h
331 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
333 * Makefile.am (lyx_SOURCES): removed bibforms.h
337 * text.C (GetVisibleRow): make several local vars const
339 * tabular.C: small cleanup.
341 * lyxserver.C (callback): use compare instead of strncmp
343 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
344 inlines to after class or to paragraph.C
346 * lyxfont.h: remove friend operator!=
348 * converter.h: move friend bool operator< to non friend and after
351 * combox.h: small cleanup
353 * buffer.h: doxygen, remove unused constructor, move inclas inlies
354 to inlines after class def.
356 * buffer.C (pop_tag): use string operations instead of strcmp
358 * bmtable.c: doxygen, small cleanup
360 * LaTeX.h: remove friend operator==
362 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
374 * BufferView_pimpl.C:
375 * BufferView.[Ch]: remove cruft
377 2001-02-14 Juergen Vigna <jug@sad.it>
379 * lyxfunc.C: removed #if 0 unused code
381 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
383 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
385 * text2.C (SetSelection): added a BufferView * parameter
387 2001-02-13 Juergen Vigna <jug@sad.it>
389 * lyxfunc.C (Dispatch): fixed protected blank problem.
390 * BufferView2.C (protectedBlank): added LyxText * parameter.
392 * tabular.C (AppendRow): forgot to set row_info of newly added row.
393 (AppendColumn): same as above for column_info.
395 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
396 (moveCursorUpdate): use a LyXText param for support of InsetText.
398 * BufferView_pimpl.C (doubleClick): added support for InsetText.
401 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
403 * BufferView_pimpl.C (update): added LyXText param to honor insets.
405 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
407 * text2.C (SetSelection): set correct update status if inset_owner
410 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
412 * tabular.C: remove some commented code.
414 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
416 * BufferView_pimpl.C: call hideSplash()
418 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
424 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
425 add LFUN_CHILD_CREATE
427 * counters.h: fix tiny typo
432 * lyx.C: move splash to frontends/xforms/
434 * lyx_gui_misc.C: move Include and Bibform to frontends
436 * lyxvc.h: clarify comment
438 * vspace.C: tiny housekeeping
440 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
442 * text.C (PrepareToPrint): RTL Fix.
444 * paragraph.C (GetUChar): New method.
445 (String): Use GetUChar.
447 * buffer.C (asciiParagraph): Use GetUChar.
449 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
451 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
453 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
456 * buffer.C: rename to getLogName(), handle
457 build log / latex log nicely
459 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
462 * MenuBackend.h: remove support for reference menuitem type.
464 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
466 * BufferView_pimpl.C: housekeeping
467 * BufferView_pimpl.h:
472 * minibuffer.h: move Timeout GUI-I
474 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
476 * lyxrc.C (read): Update converters data-structures.
478 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
480 * LaTeX.h (operator!=): add operator != for Aux_Info
482 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
484 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
486 * LaTeXLog.C: deleted, useful code moved to Buffer
489 * buffer.C: new function getLatexLogName()
495 * lyxfunc.C: use frontends for LaTeX and VC logs
497 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
499 * LaTeX.h: yet another std:: that Allan forgot.
501 * Variables.C (set): renamed from isset(), because this clashes
502 with some HP-UX macros (grr).
504 2001-02-06 Allan Rae <rae@lyx.org>
506 * LaTeX.h: Another bug fix. Missing std:: this time.
508 2001-02-04 Allan Rae <rae@lyx.org>
510 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
511 floats problem. I've left it commented out because it's not quite
512 correct. It should also test that the current object is a table or
513 figure inset. But I haven't gotten around to figuring out how to do
514 that. I *think* it'll be something like: "table" == inset.type()
516 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
519 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
521 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
522 all the citation/databases/styles in the auxilary file.
523 (run): Rerun latex if there was a babel language error.
525 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
527 * text.C (Backspace): Preserve the font when changing newline char
529 (BreakParagraph): If the cursor is before a space, delete the space.
531 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
533 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
535 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
537 (ChangeCitationsIfUnique): New method.
539 * paragraph.C (GetPositionOfInset): Handle bibkey.
541 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
543 * BufferView_pimpl.h: change type of Position::par_pos to
544 LyXParagraph::size_type.
546 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
548 * BufferView_pimpl.C (savePosition, restorePosition): Write
549 messages to minibuffer.
551 2001-01-28 José Matos <jamatos@fep.up.pt>
553 * buffer.C (makeDocBookFile): adds support for document language.
554 A silly restriction on the name of LatexCommand types where removed.
555 Added support for CDATA sections, allows to chars unescaped, used
556 among others in code, to avoid escape < and >.
558 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
560 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
561 saved positions instrad of a stack. Furthermore, a position is
562 stored using paragraph id/paragraph position.
564 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
565 Remove LFUN_REF_BACK.
567 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
569 * converter.C (dvipdfm_options): New method.
571 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
573 * vspace.C (isValidLength): Fix for empty input string.
575 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * LyXAction.C (init): change description of LFUN_FIGURE to
580 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
582 * LaTeX.C: add using directive
584 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
586 * MenuBackend.C (expand): Fix the sorting of the formats.
588 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
590 * lyx_main.C: tiny error message fix
592 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
594 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
595 calling fl_initialize(). This fixes the problem with ',' as
596 decimal separator in text files.
598 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
600 * trans.C (process): Fix the keymap bug.
602 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
604 * LaTeX.C (scanAuxFiles): New method. Provides support for
605 multiple bibliographies (when using the bibtopic/bibunits pacakges).
606 (scanLogFile) Scan for "run BibTeX" messages.
608 * buffer.C (makeLaTeXFile): Do not load the ae package when using
609 OT1 font encoding. Also, load the aecompl package if the ae
612 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
614 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
616 * texrow.C (increasePos): turn two error messages into debug
619 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
621 * LaTeX.C (scanAux): Handle the \@input macro.
622 (runBibTeX): Use scanAux().
624 * language.C (latex_options_): New field.
626 * LaTeXFeatures.C (getMacros): Add language macros.
628 * buffer.C (makeLaTeXFile): Small fix.
630 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
632 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
634 * text2.C: add a using directive.
636 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
641 * lyxfunc.C: kill LyXBell.
643 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
645 * text.C (IsBoundary): Remove the error message
647 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
649 * lyxrc.C (setDefaults): Correct initialization value for
652 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
654 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
657 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
660 * src/LyXAction.C: Added reference-next.
662 * text.C (InsertChar): Use contains instead of strchr.
664 * lyx_cb.C (MenuInsertLabel): Enable default value code.
666 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
668 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
669 alignment commands (when needed).
671 * text.C (InsertChar): Add ':' to number separator chars.