]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fa4973e95023bed59d267bd6c301f6b51414df54
[lyx.git] / src / ChangeLog
1 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
4
5 2004-10-30  José Matos  <jamatos@lyx.org>
6
7         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
8         text and no inset or font change. This allows to use CDATA
9         sections just for the whole paragraph.
10
11 2004-10-30  José Matos  <jamatos@lyx.org>
12
13         * paragraph.C (getFirstWord): remove unused variable.
14
15 2004-10-30  José Matos  <jamatos@lyx.org>
16
17         * paragraph.C (getFirstWord): the content should always be escaped there.
18         (simpleDocBookOnePar):
19         * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
20
21 2004-10-30  José Matos  <jamatos@lyx.org>
22
23         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
24
25 2004-10-30  José Matos  <jamatos@lyx.org>
26
27         * output_docbook.C (makeParagraphs):
28         * paragraph.[Ch] (emptyTag): for docbook and company, if the
29         standard paragraph has only a given type of content drop the wrapper.
30
31 2004-10-29  José Matos  <jamatos@lyx.org>
32
33         * output_docbook.C (makeEnvironment):
34         * sgml.C (openTag):
35         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
36
37 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
38
39         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
40         (cleanID): sanitize any id.
41
42 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
43
44         * buffer.C, lyxlex_pimpl.C:
45         * lyxlex_pimpl.C (setFile):
46         s/getExtFromContents/getFormatFromContents/
47
48 2004-10-28  José Matos  <jamatos@lyx.org>
49
50         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
51
52         * sgml.C (openTag): apply substitution of <> for all attribuites.
53
54 2004-10-28  José Matos  <jamatos@lyx.org>
55
56         * buffer.C (makeLinuxDocFile, makeDocBookFile):
57         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
58         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
59
60         * sgml.[Ch]: new version for open and closeTag for paragraph and
61         for strings. Now they handle the ids of paragraphs.
62
63 2004-10-26  Angus Leeming  <leeming@lyx.org>
64
65         * Makefile.am: add mover.[Ch].
66
67         * converter.C (convert, move): use the new Movers to move external
68         files to the temp directory.
69
70         * lyx_main.C (init): ensure that the global system_movers data
71         is initialised.
72
73         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
74         preferences file.
75
76         * mover.[Ch]: new files, defining a Mover as a utility to move an
77         external file between directories and, if necessary, manipulate this
78         file using a helper script.
79
80 2004-10-25  José Matos  <jamatos@lyx.org>
81
82         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
83
84 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
85
86         * sgml.C (escapeString): fix warning in a better way
87
88 2004-10-25  José Matos  <jamatos@lyx.org>
89
90         * sgml.C (escapeString): import the require boosts header file for
91         tie, and avoid a signed unsigned comparison.
92
93 2004-10-25  José Matos  <jamatos@lyx.org>
94
95         * sgml.h: add #include <string>
96
97 2004-10-25  José Matos  <jamatos@lyx.org>
98
99         * sgml.[Ch] (escapeString): new function to escape all the string.
100
101 2004-10-24  José Matos  <jamatos@lyx.org>
102
103         * paragraph.[Ch] (getFirstWord): new function to get the first
104         word. Useful for description.
105         (simpleDocBookOnePar): remove depth argument, add another that
106         says where to start the paragraph.
107
108         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
109         use the new functions to fix cleanly the support for descriptions.
110
111 2004-10-24  José Matos  <jamatos@lyx.org>
112
113         * buffer.C (makeLinuxDocFile, makeDocBookFile):
114         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
115         * output_linuxdoc.C (linuxdocParagraphs):
116         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
117         add buffer as argument.
118
119 2004-10-24  José Matos  <jamatos@lyx.org>
120
121         * output_docbook.C (makeEnvironment, searchEnvironment): place
122         CDATA inside paragraphs and fix scope for listitems.
123
124 2004-10-24  José Matos  <jamatos@lyx.org>
125
126         * output_docbook.C: remove using statement for stack.
127
128 2004-10-23  José Matos  <jamatos@lyx.org>
129
130         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
131         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
132         docbook. The new scheme is recursive and makes use of iterators, the
133         same as latex export works.
134         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
135         directly with the paragraph contents. This code was moved up to
136         output_docbook.C (docbookParagraphs).
137         * sgml.C (openTag, closeTag): removed unneeded newlines.
138         (closeEnvTags) removed.
139
140 2003-10-23  André Pönitz  <poenitz@gmx.net>
141
142         * undo.C (textUndoOrRedo):
143         * dociterator.C (asDocIterator): work around crash
144
145         * cursor.C (getStatus): replace ASSERT by more verbose error message
146           and manual correction of the problem. Should increase stability
147           while providing more sensible information.
148
149 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
152
153         * bufferlist.C (previous, next): new methods
154
155         * lfuns.h:
156         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
157
158 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
159
160         * buffer.C (makeDocBookFile): add dsssl stylesheet control
161         entities to preamble.
162
163 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * messages.C (Pimpl): strip off translation context information
166
167 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
170         the cursor is correct (bug 1694)
171
172 2004-10-13  José Matos  <jamatos@lyx.org>
173
174         * output_docbook.C (docbookParagraphs): fix closing tags in the
175         end of the document.
176
177 2004-10-09  José Matos  <jamatos@lyx.org>
178
179         * buffer.C: format up to 237.
180         * bufferparams.C (write): use tostr to convert booleans to strings.
181
182 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
183
184         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
185
186 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * LaTeX.C: implement use of babel language in xindy.
189
190 2004-10-05  José Matos  <jamatos@lyx.org>
191
192         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
193         Add new translators to help reading and writing the lyx file.
194
195 2004-10-05  José Matos  <jamatos@lyx.org>
196
197         * ParagraphParameters.C (read):
198         * text.C (readParToken): replace nexToken by more appropriate lex
199         methods.
200
201 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
202
203         * LaTeX.C (runMakeIndex):
204         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
205         (usually 'makeindex') configurable.
206
207         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
208         with a variable rather than with a number.
209
210 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * output_latex.C (TeXOnePar): make sure font setting is the first
213         thing that gets output (and the last at the end). Should fix bug
214         1404.
215
216 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
217
218         * pch.h: use proper signal include
219
220         * LaTeX.h: Use preferred calling of Boost.Signal
221         * buffer.h: ditto
222
223 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
224
225         * pch.h: dont include <boost/function/function0.hpp>
226
227         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
228
229         * paragraph_pimpl.h: remove usage of ShareContainer
230
231         * paragraph_pimpl.C: remove initialization of ShareContainer.
232
233 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         Fix bug #1666
236
237         * BufferView.C (putSelectionAt): change the semantics when
238         backwards == true: now, this just swaps cursor and anchor wrt the
239         forward case
240
241         * BufferView.h (putSelectionAt): add some documentation
242
243         * lyxfind.C (findBackwards): rewrite using while(). In particular,
244         make sure backwardChar is done at least once (to avoid getting
245         stuck)
246         (findNextChange): use putSelectionAt in the forward direction
247         (operator()): use Paragraph::isWord
248
249 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
250
251         * Spacing.C (set): c_str fix
252
253 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyx_cb.C (Reconfigure): quote the name of configure script in
256         case it contains spaces
257
258 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
259
260         * client: new dir
261
262         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
263         (BOOST_LIBS): use top_buildir when looking for the file
264
265 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
266
267         * pch.h: do not use include boost/format.hpp, multiple symbols
268                 will result (gcc bug)
269
270
271 2004-08-23  José Matos  <jamatos@lyx.org>
272
273         * bufferparams.C (readToken): fix reading of the author field.
274
275 2004-08-20  José Matos  <jamatos@lyx.org>
276
277         * lyxrc.C: remove support/translator.h inclusion since it is not used.
278
279 2004-08-20  José Matos  <jamatos@lyx.org>
280
281         * lyxlex.[Ch] (findToken): remove function.
282
283         * ParagraphParameters.C (findToken):
284         * bufferparams.C (findToken): replace call for previous function
285         with local copy. This local function has one more argument, the
286         read string argument.
287
288 2004-08-16  José Matos  <jamatos@lyx.org>
289
290         * ParagraphParameters.C (write):
291         * Spacing.C (writeFile):
292         * bufferparams.C (writeLaTeX):
293         * lyx_cb.C (Reconfigure):
294         * paragraph.C (write):
295         * tabular.C (write): remove unnecessary space at end of line.
296
297
298 2004-08-16  José Matos  <jamatos@lyx.org>
299
300         * text.C (readParagraph): remove debug message.
301
302 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
305         crash
306
307         * output_plaintext.C (asciiParagraph): set depth correctly
308
309         * outputparams.h: add member depth
310
311         * paragraph_funcs.C (ownerPar): remove.
312
313         * text2.C (setCounter): remove first_pit; comment out some
314         non-working code that uses ownerPar
315
316         * BufferView.C (getParentLanguage): remove. Not used anymore, and
317         uses ownerPar
318
319 2004-08-16  José Matos  <jamatos@lyx.org>
320
321         * text.C (readParToken, readParagraph, read): report all unknown tokens.
322         For the same level of importance use the same chanel to report problems.
323         (read): add code to deal with \begin_body and \end_body.
324
325
326 2004-08-15  José Matos  <jamatos@lyx.org>
327
328         * lyxlex.C (getString): fix comment, buffer::readBody is now
329         buffer:readDocument.
330
331         * tex-strings.C (string_papersize): Default -> default,
332         Custom -> custom, for consistency with other options.
333
334 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
335
336         * pch.h: new file
337
338         * Makefile.am: support pch
339
340 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * text.C (readParToken): remove the static LyXFont variable and
343         pass it as a parameter instead. This fixes a nasty bug where an
344         inset will be inserted with a bad font in some situations
345         (readParagraph): adapt
346
347         * text2.C (setCounter): reduce number of calls to pars_[pit]
348
349         * text.C (singleWidth): add an assert, fix a test
350
351         * rowpainter.C (paintText): reduce number of calls to singleWidth
352
353         * paragraph.C (isHfill):
354         (isNewline): ws only
355
356 2004-08-14  André Pönitz  <poenitz@gmx.net>
357
358         * text.C:
359         * text2.C:
360         * rowpainter.C:
361         * lyxtext.h (several functions): use a Paragraph & argument
362         instead of par_type
363
364 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * metricsinfo.h: add a new field ltr_pos to PainterInfo
367
368         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
369
370         * text.C (singleWidth): remove useless test
371
372 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
373
374         * tabular.h: remove bogus comments
375
376         * tabular.C (getDescentOfRow):
377         (isPartOfMultiColumn): add assertions
378
379         * lyxlength.C (inPixels): remove #warning
380
381 2004-08-14  André Pönitz  <poenitz@gmx.net>
382
383         * paragraph.h: inline getChar()
384
385         * BufferView.h: remove unused declarations
386
387 2004-08-14  José Matos  <jamatos@lyx.org>
388
389         * Buffer.[Ch] (readDocument): new name for old readBody.
390         * Buffer.C: new file format, new keywords: \begin_document,
391         \begin_header, \begin_body, \end_body.
392
393         * bufferparams.C (readToken): replace all calls to lex.nextToken
394         by lex.next(). Do the same to eatLine except where really needed.
395
396         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
397         line when writing to the lyx file.
398
399         * output_plaintext.C (asciiParagraph): fix Bibliography style
400         handling.
401
402         * text.C (read): fix end of file handling.
403
404 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * MenuBackend.C (Menu::operator[]): new method to access
407         individual menu items
408         (Menu::hasFunc): new method. search for an item that corresponds
409         to a given func
410         (MenuBackend::specialMenu): new method
411         (MenuBackend::expand): if a special menu has been set, skip
412         entries whose func() appears in this menu
413
414 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
415
416         * text3.C: use Debug::DEBUG a bit more
417
418         * text.C (leftMargin): try to simplify a tiny bit change var x to
419         l_margin. Dont output the wide margins always.
420         (rightMargin): no margin in inner texts
421
422         * rowpainter.h (nestMargin): new func
423         (changebarMargin): new func
424         (rightMargin): new func
425
426         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
427         now functions.
428         (paintLast): ditto
429
430         * factory.C (createInset): modify setDrawFrame
431
432         * cursor.C: use Debug::DEBUG a bit more
433
434 2004-08-14  André Pönitz  <poenitz@gmx.net>
435
436         * coordcache.[Ch]:
437         * Makefile.am: new files to accomodate an 'external' (x,y)-position
438         cache for all insets in (at least partially) visible (top-level)
439         paragraphs.
440
441         * BufferView_pimpl.C: reset external coord cache before every update.
442         This means the coord cache only contains valid entries.
443
444 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
445
446         bug 1096
447         * BufferView_pimpl.C (getInsetByCode): move function out of class
448         and change in to a template in anon namespace. Also fix to do what
449         suits us better.
450
451 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
452
453         bug 1305
454         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
455         of char
456         (breakParagraph): rename par to par_offset and use a local
457         reference. Add code to keep the language over a rebreak.
458         (breakParagraphConservative): rename par to par_offset, use a
459         local reference
460         (mergeParagraph): ditto
461         (outerHook): ditto
462         (isFirstInSequence): ditto
463         (outerFont): rename pit to par_offset
464
465         * paragraph.C: ws change
466         * paragraph.h: ditto
467         * text3.C: ditto
468         * text.C: ditto
469
470 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
473         treatment for ']'
474
475         * paragraph.C (simpleTeXOnePar): when we have a \item with
476         optional argument, enclose the argument with curly brackets (in
477         case it contains a closing square bracket)
478
479         * text2.C (editXY):
480         * text2.C (editXY):
481         * text3.C (checkInsetHit): constify
482
483 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
486         documents (bug 1629)
487
488 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         Fix toggling of collapsable insets with the mouse (bug 1558)
491
492         * lyxfunc.C (dispatch): adapt to LCursor changes
493
494         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
495         make sure that dispatch is not invoked twice
496
497         * cursor.C (needsUpdate): new method
498         (dispatch): return void
499         (result): new method, to access the DispatchResult of the cursor.
500
501 2004-08-13  José Matos  <jamatos@lyx.org>
502
503         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
504
505 2004-08-13  André Pönitz  <poenitz@gmx.net>
506
507         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
508
509         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
510           multiple cells
511
512 2004-08-12  André Pönitz  <poenitz@gmx.net>
513
514         * text3.C: take out the 'cursor right' form insertInset and only
515         do it in those places when it is really needed. Fixes crash on
516         C-m...
517
518 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
521
522         * BufferView_pimpl.C (setBuffer): initialize the current font of
523         the underlying LyXText
524
525 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * kbsequence.C (print): use UI native formatting for menu
528         shortcuts
529
530         * text.C (insertChar): call Paragraph::insertChar with a font
531         argument (cosmetic)
532
533         * paragraph.C (insertInset, insertChar): the version that takes a
534         LyXFont argument is now a wrapper around the other one (the
535         opposite used to be true).
536
537         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
538         argument. Font setting is done in Paragraph now.
539
540 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * outputparams.h: add new members intitle and lang.
543
544         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
545         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
546
547 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
548
549         * text3.C (dispatch): remove special handling of button 4 and 5,
550         it is now taken care of in the frontend code.
551
552 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * Spacing.h: add <string> (STLPort compile fix)
555
556 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
557
558         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
559
560 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
563         to bool.
564
565         * converter.C (showMessage): inherit from unary_function, make
566         operator() const.
567
568         * buffer.C (writeFile): initialize retval
569
570         * InsetList.h: rename private variable list to list_
571         * InsetList.[Ch]: adjust accordingly.
572
573 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
574
575         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
576         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
577         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
578         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
579         * ParagraphParameters.C, LaTeXFeatures.C: replace
580         "support/std_sstream.h" with <sstream>
581
582 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
583
584         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
585         * lyxsocket.C (LyXServerSocket): ditto
586         (serverCallback): ditto
587
588 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
589
590         * LaTeXFeatures.C: check release date when loading jurabib.
591
592 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
593
594         * lyxserver.C (startPipe): call register_socket_callback
595         (endPipe): call unregister_socket_callback
596
597 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
598
599         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
600         (LyXServerSocket): register the callback
601         (LyXServerSocket): unregister the callback
602         (fd): delete function
603         (serverCallback): improve error checking and setup the callbacks.
604         (dataCallback): change arg to fd.
605         (writeln): new func (copied fro the client socket) used for server
606         write to client.
607         (LyXDataSocket): simplify
608         (~LyXDataSocket): close ann unregiser callback
609         (server): delete function
610         (fd): delete function
611         (readln): small changes, improve some std::string usage
612         (writeln): constify a bit
613
614 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
615
616         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
617         Qt frontend
618
619 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * BufferView_pimpl.C (setBuffer): set the layout combox value only
622         after it has been populated
623
624 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
625
626         * text2.C (insertInset): move cursor when inserting inset.
627
628 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
629
630         * kbmap.C (findbindings): a couple of new methods. returns a
631         container of kb_sequence objects. The real work is done by the
632         private recursive version
633         (printbindings): uses findbindings to print out a bracketed list
634         of bindings (renamed from findbinding).
635
636         * MenuBackend.C (binding): use kb_keymap::findbindings
637
638         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
639
640 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
641
642         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
643
644 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * paragraph.C (isWord): return true on insets that report
647         isLetter().
648
649         * text.C (getWord): use Paragraph::isWord to decide what is in a
650         word and what is not; fix bug 1609.
651
652 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
653
654         * tex-strings.C: add "none" to string_paperpackages[], fixes
655         off-by-one-error in the paperpackage selection.
656
657         * lyxlex.[Ch]:
658         * tex-strings.[Ch]: char const * string[n]
659         -> char const * const string[]
660
661 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
664         command, return early.
665
666 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * debug.h: add DEBUG to enum and fix size of ANY.
669
670         * debug.C: add support for Debug::DEBUG
671         (showTags): cast errorTags.level to unsigned int
672
673         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
674         (redoCurrentBuffer): ditto
675         (updateScrollbar): ditto
676         * cursor.C (dispatch): ditto
677         * text2.C (setLayout): ditto
678         (setFont): ditto
679         (updateCounters): ditto
680         (editXY): ditto
681         (deleteEmptyParagraphMechanism): ditto
682
683 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
684
685         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
686         annotations to cleanup the Makefile slightly.
687
688 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
689
690         * lyxrc.C: do not set user_email to a default value but use empty
691         instead. The entry used to be translated, which does not work
692         since at the point where lyxrc is constructed there is no
693         translation service available
694
695         * messages.C (getLocaleDir): remove and use directly
696         lyx_localedir() instead
697
698 2004-06-02  Angus Leeming  <leeming@lyx.org>
699
700         Fix crash caused by dereferencing null pointer 'exportdata' in
701         OutputParams by creating a new ExportData variable on the heap,
702         storing it in a boost::shared_ptr.
703         The crash was triggered when generating an Instant Preview
704         of an external inset.
705
706         * Makefile.am: add outputparams.C
707
708         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
709         (c-tor): allocate memory to it.
710
711         * exporter.C (c-tor): associated changes.
712
713 2004-06-01  Angus Leeming  <leeming@lyx.org>
714
715         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
716         contains data before calling isInset(0). (Bug 1513.)
717
718 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
719
720         * exporter.C (checkOverwrite): new method
721         * exporter.C (copyFile): new method
722         * exporter.C (Export): copy referenced files to the document dir
723         * exporter.[Ch]: new class ExportedFile
724         * exporter.[Ch]: new class ExportData. Contains currently the
725         names of referenced external files
726         * outputparams.h: add exportdata member.
727
728 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
729
730         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
731         version.C-tmp
732
733 2004-05-19  Angus Leeming  <leeming@lyx.org>
734
735         * LaTeXFeatures.C:
736         * ToolbarBackend.C:
737         * bufferparams.C:
738         * lyxfunc.C: small changes due to the introduction of namespace
739         lyx::frontend and the moving of namespace biblio to lyx::biblio.
740
741 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
742
743         * text3.C (dispatch): supress update when only moving the cursor
744         * cursor.C (selHandle): remove commented code
745
746 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
747
748         * paragraph.C (startTeXParParams): correct column count
749         * CutAndPaste.C (pasteSelection): remove const_cast
750         * output_docbook.C (docbookParagraphs): remove const_cast
751         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
752         const_cast and return ParagraphList::const_iterator
753         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
754         * output_plaintext.C (writeFileAscii): remove const_cast
755         * paragraph.[Ch] (simpleTeXOnePar): make const
756         * paragraph_funcs.C (outerPar): use const iterators
757         * paragraph_pimpl.C (validate): use const iterators
758         * text.C (setHeightOfRow): use const iterators
759
760 2004-05-17  Angus Leeming  <leeming@lyx.org>
761
762         * lfuns.h:
763         * LyXAction.C (init): new LFUN_INSET_REFRESH.
764
765         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
766         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
767         if the citation engine has changed.
768
769 2004-05-14  José Matos  <jamatos@lyx.org>
770
771         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
772         if the textclass does not provide it. Have it different for sgml and
773         xml.
774         support the language of document.
775         * output_docbook.C (docbookParagraphs):
776         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
777         first anchor as the id of the paragraph, remove special case code.
778         * sgml.C (escapeChar): escape only < & >.
779
780 2004-05-14  Angus Leeming  <leeming@lyx.org>
781
782         * bufferparams.h: move biblio::CiteEngine enum here to minimize
783         dependencies on src/frontends/controllers/biblio.h. Define a
784         CiteEngine_enum wrapper class to enable the enum to be forward
785         declared.
786
787 2004-05-12  Angus Leeming  <leeming@lyx.org>
788
789         * buffer.C: up LYX_FORMAT to 234.
790         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
791         use_numerical_citations with a single biblio::CiteEngine cite_engine
792         variable.
793         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
794
795 2004-05-13  José Matos  <jamatos@lyx.org>
796
797         * converter.h:
798         * converter.C (Converter, readFlags): add xml member.
799         * outputparams.h: add XML flavor.
800         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
801
802 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * lyxfunc.C (dispatch):
805         (getStatus): fix handling of LFUN_SEQUENCE
806
807 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * debug.C (showLevel): do not forget the end-of-line marker
810
811 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * kbmap.C (read): do not stop parsing a bind file when an error
814         occurs (bug 1575)
815
816 2004-04-29  Angus Leeming  <leeming@lyx.org>
817
818         * cursor.C:
819         * factory.C:
820         * pariterator.C:
821         * text2.C: wrap a bunch of #warning statements
822         inside #ifdef WITH_WARNINGS blocks.
823
824 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
825
826         * buffer.C: increment format to 233.
827
828 2004-04-28  Angus Leeming  <leeming@lyx.org>
829
830         * BufferView_pimpl.C:
831         * lyxfunc.C:
832         * text3.C:
833         s/updateToolbar()/updateToolbars()/
834         s/Toolbar.h/Toolbars.h/
835
836 2004-04-28  Angus Leeming  <leeming@lyx.org>
837
838         * BufferView.[Ch] (c-tor):
839         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
840         No longer passes these data to the WorkArea generator.
841
842 2004-04-28  Angus Leeming  <leeming@lyx.org>
843
844         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
845
846 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
847
848         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
849
850 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * output_latex.C (TeXEnvironment): make sure that there is a line
853         break before \end{foo} for the last paragraph of a document
854         (TeXOnePar): if the paragraph is at the end of the document (or
855         inset) and the language has to be reset, then make sure that the
856         line break is _before_ the language command, not after (fixes bug
857         1225); also make sure that the language reset command is the first
858         thing after the paragraph (to ensure proper nesting of
859         environments and thus fix bug 1404)
860
861 2004-04-21  John Levon  <levon@movementarian.org>
862
863         * ToolbarBackend.h:
864         * ToolbarBackend.C: make "name" be a programmatic name
865         and a gui_name field.
866
867         * lyxfunc.C: display the minibuffer on M-x
868
869 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
872         (bug 1526)
873
874 2004-04-19  Angus Leeming  <leeming@lyx.org>
875
876         * BufferView_pimpl.C (setBuffer): changed preview interface.
877
878         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
879         possible values.
880
881 2004-04-19  John Levon  <levon@movementarian.org>
882
883         * BufferView_pimpl.C:
884         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
885
886 2004-04-05  Angus Leeming  <leeming@lyx.org>
887
888         * text.C (redoParagraphs): add call to updateCounters(), thereby
889         fixing the missing "Figure #:" label from the caption of a
890         figure float.
891
892 2004-04-13  Angus Leeming  <leeming@lyx.org>
893
894         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
895         cursor is clicked out of an inset.
896
897 2004-04-13  Angus Leeming  <leeming@lyx.org>
898
899         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
900         than an InsetOld one.
901
902 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
903
904         * format.[Ch]: add editor to Format
905         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
906         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
907
908 2004-04-08  André Pönitz  <poenitz@gmx.net>
909
910         * metricsinfo.h: remove PainterInfo::width member
911
912 2004-04-08  Angus Leeming  <leeming@lyx.org>
913
914         * lyx_sty.C (boldsymbol_def): modify so that it outputs
915         "\providecommand" rather than "\newcommand", thereby preventing
916         clashes with packages that define "\boldsymbol" themselves.
917         Eg, beamer.
918
919 2004-04-08  Angus Leeming  <leeming@lyx.org>
920
921         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
922         thereby squashing an unnecessary warning.
923
924 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
925
926         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
927         setBuffer()
928
929 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * BufferView.C (setCursor): call redoParagraph (some insets could
932         have been opened)
933         (putSelectionAt): remove the 'double update' trick
934
935         * BufferView_pimpl.C (fitCursor): call refreshPar
936         (workAreaDispatch): remove an uneeded update call
937         (dispatch): remove some manual update calls
938
939         * cursor.[Ch]: remove cached_y_, updatePos
940         (selHandle): set noUpdate when appropriate
941
942         * lyxfunc.C (dispatch): track if we need an update
943
944         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
945
946         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
947         (paintSelection): cheap optimization, do not call cursorX when not
948         needed
949         (paintPars): change signature
950         (refreshPar): add
951         (paintText): adjust
952         (paintTextInset): adjust
953
954         * text.C: adjust
955
956 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * lengthcommon.C: compilation fix: remove explicit array size from
959         unit_name[] and friends
960
961 2004-04-05  Angus Leeming  <leeming@lyx.org>
962
963         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
964
965         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
966         present only for the preferences dialog.
967         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
968
969 2004-04-05  Angus Leeming  <leeming@lyx.org>
970
971         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
972         to enable the frontends to export changes to lyxrc correctly.
973
974         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
975
976 2004-04-07  André Pönitz  <poenitz@gmx.net>
977
978         * cursor.[Ch] (selClear, adjust): remove math
979
980         * cursor_slice.C: more agressive assert
981
982         * lyxfunc.C:
983         * BufferView_pimpl.C: rework mouse event dispatch
984
985         * dociterator.C:
986         * paragraph.C:
987         * text2.C:
988         * text3.C: adjust
989
990 2004-04-05  André Pönitz  <poenitz@gmx.net>
991
992         * cursor.[Ch] (valign, halign...): remove unneeded functions
993
994 2004-04-05  Angus Leeming  <leeming@lyx.org>
995
996         * lyxlength.[Ch] (unit_name et al.): const-correct.
997
998 2004-04-05  Angus Leeming  <leeming@lyx.org>
999
1000         * BufferView_pimpl.C:
1001         * buffer.C:
1002         * counters.C:
1003         * cursor.C:
1004         * lyxfunc.C
1005         * paragraph.C:
1006         * pariterator.C:
1007         * text.C:
1008         * text2.C:
1009         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1010
1011 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1014
1015 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1016
1017         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1018         * BufferView_pimpl.[Ch] (getStatus)
1019         * BufferView.[Ch] (getStatus): add
1020         * lyxfunc.C (getStatus): move lfuns handled in
1021         BufferView::dispatch to te function above
1022         * Cursor.C (setSelection): set selection() = true
1023
1024 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1025
1026         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1027
1028 2004-03-31  Angus Leeming  <leeming@lyx.org>
1029
1030         * lyxfunc.C (dispatch): Fall through to the generic
1031         Dialogs::show("preamble").
1032
1033 2004-03-31  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyxfunc.C (dispatch): Fall through to the generic
1036         Dialogs::show("spellchecker").
1037
1038 2004-03-31  Angus Leeming  <leeming@lyx.org>
1039
1040         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1041         preferences dialog.
1042
1043 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1044
1045         * BufferView.C
1046         * cursor.[Ch]
1047         * dociterator.[Ch]:
1048         * insetiterator.[Ch]:
1049         * lyxfind.C:
1050         * lyxfunc.C:
1051         * pariterator.[Ch]:
1052         * text2.C:
1053         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1054
1055 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1056
1057         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1058         insets where we are putting the cursor.
1059
1060 2004-03-31  Angus Leeming  <leeming@lyx.org>
1061
1062         * lfuns.h:
1063         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1064
1065         * lyxrc.[Ch] (read, write): overloaded member functions taking
1066         a std::[io]stream arguments.
1067
1068         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1069
1070 2004-03-31  Angus Leeming  <leeming@lyx.org>
1071
1072         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1073         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1074
1075         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1076         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1077
1078 2004-03-31  Angus Leeming  <leeming@lyx.org>
1079
1080         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1081         the LFUN_ALL_INSETS_TOGGLE code.
1082
1083 2004-03-30  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1086         has died. Fall through to the generic Dialogs::show("document").
1087
1088 2004-03-30  Angus Leeming  <leeming@lyx.org>
1089
1090         * lfuns.h:
1091         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1092         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1093
1094         * lyxfunc.C (getStatus, dispatch): define the actions for these
1095         lfuns. Little more than a cut and pste job from ControlDocument.C
1096
1097         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1098
1099 2004-03-30  Angus Leeming  <leeming@lyx.org>
1100
1101         * lfuns.h:
1102         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1103         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1104
1105         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1106         open/closed state of ollapsable insets. Usage:
1107
1108         all-inset-toggle <state> <name>, where
1109         <state> == "open" || "closed" || "toggle" and
1110         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1111
1112         * lyxtext.h, text2.C (toggleInset): removed.
1113
1114         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1115         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1116         now passes LFUN_INSET_TOGGLE to the found inset.
1117
1118         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1119         is now invoked as "all-insets-toggle toggle branch".
1120
1121 2004-03-30  Angus Leeming  <leeming@lyx.org>
1122
1123         * dociterator.C:
1124         * insetiterator.C:
1125         * pariterator.[Ch]: added/corrected header blurb.
1126
1127 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * dociterator.[Ch]: add an inset_ member
1130         (backwardPos): implemented
1131         (backwardPos, forwardPos): use inset_ when the stack is empty.
1132         (doc_iterator_begin, doc_iterator_end): implemented
1133         * pariterator.[Ch]: adjust, add begin, end
1134         * insetiterator.[Ch]: adjust, add begin, end
1135         * cursor.C:
1136         * document.C:
1137         * BufferView.C:
1138         * BufferView_pimpl.C:
1139         * CutAndPaste.C: adjust
1140
1141 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1142
1143         * buffer.C: increment file format to 232.
1144         * LaTeXFeatures.C: add bibtopic package.
1145         * bufferparams.[Ch]: param \use_bibtopic.
1146
1147         * lyxrc.[Ch]: add lyxrc bibtex_command
1148         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1149
1150         * buffer.C: increment file format to 231.
1151
1152 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1153
1154         * dociterator.C: implement forwardPar
1155         * iterators.[Ch]: remove, replaced by
1156         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1157         * BufferView.C:
1158         * BufferView_pimpl.C:
1159         * CutAndPaste.C:
1160         * buffer.C:
1161         * bufferview_funcs.C:
1162         * cursor.C:
1163         * lyxfind.C
1164         * lyxfunc.C
1165         * paragraph_funcs.C
1166         * toc.C:
1167         * Makefile.am: adjust
1168
1169 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * CutAndPaste.C (pasteSelection): fix 2 crashes
1172         (eraseSelection): fix a crash
1173         * paragraph_funcs.C: remove a warning
1174
1175 2004-03-28  Angus Leeming  <leeming@lyx.org>
1176
1177         * lfuns.h:
1178         * LyXAction.C (init): new LFUN_PRINT.
1179
1180         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1181
1182 2004-03-27  Angus Leeming  <leeming@lyx.org>
1183
1184         * lfuns.h:
1185         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1186
1187         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1188
1189 2004-03-27  Angus Leeming  <leeming@lyx.org>
1190
1191         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1192         insetlist always contains non-null pointers to insets.
1193
1194 2004-03-26  Angus Leeming  <leeming@lyx.org>
1195
1196         * src/BufferView_pimpl.C:
1197         * src/CutAndPaste.C:
1198         * src/buffer.C:
1199         * src/iterators.C:
1200         * src/output_plaintext.C:
1201         * src/outputparams.h:
1202         * src/paragraph_funcs.C:
1203         * src/rowpainter.C:
1204         * src/text.C:
1205         * src/text2.C:
1206         * src/frontends/controllers/ControlErrorList.C:
1207         * src/frontends/gtk/FileDialogPrivate.C:
1208         * src/frontends/gtk/GPainter.C:
1209         * src/frontends/gtk/GToolbar.C:
1210         * src/frontends/qt2/QRef.C:
1211         * src/mathed/math_scriptinset.C: squash compiler warnings.
1212
1213 2004-03-26  Angus Leeming  <leeming@lyx.org>
1214
1215         * ispell.C (LaunchIspell::start):
1216         * lyx_cb.C (AutoSaveBuffer::start):
1217         invoke run(DontWait) rather than runNonBlocking().
1218
1219 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1220
1221         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1222
1223 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1224
1225         * kbsequence.C (print): adjust
1226
1227         * kbmap.C (printKeySym): rename and change signature
1228         (printKey): use LyXKeySym::print()
1229
1230 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1231
1232         * undo.C: add using std::advance to compile for stlport
1233
1234 2004-03-24  Angus Leeming  <leeming@lyx.org>
1235
1236         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1237         it leads to a crash when no buffer is present.
1238
1239 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240             Martin Vermeer  <martin.vermeer@hut.fi>
1241
1242         * lyxfunc.C (dispatch):
1243         * bufferparams.C (readToken): use the new LColor::setColor
1244
1245         * LColor.[Ch] (setColor): new version that takes two strings as
1246         argument and creates a new color entry if necessary
1247
1248 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1249
1250         * buffer.C (makeLaTeXFile): if the main latex file that is
1251         processed is usually a subdocument of some master, then pretend
1252         for a while that it is actually the master
1253
1254 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1255
1256         * buffer.C (getLabelList):
1257         (getBibkeyList): use getMasterBuffer()
1258         (getMasterBuffer): new method. Returns the main document in the
1259         case where one is using included documents.
1260
1261 2004-03-25  André Pönitz  <poenitz@gmx.net>
1262
1263         * Makefile.am:
1264         * iterators.[Ch]:
1265         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1266
1267         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1268
1269         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1270         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1271
1272         * ParameterStruct.h: merge with ParagraphParameters
1273
1274         * lyxtext.h: remove LyXText::parOffset() and getPar()
1275
1276         * text3.C: Remove all 'manual' update calls. We do now one per user
1277         interaction which is completely sufficient.
1278
1279         * Bidi.C:
1280         * BufferView.[Ch]:
1281         * BufferView_pimpl.C:
1282         * FontIterator.[Ch]:
1283         * MenuBackend.C:
1284         * ParagraphParameters.[Ch]:
1285         * buffer.C:
1286         * buffer.h:
1287         * bufferlist.C:
1288         * cursor.[Ch]:
1289         * cursor_slice.[Ch]:
1290         * dociterator.[Ch]:
1291         * errorlist.[Ch]:
1292         * factory.C:
1293         * lfuns.h:
1294         * lyxfind.C:
1295         * lyxfunc.C:
1296         * output_docbook.[Ch]:
1297         * output_latex.[Ch]:
1298         * output_linuxdoc.[Ch]:
1299         * output_plaintext.[Ch]:
1300         * paragraph.[Ch]:
1301         * paragraph_funcs.[Ch]:
1302         * paragraph_pimpl.[Ch]:
1303         * rowpainter.C:
1304         * tabular.[Ch]:
1305         * text.C:
1306         * text2.C:
1307         * toc.C:
1308         * undo.[Ch]: adjust
1309
1310         * frontends/controllers/ControlDocument.C:
1311         * frontends/controllers/ControlErrorList.C:
1312         * frontends/controllers/ControlSpellchecker.C:
1313         * insets/inset.C:
1314         * insets/inset.h:
1315         * insets/insetbase.h:
1316         * insets/insetbibitem.C:
1317         * insets/insetbox.C:
1318         * insets/insetbranch.C:
1319         * insets/insetcaption.C:
1320         * insets/insetcharstyle.C:
1321         * insets/insetcharstyle.h:
1322         * insets/insetcollapsable.C:
1323         * insets/insetcollapsable.h:
1324         * insets/insetert.C:
1325         * insets/insetfloat.C:
1326         * insets/insetfoot.C:
1327         * insets/insetmarginal.C:
1328         * insets/insetnote.C:
1329         * insets/insetoptarg.C:
1330         * insets/insettabular.C:
1331         * insets/insettext.C:
1332         * insets/insettext.h:
1333         * insets/insetwrap.C:
1334         * mathed/math_mboxinset.C:
1335         * mathed/math_nestinset.C:
1336         * mathed/math_scriptinset.C:
1337         * mathed/math_scriptinset.h:
1338         * support/types.h:
1339
1340 2004-03-24  Angus Leeming  <leeming@lyx.org>
1341
1342         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1343         deal with any child processes that have finished but are waiting to
1344         communicate this fact to the rest of LyX.
1345
1346 2004-03-24  Angus Leeming  <leeming@lyx.org>
1347
1348         64-bit compile fixes.
1349
1350         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1351         (c-tor): pass lyx::pos_types rather than ints.
1352
1353         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1354         lyx::pos_type.
1355
1356         * text.C (Delete): compile fix.
1357         (getPar): ensure that function declaration is the same as that in
1358         the header file.
1359
1360 2004-03-23  Angus Leeming  <leeming@lyx.org>
1361
1362         * ispell.C (LaunchIspell):
1363         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1364         a boost::shred_ptr rather than a std::auto_ptr.
1365
1366 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1367
1368         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1369         handle LFUN_FILE_INSERT_*
1370
1371         * lyxrc.C (setDefaults, getDescription, output, read):
1372         * lyxrc.h: remove ps_command
1373
1374 2004-03-22  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1377         Ensure that error_handler is processed once only and that all data
1378         is saved before attempting to output any warning messages.
1379
1380         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1381
1382 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1383
1384         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1385
1386 2004-03-19  André Pönitz  <poenitz@gmx.net>
1387
1388         * cursor.[Ch] (reset): take main text inset as argument
1389
1390         * BufferView: adjust
1391         * BufferView_pimpl.C: adjust
1392
1393         * paragraph.[Ch]: fix completely broken operator=()
1394
1395 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396
1397         * LColor.C (getFromLyXName): make sure that the color name is used
1398         as lowercase.
1399
1400 2004-03-17  Angus Leeming  <leeming@lyx.org>
1401
1402         * lfuns.h:
1403         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1404
1405         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1406         dialog and to kill a forked process.
1407
1408 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * text2.C (setCursorFromCoordinates): fix font problem
1411
1412 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1415         bogus "rebuild cursor" code
1416
1417 2004-03-11  André Pönitz  <poenitz@gmx.net>
1418
1419         * buffer.[Ch]: use InsetText instead of LyXText as container for
1420         the main lyx text.
1421
1422         * dociterator.[Ch]: drop the BufferView * member which is not needed
1423         anymore after the change to buffer.C
1424
1425         * paragraph_funcs.C:
1426         * text.C:
1427         * text2.C:
1428         * BufferView.[Ch]:
1429         * BufferView_pimpl.[Ch]:
1430         * cursor.[Ch]:
1431         * cursor_slice.[Ch]: adjust
1432
1433         * text3.C: fix bug in mathDispatch
1434
1435 2004-03-08  André Pönitz  <poenitz@gmx.net>
1436
1437         * undo.[Ch]: use 'StableDocumentIterator' as base for
1438         the Undo struct.
1439
1440 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1441
1442         * LaTeXFeatures.C:
1443         * bufferparams.[Ch]: add jurabib support and param.
1444
1445         * LaTeX.C: add FIXME/comment.
1446
1447 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1448
1449         * buffer.C: increment file format to 230.
1450
1451 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * cursor.C (dispatch): avoid infinite loops
1454
1455 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1456
1457         * rowpainter.C (paintSelection): fix x coordinates
1458
1459 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1460
1461         * text.C (rowBreakPoint): fix breaking before displayed insets
1462
1463 2004-03-01  André Pönitz  <poenitz@gmx.net>
1464
1465         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1466
1467         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1468
1469         * Makefile.am:
1470         * BufferView.C:
1471         * BufferView_pimpl.C:
1472         * buffer.C:
1473         * lyxfind.C:
1474         * lyxfunc.C:
1475         * text.C:
1476         * text2.C:
1477         * text3.C: adjust
1478
1479 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * lyxtext.h:
1482         * text.C:
1483         * text2.C:
1484         * rowpainter.C:
1485         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1486         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1487
1488 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1489
1490         * Bidi.[Ch] (computeTables): const correctness
1491         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1492         fill_hfill, fill_label_hfill and x from Row
1493         * lyxtext.h: prepareToPrint returns a RowMetrics
1494         * rowPainter.C: adjust
1495         * text.C (prepareToPrint): use width, not textWidth. adjust
1496         (redoParagraphInternal, cursorX): adjust
1497         * text2.C (getColumnNearX): adjust
1498         (init): put a default value to the top LyXText::width
1499
1500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1503
1504 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * lyxtext.h: add FontIterator class
1507
1508         * text.C (FontIterator, operator*, operator->, operator++): add
1509         (rowBreakPoint, setRowWidth): adjust (fixing a
1510         rebreaking bug)
1511
1512 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * BufferView_pimpl.C (workAreaDispatch): allow also
1515         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1516
1517 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * text.C (rowBreakPoint): fix a bug showing with very large insets
1520
1521 2004-02-25  André Pönitz  <poenitz@gmx.net>
1522
1523         * text3.C:
1524         * cursor.[Ch]: move some mathed specific code to mathed
1525
1526 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1527
1528         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1529         use_tempdir in preferences
1530         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1531         tempfile creation
1532         * lyx_main.C: ensure that tempdir is valid
1533         * lyxlex.h: correct typo
1534         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1535         * paragraph.[Ch] (isMultiLingual): make const
1536         * cursor.[Ch] (openable): make const
1537
1538 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1539
1540         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1541
1542 2004-02-20  André Pönitz  <poenitz@gmx.net>
1543
1544         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1545
1546         * cursor.[Ch]: prepare for localized getStatus()
1547
1548         * lyxtext.h:
1549         * tabular.C:
1550         * text.C:
1551         * text2.C:
1552         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1553
1554 2004-02-20  André Pönitz  <poenitz@gmx.net>
1555
1556         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1557
1558 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * text2.C (setCursorFromCoordinates): switch to absolute coords
1561         (cursorUp): adjust
1562         (cursorDown): adjust
1563         * text3.C (dispatch): adjust
1564
1565 2004-02-16  André Pönitz  <poenitz@gmx.net>
1566
1567         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1568           insets/ChangeLog)
1569
1570         * cursor_slice.[Ch]: remove unneeded acessor function
1571
1572         * lyxtext.h: rename rtl() to isRTL()
1573
1574         * rowpainter.C:
1575         * tabular.C:
1576         * text.C:
1577         * text2.C:
1578         * text3.C: adjust
1579
1580 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1581
1582         * rowpainter.C (paintSelection): coord fix
1583
1584 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1585
1586         * Spacing.C: compile fix
1587
1588 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * cursor.C (dispatch): restore current_ before returning
1591
1592 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1593
1594         * text2.C (cursorUp, cursorDown): fix coords
1595         (moveUp): fix crash
1596
1597 2004-02-12  André Pönitz  <poenitz@gmx.net>
1598
1599         * lyxtext.h:
1600         * text.C:
1601         * text2.C:
1602         * text3.C: add LCursor & parameter to most cursor movement functions
1603           remove usage of LyXText::cursorRow() and cursorPar()
1604
1605         * cursor.[Ch]: add textRow() needed members
1606
1607         * BufferView.C:
1608         * BufferView_pimpl.C:
1609         * paragraph.[Ch]:
1610         * BufferView.C:
1611         * BufferView_pimpl.C: adjust
1612
1613 2004-02-11  André Pönitz  <poenitz@gmx.net>
1614
1615         * lyxfunc.C:
1616         * BufferView.[Ch]:
1617         * BufferView_pimpl.C: shift undo/redo handling
1618
1619         * cursor.[Ch]: fix mathed crash
1620
1621         * lyxfind.C:
1622         * lyxtext.h: move selectionAsText to LCursor
1623
1624         * output_latex.C:
1625         * paragraph.C:
1626         * text.C:
1627         * text2.C:
1628         * text3.C: adjust
1629
1630         * rowpainter.C: fix excessive drawing
1631
1632 2004-02-06  André Pönitz  <poenitz@gmx.net>
1633
1634         * BufferView.[Ch]:
1635         * BufferView_pimpl.[Ch]:
1636         * text3.C: move some text specific LFUN handling
1637
1638 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * text3.C (checkInsetHit): adjust coords
1641         * text2.C (getColumnNearX): adjust coords
1642         (edit): adjust coords
1643         * text.C (getRowNearY): add two asserts
1644
1645 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1646
1647         * converter.C:
1648         * format.C: add using std::distance to compile on gcc 2.95/stlport
1649
1650 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1651
1652         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1653
1654 2004-02-04  André Pönitz  <poenitz@gmx.net>
1655
1656         * BufferView.[Ch] (insertInset):
1657         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1658
1659         * text2.C:
1660         * text3.C: adjust
1661
1662 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1665         on the default clause of the switch
1666         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1667         wasn't catched by LCursor::dispatch
1668
1669 2004-02-03  André Pönitz  <poenitz@gmx.net>
1670
1671         * BufferView.C:
1672         * cursor.[Ch]: some additional asserts
1673
1674         * undo.[Ch]: remove LyXText dependency in interface
1675
1676         * lyxfunc.C: adjust
1677
1678         * lyxtext.h (firstPar, lastPar): remove dead functions
1679
1680         * text.C:
1681         * text2.C:
1682         * text3.C:
1683         * paragraph.[Ch]: adjust
1684
1685 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1686
1687         * lyxfind.C (find): fix argument order in call to ::find
1688
1689 2004-02-02  André Pönitz  <poenitz@gmx.net>
1690
1691         * cursor.[Ch]: remove direct access to anchor
1692
1693         * text.C: remove findText() hack
1694
1695 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * iterators.[Ch] (lockPath): remove in favour of...
1698         * BufferView.[Ch] (setCursor): this addition
1699         * BufferView.C (putSelectionAt): adjust
1700         * undo.C (performUndoOrRedo): adjust
1701         * lyxfunc.C (dispatch): adjust
1702
1703 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1704
1705         * iterators.C (lockPath): add a missing slice
1706         * undo.C (performUndoOrRedo): remove redundant positioning code
1707
1708 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1709
1710         * vc-backend.C (scanMaster): ";" -> ';'
1711
1712 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1713
1714         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1715         std::binary_function
1716
1717         * lyxtextclass.C (compare_name): rename to...
1718         (LayoutNamesEqual): ...this
1719
1720         * lyxlex_pimpl.C (compare_tags): inherit from
1721         std::binary_function, put back into anon namespace
1722
1723         * lyxfind.C (MatchString): inherig from std::binary_function
1724         (findChange): use empty() istead of !size()
1725
1726         * format.C (FormatNamesEqual): new functor
1727         (getFormat): use it
1728         (getNumber): use it
1729         (add): use it
1730         (erase): use it
1731         (setViewer): use it
1732
1733         * converter.C (compare_Converter): rename to...
1734         (ConverterEqual): ...this, and fixup a bit.
1735         (getConverter): use it, and make function const
1736         (getNumber): use it, and make function const
1737         (add): use it
1738         (erase): use it:
1739
1740         * bufferlist.C: add using boost::bind
1741
1742         * MenuBackend.C (MenuNamesEqual): new functor
1743         (hasMenu): use it, and make function const
1744         (hasSubmenu): use nested bind to get rid of compare_memfun.
1745
1746 2004-01-30  André Pönitz  <poenitz@gmx.net>
1747
1748         * BufferView_pimpl.C:
1749         * cursor.C:
1750         * cursor.h:
1751         * cursor_slice.[Ch]:
1752         * lyxfunc.C:
1753         * lyxtext.h:
1754         * paragraph_funcs.C:
1755         * paragraph_funcs.h:
1756         * rowpainter.C:
1757         * text.C:
1758         * text2.C:
1759         * text3.C: move some of the edit(x,y) handling to the insets
1760         some coordinate changes.
1761
1762 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1763
1764         * text.C: add using statements for std::advance and std::distance
1765
1766         * paragraph.C: add using statement for std::distance
1767
1768         * lyxfind.C: add using statement for std::advance
1769
1770         * cursor.C (region): remove std:: from swap
1771         (openable): use nucleus in stead of operator->
1772
1773         * BufferView.C: add using statements for std::distance and std::swap
1774
1775 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1776
1777         * iterators.C: Remove the pimple, move the needed structures to
1778         the header file. Create accessor for the positions stack.
1779         (asPosIterator): remove function
1780
1781         * PosIterator.C (PosIterator): move constructors to top of file
1782         (PosIterator): reimplement the constructor taking a ParIterator in
1783         terms of setFrom.
1784         (setFrom): new function
1785         (operator!=): inline it
1786
1787 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1788
1789         * lyxfind.C (replaceAll): use std::advance
1790
1791         * iterators.h: inherit from std::iterator.
1792
1793         * PosIterator.C (advance, distance): remove
1794         * PosIterator.h: interit from std::iterator.
1795
1796 2004-01-26  André Pönitz  <poenitz@gmx.net>
1797
1798         * BufferView.[Ch]:
1799         * BufferView_pimpl.[Ch]:
1800         * InsetList.[Ch]:
1801         * PosIterator.[Ch]:
1802         * buffer.h:
1803         * bufferview_funcs.C:
1804         * cursor.[Ch]:
1805         * cursor_slice.h:
1806         * factory.[Ch]:
1807         * iterators.[Ch]:
1808         * lyxfind.C:
1809         * lyxfunc.C:
1810         * lyxtext.h:
1811         * output_docbook.C:
1812         * output_latex.C:
1813         * output_linuxdoc.C:
1814         * output_plaintext.C:
1815         * paragraph.[Ch]:
1816         * paragraph_funcs.[Ch]:
1817         * paragraph_pimpl.[Ch]:
1818         * rowpainter.C:
1819         * tabular.C:
1820         * tabular.h:
1821         * text.C:
1822         * text2.C:
1823         * text3.C: more IU:  dumps most of the rest of the mathcursor
1824     implementation into cursor.[Ch]; "globalize" a bit of it.
1825
1826 2004-01-25  Angus Leeming  <leeming@lyx.org>
1827
1828         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1829
1830 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1831
1832         * LaTeXFeatures.h: add nice_ and nice() const
1833         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1834
1835 2004-01-20  André Pönitz  <poenitz@gmx.net>
1836
1837         * BufferView.[Ch]:
1838         * BufferView_pimpl.C:
1839         * PosIterator.C:
1840         * bufferview_funcs.C:
1841         * cursor.[Ch]:
1842         * cursor_slice.[Ch]:
1843         * factory.C:
1844         * iterators.C:
1845         * lyx_cb.C:
1846         * lyxfind.C:
1847         * lyxfunc.C:
1848         * lyxtext.h:
1849         * rowpainter.C:
1850         * text.C:
1851         * text2.C:
1852         * text3.C:
1853         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1854           LCursor and mathcursor parts to LCursor and InsetBase.
1855
1856 2004-01-15  André Pönitz  <poenitz@gmx.net>
1857
1858         * cursor_slice.[Ch]: add a few covienience functions
1859
1860         * funcrequest.[Ch]: remove BufferView * member
1861
1862         * BufferView_pimpl.C:
1863         * cursor.C:
1864         * factory.[Ch]:
1865         * lyxfind.[Ch]:
1866         * lyxfunc.C:
1867         * lyxtext.h:
1868         * text3.C:
1869         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1870
1871 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1874         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1875
1876 2004-01-13  André Pönitz  <poenitz@gmx.net>
1877
1878         * textcursor.[Ch]:
1879         * lyxtext.h: hide cursor and selection anchor behind accessor function
1880
1881         * BufferView.C:
1882         * BufferView_pimpl.[Ch]:
1883         * PosIterator.C:
1884         * bufferview_funcs.C:
1885         * cursor.h:
1886         * lyxfind.C:
1887         * lyxfunc.C:
1888         * text.C:
1889         * text2.C:
1890         * text3.C:
1891         * undo.C: adjust
1892
1893         * cursor.h:
1894         * cursor_slice.[Ch]: some integer type changes for inset unification
1895
1896         * lyxcursor.[hC]: remove, it's CursorSlice now.
1897
1898         * Makefile.am:
1899         * BufferView_pimpl.[Ch]:
1900         * bufferview_funcs.C:
1901         * cursor_slice.C:
1902         * lyxtext.h:
1903         * text.C:
1904         * text2.C:
1905         * text3.C:
1906         * textcursor.[Ch]: adjust
1907
1908 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * text2.C (undoSpan): add and use
1911         * text.C (breakParagraph): use undoSpan (fix bug 578)
1912         * lyxtext.h: adjust
1913
1914 2004-01-08  Angus Leeming  <leeming@lyx.org>
1915
1916         * BufferView_pimpl.C (MenuInsertLyXFile):
1917         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1918         * lyxfunc.C (menuNew, open, doImport):
1919         FileFilterList change to the FileDialog open and save functions.
1920
1921 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1922
1923         * ShareContainer.h: make isEqual and isUnique adaptable
1924
1925         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1926
1927 2004-01-07  Angus Leeming  <leeming@lyx.org>
1928
1929         * LyXAction.C:
1930         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1931
1932         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1933
1934         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1935         functions replacing find, replace and replaceAll.
1936
1937         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1938         LFUN_WORDFIND(FORWARD|BACKWARD).
1939
1940 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1941
1942         * text.C (breakParagraph): remove an outdated #warning
1943
1944 2004-01-07  André Pönitz  <poenitz@gmx.net>
1945
1946         * lyxfind.C: somewhat clearer logic
1947
1948         * text.C: prevent crash in cursorX on unitialized row cache
1949
1950 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1951
1952         * lyxcursor.[Ch] (operator>): add
1953         * textcursor.C (selStart, selEnd): use std::min and std::max
1954
1955 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1956
1957         * Chktex.C: include boost/format.hpp
1958
1959 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1960
1961         * InsetList.C: replace functor MathcIt with adaptable functor
1962         InsetTablePosLess
1963         (insetIterator): modify accordingly
1964
1965         * BranchList.h: move the BranchNamesEqual functor here from...
1966         * BranchList.C: ... to here
1967
1968         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1969         SameName and match.
1970         (add): replace a finding loop with std::find_if.
1971
1972 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1973
1974         * output_docbook.C: moving LatexParam functionality into
1975         .layout files
1976
1977 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1978
1979         * buffer.C: increment format to 229.
1980
1981 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1982
1983         * LaTeXFeatures.C:
1984         * lyx_sty.[Ch]: remove minipageindent_def
1985
1986         * LyXAction.C:
1987         * factory.C:
1988         * lfuns.h:
1989         * lyxfunc.C:
1990         * text3.C: remove LFUN_INSET_MINIPAGE
1991
1992 2003-12-28  Angus Leeming  <leeming@lyx.org>
1993
1994         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1995
1996 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1997
1998         * text2.C (setParagraph): fix off-by-one crash
1999
2000 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2001
2002         * output_docbook.C: header stuff for AGU
2003
2004 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2005
2006         * text2.C (redoCursor): remove
2007         * text.C:
2008         * text3.C:
2009         * BufferView_pimpl.C: remove calls to redoCursor and
2010         setCursor(cursor.par(), cursor.pos()) all around
2011
2012 2003-12-15  Angus Leeming  <leeming@lyx.org>
2013
2014         * buffer.C: up the format to 228.
2015
2016 2003-12-15  André Pönitz  <poenitz@gmx.net>
2017
2018         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2019         slices
2020
2021         * Makefile.am:
2022
2023         * BufferView_pimpl.C:
2024         * cursor.[Ch]:
2025         * lyxcursor.[Ch]:
2026         * rowpainter.[Ch]:
2027         * lyxtext.h:
2028         * text.C:
2029         * text2.C:
2030         * text3.C: adjust
2031
2032 2003-12-15  Angus Leeming  <leeming@lyx.org>
2033
2034         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2035         than getFromGUIName to manipulate the color.
2036
2037 2003-12-14  Angus Leeming  <leeming@lyx.org>
2038
2039         * BranchList.[Ch]: minimize the API.
2040         (Branch::getBranch, getColor): now return a 'const &'.
2041         (Branch::setSelected) now returns a bool set to true if the
2042         selection status changes.
2043         (BranchList::clear, size, getColor, setColor, setSelected,
2044         allBranches, allSelected, separator): removed.
2045         (BranchList::find): new functions, returning the Branch with
2046         the given name.
2047         (BranchList::add, remove): return a bool indicating that
2048         the operation was successful.
2049
2050         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2051         new InsetBranch::isBranchSlected member function.
2052
2053         * LColor.[Ch]: mimimize the API.
2054         (fill): renamed as addColor and made private.
2055         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2056         versions of these functions taking a string arg have been removed.
2057
2058         * bufferparams.C (readToken):
2059         * lyxfunc.C (dispatch):
2060         * lyxrc.C (read): changes due to the altered BranchList and
2061         LColor APIs.
2062
2063         * factory.C (createInset, readInset): changes due to altered
2064         InsetBranch c-tor.
2065
2066 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2067
2068         * factory.C:
2069         * lyxfunc.C: remove insetminipage. "minipage-insert"
2070         now produces a frameless minipage box inset.
2071
2072 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * textcursor.[Ch] (selStart,selEnd): add new methods
2075         remove selection::start, end, use LyXCursor::operator<
2076         * lyxcursor.[Ch] (operator<): add
2077         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2078         * BufferView.[Ch] (unsetXSel): add
2079         * text2.C (clearSelection): use unsetXSel,adjust
2080         * text.C: adjust
2081         * text3.C: adjust
2082         * rowpainter.C: adjust
2083         * bufferview_funcs.C (put_selection_at): adjust
2084
2085 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2086
2087         * BufferView_pimpl.C: small coord. correction
2088
2089 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2092         dragging over the splash screen.
2093
2094 2003-12-11  Angus Leeming  <leeming@lyx.org>
2095
2096         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2097         as it is now handled in LyXText::dispatch.
2098
2099         * text3.C (doInsertInset): remove a level of nesting.
2100
2101 2003-12-11  Angus Leeming  <leeming@lyx.org>
2102
2103         * factory.C (createInset): changes due to the changed interface to
2104         InsetCommandMailer::string2params.
2105
2106 2003-12-10  Angus Leeming  <leeming@lyx.org>
2107
2108         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2109         'dialog-show-new-inset <inset name>'
2110
2111 2003-12-10  Angus Leeming  <leeming@lyx.org>
2112
2113         * buffer.C: up the format to 227.
2114
2115         * factory.C: the box inset is now identified simply by 'Box'.
2116
2117 2003-12-10  Angus Leeming  <leeming@lyx.org>
2118
2119         * buffer.C: up the format to 226.
2120
2121         * factory.C: the note inset is now identified simply by 'Note'.
2122
2123 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2124
2125         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2126         when a pit is enough. Standarize a couple of loops.
2127
2128 2003-12-05  Angus Leeming  <leeming@lyx.org>
2129
2130         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2131         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2132         data to the re-worked "log" dialog.
2133
2134 2003-12-03  André Pönitz  <poenitz@gmx.net>
2135
2136         * PosIterator.C:
2137         * iterators.C:
2138         * lyxtext.h:
2139         * output_latex.C:
2140         * paragraph_funcs.C:
2141         * text.C:
2142         * text2.C: use Inset::getText instead of Inset::getParagraph
2143
2144 2003-12-03  André Pönitz  <poenitz@gmx.net>
2145
2146         * buffer.[Ch]:
2147         * lyxtext.h:
2148         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2149         InsetText::read() as LyXText::read()
2150
2151 2003-12-02  Angus Leeming  <leeming@lyx.org>
2152
2153         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2154         type. Add a comment in the implementation that the function uses
2155         the stream's bad() function rather than fail() as the std::streams
2156         would do.
2157
2158 2003-12-02  André Pönitz  <poenitz@gmx.net>
2159
2160         * lyxlex.[Ch]: make interface more similar to std::stream
2161
2162         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2163
2164 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2165
2166         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2167
2168 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2169
2170         * vspace.[Ch]: remove VSpace::NONE
2171
2172 2003-12-01  André Pönitz  <poenitz@gmx.net>
2173
2174         * buffer.[Ch]:
2175         * lyxtext.h: move ParagraphList member to LyXText
2176         rename LyXText::ownerParagraphs to LyXText::paragraph
2177
2178         * CutAndPaste.C:
2179         * bufferview_funcs.C:
2180         * iterators.[Ch]:
2181         * lyx_cb.C:
2182         * paragraph.C:
2183         * rowpainter.C:
2184         * tabular.C:
2185         * text.C:
2186         * text2.C:
2187         * text3.C: adjust
2188
2189         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2190
2191         * undo.C: fix cursor positioning
2192
2193 2003-12-01  John Levon  <levon@movementarian.org>
2194
2195         * BufferView_pimpl.C: fix a crash on exit with
2196         a buffer open
2197
2198 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2199
2200         * BranchList.C: fix setSelected() method.
2201
2202 2003-11-28  André Pönitz  <poenitz@gmx.net>
2203
2204         * ParagraphParameters.[Ch]:
2205         * ParameterStruct.h: remove space above/below from Paragraph to
2206          InsetVSpace
2207
2208         * BufferView_pimpl.C:
2209         * factory.C:
2210         * lyxfunc.C:
2211         * lyxtext.h:
2212         * output_latex.C:
2213         * paragraph.C:
2214         * paragraph_funcs.C:
2215         * rowpainter.[Ch]:
2216         * text.C:
2217         * text2.C:
2218         * text3.C: adjust
2219
2220 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2221
2222         * factory.C: Syntax change for CharStyles
2223
2224 2003-11-28  André Pönitz  <poenitz@gmx.net>
2225
2226         * BufferView.[Ch]:
2227         * BufferView.[Ch]:
2228         * buffer.[Ch]:
2229         * buffer.[Ch]: move LyXText member
2230
2231 2003-11-28  André Pönitz  <poenitz@gmx.net>
2232
2233         * BufferView.[Ch]: make LyXText * text a private member
2234
2235         * BufferView_pimpl.C:
2236         * cursor.C:
2237         * iterators.C:
2238         * lyx_cb.C:
2239         * lyxfind.C:
2240         * lyxtext.h:
2241         * rowpainter.[Ch]:
2242         * text.C:
2243         * text2.C:
2244         * undo.C: adjust
2245
2246         * output_plaintext.C: cleanup
2247
2248 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2249
2250         * buffer.C:
2251         * lyxtextclass.[Ch]: parametrize SGML document header
2252
2253 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2254
2255         * converter.[Ch]:
2256         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2257         getFlavor().
2258
2259 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2260
2261         * text2.C (setFont): rework using PosIterator (no more recursive)
2262         (setCharFont): no more needed
2263         (setLayout): no more selection cursors fiddling (done by redoCursor)
2264         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2265         destroy remaining ones)
2266
2267 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2268
2269         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2270         * lyxtext.h: ditto
2271         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2272         selection cursors
2273         * lyxfunc.C: adjust
2274         * text3.C: adjust + re-allow multi par depth changes
2275         * textcursor.C: simplify a bit
2276
2277 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2278
2279         * src/buffer.C:
2280         * src/lyxlayout.C:
2281         * src/lyxlayout.h:
2282         * src/lyxtext.h:
2283         * src/output_docbook.C:
2284         * src/output_latex.C:
2285         * src/paragraph.C:
2286         * src/paragraph.h:
2287         * src/sgml.C:
2288         * src/sgml.h:
2289         * src/text2.C: Introducing a number of tags parametrizing various
2290         XML formats that we may want to support
2291
2292 2003-11-25  André Pönitz  <poenitz@gmx.net>
2293
2294         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2295
2296         * lyxtext.h (leftMargin/rightMargin): simplify interface
2297
2298         * rowpainter.C:
2299         * text.C:
2300         * text2.C:
2301         * text3.C: adjust
2302
2303 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2304
2305         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2306         master file to any child files. Fixes bug 546.
2307
2308 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2311
2312 2003-11-24  André Pönitz  <poenitz@gmx.net>
2313
2314         * rowpainter.C: simplification
2315
2316         * text2.C (updateCounters): remove call to redoParagraph on
2317         changed labels as this is far too expensive.
2318
2319 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2320
2321         * converter.C (convert): fix a crash: this function gets
2322         called with buffer == 0 from importer code.
2323
2324 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2325
2326         * text3.C (cursorPrevious): make sure that we do not compare
2327         iterators form different containers.
2328         (cursorNext): ditto
2329
2330         * rowpainter.C (paintSelection): make sure that we do not compare
2331         iterators from different containers.
2332
2333         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2334         iterators from different ParagraphList containers.
2335         [NEXT] ditto
2336
2337         * text2.C (LyXText): change order of initialization slightly
2338         (operator=): new function. copy all variables except cache_par_
2339         (moveUp): make sure that we do not compare iterators from
2340         different ParagraphList constainers.
2341         (moveDown): ditto
2342
2343         * text.C (firstPar): new function
2344         (lastPar): new function
2345         (endPar): new function
2346
2347         * lyxtext.h: move things around and group public functions, public
2348         variables, private functions, private variables
2349
2350 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2351
2352         * factory.C: change call to InsetERT constructor to avoid
2353         additional invocation of method status
2354         * text2.C (toggleInset): remove redundant update() call
2355         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2356         instead of a Bufferview pointer
2357
2358 2003-11-21  André Pönitz  <poenitz@gmx.net>
2359
2360         * rowpainter.C: simplification
2361
2362 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * text3.C (dispatch): make possible to extend a word/row selection
2365         with the mouse
2366
2367 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2368
2369         * lyxtext.h: x0_,y0_ -> xo_,yo_
2370         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2371         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2372         * rowpainter.C (paintRows): paint full paragraphs
2373
2374 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2375
2376         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2377         screen coordinates)
2378
2379 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2380
2381         * lyxtext.h: add x0_, y0_
2382         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2383         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2384
2385 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * text2.C (setCursorIntern): move the x_target update here *
2388         * text3.C: change some bv() to true/false in calls to
2389         cursorUp/Down/Right/Left
2390         * cursor.C: use helper function.
2391
2392 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2395         * paragraph_funcs.[Ch]: correct comment
2396         * rowpainter.C: do not paint selections away from bv->cursor()
2397         Fix a long standing selection painting bug.
2398         * text3.C: generalize mouse-selection code to LyXTexts other that
2399         top one
2400         * textcursor.C: do not use y coords if we can use par offsets
2401
2402 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2403
2404         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2405         cursor position after e.g. inset insert)
2406
2407 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2408
2409         * lyxfind.C (replace): adjust to locking removal + some
2410         code simplification
2411
2412 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2415         of the path
2416
2417 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2418
2419         * lyxlayout.[Ch]:
2420         * output_docbook.C: XML sanitation: new layout
2421         parameters InnerTag and CommandDepth
2422
2423 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * BufferView_pimpl.C:
2426         * factory.C:
2427         * text3.C: Fix the insertion and modification of button-style
2428         insets
2429
2430 2003-11-13  André Pönitz  <poenitz@gmx.net>
2431
2432         * InsetList.[Ch]: remove deleteLyXText
2433
2434         * paragraph.[Ch]: cache beginOfBody position
2435
2436         * Bidi.C:
2437         * text.C:
2438         * text2.C:
2439         * text3.C: remove superfluous update() calls
2440
2441         * vspace.C: cleanup
2442
2443 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2444
2445         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2446         * BufferView.C (fitLockedInsetCursor): remove
2447         * cursor.[Ch] (getDim): add
2448         * text.C (getRowNearY): add faster version
2449         * text3.C: remove some update calls
2450
2451 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2452
2453         * LaTeXFeatures.C:
2454         * LyXAction.C:
2455         * MenuBackend.C:
2456         * MenuBackend.h:
2457         * dispatchresult.h:
2458         * factory.C:
2459         * lfuns.h:
2460         * lyxfunc.C:
2461         * lyxtextclass.C:
2462         * lyxtextclass.h:
2463         * text3.C: The Character Style /XML short element patch.
2464
2465 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2466
2467         * text3.C:
2468         * factory.C: Small step to solving 'unable to insert some insets'
2469         problem
2470
2471 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2472
2473         * cursor.[Ch] (updatePos): new function for updating the y
2474         position of the tip inset
2475         * bufferview_funcs.C (put_selection_at):
2476         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2477
2478 2003-11-11  André Pönitz  <poenitz@gmx.net>
2479
2480         * text.C: remove big comment on invalid Paragraph pointers as it is
2481         not valid anymore
2482
2483 2003-11-11  André Pönitz  <poenitz@gmx.net>
2484
2485         * text_funcs.[Ch]: merge with ...
2486
2487         * text.C: ... this
2488
2489         * lyxtext.h:
2490         * text2.C:
2491         * text3.C: adjust
2492
2493         * Makefile.am: remove text_funcs.[Ch]
2494
2495 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2496
2497         * cursor.C (getPos): return absolute cached y coord
2498
2499         * BufferView_pimpl.C (fitCursor): new simplistic code
2500         (workAreaDispatch): add a fitCursor call
2501
2502 2003-11-10  André Pönitz  <poenitz@gmx.net>
2503
2504         * BufferView.[Ch]:
2505         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2506
2507 2003-11-10  André Pönitz  <poenitz@gmx.net>
2508
2509         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2510         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2511         indicate that the cursor needs to leave an inset
2512
2513         * lyxtext.h: remove inset locking
2514
2515         * cursor.[Ch]: re-implement functionality provided by inset locking
2516
2517         * BufferView.[Ch]:
2518         * BufferView_pimpl.[Ch]:
2519         * LyXAction.C:
2520         * bufferview_funcs.[Ch]:
2521         * factory.C:
2522         * funcrequest.[Ch]:
2523         * iterators.C:
2524         * lyx_cb.C:
2525         * lyxfind.C:
2526         * lyxfunc.C:
2527         * text.C:
2528         * text2.C:
2529         * text3.C:
2530         * undo.C: adjust
2531
2532 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * PosIterator.[Ch]: replace the stack with a vector, add inset
2535         accesor
2536         * iterators.[C]: adjust
2537
2538 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2539
2540         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2541         replaced
2542         * paragraph_funcs.C (readParToken): put the correct id in the
2543         error item, not the id of the top paragraph
2544
2545 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2548         * bufferview_funcs.C (put_selection_at): use the above
2549
2550 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2551
2552         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2553
2554 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2555
2556         * output_linuxdoc.h:
2557         * output_plaintext.h:
2558         * output.h:
2559         * output_docbook.h: add #include statements
2560
2561 2003-11-05  José Matos  <jamatos@lyx.org>
2562
2563         * output_docbook.[Ch]:
2564         * output_latex.[Ch]:
2565         * output_linuxdoc.[Ch]:
2566         * output_plaintext.[Ch]: New files for output formats.
2567         * output.[Ch]: New file for helper functions.
2568
2569         * buffer.[Ch]:
2570         * paragraph_funcs.[Ch]: output functions moved to new files.
2571
2572         * outputparams.h: rename of latexrunparams.h
2573
2574         * LaTeX.[Ch]:
2575         * buffer.[Ch]:
2576         * bufferlist.[Ch]:
2577         * converter.[Ch]:
2578         * exporter.C:
2579         * paragraph.[Ch]:
2580         * paragraph_funcs.[Ch]:
2581         * paragraph_pimpl.[Ch]:
2582         * tabular.[Ch]: rename ascii to plaintext
2583         and LatexRunParams to OutputParams.
2584
2585 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2586
2587         * iterators.[Ch] (text): require bv argument
2588         * undo.C (recordUndo):
2589         * lyxfunc.C (dispatch):
2590         * bufferview_funcs.C (put_selection_at): adjust
2591
2592 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2593
2594         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2595
2596 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2599         nestings
2600
2601 2003-11-04  André Pönitz  <poenitz@gmx.net>
2602
2603         * cursor.[Ch]: restructure
2604
2605         * BufferView.[Ch]:
2606         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2607
2608         * iterators.[Ch] (asCursor): remove
2609
2610         * lfuns.h: remove LFUN_INSET_EDIT
2611
2612         * lyxfunc.C:
2613         * tabular.C:
2614         * text.C:
2615         * text2.C:
2616         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2617
2618 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2619
2620         * lyxfind.[Ch]: complete overhaul
2621         * BufferView_pimpl.C:
2622         * lyxfunc.C: adjust
2623         * paragraph.[Ch] (insert): add
2624
2625 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * BufferView.[Ch]:
2628         * lyxtext.h:
2629         * text.C: remove dead spellcheck code
2630
2631 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * dispatchresult.h: add a val setter
2634
2635         * cursor.C (dispatch): use a tempvar for data_[i]
2636
2637 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2638
2639         * PosIterator.[Ch]: compile fix
2640
2641 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * text.C (cursorPar): deactivate the cursor cache
2644
2645 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2646
2647         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2648
2649 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * text3.C (dispatch): adjust for new DisptchResult semantics.
2652
2653         * lyxfunc.C (dispatch): handle update when return from
2654         Cursor::dispatch, adjust for new DispatchResult semantics.
2655
2656         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2657         DispatchResult(true) mean to not update. Add class functions for
2658         setting dispatched and update, as well as reading.
2659
2660         * cursor.C (dispatch): don't handle update here
2661
2662 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2665         * trans_mgr.C: adjust
2666
2667         * paragraph_funcs.C (readParToken): exception safety
2668
2669         * lyxvc.h: store the vcs pointer in a scoped_ptr
2670         * lyxvc.C: adjust
2671
2672         * lyxsocket.C (serverCallback): exception safety
2673
2674         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2675
2676         * ispell.C (clone): make it return a auto_ptr
2677
2678         * factory.C (createInset): exception safety
2679         (readInset): exception safety
2680
2681         * bufferlist.C (newBuffer): exception safety
2682
2683         * Thesaurus.C (Thesaurus): use initialization for aik_
2684
2685         * MenuBackend.C (expandToc): exception safety.
2686
2687 2003-11-03  André Pönitz  <poenitz@gmx.net>
2688
2689         * buffer.C:
2690         * buffer.h:
2691         * bufferview_funcs.C: remove getInsetFromId()
2692
2693         * lyxcursor.[Ch]:
2694         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2695
2696         * lyxfunc.C:
2697         * text2.C:
2698         * text3.C: adjust
2699
2700 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2701
2702         * PosIterator.C (distance, advance): new
2703         * bufferview_funcs.[Ch] (put_selection_at): new
2704         * iterators.[Ch] (lockPath): new
2705
2706 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * iterators.[Ch] (asPosIterator): added
2709         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2710         * PosIterator.[Ch]: added
2711
2712 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * text3.C:
2715         * lyxfunc.C:
2716         * cursor.C (dispatch):
2717         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2718
2719         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2720         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2721         contructor, add a class function dispatched. Remove operator>=
2722
2723 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * debug.C: only use the default constructor for debugstream
2726         (lyxerr) here.
2727
2728         * main.C (main): include debug.h and setup the lyxerr streambuf
2729         here.
2730
2731 2003-10-31  José Matos  <jamatos@lyx.org>
2732
2733         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2734
2735         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2736         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2737         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2738         * paragraph_pimpl.C (simpleTeXSpecialC):
2739         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2740         add LatexRunParams argument.
2741
2742         * exporter.C (Export): change call accordingly.
2743
2744         * latexrunparams.h: add new member to take care of the other backends.
2745 2003-10-30  José Matos  <jamatos@lyx.org>
2746
2747         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2748         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2749         factorise code for paragraph output.
2750         * buffer.[Ch]:
2751         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2752         move functions.
2753
2754 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * text3.C (dispatch):
2757         * lyxfunc.C (dispatch):
2758         * cursor.C (dispatch):
2759         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2760
2761         * dispatchresult.h: make the dispatch_result_t ctor explicit
2762
2763 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * sgml.[Ch]:
2766         * buffer.C: small refactoring of docbook stuff
2767
2768 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2771         meaning.
2772
2773 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2776         operator dispatch_result_t, and operators for == != and >=
2777
2778         * cursor.C (dispatch): adjust for operator dispatch_result_t
2779         removal. comment out call to update
2780
2781         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2782
2783 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * text3.C:
2786         * text2.C:
2787         * text.C:
2788         * lyxtext.h:
2789         * lyxfunc.C:
2790         * cursor.C:
2791         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2792         (dispatch):
2793
2794         * dispatchresult.h: new file, DispatchResult broken out of
2795         insets/insetbase.h
2796
2797         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2798
2799 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * text.C (rowBreakPoint): put a hack inside #if 0
2802
2803 2003-10-28  André Pönitz  <poenitz@gmx.net>
2804
2805         * lyxtext.h:
2806         * metricsinfo.C:
2807         * paragraph_funcs.C:
2808         * rowpainter.C:
2809         * text.C:
2810         * text2.C: general cleanup (lots of small stuff)
2811
2812 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * text2.C (cursorEnd): simple fix to the "end key goes to one
2815         before the end on last row" bug
2816
2817 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2818
2819         * text.C (backspace): fix the "zombie characters"
2820
2821 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2822
2823         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2824
2825 2003-10-27  André Pönitz  <poenitz@gmx.net>
2826
2827         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2828
2829         * factory.C: handle new InsetPagebreak, InsetLine
2830
2831         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2832         and move handling into new InsetPagebreak, InsetLine
2833
2834         * BufferView_pimpl.C:
2835         * LyXAction.C:
2836         * ParagraphParameters.C:
2837         * ParameterStruct.h:
2838         * lyxfunc.C:
2839         * lyxtext.h:
2840         * paragraph.C:
2841         * paragraph.h:
2842         * paragraph_funcs.C:
2843         * paragraph_pimpl.C:
2844         * rowpainter.C:
2845         * text.C:
2846         * text2.C:
2847         * text3.C: adjust
2848
2849 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2850
2851         * text.C:
2852         * lyxrow_funcs.[Ch]:
2853         * Bidi.C:
2854         * paragraph.C:
2855         * lyxtext.h:
2856         * rowpainter.C:
2857         * text2.C:
2858         * text3.C: remove lastPos uses in favour of Row::endpos
2859
2860 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2861
2862         * undo.C (performUndoOrRedo): fix two crashes by setting a
2863         cursor by hand and reordering some calls. Use bv->lockInset instead
2864         of inset->edit because the latter loses cursor information
2865
2866 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2867
2868         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2869         by Martin
2870         (rowBreakPoint): fix width. change point to point + 1.
2871         Add a missing check.
2872
2873 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2874
2875         * MenuBackend.C:
2876         * lyxfunc.C: fix (at least partly) the problems
2877         with the Nav menu and headers inside branch insets
2878         reported by Kayvan
2879
2880 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2881
2882         * paragraph.C (getChar): add strong asserts
2883
2884         * lyxrow_funcs.C (lastPos): remove hideous hack
2885
2886         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2887         (fill): adjust to that (avoid an infinite loop)
2888
2889 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2892
2893 2003-10-23  André Pönitz  <poenitz@gmx.net>
2894
2895         * RowList_fwd.h: change list<> to vector<> to gain speed
2896         after suggestion from Alfredo
2897
2898 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2899
2900         * lyxtext.h: move the bidi stuff from here...
2901         * text.C: and here
2902         * text2.C: and here
2903         * Bidi.[Ch]: ... to here
2904
2905 2003-10-23  André Pönitz  <poenitz@gmx.net>
2906
2907         * lyxtext.h:
2908         * text.C (isLastRow, isFirstRow): new functions
2909
2910         * paragraph.h: new width cache member
2911
2912         * rowpainter.C: replace RowList::iterator with Row & where possible
2913
2914         * lyxfunc.C: replace several view()->text with a single call
2915
2916         * toc.C: fix 'unused' warning
2917
2918 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2921         when woring with stream::pos_type
2922         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2923
2924 2003-10-22  André Pönitz  <poenitz@gmx.net>
2925
2926         * lyxtext.h:
2927         * text.C: use Row & instead of RowList::iterator
2928
2929         * lyxrow.h: rename end() to endpos()
2930
2931         * rowpainter.C:
2932         * text.C:
2933         * text2.C: adjust
2934
2935 2003-10-22  Angus Leeming  <leeming@lyx.org>
2936
2937         * buffer.[Ch] (fully_loaded): new member function, returning true
2938         only when the file has been loaded fully.
2939         Used to prevent the premature generation of previews and by the
2940         citation inset to prevent computation of the natbib-style label.
2941
2942         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2943         templates are all set up.
2944
2945         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2946
2947 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2948
2949         * text.C: fixed an "oops" in the "is a bit silly"
2950         bug fix
2951
2952 2003-10-21  André Pönitz  <poenitz@gmx.net>
2953
2954         * FuncStatus.[Ch]: small stuff, whitespace
2955
2956         * lyxfont.[Ch]: operator<<() for debug reasons
2957
2958         * lyxfunc.C:
2959         * lyxrow_funcs.C:
2960         * lyxtext.h: whitespace, spelling
2961
2962         * paragraph.C: naming of variables
2963
2964         * text.C:
2965         * text2.C: small stuff
2966
2967
2968 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * text.C: (1) finish off the inset display() work;
2971         (2) fix the "is a bit silly" bug (accessing char
2972         past end of par).
2973
2974 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2975
2976         * text.C: re-introduce display() for insets, fixing the
2977         various bugs (stretch of line above, math inset
2978         positioning, ...)
2979
2980 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * text.C (rightMargin): remove spurious semicolon
2983
2984         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2985         1415)
2986
2987 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2988
2989         * text3.C: fix one crash due to wrong cursor def
2990
2991 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * vc-backend.C (scanMaster): make the regex static
2994
2995         * LaTeX.C (scanAuxFile): make the regexs static
2996
2997         * text3.C (doInsertInset, dispatch, dispatch):
2998         * text2.C (cursorUp, cursorDown):
2999         * text.C (selectNextWordToSpellcheck):
3000         * BufferView_pimpl.C (dispatch):
3001         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3002
3003 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3004
3005         * lyxsocket.C: include <cerrno>
3006
3007 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3008
3009         * lyxfunc.C (dispatch): remove textcache stuff
3010
3011         * bufferlist.C (release): remove textcache stuff
3012         (closeAll): ditto
3013
3014         * TextCache.C: delete file
3015         * TextCache.h: delete file
3016
3017         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3018
3019         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3020         delete of the bv_->text.
3021         (resizeCurrentBuffer): remove texcache stuff
3022         (workAreaResize): ditto
3023
3024 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3025
3026         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3027         action.
3028
3029 2003-10-16  André Pönitz  <poenitz@gmx.net>
3030
3031         * lyxrow.[Ch]:
3032         * paragraph.h:
3033         * rowpainter.C:
3034         * text.C:
3035         * text2.C:
3036         * text3.C: speed up by storing y positions per paragraph plus per-row
3037         offset instead of having a 'full' y position in the row.
3038
3039 2003-10-15  André Pönitz  <poenitz@gmx.net>
3040
3041         * iterators.[Ch]:
3042         * iterators.[Ch]:
3043         * undo.[Ch]: make undo aware of inner insets
3044
3045 2003-10-14  Angus Leeming  <leeming@lyx.org>
3046
3047         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3048         static member functions LyX::ref() and LyX::cref.
3049         (lastfiles): new accessor functions for the new lastfiles_ member var.
3050         (addLyXView, views_): add a new LyXView to the list of views_.
3051         (updateInset): loop over all LyXViews to call their own updateInset
3052         member function, returning a pointer to the Buffer owning the inset.
3053
3054         * BufferView_pimpl.C (loadLyXFile):
3055         * MenuBackend.C (expandLastfiles):
3056         * bufferlist.C (MenuWrite, QuitLyX):
3057         lastfiles is no longer a global variable.
3058         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3059
3060         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3061         static function. Access through LyX::cref().emergencyCleanup().
3062
3063 2003-10-14  André Pönitz  <poenitz@gmx.net>
3064
3065         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3066
3067         * undo.[Ch]: restoring part of 'undo in insets'
3068
3069         * Makefile.am:
3070         * undo_funcs.[Ch]: merge with undo.[Ch]
3071
3072         * tabular.C: small cleansing stuff
3073
3074 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * paragraph_funcs.C (readParToken): report unknown insets as error
3077         boxes. Use the outer paragraph as location (also for unknown
3078         tokens).
3079
3080         * factory.C (readInset): do not abort on reading an unknown inset.
3081         Eat it and return 0.
3082
3083 2003-10-13  Angus Leeming  <leeming@lyx.org>
3084
3085         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3086
3087         * lyxrc.C: displayTranslator is now a function,
3088         declared in GraphicsTypes.h.
3089
3090 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3091
3092         * format.C: new placeholder $$a to pass the socket address.
3093
3094         * bufferlist.[Ch]: new function getBufferFromTmp.
3095
3096         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3097           files in the temporary dir.
3098
3099 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3100
3101         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3102
3103         * Makefile.am: add lyxsocket.[Ch].
3104
3105         * lyx_main.C (error_handler): handle SIGPIPE.
3106
3107 2003-10-13  André Pönitz  <poenitz@gmx.net>
3108
3109         * BufferView_pimpl.C:
3110         * lyxtext.h:
3111         * text.C:
3112         * text2.C:
3113         * text3.C:
3114         * undo_funcs.[Ch]: use paroffset_type instead of
3115           ParagraphList::iterators to prevent multiple conversion
3116           (and get a more robust interface)
3117
3118 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3121         * lyxtext.h: ditto
3122         * text3.C (dispatch): ditto
3123
3124 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3125
3126         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3127         move the onlyfile, use onlyfile instead of foundfile in a couple
3128         of places.
3129
3130         * DepTable.C (update): flush the error stream a bit more
3131
3132 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * lyxserver.C (callback): adjust
3135
3136         * lyxfunc.C (getStatus): add a missing brace in commented code
3137         (ensureBufferClean): reindent
3138         (dispatch): delete version taking a string
3139
3140 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * LaTeX.C (deplog): move found file handlig from here...
3143         (handleFoundFile): .. to new function here.
3144         (deplog): make sure to discover several files mentioned on the
3145         same log line.
3146
3147 2003-10-10  André Pönitz  <poenitz@gmx.net>
3148
3149         * lyxfunc.C:
3150         * lyxtext.h:
3151         * tabular.C:
3152         * text.C:
3153         * text2.C:
3154         * text3.C: fix some of the tabular crashes
3155
3156 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3157
3158         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3159
3160         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3161
3162 2003-10-09  André Pönitz  <poenitz@gmx.net>
3163
3164         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3165
3166         * BufferView.C:
3167         * BufferView_pimpl.C:
3168         * bufferview_funcs.C:
3169         * lyx_cb.C:
3170         * lyxcursor.C:
3171         * lyxfind.C:
3172         * lyxfunc.C:
3173         * lyxtext.h:
3174         * text.C:
3175         * text2.C:
3176         * text3.C:
3177         * text_funcs.[Ch]:
3178         * textcursor.[Ch]:
3179         * undo_funcs.C: adjust
3180
3181 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3182
3183         * text2.C (incrementItemDepth): new function, use a backtracking
3184         algorithm to discover the correct item depth.
3185         (resetEnumCounterIfNeeded): new function, use a backtracking
3186         algorithm to discover if counter reset is needed.
3187         (setCounter): use them. Simplify a bit. Add different labels for
3188         different item depths for itemize.
3189
3190         * paragraph.C (Paragraph): remove initialization of enumdepth
3191         (operator=): ditto
3192
3193         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3194         enumerate and itemize. Change the type of itemdepth to signed char.
3195
3196 2003-10-08  André Pönitz  <poenitz@gmx.net>
3197
3198         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3199           thing assignable.
3200         * text.C:
3201         * text2.C: adjust
3202
3203         * tabular.[Ch]: fix crash after 'row-insert'
3204
3205 2003-10-08  Angus Leeming  <leeming@lyx.org>
3206
3207         Fix doxygen warnings.
3208
3209         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3210         Remove CutAndPaste:: prefix from header file declaration.
3211
3212         * LColor.h (fill): remove LColor:: prefix from declaration.
3213
3214         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3215         use lyx::depth_type rather than Paragraph::depth_type so that
3216         header file and .C file match.
3217
3218         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3219
3220         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3221         * aspell.C: \file aspell_local.C -> \file aspell.C
3222         * gettext.C: \file gettext.C -> \file src/gettext.C
3223         * gettext.h: \file gettext.h -> \file src/gettext.h
3224         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3225         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3226         * text.C: \file text.C -> \file src/text.C
3227
3228         * toc.C: move comment so that doxygen is not confused.
3229
3230 2003-10-07  Angus Leeming  <leeming@lyx.org>
3231
3232         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3233
3234 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3235
3236         * aspell.C:
3237         * aspell_local.h: add forgotten std::string's.
3238
3239 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3240
3241         * LaTeXFeatures.C:
3242         * LyXAction.C:
3243         * factory.C:
3244         * lfuns.h:
3245         * lyxfunc.C:
3246         * text3.C: The Box patch. Fancybox support, minipage, parbox
3247
3248 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3249
3250         * CutAndPaste.h:
3251         * DepTable.h:
3252         * FloatList.h:
3253         * LaTeXFeatures.h:
3254         * ParagraphParameters.h:
3255         * TextCache.h:
3256         * Thesaurus.h:
3257         * bufferlist.h:
3258         * exporter.h:
3259         * importer.h:
3260         * lastfiles.h:
3261         * lyxfind.h:
3262         * lyxfont.h:
3263         * lyxlex.h:
3264         * lyxtextclasslist.h:
3265         * messages.h:
3266         * paragraph.h:
3267         * paragraph_pimpl.C:
3268         * textcursor.h: add <string> and other small fixes to make Lars'
3269         std::string patch compile with STLport.
3270
3271 2003-10-06  Angus Leeming  <leeming@lyx.org>
3272
3273         * LColor.h: Add missing #include <string>.
3274
3275 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * All most all file in all subdirs: Make <string> be the prefered
3278         way of getting to std::string, add using declarations.
3279
3280 2003-10-06  André Pönitz  <poenitz@gmx.net>
3281
3282         * metricsinfo.C: initialize LyXFont before changing attribute.
3283         (fixes the 'math in \emph is upright' bug)
3284
3285 2003-10-06  André Pönitz  <poenitz@gmx.net>
3286
3287         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3288
3289 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3290
3291         * graph.C:
3292         * paragraph_pimpl.C: Small fixes to build using STLport
3293
3294 2003-10-02  André Pönitz  <poenitz@gmx.net>
3295
3296         * lyxfunc.C:
3297         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3298
3299 2003-10-01  André Pönitz  <poenitz@gmx.net>
3300
3301         * factory.C: assert early
3302
3303 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * lyx_main.C: remove the global debug object
3306
3307         * debug.h: adjust for new debugstream
3308
3309         * debug.C: adjust for new debugstream and keep the global debug
3310         object here.
3311
3312 2003-09-22  Angus Leeming  <leeming@lyx.org>
3313
3314         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3315         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3316         an incomplete class LyXFont.
3317
3318 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3319
3320         * factory.C: bug fix in branches
3321
3322 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3323
3324         * lyxfunc.C (processKeySym): adjust
3325         (dispatch): adjust
3326         (dispatch): change arg name from ev to func, adjust
3327         (sendDispatchMessage): ditto
3328
3329         * lyx_main.C (defaultKeyBindings): adjust keybindings
3330         (deadKeyBindings): ditto
3331
3332         * kbsequence.C (addkey): return a FuncRequest
3333
3334         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3335
3336         * kbmap.C (bind): take a FuncRequest as arg, adjust
3337         (read): adjust
3338         (lookup): adjust
3339         (defkey): change to take a FuncRequest as arg, adjust
3340         (findbinding): take a FuncRequest as arg, adjust.
3341
3342         * funcrequest.h (operator=): added
3343
3344         * funcrequest.C (FuncRequest): default kb_action changed from
3345         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3346
3347         * buffer.C (dispatch): simplify
3348         (dispatch): adjust to take a FuncRequest as arg, adjust
3349
3350         * boost.C (assertion_failed): change assertion message slightly
3351
3352         * ToolbarBackend.C (read): simplify
3353
3354         * MenuBackend.C (binding): adjust call to findbinding, add a
3355         message if no binding is found.
3356         (read): simplify
3357         (expandToc): correct by adding a empty FuncRequest
3358
3359         * LyXAction.C: include <boost/assert.hpp>
3360         (isPseudoAction): delete function
3361         (LookupFunc): change name to...
3362         (lookupFunc): this. change return type to FuncRequest.
3363         (getActionName): take kb_action as arg, simplify
3364         (funcHasFlag): add an assert, simplify.
3365
3366 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3367
3368         * toc.C (action): return a FuncRequest, simplify
3369
3370         * lyxfunc.C (processKeySym): adjust
3371         (getStatus): delete version that takes an int.
3372         (getStatus): adjust
3373         (dispatch): delete version that takes action as int
3374         (dispatch): adjust
3375         (sendDispatchMessage): simplify and adjust
3376
3377         * funcrequest.C (getArg): take unsigned int as arg
3378
3379         * ToolbarBackend.C (read): adjust
3380         (add): delete version that takes func as a string.
3381         (getIton): take a FuncRequest as arg
3382
3383         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3384         action.
3385
3386         * MenuBackend.C (MenuItem): add a new construct that only takes a
3387         Kind, simplify the constructor use for submenus.
3388         (add): adjust
3389         (expandLastfiles): adjust
3390         (expandDocuments): adjust
3391         (expandFormats): adjust
3392         (expandFloatListInsert): adjust
3393         (expandFloatInsert): adjust
3394         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3395
3396         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3397         Remove class variables lyx_pseudo_map and lyx_arg_map
3398
3399         * LyXAction.C (searchActionArg): delete function
3400         (getPseudoAction): delete function
3401         (retrieveActionArg): delete function
3402         (LookupFunc): make it return kb_action, simplify.
3403         (getActionName): simplify
3404
3405         * factory.C (createInset): fix new bug
3406
3407 2003-09-19  Angus Leeming  <leeming@lyx.org>
3408
3409         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3410         masterFilename_ parameter in the include inset.
3411
3412         * factory.C (createInset): changes due to the changes to InsetInclude.
3413
3414 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3415
3416         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3417
3418 2003-09-18  Angus Leeming  <leeming@lyx.org>
3419
3420         * buffer.C:
3421         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3422         Inset::fillWithBibKeys.
3423         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3424
3425 2003-09-18  Angus Leeming  <leeming@lyx.org>
3426
3427         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3428         variables.
3429         (ctor): pass and store a 'Buffer const &'
3430         (buffer): new member function.
3431
3432         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3433         '*this' to the LaTeXFeatures ctor.
3434
3435 2003-09-18  Angus Leeming  <leeming@lyx.org>
3436
3437         * LColor.h:
3438         * lyxfont.C:
3439         * lyxfont.h:
3440         * lyxtext.h:
3441         * text.C: rename EnumLColor as LColor_color.
3442
3443 2003-09-18  Angus Leeming  <leeming@lyx.org>
3444
3445         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3446         remove #include "insets/insetbase.h" from cursor.h.
3447
3448 2003-09-18  Angus Leeming  <leeming@lyx.org>
3449
3450         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3451         InsetOld_code to remove #include "inset.h".
3452
3453         * iterators.C: add #include "insets/inset.h"
3454
3455 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3456
3457         * BufferView.C: remove more locking stuff that apparently doesn't
3458         do anything sensible.
3459
3460 2003-09-16  André Pönitz  <poenitz@gmx.net>
3461
3462         * paragraph.[Ch]:
3463         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3464           performance boost.
3465
3466 2003-09-16  Angus Leeming  <leeming@lyx.org>
3467
3468         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3469
3470         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3471         arg/return type.
3472
3473         * paragraph.h: remove #include "lyxfont.h". Forward declare
3474         LyXFont_size.
3475
3476 2003-09-16  Angus Leeming  <leeming@lyx.org>
3477
3478         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3479         of support/textutils.h.
3480         (isWord): move the contents of support/textutils.h's IsWordChar here.
3481
3482         * buffer.C:
3483         * lyxfind.C:
3484         * rowpainter.C:
3485         * text.C:
3486         * text2.C: add #include "paragraph.h".
3487
3488         * rowpainter.C:
3489         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3490
3491 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3492
3493         * main.C:
3494         * lyx_main.C:
3495         * lyx_cb.C:
3496         * buffer.C:
3497         * LaTeX.C: use namespace alias for lyx::support::os
3498
3499 2003-09-16  Angus Leeming  <leeming@lyx.org>
3500
3501         * bufferparams.C:
3502         * bufferview_funcs.C:
3503         * factory.C:
3504         * lyxfunc.C:
3505         * paragraph_pimpl.C:
3506         * rowpainter.C:
3507         * text.C: add #include "LColor.h".
3508
3509 2003-09-16  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3512         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3513         return LyXFont &.
3514         Store the FontBits::color variable as an int rather than as an
3515         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3516         file.
3517
3518         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3519         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3520         string calls together.
3521
3522         * lyxrc.C: add #include "LColor.h".
3523
3524 2003-09-15  Angus Leeming  <leeming@lyx.org>
3525
3526         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3527         a cow_ptr.
3528
3529 2003-09-15  Angus Leeming  <leeming@lyx.org>
3530
3531         * LColor.h: add an EnumLColor wrapper for LColor::color.
3532
3533         * lyxfont.[Ch] (color, setColor, realColor):
3534         * lyxtext.h, text.C (backgroundColor):
3535         pass EnumLColor args to/from the functions, rather than LColor::color
3536         ones.
3537
3538         * lyxfont.h:
3539         * lyxtext.h: forward declare EnumLColor.
3540
3541         * lyx_main.C: add #include "LColor.h".
3542
3543 2003-09-15  Angus Leeming  <leeming@lyx.org>
3544
3545         * .cvsignore: add lyx-gtk.
3546
3547 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3548
3549         * Chktex.C
3550         * LaTeX.C
3551         * LaTeXFeatures.C
3552         * ParagraphParameters.C
3553         * Spacing.C
3554         * buffer.C
3555         * bufferparams.C
3556         * bufferview_funcs.C
3557         * chset.C
3558         * counters.C
3559         * funcrequest.C
3560         * lyxfont.C
3561         * lyxgluelength.C
3562         * lyxlength.C
3563         * paragraph.C
3564         * paragraph_funcs.C
3565         * text3.C
3566         * vc-backend.C: remove usage of STRCONV
3567
3568 2003-09-15  Angus Leeming  <leeming@lyx.org>
3569
3570         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3571         explicitly define the color passed to the painter.
3572
3573 2003-09-15  Angus Leeming  <leeming@lyx.org>
3574
3575         * bufferparams.C (BufferParams): reorder member initializers to avoid
3576         compiler warning.
3577
3578 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3579
3580         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3581         * text.C (updateRowPositions): remove an unusual nop
3582
3583 2003-09-12  André Pönitz  <poenitz@gmx.net>
3584
3585         * BufferView_pimpl.C:
3586         * Bullet.C:
3587         * layout.h:
3588         * lyxfunc.C:
3589         * lyxlayout.[Ch]:
3590         * lyxtextclass.C:
3591         * rowpainter.C:
3592         * text.C:
3593         * text2.C:
3594         * Counters.[Ch]: finish the 'automatic counters' job
3595
3596 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3597
3598         * aspell.C: include <boost/assert.cpp> (compile fix)
3599
3600 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3601
3602         * boost.C (assertion_failed): use lyx::support::abort instead of
3603         assert.
3604
3605 2003-09-10  Angus Leeming  <leeming@lyx.org>
3606
3607         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3608         with their _fwd progeny.
3609
3610 2003-09-09  Angus Leeming  <leeming@lyx.org>
3611
3612         134 files throughtout the source tree: replace 'using namespace abc;'
3613         directives with the appropriate 'using abc::xyz;' declarations.
3614
3615 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3616
3617         * boost.C (emergencyCleanup): moved here from LAssert.c
3618         (assertion_failed): new function, called by BOOST_ASSERT
3619
3620         * several files: change Assert to BOOST_ASSERT
3621
3622 2003-09-09  Angus Leeming  <leeming@lyx.org>
3623
3624         * buffer.[Ch]: Add an Impl class and move Buffer's member
3625         variables into it. As a result move several header files out of
3626         buffer.h.
3627
3628         Add header files to lots of .C files all over the tree as a result.
3629
3630 2003-09-09  Angus Leeming  <leeming@lyx.org>
3631
3632         * buffer.[Ch]: make Buffer's member variables private. Add
3633         accessor functions.
3634
3635         Lots of changes all over the tree as a result.
3636
3637 2003-09-08  Angus Leeming  <leeming@lyx.org>
3638
3639         * graph.C: #include <config.h>.
3640
3641 2003-09-08  Angus Leeming  <leeming@lyx.org>
3642
3643         * BranchList.C:
3644         * BufferView.C:
3645         * BufferView_pimpl.C:
3646         * CutAndPaste.C:
3647         * DepTable.C:
3648         * LaTeX.C:
3649         * LaTeXFeatures.C:
3650         * LyXAction.C:
3651         * MenuBackend.C:
3652         * TextCache.C:
3653         * aspell.C:
3654         * buffer.C:
3655         * bufferlist.C:
3656         * changes.C:
3657         * chset.C:
3658         * converter.C:
3659         * counters.C:
3660         * debug.C:
3661         * graph.C:
3662         * ispell.C:
3663         * lyx_cb.C:
3664         * lyxfind.C:
3665         * lyxfunc.C:
3666         * lyxlex_pimpl.C:
3667         * lyxrc.C:
3668         * lyxrow.C:
3669         * paragraph.C:
3670         * rowpainter.C:
3671         * texrow.C:
3672         * text.C:
3673         * text2.C:
3674         * toc.C: remove redundant using directives.
3675
3676 2003-09-07  Angus Leeming  <leeming@lyx.org>
3677
3678         * LaTeXFeatures.h: remove #include "support/types.h".
3679         * ToolbarBackend.h: remove #include <algorithm>.
3680         * changes.h: remove #include <ctime>.
3681         * debug.h: remove #include <iosfwd>.
3682         * graph.h: remove #include "support/std_string.h".
3683         * lyx_main.h: remove #include <csignal>.
3684         * lyxlex_pimpl.h: remove #include <fstream>.
3685         * sgml.h: remove #include <algorithm>, <utility>.
3686         * toc.h: remove #include "support/std_ostream.h".
3687         Add #include <iosfwd>.
3688
3689 2003-09-07  Angus Leeming  <leeming@lyx.org>
3690
3691         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3692
3693         * converter.h: forward declare LatexRunParams.
3694         * encoding.h: remove #include "lyxrc.h".
3695         * lyxtext.h: remove #include "LColor.h".
3696         * lyxtextclass.h: remove #include "support/types.h".
3697         * trans.h: remove #include "tex-accent.h".
3698         * trans_mgr.h: remove #include "tex-accent.h".
3699         * insets/inset.h: remove #include "support/types.h", <vector>.
3700         * insets/insetcollapsable.h: remove #include "LColor.h".
3701         * insets/insetinclude.h: remove #include "dimension.h".
3702         * insets/insetlatexaccent.h: remove #include "dimension.h".
3703         * insets/insetoptarg.h:: remove #include "insettext.h".
3704         * insets/insettext.h: remove #include "dimension.h",
3705         <boost/shared_ptr.hpp>
3706
3707         * insets/renderers.h: add #include "dimension.h".
3708         * insets/updatableinset.h: add #include "support/types.h".
3709
3710         * many .C files: Associated changes.
3711
3712 2003-09-06  Angus Leeming  <leeming@lyx.org>
3713
3714         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3715         one, inside testInvariant.
3716
3717         * PrinterParams.C: new file.
3718         * PrinterParams.[Ch]: move the function bodies out of line.
3719
3720 2003-09-06  Angus Leeming  <leeming@lyx.org>
3721
3722         * ParagraphParameters.h: forward declare ParameterStruct rather than
3723         including its header file.
3724         (depth): moved out-of-line.
3725
3726 2003-09-06  Angus Leeming  <leeming@lyx.org>
3727
3728         * BufferView_pimpl.h:
3729         * kbmap.h:
3730         * kbsequence.h:
3731         * lyxfunc.h: forward declare LyXKeySym rather than
3732         #include "frontends/LyXKeySym.h".
3733
3734         * BufferView_pimpl.C:
3735         * kbmap.C:
3736         * kbsequence.C:
3737         * lyxfunc.C: associated changes.
3738
3739 2003-09-06  Angus Leeming  <leeming@lyx.org>
3740
3741         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3742         As a result, can remove the #include "insets/inset.h" from BufferView.h
3743
3744 2003-09-06  Angus Leeming  <leeming@lyx.org>
3745
3746         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3747         As a result, can remove the #include "insets/inset.h" from BufferView.h
3748
3749 2003-09-06  Angus Leeming  <leeming@lyx.org>
3750
3751         * buffer_funcs.C:
3752         * buffer.h:
3753         * bufferlist.C:
3754         * BufferView.C:
3755         * bufferview_funcs.C:
3756         * BufferView_pimpl.C:
3757         * CutAndPaste.C:
3758         * lyx_cb.C:
3759         * lyxfunc.C:
3760         * paragraph.h:
3761         * ParagraphParameters.C:
3762         * tabular.C:
3763         * text3.C:
3764         * toc.C:
3765         * undo_funcs.C:
3766         * frontends/controllers/ControlDocument.C:
3767         * insets/insetcaption.C: rearrange the #includes into some sort of
3768         coherent order.
3769
3770         * buffer.h: remove #includes ErrorList.h, undo.h
3771
3772 2003-09-06  Angus Leeming  <leeming@lyx.org>
3773
3774         * support/types.h: add a 'depth_type' typedef, used to store the
3775         nesting depth of a paragraph.
3776
3777         * paragraph.h:
3778         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3779         defining explicitly.
3780
3781         * buffer.h:
3782         * paragraph_funcs.h:
3783         * ParagraphParameters.h:
3784         * sgml.h: use lyx::depth_type rather than Paragraph or
3785         ParameterStruct's depth_type.
3786
3787         * buffer.h
3788         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3789
3790         * BufferView.C:
3791         * BufferView_pimpl.C:
3792         * CutAndPaste.C:
3793         * ParagraphParameters.C:
3794         * buffer_funcs.C:
3795         * bufferlist.C:
3796         * bufferview_funcs.C:
3797         * lyx_cb.C:
3798         * lyxfunc.C:
3799         * tabular.C:
3800         * text3.C:
3801         * toc.C:
3802         * undo_funcs.C:
3803         * frontends/LyXView.C:
3804         * frontends/controllers/ControlDocument.C:
3805         * frontends/controllers/ControlErrorList.C:
3806         * insets/insetbibitem.C:
3807         * insets/insetbranch.C:
3808         * insets/insetcaption.C:
3809         * insets/insetcollapsable.C:
3810         * insets/insetenv.C:
3811         * insets/insetert.C:
3812         * insets/insetfloat.C:
3813         * insets/insetfoot.C:
3814         * insets/insetfootlike.C:
3815         * insets/insetnewline.C:
3816         * insets/insetquotes.C:
3817         * insets/insettabular.C:
3818         * insets/insettext.C:
3819         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3820
3821         * frontends/controllers/ControlChanges.C: #include "changes.h".
3822
3823 2003-09-06  Angus Leeming  <leeming@lyx.org>
3824
3825         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3826         than #including paragraph.h.
3827
3828         * ParagraphList.h:
3829         * RowList.h: deleted. Superfluous.
3830
3831         * CutAndPaste.h:
3832         * iterators.h:
3833         * lyxcursor.h:
3834         * lyxtext.h:
3835         * text_funcs.h:
3836         * undo.h:
3837         * undo_funcs.h:
3838         * insets/inset.h:
3839         * insets/insettext.h: use ParagraphList_fwd.h rather than
3840         ParagraphList.h.
3841
3842         * paragraph.h: don't forward declare ParagraphList.
3843
3844         * buffer.h:
3845         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3846         rather than ParagraphList.h. paragraph.h is still needed for the
3847         Paragraph::depth_type parameters.
3848
3849         * textcursor.h: enable it to compile stand-alone in light of the
3850         above changes.
3851
3852         * bufferview_funcs.C:
3853         * iterators.C:
3854         * lyxfunc.C:
3855         * lyxrow_funcs.C:
3856         * paragraph.C:
3857         * rowpainter.C:
3858         * text.C:
3859         * text2.C:
3860         * text3.C:
3861         * text_funcs.C:
3862         * textcursor.C:
3863         * undo.C:
3864         * frontends/controllers/ControlParagraph.C:
3865         * frontends/controllers/ControlTabular.C:
3866         * insets/insetmarginal.C:
3867         * insets/insetminipage.C:
3868         * insets/insetnote.C:
3869         * insets/insetoptarg.C: add header files needed to compile again.
3870
3871 2003-09-06  Angus Leeming  <leeming@lyx.org>
3872
3873         * RowList_fwd.h: new file, forward-declaring Row rather than
3874         #including lyxrow.h.
3875
3876         * lyxrow_funcs.h:
3877         * lyxtext.h:
3878         * paragraph.h:
3879         * insets/insettext.h: use it instead of RowList.h
3880
3881         * bufferview_funcs.C:
3882         * lyxfunc.C:
3883         * lyxrow_funcs.C:
3884         * paragraph.C:
3885         * rowpainter.C:
3886         * text.C:
3887         * text2.C:
3888         * text3.C: #include "RowList.h".
3889
3890 2003-09-05  Angus Leeming  <leeming@lyx.org>
3891
3892         * factory.C (createInset):
3893         * vspace.C (c-tor): replace sscanf call with an istringstream.
3894         * ispell.C: re-add missing HP/UX headers.
3895         * lyxserver.C: re-add missing  os2 headers.
3896
3897 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3898
3899         * BranchList.C:
3900         * graph.C:
3901         * ispell.C:
3902         * lastfiles.C:
3903         * lyx_cb.C:
3904         * lyxserver.C:
3905         * texrow.C:
3906         * text3.C: re-add missing system headers, needed for 2.95.2.
3907
3908 2003-09-05  Angus Leeming  <leeming@lyx.org>
3909
3910         Changes most place everywhere due to the removal of using directives
3911         from support/std_sstream.h.
3912
3913 2003-09-05  Angus Leeming  <leeming@lyx.org>
3914
3915         Replace LString.h with support/std_string.h,
3916         Lsstream.h with support/std_sstream.h,
3917         support/LIstream.h with support/std_istream.h,
3918         support/LOstream.h with support/std_ostream.h.
3919
3920         Changes resulting throughout the tree.
3921
3922 2003-09-05  Angus Leeming  <leeming@lyx.org>
3923
3924         * sgml.h: ensure that the header file can be compiled stand-alone.
3925         * *.C: strip out redundant #includes. (320 in total.)
3926
3927 2003-09-04  Angus Leeming  <leeming@lyx.org>
3928
3929         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3930         here (from getPackages).
3931
3932         * debug.[Ch]: add a new EXTERNAL tag.
3933
3934 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3935
3936         * text2.C (cursorEnd): simplify
3937         (setCursor): adjust
3938         (getColumnNearX): adjust
3939
3940         * text.C (computeBidiTables): adjust
3941         (fill): adjust
3942
3943         * rowpainter.C (paintChars): adjust
3944         (paintSelection): adjust
3945         (paintChangeBar): adjust
3946         (paintText): adjust
3947
3948         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3949         lastPos instead.
3950         (numberOfSeparators): adjust
3951
3952 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3953
3954         * LyXAction.C:
3955         * box.[Ch]:
3956         * lfuns.h:
3957         * lyxfunc.C:
3958         * text3.C: Restricts the mouse click functionality
3959         of insets like bibtex, include, toc and floatlist to the visible
3960         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3961         up the dialogs. Cursor has to be in front of the inset (i.e.
3962         start of row) for this to function.
3963
3964 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3965
3966         * bufferview_funcs.C (currentState): output row information
3967
3968 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3969
3970         * bufferview_funcs.C (currentState): output paragraph position
3971
3972 2003-09-04  Angus Leeming  <leeming@lyx.org>
3973
3974         * FloatList.h: move out #include "Floating.h".
3975         * LaTeX.h: move out #include "DepTable.h".
3976         * LyXAction.h: move out #include "funcrequest.h".
3977         * buffer.h: move out #include "author.h", "iterators.h".
3978         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3979         * lyx_main.h: move out #include "errorlist.h".
3980         * lyxfunc.h: move out #include "FuncStatus.h".
3981         * lyxtext: move out #include "lyxcursor.h".
3982         * paragraph_pimpl.h: move out #include "counters.h".
3983
3984 2003-09-03  Angus Leeming  <leeming@lyx.org>
3985
3986         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3987         preamble_snippets list, enabling us to add snippets to the preamble
3988         only if the snippet was not there already.
3989
3990 2003-09-04  Angus Leeming  <leeming@lyx.org>
3991
3992         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3993
3994 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3997         update
3998
3999 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4000
4001         * BranchList.C: point fix, earlier forgotten
4002
4003 2003-09-02  Angus Leeming  <leeming@lyx.org>
4004
4005         * box.C (contains): renamed from 'contained' after a fantastic
4006         amount of hot air.
4007
4008 2003-09-02  John Levon  <levon@movementarian.org>
4009
4010         * BufferView.C:
4011         * lyxcursor.h:
4012         * lyxcursor.C:
4013         * lyxfunc.C:
4014         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4015
4016 2003-09-02  John Levon  <levon@movementarian.org>
4017
4018         * text2.C: simplification of cursorEnd(), including partial
4019         fix for bug 1376
4020
4021 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * buffer.C (readFile): add a space
4024
4025 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4028
4029 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * buffer.C (readFile): new function, take a filename and a
4032         ParagraphList::iterator
4033         (readFile): adjust
4034         (readFile): adjust, make it private. don't use setStream, make
4035         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4036         always contain the filename.
4037
4038         * BufferView.C (insertLyXFile): simplify and make it work for
4039         gzipped files.
4040
4041 2003-08-30  John Levon  <levon@movementarian.org>
4042
4043         * Makefile.am: fix dist (from Kayvan)
4044
4045 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4046
4047         * most files: change to use const Buffer refs
4048
4049 2003-08-27  André Pönitz  <poenitz@gmx.net>
4050
4051         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4052         on top of ownerPar().
4053
4054 2003-08-27  John Levon  <levon@movementarian.org>
4055
4056         * funcrequest.C: properly initialise POD members
4057
4058 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4059
4060         * lyxtext.h (top_y): move top_y from here
4061         * text.C:
4062         * text2.C:
4063         * text3.C:
4064         * BufferView.[Ch]:
4065         * BufferView_pimpl.[Ch]: to here
4066         * frontends/screen.C:
4067         * insets/insettabular.C:
4068         * insets/insettext.C: adjust
4069         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4070
4071 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * BufferView.[Ch]:
4074         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4075
4076 2003-08-26  André Pönitz  <poenitz@gmx.net>
4077
4078         * paragraph_func.[Ch] (outerPar): new function
4079
4080         * paragraph.C:
4081         * paragraph_funcs.C:
4082         * paragraph_funcs.h:
4083         * paragraph_pimpl.C:
4084         * text2.C: remove Inset::par_owner
4085
4086 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4087
4088         * lyxrow_funcs.C:
4089         * lyxtext.h:
4090         * text.C:
4091         * text2.C: eliminates the needFullRow/display() stuff
4092         altogether, putting the logic in metrics/draw in the insets.
4093
4094 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4095
4096         * text2.C (redoParagraphInternal, redoParagraphs):
4097         * text.C (redoParagraph): add a call to updateRowPositions at the
4098         end of each 'metrics-like' call. Remove all others.
4099         (getRow): remove the 'y-computing' version.
4100         (getRowNearY): do not compute nor return the real y. Solve the
4101         'y < 0' problem and simplify.
4102
4103 2003-08-22  Angus Leeming  <leeming@lyx.org>
4104
4105         * *.[Ch]: clean-up of licence and author blurbs.
4106         Also move config.h out of a few .h files and into a few .C files.
4107
4108 2003-08-22  André Pönitz  <poenitz@gmx.net>
4109
4110         * lyxrow.[Ch]: add x_ and *fill_ members
4111
4112         * lyxtext.h:
4113         * text.C:
4114         * rowpainter.C:
4115         * text2.C: adjust/remove prepareToPrint() calls
4116
4117 2003-08-22  André Pönitz  <poenitz@gmx.net>
4118
4119         * lyxrow.[Ch]: add  end_ member
4120
4121         * lyxrow_funcs.C: use LyXRow::end_
4122
4123         * lyxtext.h (singleWidth): add LyXFont parameter
4124
4125         * rowpainter.C:
4126         * text2.C: adjust LyXText::singleWidth() calls
4127
4128         * text.C (redoParagraph): simplify row breaking logic
4129
4130
4131 2003-08-19  André Pönitz  <poenitz@gmx.net>
4132
4133         * funcrequest.C: initialize button_ member
4134
4135         * text3.C:
4136         * rowpainter.[Ch]: interface consolidation
4137
4138 2003-08-18  André Pönitz  <poenitz@gmx.net>
4139
4140         * BufferView.C:
4141         * BufferView_pimpl.C:
4142         * lyxfind.C:
4143         * paragraph_funcs.C:
4144         * rowpainter.C:
4145         * text3.C: remove LyXScreen::draw() and fitCursor calls
4146
4147         * BranchList.h: remove spurious semicolons
4148
4149         * MenuBackend.C: fix branchlist related crash
4150
4151 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * BranchList.[Ch]:
4154         * InsetList.[Ch]:
4155         * LColor.[Ch]:
4156         * LyXAction.C:
4157         * Makefile.am:
4158         * MenuBackend.[Ch]:
4159         * bufferparams.[Ch]:
4160         * factory.C:
4161         * lfuns.h:
4162         * lyxfunc.C:
4163         * text3.C: implements the 'branch inset'
4164         idea. This allows the output of various versions of a document
4165         from a single source version, selectively outputing or suppressing
4166         output of parts of the text.
4167         This implementation contains a 'branch list editor' in a separate
4168         tab of the document settings dialog. Branches are user definable
4169         and have a "display colour" to distinguish them on-screen.
4170
4171         ColorHandler was somewhat cleaned up.
4172         (1) make possible a dynamically growing LColor list by allowing
4173         the graphic context cache to grow along (vector);
4174         (2) eliminate an IMHO unnecessary step in colour allocation.
4175
4176 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4177
4178         * BufferView_pimpl.C: compile fix
4179
4180 2003-08-15  André Pönitz  <poenitz@gmx.net>
4181
4182         * rowpainter.C: remove extra metrics calls
4183
4184         * lyxtext.h: merge the two constructors into a single one,
4185           pass reference to owner's par list
4186
4187         * BufferView_pimpl.C:
4188         * text.C:
4189         * text2.C: adjust
4190
4191 2003-08-15  André Pönitz  <poenitz@gmx.net>
4192
4193         * lyxrow_funcs.[Ch]:
4194         * lyxtext.h:
4195         * paragraph.h:
4196         * paragraph_funcs.C:
4197         * rowpainter.C:
4198         * text.C:
4199         * text2.C:
4200         * text3.C:
4201         * text_funcs.C: split LyXText::rowlist_ into individual
4202         Paragraph::rows_ chunks
4203
4204         * BufferView.[Ch]:
4205         * BufferView_pimpl.[Ch]:
4206         * lyxfind.C:
4207         * lyxtext.h:
4208         * text3.C: remove toggleSelection()
4209
4210 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4211
4212         * bufferlist.C: beautify two alerts (shorter text of buttons)
4213         * buffer.C: Remove redundant ' ' from message
4214         * tabular.h:
4215         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4216         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4217         rename VALIGN_CENTER to VALIGN_MIDDLE
4218
4219 2003-08-11  André Pönitz  <poenitz@gmx.net>
4220
4221         * lyxtext.h (getPar):
4222         * text.C: new function
4223
4224 2003-08-11  André Pönitz  <poenitz@gmx.net>
4225
4226         * Makefile.am:
4227         * tracer.[Ch]: remove unneeded files
4228
4229         * InsetList.[Ch]: remove resizeInsetsLyXText()
4230
4231         * lyxtext.h:
4232         * text.C:
4233         * text2.C:
4234         * text3.C: merge insertParagraphs() and appendParagraph()
4235         remove breakAgain(), update()
4236
4237         * BufferView_pimpl.[Ch]:
4238         * bufferview_funcs.[Ch]:
4239         * lyxfunc.C:
4240         * paragraph.[Ch]:
4241         * rowpainter.C:
4242         * tabular.C: adjust after text & InsetList changes.
4243
4244 2003-08-08  André Pönitz  <poenitz@gmx.net>
4245
4246         * text.C (insertChar, backspace): replace rowlist fiddling
4247         with rebreak of full par
4248
4249         * lyxtext.h:
4250         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4251         checkParagraph, updateInset): removed
4252
4253 2003-08-07  André Pönitz  <poenitz@gmx.net>
4254
4255         * paragraph.C:
4256         * text3.C: merge some LFUN handlers, remove dead code
4257
4258 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4259
4260         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4261
4262 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * text2.C (DEPM): fix part of bug 1255 and 1256
4265
4266 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4267
4268         * BufferView_pimpl.C (workAreaDispatch): change to use
4269         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4270         that are no mouse related.
4271
4272 2003-08-05  André Pönitz  <poenitz@gmx.net>
4273
4274         * BufferView.[Ch]:
4275         * BufferView_pimpl.[Ch]:
4276         * bufferview_funcs.C:
4277         * text2.C:
4278         * text3.C: rip out "deep update"
4279
4280         * textcursor.[Ch] (last_sel_cursor): remove unused member
4281
4282 2003-08-04  André Pönitz  <poenitz@gmx.net>
4283
4284         * BufferView.[Ch]:
4285         * BufferView_pimpl.[Ch]:
4286         * ParagraphParameters.C:
4287         * bufferview_funcs.C:
4288         * lyx_cb.C:
4289         * lyxfind.C:
4290         * lyxfunc.C:
4291         * text.C:
4292         * text2.C:
4293         * text3.C: replace "complicated" BufferView::update(...) calls with
4294         simpler ones.
4295
4296         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4297
4298 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4299
4300         * Makefile.am (lyx_SOURCES): add paper.h
4301
4302 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4303
4304         * Makefile.am: move things around so that both lyx-qt and
4305         lyx-xforms can be built (according to --with-frontend). Then lyx
4306         is a symbolic link to lyx-[firstfrontend]
4307
4308 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4309
4310         * Always use std::endl with lyxerr
4311
4312 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4313
4314         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4315
4316 2003-08-01  André Pönitz  <poenitz@gmx.net>
4317
4318         * BufferView.[Ch]:
4319         * BufferView_pimpl.[Ch]:
4320         * lyxfunc.C:
4321         * text3.C: merge BufferView::repaint() and BufferView::update()
4322
4323 2003-08-01  José Matos  <jamatos@lyx.org>
4324
4325         * buffer.[Ch]: file_format is no longer a buffer data element.
4326
4327 2003-08-01  André Pönitz  <poenitz@gmx.net>
4328
4329         * BufferView.C:
4330         * lyxtext.h:
4331         * text.C:
4332         * text2.C: make redoParagraph more independent of current cursor
4333
4334         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4335         * text.C:
4336         * text2.C: remove unneeded members
4337
4338 2003-07-30  André Pönitz  <poenitz@gmx.net>
4339
4340         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4341
4342         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4343           create a single function...
4344
4345         * paragraph_funcs.C (moveItem): ... here.
4346
4347         * text.C:
4348           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4349
4350 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4351
4352         * LColor.[Ch]: Add comment and greyedout logical colors.
4353
4354 2003-07-30  André Pönitz  <poenitz@gmx.net>
4355
4356         * tabular.C: don't use Assert too heavily. This crashes where it
4357           shouldn't
4358
4359 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4362         is disabled (bug 1232)
4363
4364 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4365
4366         * factory.C: limited 'arg' scope
4367
4368 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * factory.C: fixed Note submenu issues
4371
4372 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4373
4374         * factory.C: submenu for Note/Comment/Greyedout
4375
4376 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4377
4378         * lyx_main.C (LyX):
4379         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4380
4381 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4382
4383         * LaTeXFeatures.C:
4384         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4385         greyedout. Patch provided by Jürgen Spitzmüller.
4386
4387 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4388
4389         * kbmap.C (read): fix error message when reading bind files
4390
4391 2003-07-29  Angus Leeming  <leeming@lyx.org>
4392
4393         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4394         certainly does not do what it purports to do. I am doing it, and
4395         us, a favour by killing it.
4396
4397 2003-07-28  José Matos  <jamatos@lyx.org>
4398
4399         * buffer.C (readBody, do_writeFile):
4400         * paragraph.C(readParagraph): \end_document replaces \the_end.
4401
4402 2003-07-29  André Pönitz  <poenitz@gmx.net>
4403
4404         * BufferView.[Ch]:
4405         * BufferView_pimpl.[Ch]:
4406         * lyxfunc.C:
4407         * text2.C:
4408         * text3.C:
4409         * textcursor.[Ch]: remove toggleToggle & Co
4410
4411 2003-07-28  José Matos  <jamatos@fep.up.pt>
4412
4413         * buffer.C (readParagraph):
4414         * params_func (readParToken, readParagraph):
4415         * paragraph.C (write): \layout -> \begin_layout.
4416
4417 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * lyxlex_pimpl.C (setFile): clean up slightly.
4420
4421         * bufferparams.h: add compressed var
4422
4423         * buffer_funcs.C (readFile): adjust for LyXLex change
4424         (newFile): ditto + simplify
4425
4426         * buffer.C (writeFile): handle writing of compressed files
4427
4428         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4429         Check if the file is compressed and set a bufferparm if so.
4430
4431         * Makefile.am (lyx_LDADD): remove explicit -lz
4432
4433 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4434
4435         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4436         makeDocBookFile): put the real LyX version in the first line of
4437         the file
4438
4439         * version.h:
4440         * version.C.in: remove lyx_docversion
4441
4442         * tabular.C (write_attribute): add a template-based version to
4443         write enums properly
4444
4445 2003-07-28  André Pönitz  <poenitz@gmx.net>
4446
4447         * lyxtext.h:
4448         * text.C:
4449         * text2.C:
4450         * text3.C: use doubles again for x-coordinates. They are needed.
4451
4452 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4453
4454         * messages.C (getLocaleDir): use lyx_localedir()
4455
4456         * lyxlex_pimpl.C (setFile): compress stuff
4457
4458         * buffer.C (writeFile): add some compression stuff
4459         (do_writeFile): new func, dont call expliti close... will this
4460         breake anything?
4461
4462         * Makefile.am (lyx_LDADD): add -lz
4463
4464 2003-07-28  José Matos  <jamatos@fep.up.pt>
4465
4466         * buffer.C: increment file format.
4467         * paragraph_funcs (readParagraph, readParToken):
4468         * paragraph.C (readParagraph): add \end_layout.
4469
4470 2003-07-27  Angus Leeming  <leeming@lyx.org>
4471
4472         * Makefile.am: remove special casing for configure-time setting of
4473         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4474
4475         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4476         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4477
4478 2003-07-26  André Pönitz  <poenitz@gmx.net>
4479
4480         * paragraph_func.[Ch]:
4481         * paragraph.C (realizeFont): inline it whereever it is used
4482
4483         * rowpainter.C:
4484         * text.C:
4485         * text2.C:
4486         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4487
4488
4489 2003-07-26  André Pönitz  <poenitz@gmx.net>
4490
4491         *       lyxtext.h:
4492         * text.C:
4493         * text2.C: get rid of LyXText::need_break_row
4494
4495 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4496
4497         * toc.[Ch]: put namespace toc inside namespace lyx
4498
4499         * MenuBackend.C (expandToc2): adjust for lyx::toc
4500         (expandToc): ditto
4501
4502         * lyxfunc.C (dispatch): adjust for lyx::find
4503
4504         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4505         lyx::find instead. Reorganize a bit.
4506         (LyXReplace): rename to replace
4507         (LyXFind): rename to find
4508
4509         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4510         (dispatch): ditto
4511
4512 2003-07-26  André Pönitz  <poenitz@gmx.net>
4513
4514         * text.C (setHeightOfRow): restrict scope of temporary variable
4515
4516         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4517           code (never has been used?)
4518
4519 2003-07-27  Asger Alstrup  <alstrup@local>
4520
4521         * text.C (fill): Optimise algorithm to exploit that we can reuse
4522         the LyXFont for many characters.
4523         (setHeightOfRow): Same thing.
4524         (rowBreakPoint): Same thing.
4525
4526 2003-07-26  Asger Alstrup  <alstrup@local>
4527
4528         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4529
4530         * text.C (singleWidth): Spurious font copying in hot-spot
4531         singleWidth avoided. Reorder tests for arabic for efficiency.
4532
4533         * text.C (fill): handle empty paragraphs better.
4534
4535 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4536
4537         * ispell.C:
4538         * encoding.h: add includes
4539
4540         * lyxrc.C: remove reading of bind files
4541
4542         * lyx_main.C (init): setup bindings and menus only if we have a
4543         gui.
4544
4545         * kbmap.C (read): new method. Do the actual reading of bind
4546         files.
4547
4548         * converter.C (dvipdfm_options):
4549         * bufferparams.C:
4550         * lyxrc.C (read):
4551         (output): adapt PAPER_* enums.
4552
4553         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4554
4555         * bufferparams.h: remove paper-related enums from there
4556
4557         * paper.h: New file. A trivial header file to hold paper-related
4558         enums. It should later expand to contain many paper-related
4559         horrors access.
4560
4561         * lyxrc.C: declare extern displayTranslator
4562
4563 2003-07-27  José Matos  <jamatos@fep.up.pt>
4564
4565         * tabular.[Ch] (linuxdoc): add support for tables and figures
4566         (linuxdoc).
4567
4568 2003-07-27  José Matos  <jamatos@fep.up.pt>
4569
4570         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4571         consistency in both functions.
4572         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4573
4574 2003-07-26  Asger Alstrup  <alstrup@local>
4575
4576         * rowpainter.C (paintRows): Change algorithm to work directly on
4577         the insets rather than asking every character in the document
4578         whether its an inset.
4579
4580 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * buffer.C (openFileWrite): factorize some code
4583
4584 2003-07-26  Angus Leeming  <leeming@lyx.org>
4585
4586         * lyx_cb.C:
4587         * lyx_main.[Ch]: replace occurances of system_tempdir with
4588         os::getTmpDir().
4589
4590 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * rename Inset to InsetOld
4593
4594 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4595
4596         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4597         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4598         which I think is a bit clearer. EDIT is gone, since it was
4599         premature optimisation, and broken for mathed anyway.
4600         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4601         with cursor positioning in insets as well (math insets still do not
4602         work, but that's a different story anyway.) It mysteriously
4603         crashes sometimes with undo in the first paragraph, but I'm fairly
4604         confident that this is a compiler bug.
4605
4606 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * paragraph.C (Paragraph): adjust for new clone return type
4609         (operator==): ditto
4610         (copyIntoMinibuffer): ditto
4611
4612 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4613
4614         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4615         by not having a special case, and always doing a full rebreak of
4616         the document after undo.
4617
4618 2003-07-23  Angus Leeming  <leeming@lyx.org>
4619
4620         * factory.C (createInset): InsetExternal::setParams now takes a
4621         Buffer const * arg.
4622
4623 2003-07-23  Angus Leeming  <leeming@lyx.org>
4624
4625         * factory.C (createInset): changed interface to the external and
4626         graphics mailers' string2params functions.
4627
4628 2003-07-23  Angus Leeming  <leeming@lyx.org>
4629
4630         * factory.C (createInset): pass a
4631         Buffer const * parameter to InsetExternalMailer's string2params.
4632
4633 2003-07-22  John Levon  <levon@movementarian.org>
4634
4635         * Thesaurus.h: include the right aiksaurus header
4636
4637 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4638
4639         * MenuBackend.C (expand): check menu shortcuts unconditionally
4640
4641 2003-07-21  Angus Leeming  <leeming@lyx.org>
4642
4643         * factory.C (createInset): pass a
4644         buffer_path parameter to InsetGraphicsMailer's string2params.
4645
4646 2003-07-21  Angus Leeming  <leeming@lyx.org>
4647
4648         * BufferView_pimpl.C (buffer):
4649         * buffer.C (d-tor):
4650         * lyx_main.C (LyX):
4651         * lyxfunc.C (dispatch):
4652         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4653         rather than the grfx shortcut.
4654
4655 2003-07-21  André Pönitz  <poenitz@gmx.net>
4656
4657         * rowpainter.C: remove unused variables
4658
4659         * tabular_funcs.C:
4660         * tabular_funcs.h: move to tabular.C
4661         * Makefile.am: adjust
4662
4663         * tabular.[Ch]: basic optical cleaning
4664
4665         * author.h: pass references, not values
4666
4667 2003-07-18  André Pönitz  <poenitz@gmx.net>
4668
4669         * lyxtext.h:
4670         * metricsinfo.C:
4671         * metricsinfo.h:
4672         * rowpainter.C:
4673         * text.C:
4674         * text2.C:
4675         * text3.C: two-phase drawing for InsetText and InsetTabular
4676         some float -> int changes.
4677
4678 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * lyx_main.C: fix the fix
4681
4682 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4683
4684         * lyx_main.C: fix a crash in batch mode if no files specified
4685         * converter.C: ws
4686
4687 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * format.[Ch] (papersize): moved to BufferParams
4690         * converter.[Ch] (dvips_options): moved to BufferParams
4691         (dvipdfm_options): moved to anon namespace
4692         * bufferparams.[Ch]: added above functions.
4693
4694 2003-07-17  André Pönitz  <poenitz@gmx.net>
4695
4696         * lyxtext.h:
4697         * rowpainter.C:
4698         * text2.C: don't call inset->update() anymore
4699
4700         * metricsinfo.[Ch]: add convenience constructor
4701
4702 2003-07-16  André Pönitz  <poenitz@gmx.net>
4703
4704         * lyxcursor.[Ch]:
4705         * lyxfunc.[Ch]:
4706         * text.C:
4707         * text2.C: replace the LyXCursor::irow_ member with
4708          on-demand computation of the value
4709
4710 2003-07-16  John Levon  <levon@movementarian.org>
4711
4712         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4713
4714 2003-07-15  André Pönitz  <poenitz@gmx.net>
4715
4716         * text.C:
4717         * text2.C: remove no more needed refresh_row
4718
4719 2003-07-15  André Pönitz  <poenitz@gmx.net>
4720
4721         * lyxtext.h:
4722         * rowpainter.C:
4723         * text2.C:
4724         * text3.C: refresh_status tristate -> need_update bool
4725
4726 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * lyxtext.h (init): remove reinit argument (act as if always true)
4729         * text2.C: adjust to that
4730
4731 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4732
4733         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4734         * text3.C: use it to delete selections in some cases
4735         (bugs 441, 673, 702, 954).
4736
4737 2003-07-14  André Pönitz  <poenitz@gmx.net>
4738
4739         * rowpainter.[Ch]: reduce interface
4740
4741 2003-07-14  André Pönitz  <poenitz@gmx.net>
4742
4743         * BufferView_pimpl.C:
4744         * text2.C: adjust after removing unused BufferView * argument
4745
4746 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4747
4748         * text2.C (init): fix a crash fired on resize
4749
4750 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4751
4752         * buffer.[Ch]: added new closing signal
4753         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4754         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4755         BufferView::Pimpl via the closing the signal
4756
4757 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * buffer.[Ch]: take out all bv-related from buffer
4760         * BufferView.C:
4761         * BufferView_pimpl.[Ch]: connect to new signals
4762         * CutAndPaste.C: removed useless asserts
4763         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4764         * lyxvc.[Ch]:
4765         * vc-backend.[Ch]:
4766         * lyxfunc.C: moved view-related funciontality from vc here
4767         * paragraph.C: removed outdated comments
4768         * text.C: ws
4769
4770 2003-07-10  André Pönitz  <poenitz@gmx.net>
4771
4772         * BufferView_pimpl.C:
4773         * tabular.h:
4774         * tabular_funcs.C:
4775         * text.C:
4776         * text2.C: remove InsetText::InnerCache, clean up consequences
4777
4778 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4779
4780         * ispell.C: fix two typos in error messages
4781
4782 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4783
4784         * Extend Note inset to other forms of annotation like Comment
4785         and Greyedout. Right button click gives dialog.
4786
4787         Files modified or added (+):
4788
4789         * insetnote.[Ch]
4790         * FormNote.[Ch]      +
4791         * ControlNote.[Ch]   +
4792         * form_note.fd       +
4793         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4794         frontends/controllers
4795         * xforms/Dialogs.C
4796         * factory.C
4797
4798 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4799
4800         * aspell.C: add missing namespace lyx::support
4801
4802 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * BufferView.[Ch] (newFile): Add
4805         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4806         * LaTeX.[Ch] (message): added this signal and use it
4807         * buffer.[Ch] (busy, message): added these signals and use them
4808         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4809         * converter.C:
4810         * exporter.C:
4811         * format.C:
4812         * importer.C: use buffer signals instead of direct bv calling
4813         * lyx_cb.[Ch] (ShowMessage): removed
4814         * lyx_main.C:
4815         * lyxfunc.C:
4816         * paragraph_funcs.C:
4817         * text2.C: use buffer signals
4818
4819 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * introduce namespace lyx::graphics
4822
4823 2003-07-02  André Pönitz  <poenitz@gmx.net>
4824
4825         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4826
4827 2003-07-01  André Pönitz  <poenitz@gmx.net>
4828
4829         * text.C:
4830         * text2.C:
4831         * text3.C:
4832         * text_funcs.[Ch]:
4833         * textcursor.h:
4834         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4835           text*.C to text_func.C
4836
4837 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * introduce namespace lyx::support
4840
4841 2003-06-30  André Pönitz  <poenitz@gmx.net>
4842
4843         * Chktex.C:
4844         * funcrequest.C:
4845         * lyxtext.h:
4846         * text.C: re-enable --with-included-string
4847
4848 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * textcursor.C: add <config.h>
4851
4852         * text.C (getWord): remove const from word_location arg
4853
4854         * lyxvc.C (getLogFile): fix const type order
4855
4856         * lyxtext.h: remove const from word_location arg, add arg name
4857
4858         * lyxlayout.h: currect type on labeltype.
4859
4860         * importer.C: correct \file
4861
4862         * converter.C (intToFormat): use std:: on ret val, ws changes
4863
4864         * bufferlist.h: correct \file
4865
4866         * buffer.C (makeLinuxDocFile): fix const type order
4867         (makeDocBookFile): ditto
4868         (fillWithBibKeys): use std:: on stdlib args.
4869
4870         * CutAndPaste.C: fix authors.
4871         (availableSelections): use std:: on return vector
4872
4873 2003-06-27  André Pönitz  <poenitz@gmx.net>
4874
4875         * BufferView_pimpl.C:
4876         * bufferview_funcs.C:
4877         * lyxcursor.C:
4878         * lyxcursor.h:
4879         * lyxfunc.C:
4880         * lyxtext.h:
4881         * rowpainter.C:
4882         * text.C:
4883         * text2.C:
4884         * text3.C: remove LyXCursor::row_ member
4885
4886         * lyxtext.h:
4887         * text.C: rename fullRebreak() to partialRebreak() and implement
4888           a fullRebreak() that really bereks fully
4889
4890         * textcursor.h: new struct for cursor-related data
4891
4892 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4893
4894         * lyx_main.C (LyX): get full path of document loaded on the
4895         command line
4896
4897 2003-06-26  André Pönitz  <poenitz@gmx.net>
4898
4899         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4900           remove unused/broken operator>,<,>=.
4901
4902         *       text.C: remove only use of broken operator<= in an Assert().
4903
4904 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4905
4906         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4907         moved errorlist_.clear to showErrorList
4908
4909 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4910
4911         * converter.C (scanLog, runLaTeX):
4912         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4913         move the bv->showErrorList call to the callers
4914         * lyxfunc.C: i.e. here...
4915         * text2.C: and here
4916         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4917         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4918         namespace, the second to...
4919         * buffer_funcs (BufferFormat, parseErrors): added
4920         * errorlist.C (ErrorList(TeXErrors const &)): removed
4921
4922 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4923
4924         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4925
4926 2003-06-24  "Garst R. Reese" <reese@isn.net>
4927
4928         * debug.C: fix typo
4929
4930 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4931
4932         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4933
4934         * version.C.in: change docversion to 1.4
4935
4936 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * buffer.C: fix a bug just introduced
4939
4940 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * buffer.[Ch]: added the parseError signal and use it, removed
4943         sgmlError
4944         * BufferView.[Ch] (addError): moved to ...
4945         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4946         to the Buffer::parseError signal to catch (guess what) parse errors
4947         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4948
4949 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4952         ability to create a buffer and to return an existing one from
4953         the list. Moved these functions to...
4954         * buffer_funcs.[Ch]: added
4955         * BufferView.[Ch] (loadLyXFile): added
4956         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4957         job removed from bufferlist::loadLyXFile.
4958         * buffer.C (setReadOnly): make it work without view
4959         (i.e added an if (users))
4960
4961 2003-06-19  Angus Leeming  <leeming@lyx.org>
4962
4963         * lfuns.h:
4964         * LyXAction.C (init):
4965         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4966         with LFUN_DIALOG_SHOW <name> <data>.
4967
4968 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4969
4970         * CutAndPaste.C (availableSelections): small compilation fix for
4971         ancient (gcc 2.9x) compilers
4972
4973 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4974
4975         * text3.C (cursorNext): add tmp var
4976
4977         * text2.C (updateCounters): for function calling out of for clause
4978         (replaceSelectionWithString): ditto
4979         (insertStringAsParagraphs): ditto
4980         (getColumnNearX): add tmp var
4981         (setCursorFromCoordinates): add tmp var
4982         (cursorDownParagraph): add tmp var
4983         (deleteEmptyParagraphMechanism): add tmp var
4984
4985         * text.C (insertChar): add tmp var
4986
4987         * rowpainter.C (paintDepthBar): add tmp var
4988
4989         * CutAndPaste.C (availableSelections): potentially check all
4990         paragraphs in a cut to fill the shown strings.
4991
4992 2003-06-18  André Pönitz  <poenitz@gmx.net>
4993
4994         * kbmap.[Ch]: use vector<> instead of list<>
4995
4996 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4997
4998         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4999         pasteSelection with index
5000
5001         * text2.C (pasteSelection): modify, call pasteSelection with index
5002
5003         * paragraph.C (asString): reimplement version with no interval to
5004         call the one with interval.
5005
5006         * lyxtext.h: add index arg to pasteSelection
5007
5008         * MenuBackend.C (MenuItem): handle PasteRecent
5009         (Menu::read::Menutags): add md_pasterecent
5010         (read): handle it
5011         (expandPasteRecent): new function
5012         (expand): use it
5013
5014         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5015
5016         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5017         the limited stack
5018         (availableSelections): new function
5019
5020 2003-06-17  Angus Leeming  <leeming@lyx.org>
5021
5022         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5023
5024 2003-06-17  Angus Leeming  <leeming@lyx.org>
5025
5026         * lfuns.h:
5027         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5028
5029         * lyxfunc.C (dispatch): invoke it.
5030
5031 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5032
5033         * iterators.C (operator++, ParPosition): reintroduce some
5034         const_cast for the benefit of older compilers.
5035
5036 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5037
5038         * text3.C (dispatch): do not modify clipboard when doing
5039         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5040         LFUN_DELETE_SKIP on a selection selection
5041
5042 2003-06-16  André Pönitz  <poenitz@gmx.net>
5043
5044         * BufferView.C:
5045         * buffer.C:
5046         * buffer.h:
5047         * paragraph.C:
5048         * tabular.[Ch]: IU of clone() and getLabelList();
5049
5050 2003-06-13  André Pönitz  <poenitz@gmx.net>
5051
5052         * tabular.h: compactification
5053
5054 2003-06-12  André Pönitz  <poenitz@gmx.net>
5055
5056         * tabular.C:
5057         * tabular.h:
5058         * tabular_funcs.h: some renaming plus whitespace
5059
5060 2003-06-12  André Pönitz  <poenitz@gmx.net>
5061
5062         * BufferView.C:
5063         * BufferView_pimpl.C:
5064         * CutAndPaste.C:
5065         * buffer.C:
5066         * iterators.[Ch]:
5067         * lyxfunc.C:
5068         * text.C:
5069         * toc.C: Return a Paragraph & for ParIterator::operator*()
5070
5071 2003-06-11  John Levon  <levon@movementarian.org>
5072
5073         * lyx_main.C:
5074         * ToolbarBackend.h:
5075         * ToolbarBackend.C: add "Toolbars" section and
5076         put the flags there
5077
5078 2003-06-10  Angus Leeming  <leeming@lyx.org>
5079
5080         * lfuns.h:
5081         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5082
5083         * lyxfunc.C (dispatch): invoke it.
5084
5085 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * main.C: protect <ios> with HAVE_IOS
5088         (main): protect sync_with_stdio with HAVE_IOS
5089
5090 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5091
5092         * text2.C (cutSelection): adjust
5093         (pasteSelection): adjust
5094
5095         * messages.C: handle get of empty string
5096
5097         * main.C (main): use sync_with_stdio(false)
5098
5099         * lyxfunc.C (dispatch): adjust
5100
5101         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5102         (WriteAs): remove unneeded BufferView arg.
5103
5104         * bufferparams.h: use correct types on papersize, papersize2 and
5105         paperpackage.
5106
5107         * bufferparams.C (readToken): adjust for type
5108         (writeLaTeX): add missing cases to switch.
5109
5110         * bufferlist.C (quitWriteBuffer): adjust
5111         (close): adjust
5112
5113         * buffer.C (asciiParagraph): remove some commented code.
5114
5115         * CutAndPaste.C: remove current_view extern variable.
5116         (cutSelection): add BufferParams arg.
5117         (eraseSelection): add BufferParams arg.
5118         (pasteSelection): add Buffer const & arg
5119
5120 2003-06-07  John Levon  <levon@movementarian.org>
5121
5122         * buffer.C:
5123         * paragraph_funcs.C:
5124         * paragraph_pimpl.C:
5125         * text.C:
5126         * text2.C:
5127         * paragraph.h:
5128         * paragraph.C: allow InsetERT to freely space lines,
5129         and some consolidation of code
5130
5131 2003-06-06  José Matos  <jamatos@fep.up.pt>
5132
5133         * buffer.C (makeDocBookFile): fix bug #821
5134
5135 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5136
5137         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5138
5139 2003-06-04  Angus Leeming  <leeming@lyx.org>
5140
5141         * buffer.C: bump format to 224.
5142
5143 2003-06-05  André Pönitz  <poenitz@gmx.net>
5144
5145         * text2.C (redoParagraphs): remove two const_cast<>
5146
5147 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5148
5149         * ParagraphList.h: remove last remnants of NO_STD_LIST
5150
5151 2003-06-03  Angus Leeming  <leeming@lyx.org>
5152
5153         * factory.C (createInset): small change to the way InsetExternal's params
5154         are set.
5155
5156 2003-06-04  André Pönitz  <poenitz@gmx.net>
5157
5158         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5159
5160         * paragraph_pimpl.h:
5161         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5162
5163         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5164
5165         * undo_funcs.C: make some simple cases of undo work again
5166
5167 2003-06-03  John Levon  <levon@movementarian.org>
5168
5169         * ispell.C: HPUX doesn't have sys/select.h
5170         (from Albert Chin)
5171
5172 2003-06-03  John Levon  <levon@movementarian.org>
5173
5174         * CutAndPaste.C: update tabular and include inset
5175         buffer references
5176
5177         * buffer.h:
5178         * paragraph.h:
5179         * paragraph.C: remove owningBuffer(), don't pass Buffer
5180         to clone()
5181
5182         * factory.C: insetGraphicsParams changed
5183
5184 2003-06-02  John Levon  <levon@movementarian.org>
5185
5186         * LyXAction.C:
5187         * factory.C:
5188         * lfuns.h:
5189         * lyxfunc.C:
5190         * text3.C: remove insetparent
5191
5192 2003-06-02  John Levon  <levon@movementarian.org>
5193
5194         * buffer.h:
5195         * buffer.C: fix inset_iterator.end(), move out of line
5196         (bug 1149)
5197
5198 2003-06-01  John Levon  <levon@movementarian.org>
5199
5200         * text3.C: use a proper cut/paste when doing inset
5201         insert (from Jürgen Spitzmüller)
5202
5203 2003-06-01  John Levon  <levon@movementarian.org>
5204
5205         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5206
5207 2003-05-30  André Pönitz  <poenitz@gmx.net>
5208
5209         * rowpainter.C: unify second drawing phase
5210
5211 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * trans_mgr.C: remove one case of current_view
5214
5215         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5216
5217         * paragraph_funcs.h: remove paragraph.h include
5218
5219         * paragraph.h: delete NO_STD_LIST stuff
5220
5221         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5222
5223         * buffer.h: remove paragraph.h include
5224
5225         * ParagraphList.C: delete file
5226
5227         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5228
5229         * toc.C (getTocList): adjust
5230
5231         * paragraph_pimpl.C (validate): adjust
5232
5233         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5234
5235         * paragraph.C (Paragraph): adjust
5236         (getPositionOfInset): use const_iterator, adjust
5237         (bibitem): use const_iterator, adjust
5238         (setInsetOwner): adjust
5239
5240         * iterators.C (operator++): adjust
5241
5242         * InsetList.[Ch]: Replace selfmade iterator with standard
5243         vector::iterator also introduce const_iterator. Remove getPos,
5244         getInset and setInset from InsetTable. Adjust accordingly.
5245
5246         * BufferView.C (lockInset): adjust
5247         (ChangeInsets): adjust
5248
5249         * tabular.[Ch]: delete commented same_id functions
5250
5251 2003-05-28  John Levon  <levon@movementarian.org>
5252
5253         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5254
5255 2003-05-28  André Pönitz  <poenitz@gmx.net>
5256
5257         * metricsinfo.[Ch]: remove 'fullredraw' member
5258
5259 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5260
5261         * lyxtextclass.C (operator): remove caching.
5262
5263 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * text3.C: adjust
5266
5267         * text2.C (cursorBottom): adjust
5268         (setCounter): use ParagraphList::find, adjust
5269
5270         * text.C (workWidth): use ParagraphList::find, adjust
5271
5272         * lyxcursor.C (LyXCursor): adjust
5273
5274         * buffer.C (inset_iterator): adjust
5275
5276         * ParagraphList.h: make iterator(value_type) private, make
5277         ParagraphList a friend of iterator.
5278
5279         * ParagraphList.C (find): new function
5280
5281         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5282
5283 2003-05-27  André Pönitz  <poenitz@gmx.net>
5284
5285         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5286
5287 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5288
5289         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5290
5291 2003-05-26  John Levon  <levon@movementarian.org>
5292
5293         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5294
5295 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * remove same_id from function signatures, adjust.
5298
5299 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5302
5303         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5304
5305         * paragraph.C (Paragraph): get rid of same_ids parameter
5306
5307         * ParagraphList.C (insert): adjust
5308         (push_back): adjust
5309
5310 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * paragraph_funcs.C (breakParagraph): adjust
5313         (breakParagraphConservative): adjust
5314
5315         * buffer.C (readParagraph): adjust
5316
5317         * ParagraphList.C (insert): take a reference instead of a pointer
5318         (insert): adjust
5319
5320         * paragraph.[Ch] (id): new function
5321
5322         * bufferlist.C (newFile): adjust
5323
5324         * ParagraphList.C (ParagraphList): adjust
5325         (assign): adjust
5326         (push_back): take a reference instead of a pointer.
5327
5328         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5329
5330         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5331         instead.
5332
5333         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5334         set else use old code.
5335
5336         * ParagraphList.C: remove all NO_NEXT code and only compile this
5337         code of NO_STD_LIST is set.
5338
5339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5340
5341         * BufferView_pimpl.C:
5342         * TextCache.C:
5343         * TextCache.h:
5344         * bufferlist.C:
5345         * errorlist.h:
5346         * format.C:
5347         * format.h:
5348         * graph.C:
5349         * lyxfunc.C:
5350         * lyxrc.C:
5351         * graphics/GraphicsConverter.C:
5352         * graphics/PreviewLoader.C: header adjustment
5353
5354 2003-05-23  Angus Leeming  <leeming@lyx.org>
5355
5356         * LaTeXFeatures.[Ch] (useBabel): new method.
5357         * bufferparams.C (writeLaTeX): use it.
5358
5359 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * ParagraphList.h (set): remove unused function.
5362
5363 2003-05-23  André Pönitz  <poenitz@gmx.net>
5364
5365         * BufferView.C:
5366         * BufferView_pimpl.C:
5367         * buffer.C:
5368         * buffer.h:
5369         * lyxfunc.C:
5370         * undo_funcs.C: setUndo reworked
5371
5372         * iterators.[Ch]: add access to topmost ParagraphList
5373
5374         * lyxtext.[Ch] (workWidth): add a const
5375
5376 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * texrow.[Ch] (increasePos): remove function
5379         * exporter.C (export): removed unused var and outdated comment
5380
5381 2003-05-23  Angus Leeming  <leeming@lyx.org>
5382
5383         * latexrunparams.h: rename fragile as moving_arg.
5384         * paragraph.C (simpleTeXOnePar): ditto.
5385         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5386
5387 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5390         (createUndo): ditto
5391         (textUndoOrRedo): comment out a currently unused var.
5392
5393         * paragraph.h (NO_NEXT): enable NO_NEXT
5394
5395         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5396
5397         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5398
5399         * exporter.C (Export): adjust for removeAutoInsets removal.
5400
5401         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5402
5403         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5404
5405         * BufferView.[Ch] (removeAutoInsets): delete function
5406
5407 2003-05-22  Angus Leeming  <leeming@lyx.org>
5408
5409         * latexrunparams.h: add a free_spacing variable.
5410
5411         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5412         to pass moving_arg, as the data is stored in runparams.fragile.
5413
5414         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5415         to Inset::latexOptional or to simpleTeXOnePar.
5416
5417         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5418         free_spacing arg to Inset::latexOptional.
5419
5420         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5421         free_spacing arg.
5422
5423 2003-05-22  Angus Leeming  <leeming@lyx.org>
5424
5425         * latexrunparams.h: add fragile and use_babel variables.
5426
5427         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5428         * buffer.C (makeLaTeXFile): store this returned value in
5429         runparams.use_babel, thus passing it to the inset::latex methods.
5430
5431         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5432         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5433
5434         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5435         longer has a fragile arg, as it is stored in runparams.fragile.
5436
5437         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5438         moving_arg parameter as the data is stored in runparams.fragile.
5439
5440         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5441         a fragile parameter as the data is stored in runparams.fragile.
5442
5443 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5446
5447 2003-05-22  Angus Leeming  <leeming@lyx.org>
5448
5449         * latexrunparams.h: add a 'bool nice' which defaults to false.
5450
5451         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5452         now encapsulated within runparams.
5453
5454         * bufferlist.C (updateIncludedTeXfiles):
5455         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5456
5457 2003-05-22  Angus Leeming  <leeming@lyx.org>
5458
5459         * latexrunparams.h: new file containing struct LatexRunParams.
5460         * Makefile.am: add new file.
5461
5462         * LaTeX.[Ch] (c-tor, run):
5463         * buffer.[Ch] (makeLaTeXFile):
5464         * bufferlist.[Ch] (updateIncludedTeXfiles):
5465         * converter.C (convert, scanLog):
5466         * converter.[Ch] (runLaTeX):
5467         * exporter.C (Export):
5468         * paragraph.[Ch] (simpleTeXOnePar):
5469         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5470         * paragraph_funcs.[Ch] (latexParagraphs):
5471         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5472         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5473         pass around a LatexRunParams parameter.
5474
5475 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * paragraph.[Ch]: remove unused constructor
5478
5479         * ParagraphList.C (erase): new function, taking two iterators
5480
5481 2003-05-22  André Pönitz  <poenitz@gmx.net>
5482
5483         * undo_funcs.C: remove duplicated code
5484
5485         * iterator.[Ch]: operator=
5486
5487 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * tabular.C (SetMultiColumn): ws changes
5490
5491         * rowpainter.C (paintFirst): get rid of a ->previous
5492
5493         * lyx_cb.C (getPossibleLabel): parlist simplification
5494
5495         * BufferView.C (ChangeInsets): simplify slightly.
5496
5497 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5498
5499         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5500         * lfuns.h: new LFUN_SPACE
5501         * lyxfunc.C: protected space has a new lfun
5502         * paragraph_funcs.C: read new space insets
5503         * text3.C:
5504         * factory.C: handle new space insets
5505
5506 2003-05-22  André Pönitz  <poenitz@gmx.net>
5507
5508         * BufferView.C:
5509         * BufferView_pimpl.C:
5510         * buffer.[Ch]:
5511         * lyxfunc.C:
5512         * undo_funcs.C: return a ParIterator from getParFromID.
5513
5514         * iterators.[Ch]: add two const's
5515
5516 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * toc.C (getTocList): adjust
5519
5520         * iterators.[Ch]: rework for parlist
5521
5522         * buffer.C (par_iterator_begin): adjust
5523         (par_iterator_end): adjust
5524
5525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5526
5527         * BufferView.C (removeAutoInsets): adjust
5528         (ChangeInsets): adjust
5529
5530 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5531
5532         * text.C (top_y): fix bug 1110
5533
5534 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5535
5536         * errorlist.[Ch]: added
5537         * buffer.C:
5538         * BufferView.[Ch]:
5539         * BufferView_pimpl.C:
5540         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5541         instead
5542
5543 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * Makefile.am: ensure that lyx is relinked upon changes to the
5546         various "convenience" libs.
5547
5548 2003-05-20  Angus Leeming  <leeming@lyx.org>
5549
5550         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5551         files are compiled in alphabetical order again.
5552
5553         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5554
5555 2003-05-19  Angus Leeming  <leeming@lyx.org>
5556
5557         * gettext.[Ch]: remove "char const * _(char const *)".
5558
5559 2003-05-19  André Pönitz  <poenitz@gmx.net>
5560
5561         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5562
5563         * Makefile.am:
5564         * BufferView.C:
5565         * DepTable.h:
5566         * LaTeXFeatures.C:
5567         * buffer.C:
5568         * lyxfont.C:
5569         * lyxlex.h:
5570         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5571
5572 2003-05-19  André Pönitz  <poenitz@gmx.net>
5573
5574         * buffer.C:
5575         * lyxlayout.[Ch]:
5576         * lyxtextclass.[Ch]:
5577         * paragraph.C:
5578         * paragraph_funcs.[Ch]:
5579         * text2.C:
5580         * text3.C: more insetenv work
5581
5582 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5583
5584         * ParagraphParameters.C (params2string): small bug fixed
5585
5586 2003-05-16  André Pönitz  <poenitz@gmx.net>
5587
5588         * debug.C:
5589         * bufferview_funcs.C: patch from Kornel Benko to prevent
5590           crash when _(...) is called twice in a statement
5591
5592 2003-05-16  André Pönitz  <poenitz@gmx.net>
5593
5594         * BufferView.C:
5595         * lyxfunc.C:
5596         * text.C:
5597         * text2.C:
5598         * text3.C:
5599         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5600
5601 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5602
5603         * lyx_main.C (init): remove spurious static_cast
5604
5605 2003-05-14  André Pönitz  <poenitz@gmx.net>
5606
5607         * BufferView.C: fix format string
5608
5609 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * BufferView.[Ch] (insertErrors): removed
5612         * BufferView.[Ch] (showErrorList): added
5613         * buffer.C (runChkTeX):
5614         * converter.C (scanLog): call showErrorList instead of inserterrors
5615
5616 2003-05-13  André Pönitz  <poenitz@gmx.net>
5617
5618         * BufferView_pimpl.C:
5619         * buffer.C:
5620         * bufferview_func.C:
5621         * MenuBackend.C:
5622         * lyxfunc.C:
5623         * lyxrc.C:
5624         * tex-accent.C:
5625         * text3.C:
5626         * toc.C:
5627         * tabular_funcs.h: tostr() from its own header
5628
5629         * ParagraphParameters.C:
5630         * ToolbarBackend.C:
5631         * bufferparams.C:
5632         * format.C:
5633         * lyxlex_pimpl.C:
5634         * text3.C: STRCONV()
5635
5636 2003-05-12  André Pönitz  <poenitz@gmx.net>
5637
5638         * BufferView.C:
5639         * BufferView_pimpl.C:
5640         * CutAndPaste.C:
5641         * LaTeX.C:
5642         * LaTeXFeatures.C:
5643         * ParagraphParameters.C:
5644         * buffer.C:
5645         * bufferlist.C:
5646         * bufferparams.C:
5647         * bufferview_funcs.C:
5648         * converter.C:
5649         * counters.C:
5650         * debug.C:
5651         * exporter.C:
5652         * format.C:
5653         * importer.C:
5654         * lyx_cb.C:
5655         * lyx_main.C:
5656         * lyxfont.C:
5657         * lyxfunc.C:
5658         * lyxvc.C:
5659         * paragraph.C:
5660         * paragraph_funcs.C:
5661         * tabular.C:
5662         * tabular_funcs.C:
5663         * text2.C:
5664         * text3.C:  boost::format -> bformat  all over the place
5665
5666
5667 2003-05-09  André Pönitz  <poenitz@gmx.net>
5668
5669         * LColor.[Ch]: Pimpl the #include <map> away
5670
5671 2003-05-09  John Levon  <levon@movementarian.org>
5672
5673         * bufferlist.C: never remove emergency saves
5674
5675 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * Makefile.am: better lib building
5678
5679 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5682         instead.
5683         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5684         (simpleTeXSpecialChars): adjust
5685         (simpleTeXSpecialChars): adjust
5686         * paragraph.C (simpleTeXOnePar): adjust
5687         * buffer.C (makeLaTeXFile): adjust
5688
5689         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5690
5691         * text2.C (changeDepth): parlist cleanup
5692         (getColumnNearX): ditto
5693
5694         * rowpainter.C (getLabelFont): parlist cleanup
5695
5696         * bufferlist.C (newFile): parlist cleanup
5697
5698         * CutAndPaste.C (eraseSelection): parlist cleanup
5699
5700         * BufferView_pimpl.C (trackChanges): parlist cleanup
5701         (dispatch): ditto
5702
5703         * BufferView.C (lockInset): parlist cleanup.
5704         (ChangeInsets): ditto
5705
5706 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * CutAndPaste.h: Update file header.
5709
5710         * CutAndPaste.C: Update file header.
5711         Store the parts cut out of the Document in a limited_stack.
5712         (copySelection): adjust
5713         (pasteSelection): new function, takes the index in the limited stack.
5714         (nrOfParagraphs): adjust
5715         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5716         simplify error inset insertion.
5717         (checkPastePossible): adjust
5718
5719 2003-05-06  John Levon  <levon@movementarian.org>
5720
5721         * text2.C: don't cast wrap inset to float
5722
5723 2003-05-05  André Pönitz  <poenitz@gmx.net>
5724
5725         * iterator.C:
5726         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5727
5728         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5729           few naked Paragraph *.
5730
5731 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5732
5733         * bufferparams.C: Output warning if a document with missing
5734         TeX document class is loaded
5735         * exporter.C: Disable TeX exports if the document class is missing
5736         * lyxtextclass.C:
5737         * lyxtextclass.h:
5738         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5739         isTeXClassAvailable()
5740
5741 2003-05-03  John Levon  <levon@movementarian.org>
5742
5743         * BufferView.h:
5744         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5745         explicit cursor show/hide
5746
5747         * BufferView_pimpl.h:
5748         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5749         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5750
5751         * lyxfunc.C: hide cursor before dispatching.
5752
5753         * lyx_cb.C:
5754         * lyxfind.C:
5755         * text.C:
5756         * text3.C: remove explicit cursor hides
5757
5758 2003-05-02  André Pönitz  <poenitz@gmx.net>
5759
5760         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5761
5762         * undo_funcs.C:
5763         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5764           linked lists
5765
5766         * text2.C: tiny whitespace
5767
5768 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * undo_funcs.C: almost only ws changes.
5771
5772         * ParagraphList.C (splice): just return if pl is empty.
5773
5774 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * ParagraphList.C (splice): new function.
5777
5778         * CutAndPaste.C (pasteSelection): use it
5779
5780 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5781
5782         * CutAndPaste.C (pasteSelection): remove the last next and
5783         previous from this file.
5784
5785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * CutAndPaste.C (pasteSelection): more clean up, user proper
5788         ParagraphList functions for pasteing.
5789
5790         * ParagraphList.C (insert): new function, three arg insert
5791
5792 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * ParagraphList.C (insert): new function, three arg insert
5795
5796         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5797         not on paragraphs.
5798
5799 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5802
5803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5806
5807 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5810         (copySelection): clean up a bit.
5811         (pasteSelection): use make_pair
5812
5813         * ParagraphList.C (ParagraphList): implement copy constructor
5814         (operator=): implement, base on copy constructor.
5815         (assign): new func
5816
5817         * paragraph.C (erase): return a bool
5818
5819         * paragraph_pimpl.C (erasePos): remove function, move contents...
5820         (erase): ... here. Return a bool.
5821         (erase): call erase instead of erasePos.
5822
5823 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5824
5825         * ParagraphList.h: define PitPosPair
5826         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5827         ParagraphList, fix a bug on pasting multiple pars
5828         * text2.C: change interface to C&P
5829
5830 2003-04-30  André Pönitz  <poenitz@gmx.net>
5831
5832         * undo_func.C: revert part of yesterday's patch 2
5833
5834 2003-04-30  John Levon  <levon@movementarian.org>
5835
5836         * LColor.C: s/tabular/table/
5837
5838 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * text3.C (dispatch): do not convert iterator -> pointer
5841         * undo_funcs.C (setCursorParUndo): ditto
5842         * text_funcs.C (transposeChars): ditto
5843
5844         * text2.C (setLayout): ws changes only
5845
5846         * text.C (breakParagraph): do not convert iterator -> pointer
5847         (insertChar): ditto
5848         (acceptChange): ditto
5849         (rejectChange): ditto
5850         (changeCase): ditto
5851         (Delete): ditto
5852         (backspace): ditto
5853
5854         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5855         pointer
5856
5857 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5858
5859         * text3.C (gotoInset): YABG (yet another bad getChar)
5860
5861 2003-04-29  André Pönitz  <poenitz@gmx.net>
5862
5863         * paragraph.h: make operator= private unimplemented as long as
5864           it is unusable
5865
5866         * ParagraphList.C: whitespace
5867
5868         * paragraph.[Ch]:
5869         * paragraph_pimpl.[Ch]:
5870         * paragraph_funcs.C:
5871         * CutAndPaste.C:
5872         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5873
5874         * text2.C:
5875           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5876
5877 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5880         * paragraph.[Ch] (erase):
5881         * paragraph_pimpl.[Ch] (erase): change return type and value
5882         * text2.C (cutSelection): some rework
5883
5884 2003-04-28  John Levon  <levon@movementarian.org>
5885
5886         * bufferlist.C: changes for unsaved changes dialog
5887
5888 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * bufferlist.C (newFile): set language (messages_) for new
5891         documents also.
5892
5893         * buffer.C (readFile): ws changes only.
5894
5895 2003-04-28  André Pönitz  <poenitz@gmx.net>
5896
5897         * undo_funcs.C:
5898         * lyxfunc.C:
5899         * buffer.[Ch]:
5900         * BufferView_pimpl.C:
5901         * BufferView.C: getParFromID related ParagraphList::iterator changes
5902
5903 2003-04-28  André Pönitz  <poenitz@gmx.net>
5904
5905         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5906           Changes
5907
5908 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5909
5910         * messages.C: remove one more localedir class variable.
5911
5912 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * messages.C (getLocaleDir): singleton generation function
5915         (Pimpl): use it.
5916         (Messages): add a default constructor.
5917
5918         * main.C (main): do not setup localedir here, do not call
5919         gettext_init.
5920
5921         * gettext.C (_): use it.
5922         (gettext_init): delete funciton
5923
5924 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * gettext.C (getLyXMessages): new singleton generating function.
5927
5928         * buffer.C (updateDocLang): adjust
5929
5930         * Makefile.am (messages.o): add target
5931         (main.o): remove target
5932
5933 2003-04-27  John Levon  <levon@movementarian.org>
5934
5935         * bufferlist.C:
5936         * lyx_cb.C:
5937         * lyxfunc.C:
5938         * lyxvc.C: specify cancel button in Alert::prompt
5939
5940 2003-04-26  John Levon  <levon@movementarian.org>
5941
5942         * text3.C:
5943         * lyxfunc.C:
5944         * lfuns.h:
5945         * LyXAction.C: add LFUN_INSET_SETTINGS
5946
5947         * lyxfunc.C: don't enable tabular-feature when there's
5948         just any locking inset
5949
5950 2003-04-26  John Levon  <levon@movementarian.org>
5951
5952         * bufferlist.C: re-add Cancel to buffer close question
5953
5954         * lyxfunc.C: fix import UI a bit
5955
5956 2003-04-25  John Levon  <levon@movementarian.org>
5957
5958         * gettext.C: remove the broken asserts for now
5959
5960 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5961
5962         * messages.C: make case where setlocale cannot comply work better.
5963
5964         * buffer.C (updateDocLang): new function
5965         (changeLanguage): use it
5966         (readFile): use it
5967
5968         * text2.C (setCounter): use B_ a bit.
5969
5970         * lyxlayout.C (Read): be sure to trim the label strings.
5971
5972         * messages.C (Messages): fix typo in comment
5973
5974         * buffer.C (readFile): set message_ after file is loaded.
5975         (makeDocBookFile): remove double return
5976         (changeLanguage): reset message_ upon language change.
5977         (B_): new func, use this to get translated buffer strings.
5978
5979         * main.C: add myself and Jean Marc as authors.
5980
5981 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * messages.[hC]: pimplify Messages, and three different pimpls to be
5984         used in different circumstances.
5985
5986         * gettext.[Ch]: change for use with new message code.
5987
5988 2003-04-24 André Pönitz <poenitz@gmx.net>
5989
5990         * factory.C: support for eqref
5991
5992 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * messages.[Ch]: add missing char
5995
5996         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5997
5998         * messages.[Ch]: New files
5999
6000 2003-04-18  John Levon  <levon@movementarian.org>
6001
6002         * BufferView.h:
6003         * BufferView.C:
6004         * BufferView_pimpl.C:
6005         * lfuns.h:
6006         * LyXAction.C:
6007         * lyxtext.h:
6008         * text2.C: remove layout-copy/paste (bug 778)
6009
6010 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6011
6012         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6013
6014 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6015
6016         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6017         if they succeed. Act accordingly.
6018
6019 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * text2.C (setCharFont): adjust
6022         (setCounter): adjust
6023         (insertStringAsLines): adjust
6024
6025         * text.C (leftMargin): adjust
6026         (setHeightOfRow): adjust
6027
6028         * rowpainter.C (paintFirst): adjust
6029         (paintLast): adjust
6030
6031         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6032         (outerHook): ditto
6033         (isFirstInSequence): ditto
6034         (getEndLabel): ditto
6035         (outerFont): adjust
6036
6037         * paragraph.C (getParLanguage): comment out some hard stuff.
6038
6039         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6040         (sgmlError): ditto
6041         (simpleDocBookOnePar): ditto
6042         (makeDocBookFile): use ParagraphList::iterator
6043
6044         * CutAndPaste.C (pasteSelection): adjust
6045
6046 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * text2.C (getFont): adjust
6049         (getLayoutFont): adjust
6050         (getLabelFont): adjust
6051
6052         * paragraph_funcs.C (TeXOnePar): adjust
6053
6054         * buffer.C (simpleLinuxDocOnePar): adjust
6055         (simpleDocBookOnePar): adjust
6056
6057         * CutAndPaste.C (pasteSelection): adjust
6058
6059         * BufferView.C (getEncoding): adjust
6060
6061         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6062
6063 2003-04-16  John Levon  <levon@movementarian.org>
6064
6065         * lyxfind.C: use parlist stuff for search/changes
6066
6067 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6070
6071         * text2.C (deleteEmptyParagraphMechanism): adjust
6072
6073         * text2.[Ch] (ownerParagraph): delete func (both of them
6074
6075 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6078
6079 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * ParagraphList.C: prepare for NO_NEXT
6082
6083 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * text2.C (getFont): adjust
6086         (getLayoutFont): adjust
6087         (getLabelFont): adjust
6088
6089         * paragraph.C (getFont): adjust
6090         (getLabelFont): adjust
6091         (getLayoutFont): adjust
6092
6093         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6094
6095 2003-04-15  John Levon  <levon@movementarian.org>
6096
6097         From Angus Leeming
6098
6099         * lyx_main.C: handle Include in .ui files
6100
6101 2003-04-15  John Levon  <levon@movementarian.org>
6102
6103         * MenuBackend.C: make the doc files length shorter
6104
6105         * ToolbarBackend.h:
6106         * ToolbarBackend.C: handle toolbar placement flags,
6107         Minibuffer
6108
6109 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6112         adjust
6113
6114         * paragraph_funcs.C (TeXOnePar): adjust
6115
6116         * paragraph.C (getLabelFont): add outerfont arg, adjust
6117         (getLayoutFont): ditto
6118         (simpleTeXOnePar): adjust
6119
6120         * paragraph_pimpl.C (realizeFont): delete func
6121
6122 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6123
6124         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6125         row argument, constify cur argument.
6126
6127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * text2.C (getFont): adjust
6130         (getLayoutFont): adjust
6131         (getLabelFont): adjust
6132
6133         * paragraph_funcs.C (TeXOnePar): adjust
6134         (outerFont): new func...
6135         (realizeFont): ...moved out from here, changed this to facilitate
6136         transition
6137
6138         * paragraph.C (getFont): take outerfont as arg, adjust
6139         (simpleTeXOnePar): add outerfont arg, adjust
6140
6141         * buffer.C (simpleLinuxDocOnePar): adjust
6142         (simpleDocBookOnePar): adjust
6143
6144         * CutAndPaste.C (pasteSelection): adjust
6145
6146         * BufferView.C (getEncoding): adjust
6147
6148 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * text2.C (setCharFont): adjust
6151         (setCounter): adjust
6152
6153         * text.C (leftMargin): adjust
6154         (setHeightOfRow): adjust
6155
6156         * rowpainter.C (paintFirst): adjust
6157         (paintLast): adjust
6158
6159         * paragraph_pimpl.C (realizeFont): adjust
6160
6161         * paragraph.C (isFirstInSequence): move from here...
6162         * paragraph_funcs.C (isFirstInSequence): ...to here
6163
6164         * paragraph.C (outerHook): move from here...
6165         * paragraph_funcs.C (outerHook): ...to here
6166
6167         * paragraph.C (depthHook): move from here...
6168         * paragraph_funcs.C (depthHook): ...to here
6169
6170         * paragraph.C (getEndLabel): move from here...
6171         * paragraph_funcs.C (getEndLabel): ...to here
6172
6173         * text2.C (realizeFont): move from here...
6174         * paragraph_funcs.C (realizeFont): ...to here
6175
6176 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6177
6178         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6179
6180 2003-04-14  Angus Leeming  <leeming@lyx.org>
6181
6182         * LColor.[Ch]: scrap LColor mathcursor.
6183
6184 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * lyxlex.[Ch] (text): delete function
6187         * trans.C (Load): adjust
6188         * paragraph_funcs.C (readParToken): adjust
6189
6190 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6193         vector<char> instead of a char[].
6194
6195         * lyxlex_pimpl.C (getString): adjust
6196         (next): adjust
6197         (lex): use getString
6198         (eatLine): adjust
6199         (nextToken): adjust
6200
6201         * lyxlex.C (text): use pimpl_->getString()
6202         (getBool): ditto
6203         (findToken): ditto
6204
6205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6208         (makeFontEntriesLayoutSpecific): temp var for par.size()
6209         (setLayout): temp var for ownerParagraphs().end()
6210         (fullRebreak): temp var for rows().end()
6211         (selectionAsString): temp var for boost::next(startpit), realize
6212         that the while really is a regular for loop.
6213         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6214         setCursor in one place.
6215         (setParagraph): temp vr for ownerParagraphs().end()
6216         (updateCounters): make the while loop a for loop
6217         (cutSelection): temp var for ownerParagraphs().end()
6218         (updateInset): make the do {} while() a regular for loop
6219         (getCursorX): use temp vars
6220         (setCurrentFont): use temp vars
6221         (getColumnNearX): use temp vars
6222
6223 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * text.C (transformChar): use temp var for getChar
6226         (computeBidiTables): use temp var for row->par()
6227         (fill): move temp vars for row->par() and pit->layout() earlier in
6228         the function.
6229         (labelFill): use temp var for row->par()
6230         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6231         asc and desc, realize that pit never changes and that firstpit is
6232         just a duplicate and not needed. Exchange rit->par() with pit in a
6233         lot of places.
6234         (breakAgain): use a temp var for boost::next(rit)
6235         (breakAgainOneRow): ditto
6236         (breakParagraph): use a temp var for rows().begin()
6237         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6238         (cursorRightOneWord): use temp var for cursor.par() and
6239         cursor.pos(), remove usage of tmpcursor.
6240         (cursorLeftOneWord): use temp var for cursor.par() and
6241         cursor.pos() only set cur at end of function.
6242
6243 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * text.C, text2.C: exchange all usage of Paragraph::next with
6246         boost::next(ParagraphList::iterator)
6247
6248         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6249
6250         * text2.C (cursorTop): simplify implementation
6251         (cursorBottom): ditto
6252         (setParagraph): use ParagraphList::iterator
6253         (setCurrentFont): adjust
6254         (getColumnNearX): adjust
6255         (cursorRight): adjust
6256         (cursorLeft): remove usage of Paragraph::previous
6257         (cursorUpParagraph): ditto
6258         (deleteEmptyParagraphMechanism): slight cleanup
6259
6260         * text.C (isBoundary): take a Paragraph const & instead of a
6261         pointer as arg.
6262         (addressBreakPoint): ditto
6263         (leftMargin): remove usage of Paragraph::previous.
6264         (setHeightOfRow): ditto
6265         (cursorLeftOneWord): ditto
6266         (selectNextWordToSpellcheck): ditto
6267         (Delete): ditto
6268         (backspace): ditto
6269         (breakParagraph): remove one usage of Paragraph::next
6270         (redoParagraph): ditto
6271         (acceptChange): ditto
6272         (insertChar): adjust
6273         (rowBreakPoint): adjust
6274
6275         * bufferview_funcs.C (toggleAndShow): adjust
6276
6277 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6278
6279         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6280         methods to access it.
6281         * lyxtext.h:
6282         * text.C: Added updateRowPositions to compute all row positions.
6283         Make top_y and getRowNearY() to use the cached y position
6284
6285 2003-04-11  John Levon  <levon@movementarian.org>
6286
6287         * text.C (rowBreakPoint): reintroduce the labelEnd
6288         checks, code copied from the row fill stuff. Deep voodoo.
6289
6290         * text.C (fill): add a comment and debugging for the
6291         next poor soul.
6292
6293 2003-04-11  John Levon  <levon@movementarian.org>
6294
6295         * text.C: make sure fullrow insets get wrapped to the next line,
6296         even when they're in a manual label
6297
6298 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * text2.C (insertParagraph): make it take ParagraphList::iterator
6301         as arg.
6302         (setLayout): make it return ParagraphList::iterator
6303         (redoParagraphs): ditto
6304         (setCounter): ditto
6305         (checkParagraph): ditto
6306
6307         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6308
6309         * text2.C: adjust several funcs.
6310         (realizeFont): take a ParagraphList::iterator as arg.
6311         (getLayoutFont): ditto
6312         (getLabelFont): ditto
6313         (setCharFont): ditto
6314
6315         * text.C: adjust several funcs.
6316
6317 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6318
6319         * text.C (selectNextWordToSpellcheck): don't accidentally
6320         skip insets
6321
6322 2003-04-10  John Levon  <levon@movementarian.org>
6323
6324         * ToolbarBackend.C (getIcon): special handling for
6325         LFUN_MATH_DELIM
6326
6327 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6328
6329         * text2.C (cursorRight): a getChar assert fixed
6330
6331 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * text2.C (getFont): change to take a ParagraphList::iterator
6334         instead of Paragraph*
6335         Adjust several functions.
6336
6337         * text.C (transformChar): change to take a ParagraphList::iterator
6338         instead of Paragraph*
6339         (singleWidth): ditto
6340         Adjust several functions.
6341
6342         * rowpainter.C: adjust several functions
6343         * rowpainter.h:store a ParagraphList::iterator and not a
6344         Paragraph&.
6345
6346
6347 2003-04-09  John Levon  <levon@movementarian.org>
6348
6349         * lyxfunc.C:
6350         * lfuns.h:
6351         * LyXAction.h:
6352         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6353         and the "help" bits as well
6354
6355 2003-04-09  John Levon  <levon@movementarian.org>
6356
6357         * ToolbarBackend.h:
6358         * ToolbarBackend.C: allow multiple toolbars
6359
6360 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * undo_funcs.C (setCursorParUndo): adjust
6363
6364         * text_funcs.C (transposeChars): adjust
6365
6366         * text3.C (gotoNextInset): adjust
6367         (dispatch): adjust
6368
6369         * text2.C (setLayout): adjust
6370         (changeDepth): adjust
6371         (setFont): adjust
6372         (redoParagraphs): adjust
6373         (selectionAsString): adjust
6374         (setParagraph): adjust
6375         (insertInset): adjust
6376         (cutSelection): adjust
6377         (copySelection): adjust
6378         (pasteSelection): adjust
6379         (insertStringAsLines): adjust
6380         (updateInset): adjust
6381         (setCursor): change to take a ParagraphList::iterator parameter
6382         (setCursorIntern): change to take a ParagraphList::iterator parameter
6383         (setCurrentFont): adjust
6384         (cursorLeft): adjust
6385         (cursorRight): adjust
6386         (deleteEmptyParagraphMechanism): adjust
6387
6388         * text.C (breakParagraph): adjust
6389         (insertChar): adjust
6390         (acceptChange): adjust
6391         (rejectChange): adjust
6392         (selectNextWordToSpellcheck): adjust
6393         (changeCase): adjust
6394         (Delete): adjust
6395         (backspace): adjust
6396
6397         * lyxfind.C (SearchForward): adjust
6398         (SearchBackward): adjust
6399         (nextChange): adjust
6400
6401         * lyxcursor.C (par): adjust
6402
6403         * lyxcursor.h: store a ParagraphList::iterator instead of a
6404         Paragraph*
6405
6406         * lyx_cb.C (getPossibleLabel): adjust
6407
6408         * bufferview_funcs.C (toggleAndShow): adjust
6409
6410         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6411         (dispatch): adjust
6412
6413         * BufferView.C (removeAutoInsets): adjust
6414         (lockedInsetStoreUndo): adjust
6415
6416 2003-04-09  John Levon  <levon@movementarian.org>
6417
6418         * ToolbarBackend.C: try icon without argument
6419         if with argument fails
6420
6421 2003-04-08  John Levon  <levon@movementarian.org>
6422
6423         * ToolbarBackend.h:
6424         * ToolbarBackend.C: add getIcon(), handle tooltip,
6425         and change from "Icon" to "Item".
6426
6427 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6428
6429         * BufferView.C (lockInset): another bad getchar crunched
6430
6431 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6434         again)
6435
6436 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * lyxfind.C (searchForward, searchBackwards): bug 782
6439
6440 2003-04-07  John Levon  <levon@movementarian.org>
6441
6442         * paragraph.C: remove dead comment
6443
6444         * text.C: remove troublesome depth-fiddling code
6445         in leftMargin() and rightMargin() (bug 1017)
6446
6447         * text.C: fix breaking of rows in nested lists
6448         (bug 1004)
6449
6450         * text2.C (updateCounters): fix up depth values
6451         (bug 1013)
6452
6453 2003-04-07  John Levon  <levon@movementarian.org>
6454
6455         * BufferView_pimpl.C: clear message when doc finishes resizing,
6456         and after a mouse event
6457
6458         * lyxfunc.C: clear message after exiting inset
6459
6460 2003-04-07  John Levon  <levon@movementarian.org>
6461
6462         * bufferview_funcs.C: show math status not outside
6463         status in the statusbar
6464
6465 2003-04-07  John Levon  <levon@movementarian.org>
6466
6467         * lyxfunc.C: note status changed after a depth change
6468
6469 2003-04-04  Angus Leeming  <leeming@lyx.org>
6470
6471         * LaTeX.h: move AuxInfo operator==, != out of line.
6472         Remove LaTeX virtual destructor; nothing derives from it.
6473         Move operator()() out of public area and rename it startscript().
6474         Change protected for private.
6475
6476 2003-04-04  Angus Leeming  <leeming@lyx.org>
6477
6478         * lyxfunc.C:
6479         * text2.C: remove unneeded #includes.
6480
6481 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6482
6483         * text2.C (dEPM): fix the heigth of the next row
6484
6485 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6486
6487         * text.C: squashed an invalid getChar requester + some ws changes
6488
6489 2003-04-03  John Levon  <levon@movementarian.org>
6490
6491         * bufferview_funcs.h:
6492         * bufferview_funcs.C:
6493         * lyxfunc.C:
6494         * lyxtext.h:
6495         * text2.C: make getStatus work for the env depth lfuns
6496
6497 2003-04-03  John Levon  <levon@movementarian.org>
6498
6499         * bufferview_funcs.h:
6500         * bufferview_funcs.C:
6501         * lyxfunc.C:
6502         * lyxtext.h:
6503         * text2.C: parlistize decDepth(), by merging it with incDepth()
6504
6505 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * lyxrow.h: store a ParagraphList::iterator instead of a
6508         Paragraph* and adjust other class functions to suit.
6509
6510         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6511         above.
6512
6513 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * text2.C (setCursor): do not anchor to cursor row for the time being
6516
6517 2003-04-02  John Levon  <levon@movementarian.org>
6518
6519         * LyXAction.C:
6520         * lfuns.h:
6521         * lyx_main.C:
6522         * lyxtext.h:
6523         * text.C:
6524         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6525
6526 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * paragraph.h: make ParagraphList and ParagraphList::iterator
6529         friends of Paragraph.
6530
6531         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6532
6533         * ParagraphList.C: Use the private next_ and previous_ from
6534         Paragraph.
6535
6536 2003-04-01  John Levon  <levon@movementarian.org>
6537
6538         * ToolbarBackend.h:
6539         * ToolbarBackend.C:
6540         * Makefile.am: rename, remove defaults gunk
6541
6542         * MenuBackend.h:
6543         * MenuBackend.C: remove defaults gunk
6544
6545         * Languages.h:
6546         * Languages.C: remove defaults gunk
6547
6548         * lyx_main.h:
6549         * lyx_main.C: error out if files couldn't be found.
6550
6551 2003-04-02  John Levon  <levon@movementarian.org>
6552
6553         * text2.C: make incDepth() use parlist
6554
6555 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * undo_funcs.C (firstUndoParagraph): adjust
6558
6559         * text3.C (gotoInset): adjust
6560         (dispatch): adjust, and rewrite loop.
6561
6562         * text2.C (init): adjust, and rewrite loop.
6563         (redoParagraphs): adjust
6564         (updateInset): adjust, and rewrite loop.
6565         (deleteEmptyParagraphMechanism): adjust
6566
6567         * tabular.C (LyXTabular): adjust
6568         (SetMultiColumn): adjust
6569         (TeXRow): adjust
6570
6571         * lyxtext.[Ch] (ownerParagraph): delete function
6572         (ownerParagraphs): new function returns a ParagraphList.
6573
6574         * BufferView.C (removeAutoInsets): adjust
6575         (insertErrors): adjust
6576         (setCursorFromRow): adjust
6577
6578 2003-04-01  Angus Leeming  <leeming@lyx.org>
6579
6580         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6581         in the frontends.
6582
6583 2003-04-02  John Levon  <levon@movementarian.org>
6584
6585         * lyxtext.h:
6586         * text.C:
6587         * Makefile.am:
6588         * text_funcs.h:
6589         * text_funcs.C: make transposeChars a free function
6590
6591         * lyxrow_funcs.C: remove wrong comment
6592
6593 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * lyxtext.h: adjust
6596         * rowpainter.C: adjust
6597         * text.C: adjust
6598         * text2.C: adjust
6599         * text3.C: adjust
6600
6601         * lyxrow_funcs. [Ch]: new files
6602
6603         * lyxrow.[Ch]: remove next and previous pointers
6604         (next,previous): remove accessor functions
6605         (isParEnd): move to lyxrow_funcs
6606         (lastPos): move to lyxrow_funcs
6607         (nextRowIsAllInset): move to lyxrow_funcs
6608         (lastPrintablePos): move to lyxrow_funcs
6609         (numberOfSeparators): move to lyxrow_funcs
6610         (numberOfHfills): move to lyxrow_funcs
6611         (numberOfLabelHfills): move to lyxrow_funcs
6612         (hfillExpansion): move to lyxrow_funcs
6613
6614         * lyxfunc.C: adjust
6615
6616         * bufferview_funcs.C (toggleAndShow): adjust
6617
6618         * RowList.h: Remove class RowList from file leave just a
6619         std::list<Row>.
6620
6621         * RowList.C: delete file
6622
6623         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6624         and lyxrow_funcs.h
6625
6626 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * text3.C (cursorPrevious): adjust
6629         (cursorNext): adjust
6630         (dispatch): adjust
6631
6632         * text2.C (redoHeightOfParagraph): adjust
6633         (redoDrawingOfParagraph): adjust
6634         (setCursor): adjust
6635
6636         * text.C (breakParagraph): adjust
6637         (insertChar): adjust
6638         (backspace): adjust
6639
6640         * rowpainter.C (RowPainter): adjust
6641         (leftMargin): simplify and adjust
6642         (most rowpainter functions): adjust.
6643
6644         * rowpainter.h: store the row as RowList::iterator not as Row*
6645
6646         * lyxcursor.C (row): taka RowList::iterator as arg
6647         (irow): ditto
6648
6649         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6650         of Row*.
6651
6652 2003-04-01  Angus Leeming  <leeming@lyx.org>
6653
6654         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6655         stuff like bool Bool.
6656
6657 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6658
6659         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6660         rewrite a loop
6661
6662 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6663
6664         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6665         RowList::iterator.
6666
6667         * lyxtext.h (rows): drop one version and leve a const variant that
6668         returns a RowList::iterator.
6669
6670 2003-03-31  Angus Leeming  <leeming@lyx.org>
6671
6672         * text.C (fill): ensure that the signature is the same as that in the
6673         header file.
6674
6675 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6676
6677         * text2.C (redoParagraphs): adjust
6678         (updateCounters): adjust
6679         (checkParagraph): adjust
6680         (getColumnNearX): adjust and reformat a bit.
6681
6682         * text.C (top_y): adjust
6683         (workWidth): adjust
6684         (leftMargin): adjust
6685         (prepareToPrint): adjust
6686         (getRow): adjust
6687         (getRowNearY): adjust
6688
6689         * lyxtext.h: make rowlist_ mutable.
6690
6691         * RowList.h: add const_iterator
6692         * RowList.C: adjust for RowList::const_iterator.
6693
6694         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6695         adjust.
6696
6697 2003-03-31  John Levon  <levon@movementarian.org>
6698
6699         * lyxrc.h:
6700         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6701
6702         * lyx_main.C: set default fonts from using lyx_gui funcs
6703
6704         * exporter.C: pdf_mode moved from lyxrc
6705
6706         * lyx_cb.C:
6707         * lyxfunc.C: changes from above
6708
6709 2003-03-31  John Levon  <levon@movementarian.org>
6710
6711         * lyx_main.C: fix to the last fix
6712
6713 2003-03-31  John Levon  <levon@movementarian.org>
6714
6715         * bufferlist.C: "Load original" -> "Load Original"
6716
6717         * converter.C:
6718         * exporter.C:
6719         * importer.C:
6720         * lyx_main.C:
6721         * format.C: more Alert cleanups
6722
6723 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * text2.C (removeParagraph): make it take a RowList::iterator as
6726         arg, adjust.
6727         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6728         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6729
6730         * text.C (anchor_row): make it take a RowList::iterator as arg,
6731         adjust.
6732         (computeBidiTables): make it take a const reference to Row instead
6733         of Row pointer, adjust.
6734         (leftMargin): make it take a RowList::iterator as arg, adjust.
6735         (rowBreakPoint): adjust
6736         (breakAgainOneRow): make it take a RowList::iterator as arg,
6737         adjust.
6738         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6739
6740         * bufferview_funcs.C (toggleAndShow): adjust
6741
6742 2003-03-30  John Levon  <levon@movementarian.org>
6743
6744         * Makefile.am:
6745         * BoostFormat.h:
6746         * boost-inst.C: moved to support
6747
6748         * several files: changes as a result
6749
6750 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * text2.C (LyXText): adjust.
6753         (init): adjust
6754         (removeRow): make it take a RowList::iterator as arg, adjust.
6755         (fullRebreak): adjust
6756         (deleteEmptyParagraphMechanism): adjust
6757         (clearPaint): adjust
6758         (postPaint): adjust
6759
6760         * text.C (top_y): adjust
6761         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6762         (breakAgain): make it take a RowList::iterator as arg, adjust.
6763         (breakParagraph): adjust
6764         (insertChar): adjust
6765         (backspace): adjust
6766
6767         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6768         need_break_row, and refresh_row.
6769
6770         * text3.C (dispatch): adjust
6771
6772         * text2.C (checkParagraph): adjust
6773         (setCursor): adjust
6774         (setCursorFromCoordinates): adjust
6775
6776         * text.C (top_y): adjust
6777         (workWidth): adjust
6778         (getRow): make it return a RowList::iterator, adjust
6779         (getRowNearY): make it return a RowList::iterator, adjust
6780
6781         * text2.C (init): adjust
6782         (insertRow): remove function
6783         (insertParagraph): adjust
6784         (redoParagraphs): adjust
6785         (fullRebreak): adjust
6786         (updateCounters): adjust
6787
6788         * text.C (top_y): rewrite to use RowList iterators.
6789         (top_y): adjust
6790         (setHeightOfRow): rewrite to sue RowList iterators.
6791         (appendParagraph): adjust
6792         (breakAgain): adjust
6793         (breakAgainOneRow): adjust
6794         (breakParagraph): adjust
6795         (getRow): adjust
6796         (getRowNearY): adjust, and remove commented code.
6797
6798         * lyxtext.h (firstRow): delete function
6799         (lastRow): delete function
6800         (rows): new function (const and non-const versions.)
6801         (insertRow): delete function
6802
6803         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6804
6805 2003-03-29  John Levon  <levon@movementarian.org>
6806
6807         * BufferView_pimpl.C: always update scrollbar top
6808         because pasting text when we're anchored could mean we
6809         miss an update altogether
6810
6811 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * text2.C (init): use rowlist_.end() and not 0.
6814         (insertRow): change to take a RowList::iterator as arg, adjust
6815         for this.
6816         (insertParagraph): change to take a RowList::iterator as arg,
6817         adjust for this.
6818         (redoParagraphs): remove some debug msgs.
6819
6820         * text.C (appendParagraph): change to take a RowList::iterator
6821         arg, adjust for this.
6822         (breakAgain): add an assert
6823         (breakAgainOneRow): ditto
6824
6825 2003-03-29  John Levon  <levon@movementarian.org>
6826
6827         * text2.C: do not clear selection after inc/decDepth
6828         (bug 550)
6829
6830 2003-03-29  John Levon  <levon@movementarian.org>
6831
6832         * BufferView.C:
6833         * buffer.C: fix broken strerrors according to Lars
6834
6835 2003-03-29  John Levon  <levon@movementarian.org>
6836
6837         * converters.C: more Alert cleanups
6838
6839 2003-03-29  John Levon  <levon@movementarian.org>
6840
6841         * bufferview_funcs.C: remove pointless Alert
6842
6843         * buffer.C: fix confusing error message when
6844         a template is chmoded 000
6845
6846 2003-03-29  John Levon  <levon@movementarian.org>
6847
6848         * BufferView.C:
6849         * BufferView.h:
6850         * BufferView_pimpl.C: Alert fixes
6851
6852         * Makefile.am:
6853         * tabular.C:
6854         * tabular-old.C: remove unused table compat reading
6855
6856 2003-03-29  John Levon  <levon@movementarian.org>
6857
6858         * BufferView.C:
6859         * buffer.C:
6860         * lyx_cb.h:
6861         * lyx_cb.C: more Alert cleanups
6862
6863         * lyxfunc.C: don't allow chktex if not latex document
6864
6865 2003-03-29  John Levon  <levon@movementarian.org>
6866
6867         * lyx_cb.C:
6868         * BufferView.C:
6869         * buffer.C: warnings pushed down from support/,
6870         kill err_alert
6871
6872 2003-03-29  John Levon  <levon@movementarian.org>
6873
6874         * lyxfunc.C: safety check for C-r (revert)
6875
6876 2003-03-29  John Levon  <levon@movementarian.org>
6877
6878         * bufferlist.h:
6879         * bufferlist.C: several UI fixes using Alert::prompt.
6880         Fix the pointless looping quit code. Fix stupid revert
6881         behaviour (bug 938)
6882
6883         * lyxvc.h:
6884         * lyxvc.C:
6885         * lyx_cb.C: use Alert::prompt
6886
6887         * lyx_main.C: remove a silly question
6888
6889         * lyxfunc.C: remove a couple of silly questions,
6890         use Alert::prompt
6891
6892 2003-03-28  John Levon  <levon@movementarian.org>
6893
6894         * text2.C: fix bug 974 (End on empty par)
6895
6896 2003-03-28  John Levon  <levon@movementarian.org>
6897
6898         * BufferView_pimpl.C:
6899         * LyXAction.C:
6900         * lfuns.h: remove do-nothing math greek lfuns
6901
6902 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * lyxgluelength.h (isValidGlueLength): add default arg on
6905         parameter 2. Remove default arg from friend in class.
6906
6907         * lyxlength.h (isValidLength): add default arg on parameter 2.
6908         Remove default arg from friend in class.
6909
6910         * text2.C (LyXText): adjust, initialize refresh_row.
6911         (init): adjust
6912         (removeRow): adjust
6913         (insertRow): adjust
6914         (insertParagraph): adjst
6915         (redoParagraphs): adjust
6916         (fullRebreak): adjust
6917         (updateCounters): adjust
6918         (deleteEmptyParagraphMechanism): first attempt at fixing a
6919         crashing bug.
6920
6921         * text.C (top_y): adjust
6922         (setHeightOfRow): adjust
6923         (getRow): adjust
6924         (getRowNearY): adjust
6925
6926         * lyxtext.h: include RowList.h
6927         (~LyXText): not needed anymore, deleted.
6928         (firstRow): modify for RowList
6929         (lastRow): new function
6930         Delete firstrow and lastrow class variables, add a Rowlist
6931         rowlist_ class variable.
6932
6933         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6934         paragraph is empty.
6935
6936         * RowList.C (insert): fix case where it == begin().
6937
6938 2003-03-26  Angus Leeming  <leeming@lyx.org>
6939
6940         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6941         the thesaurus dialog.
6942
6943 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6946
6947         * RowList.[Ch]: new files
6948
6949         * ParagraphList.C (erase): handle the case where it == begin
6950         correctly.
6951
6952 2003-03-25  John Levon  <levon@movementarian.org>
6953
6954         * Makefile.am:
6955         * aspell_local.h:
6956         * aspell.C: add new aspell support
6957
6958         * lyxrc.h:
6959         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6960         have it accessible.
6961
6962 2003-03-25  Angus Leeming  <leeming@lyx.org>
6963
6964         * lfuns.h:
6965         * LyXAction.C (init): new LFUN_INSET_INSERT.
6966
6967         * BufferView_pimpl.C (dispatch): split out part of the
6968         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6969
6970         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6971         LFUN_INSET_APPLY.
6972
6973 2003-03-25  Angus Leeming  <leeming@lyx.org>
6974
6975         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6976
6977 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6978
6979         * text2.C:
6980         * text3.C: remove useless row->height(0)
6981
6982 2003-03-25  John Levon  <levon@movementarian.org>
6983
6984         * lyxtext.h:
6985         * text2.C:
6986         * text3.C: rename the refreshing stuff to better names
6987
6988 2003-03-24  John Levon  <levon@movementarian.org>
6989
6990         * BufferView_pimpl.h:
6991         * BufferView_pimpl.C: update layout choice on a mouse
6992         press/release
6993
6994 2003-03-23  John Levon  <levon@movementarian.org>
6995
6996         * Makefile.am: fix commandtags.h reference
6997
6998 2003-03-22  John Levon  <levon@movementarian.org>
6999
7000         * BufferView_pimpl.C:
7001         * lyxtext.h:
7002         * rowpainter.C:
7003         * rowpainter.h:
7004         * text.C:
7005         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7006
7007 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7008
7009         * lyxtext.h:
7010         * text.C: take the rtl methods out of line
7011
7012 2003-03-21 André Pönitz <poenitz@gmx.net>
7013
7014         * metricsinfo.[Ch]: new files containing structures to be passed around
7015         during the two-phase-drawing...
7016
7017 2003-03-21 André Pönitz <poenitz@gmx.net>
7018
7019         * lyxtextclass.C: read 'environment' tag.
7020
7021 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7022
7023         * text2.C (removeRow): fix bug 964
7024
7025 2003-03-20  John Levon  <levon@movementarian.org>
7026
7027         * rowpainter.C:
7028         * text.C:
7029         * text2.C: paint cleanups. Inset::update() dropped font
7030         parameter
7031
7032 2003-03-19  John Levon  <levon@movementarian.org>
7033
7034         * lyxfunc.C: only fitcursor/markDirty if available()
7035
7036 2003-03-19  John Levon  <levon@movementarian.org>
7037
7038         * commandtags.h: rename to ...
7039
7040         * lfuns.h: ... this, and renumber / cleanup
7041
7042 2003-03-19  John Levon  <levon@movementarian.org>
7043
7044         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7045         fit the cursor after an lfun
7046
7047         * BufferView.h:
7048         * BufferView.C:
7049         * BufferView_pimpl.h:
7050         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7051
7052         * LyXAction.C: layout-character should have ReadOnly
7053
7054         * ParagraphParameters.C:
7055         * buffer.C:
7056         * bufferview_funcs.C:
7057         * lyx_cb.C:
7058         * lyxfind.C:
7059         * lyxtext.h:
7060         * text.C:
7061         * text2.C:
7062         * text3.C:
7063         * undo_funcs.C: changes from above
7064
7065 2003-03-18  John Levon  <levon@movementarian.org>
7066
7067         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7068         remove it from update()
7069
7070         * lyxfunc.C: update layout choice after an lfun
7071
7072         * text3.C: remove extra updateLayoutChoice()s
7073
7074 2003-03-18  John Levon  <levon@movementarian.org>
7075
7076         * text.C: top_y change means full repaint, fix
7077         a drawing bug with cursor movement
7078
7079 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * lyxtext.h:
7082         * text.C:
7083         * text2.C: anchor row on setCursor
7084
7085 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * lyxtext.h: remove almost all mutable keywords
7088         * text.C:
7089         * text2.C:
7090         * text3.C: remove const keywords accordingly
7091
7092 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7095         anon namespace
7096         (TeXEnvironment): ditto
7097         (TeXOnePar): ditto
7098
7099 2003-03-17  John Levon  <levon@movementarian.org>
7100
7101         * text.C (rowBreakPoint): remove attempt to fix displayed
7102         math insets inside a manual label
7103
7104 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * lyxtext.h: remove BufferView* as first arg from almost all class
7107         functions.
7108         * other files: adjust.
7109
7110 2003-03-17  John Levon  <levon@movementarian.org>
7111
7112         * lyxtext.h:
7113         * undo_funcs.C:
7114         * text2.C: more paint cleanups
7115
7116         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7117
7118         * rowpainter.h:
7119         * rowpainter.C: remove "smart" background painting code
7120
7121 2003-03-16  John Levon  <levon@movementarian.org>
7122
7123         * lyxtext.h:
7124         * text.C:
7125         * text2.C:
7126         * text3.C: add helper functions for setting refresh_row/y
7127
7128 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7129
7130         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7131         newline inset which *can* get inserted in the pass_thru layouts.
7132         This is primarily for literate documents.
7133
7134 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * buffer.C: increment LYX_FORMAT to 223
7137
7138 2003-03-14 André Pönitz <poenitz@gmx.net>
7139
7140         * textclass.h: prepare for environment handling, ws changes
7141         * lyxlayout.C: read latexheader and latexfooter tags
7142
7143 2003-03-14  John Levon  <levon@movementarian.org>
7144
7145         * text2.C: rewrite ::status() a bit
7146
7147 2003-03-13  John Levon  <levon@movementarian.org>
7148
7149         * lyxtext.h: add some docs
7150
7151 2003-03-13  John Levon  <levon@movementarian.org>
7152
7153         * lyxtext.h:
7154         * text.C:
7155         * text2.C:
7156         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7157
7158 2003-03-13  John Levon  <levon@movementarian.org>
7159
7160         * text3.C: fix appendix redrawing
7161
7162 2003-03-13  John Levon  <levon@movementarian.org>
7163
7164         * text.C (setHeightOfRow):
7165         * rowpainter.h:
7166         * rowpainter.C: make appendix mark have the text
7167           "Appendix" so the user knows what it is
7168
7169         * LColor.h:
7170         * LColor.C: s/appendixline/appendix/ from above
7171
7172 2003-03-13  John Levon  <levon@movementarian.org>
7173
7174         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7175
7176         * text.C: fix a getChar(pos) bug properly
7177
7178 2003-03-13  Angus Leeming  <leeming@lyx.org>
7179
7180         * commandtags.h:
7181         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7182         Probably only temporary. Let's see how things pan out.
7183
7184         * BufferView.C (unlockInset):
7185         * BufferView_pimpl.C (fitCursor):
7186         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7187
7188         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7189         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7190
7191         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7192         new functions that convert ParagraphParameters to and from a string.
7193
7194         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7195         BufferView::Pimpl's dispatch.
7196         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7197
7198 2003-03-13 André Pönitz <poenitz@gmx.net>
7199
7200         * lyxfunc.C:
7201         * text3.C:
7202         * factory.C: make it aware of InsetEnv
7203
7204 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * text2.C (setCursor): never ask for one past last
7207         (setCursor): add some debugging messages.
7208
7209         * text.C (singleWidth): never ask for one past last
7210         (singleWidth): ditto
7211         (leftMargin): ditto
7212         (rightMargin): ditto
7213         (rowBreakPoint): ditto
7214         (setHeightOfRow): ditto
7215         (prepareToPrint): ditto
7216
7217         * rowpainter.C (paintBackground): never ask for one past last
7218         (paintText): never ask for one past last
7219
7220         * paragraph_pimpl.C (getChar): make the assert stricter, never
7221         allow the one past last pos to be taken
7222
7223         * paragraph.C (getChar): ws changes only
7224
7225         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7226         (numberOfSeparators): ditto
7227         (numberOfHfills): ditto
7228
7229 2003-03-12  John Levon  <levon@movementarian.org>
7230
7231         * author.h:
7232         * author.C:
7233         * bufferparams.h:
7234         * bufferparams.C:
7235         * paragraph_funcs.C: fix per-buffer authorlists
7236
7237 2003-03-12  John Levon  <levon@movementarian.org>
7238
7239         * text.C: fix newline in right address
7240
7241 2003-03-12  Angus Leeming  <leeming@lyx.org>
7242
7243         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7244         duplicate those in LyXFunc::dispatch.
7245
7246         * commandtags.h:
7247         * LyXAction.C:
7248         * ToolbarDefaults.C:
7249         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7250         Add LFUN_FONTFREE_UPDATE.
7251
7252         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7253         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7254
7255         * bufferview_func.[Ch]: several new functions to facilliate
7256         transfer of data to and from the character dialog.
7257
7258 2003-03-12  John Levon  <levon@movementarian.org>
7259
7260         * buffer.C:
7261         * paragraph.h:
7262         * paragraph.C:
7263         * paragraph_funcs.C:
7264         * paragraph_pimpl.C:
7265         * sgml.C:
7266         * tabular.C:
7267         * text.C:
7268         * text3.C: remove META_NEWLINE in favour of an inset
7269
7270         * rowpainter.h:
7271         * rowpainter.C: remove paintNewline (done by inset)
7272
7273 2003-03-12  John Levon  <levon@movementarian.org>
7274
7275         * paragraph_pimpl.C: complain about bad getChar()s
7276         for a while at least
7277
7278 2003-03-12  John Levon  <levon@movementarian.org>
7279
7280         * buffer.h:
7281         * buffer.C: move paragraph read into a separate function,
7282         a little renaming to reflect that.
7283
7284         * bufferparams.h:
7285         * bufferparams.C: remove the author_ids map, not necessary now
7286
7287         * factory.h:
7288         * factory.C: moved Buffer::readInset to here
7289
7290         * paragraph_funcs.h:
7291         * paragraph_funcs.C: readParagraph free function moved from
7292         buffer.C
7293
7294         * tabular.C: name change
7295
7296 2003-03-12  John Levon  <levon@movementarian.org>
7297
7298         * buffer.C:
7299         * ParagraphParameters.C: move par params input to
7300         a read() method
7301
7302         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7303         behave like a normal read from the stream wrt reading
7304         a line vs. a \\token
7305
7306 2003-03-12  John Levon  <levon@movementarian.org>
7307
7308         * paragraph.C:
7309         * ParagraphParameters.h:
7310         * ParagraphParameters.C: move output code to a
7311         ::write() method
7312
7313 2003-03-12  John Levon  <levon@movementarian.org>
7314
7315         * BufferView.C (insertLyXFile):
7316         * buffer.h:
7317         * buffer.C:
7318         * tabular.C: use a parlist iterator for creating the
7319           document.
7320
7321 2003-03-12  John Levon  <levon@movementarian.org>
7322
7323         * buffer.C: make current_change static local not
7324           static file-scope
7325
7326 2003-03-12  John Levon  <levon@movementarian.org>
7327
7328         * buffer.C: fix insertStringAsLines for change tracking
7329
7330 2003-03-12  John Levon  <levon@movementarian.org>
7331
7332         * BufferView.C:
7333         * tabular.C:
7334         * buffer.h:
7335         * buffer.C:
7336         * bufferparams.h:
7337         * bufferparams.C: move author list into params. Rename some
7338           functions. Move the header reading into a separate token
7339           loop. Move the header token reading into BufferParams.
7340
7341 2003-03-12  John Levon  <levon@movementarian.org>
7342
7343         * changes.C: put debug inside lyxerr.debugging() checks
7344
7345 2003-03-11 André Pönitz <poenitz@gmx.net>
7346
7347         * factory.C: make it aware of InsetHFill
7348
7349 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7350
7351         * buffer.C (latexParagraphs): move function from here...
7352         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7353         args.
7354
7355 2003-03-10  Angus Leeming  <leeming@lyx.org>
7356
7357         * LyXAction.C (init): fix bug in poplating array with multiple entries
7358         with the same LFUN (spotted by JMarc).
7359
7360 2003-03-10  John Levon  <levon@movementarian.org>
7361
7362         * text.C:
7363         * text2.C: move getColumnNearX() near its
7364         only call site
7365
7366 2003-03-10  John Levon  <levon@movementarian.org>
7367
7368         * text.C: fix break before a minipage
7369
7370 2003-03-10  John Levon  <levon@movementarian.org>
7371
7372         * text.C: fix the last commit
7373
7374 2003-03-09  John Levon  <levon@movementarian.org>
7375
7376         * lyxtext.h:
7377         * text.C:
7378         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7379         bug 365 (don't break before insets unless needed). Don't
7380         return a value > last under any circumstances.
7381
7382 2003-03-09  Angus Leeming  <leeming@lyx.org>
7383
7384         * BufferView_pimpl.C (trackChanges, dispatch): call
7385         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7386
7387 2003-03-09  Angus Leeming  <leeming@lyx.org>
7388
7389         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7390         than Dialogs::showAboutlyx().
7391
7392 2003-03-09  Angus Leeming  <leeming@lyx.org>
7393
7394         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7395         than Dialogs::showTabularCreate().
7396
7397 2003-03-09  John Levon  <levon@movementarian.org>
7398
7399         * lyxtext.h:
7400         * text.C:
7401         * text2.C: 3rd arg to nextBreakPoint was always the same.
7402           Use references.
7403
7404 2003-03-08  John Levon  <levon@movementarian.org>
7405
7406         * lyxrow.C:
7407         * paragraph.C:
7408         * paragraph.h:
7409         * rowpainter.C:
7410         * text.C:
7411         * text2.C: Remove the "main" bit from the "main body"
7412           notion.
7413
7414 2003-03-08  John Levon  <levon@movementarian.org>
7415
7416         * text.C (leftMargin): The left margin of an empty
7417         manual label paragraph should not include the label width
7418         string length.
7419
7420         * text.C (prepareToPrint): don't attempt to measure hfills
7421         for empty manual label paragraphs - the answer should be 0
7422
7423 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7424
7425         * CutAndPaste.C: remove commented code and reindent.
7426
7427 2003-03-08  John Levon  <levon@movementarian.org>
7428
7429         * lyxfunc.h:
7430         * lyxfunc.C: move reloadBuffer()
7431
7432         * BufferView.h:
7433         * BufferView.C: to here
7434
7435         * lyxvc.C: add comment
7436
7437         * vc-backend.h:
7438         * vc-backend.C: call bv->reload() to avoid
7439           getStatus() check on MENURELOAD
7440
7441 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7442
7443         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7444         to an old format .dep file.
7445
7446 2003-03-07  Angus Leeming  <leeming@lyx.org>
7447
7448         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7449         when the LFUN_MOUSE_RELEASE should have been handled by
7450         inset->localDispatch.
7451
7452 2003-03-07  Angus Leeming  <leeming@lyx.org>
7453
7454         * BufferView_pimpl.C (dispatch):
7455         * LyXAction.C (init):
7456         * ToolbarDefaults.C (init):
7457         * commandtags.h:
7458         * lyxfunc.C (getStatus):
7459         remove LFUN_INSET_GRAPHICS.
7460
7461         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7462
7463 2003-03-07  Angus Leeming  <leeming@lyx.org>
7464
7465         * commandtags.h:
7466         * LyXAction.C (init):
7467         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7468
7469         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7470
7471         * commandtags.h:
7472         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7473
7474         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7475         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7476
7477 2003-03-07  Angus Leeming  <leeming@lyx.org>
7478
7479         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7480         remove "ert".
7481
7482 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * ParagraphList.C (front): new function
7485         (back): implement
7486
7487 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7488
7489         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7490         and top_row_offset_. removed var first_y.
7491         * text.C (top_y):
7492         * text2.C (LyXText, removeRow):
7493         * text3.C:
7494         * BufferView_pimpl.C:
7495         use these methods instead of using first_y
7496
7497 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * text2.C (pasteSelection): adjust for checkPastePossible
7500
7501         * CutAndPaste.C: remove Paragraph * buf and replace with
7502         ParagraphList paragraphs.
7503         (DeleteBuffer): delete
7504         (cutSelection): change the tc type to textclass_type
7505         (copySelection): change the tc type to textclass_type
7506         (copySelection): adjust for ParagraphList
7507         (pasteSelection): change the tc type to textclass_type
7508         (pasteSelection): adjust for Paragraphlist
7509         (nrOfParagraphs): simplify for ParagraphList
7510         (checkPastePossible): simplify for ParagraphList
7511         (checkPastePossible): remove unused arg
7512
7513         * ParagraphList.C (insert): handle the case where there are no
7514         paragraphs yet.
7515
7516         * CutAndPaste.h: make CutAndPaste a namespace.
7517
7518         * text3.C (dispatch): adjust
7519
7520         * text.C (breakParagraph): add a ParagraphList as arg
7521
7522         * paragraph_funcs.C (breakParagraph): change to take a
7523         BufferParams and a ParagraphList as args.
7524         (breakParagraphConservative): ditto
7525         (mergeParagraph): ditto
7526         (TeXDeeper): add a ParagraphList arg
7527         (TeXEnvironment): ditto
7528         (TeXOnePar): ditto
7529
7530         * buffer.C (readLyXformat2): adjust
7531         (insertStringAsLines): adjust
7532         (latexParagraphs): adjust
7533
7534         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7535         (cutSelection): adjust
7536         (pasteSelection): adjust
7537
7538         * BufferView_pimpl.C (insertInset): adjust
7539
7540 2003-03-05  Angus Leeming  <leeming@lyx.org>
7541
7542         * commandtags.h:
7543         * LyXAction.C (init):
7544         * BufferView_pimpl.C (dispatch):
7545         * lyxfunc.C (getStatus):
7546         remove LFUN_CHILD_INSERT.
7547
7548         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7549
7550 2003-03-05  Angus Leeming  <leeming@lyx.org>
7551
7552         * commandtags.h:
7553         * LyXAction.C (init):
7554         * src/factory.C (createInset):
7555         * lyxfunc.C (getStatus):
7556         * text3.C (dispatch):
7557         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7558
7559         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7560
7561 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * ParagraphList.C (insert): handle insert right before end()
7564         (erase): fix cases where it can be first or last paragraph.
7565
7566 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7569         Paragraph::next and Paragraph::previous
7570         (TeXOnePar): ditto
7571
7572         * text.C (breakParagraph): adjust
7573
7574         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7575         BufferParams& as arg.
7576         (breakParagraph): use ParagraphList::insert
7577         (breakParagraphConservative): take a Buffer* instead of a
7578         BufferParams& as arg.
7579         (breakParagraphConservative): use ParagraphList::insert.
7580
7581         * buffer.C (insertStringAsLines): un-const it
7582         (insertStringAsLines): adjust
7583
7584         * ParagraphList.C (insert): new function
7585
7586         * CutAndPaste.C (pasteSelection): adjust
7587
7588         * text.C (backspace): adjust
7589
7590         * tabular.C (SetMultiColumn): adjust
7591
7592         * CutAndPaste.C (cutSelection): adjust
7593         (pasteSelection): adjust
7594
7595         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7596         Buffer const * as arg
7597
7598         * ParagraphList.C (erase): new function
7599         * paragraph_funcs.C (mergeParagraph): use it
7600         (mergeParagraph): make it take a Buffer* instead of a
7601         BufferParams* as arg
7602
7603         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7604         as arg
7605         (breakParagraphConservative): ditto
7606
7607         * paragraph.h: remove the breakParagraph friend
7608
7609         * paragraph.C (eraseIntern): new function
7610         (setChange): new function
7611
7612         * paragraph_funcs.C (mergeParagraph): make it take a
7613         ParagraphList::iterator instead of a Paragraph *, adjust
7614         accordingly.
7615
7616         * paragraph.h: move an #endif so that the change tracking stuff
7617         also works in the NO_NEXT case.
7618
7619 2003-03-04  Angus Leeming  <leeming@lyx.org>
7620
7621         * commandtags.h:
7622         * LyXAction.C: new LFUN_INSET_MODIFY.
7623
7624         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7625         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7626
7627 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * several files: ws changes only
7630
7631         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7632         (TeXEnvironment): ditto
7633         (TeXDeeper): ditto
7634
7635         * buffer.C (makeLaTeXFile): adjust
7636         (latexParagraphs): make it take ParagraphList::iterator as args
7637
7638 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * buffer.C (latexParagraphs): adjust
7641
7642         * paragraph.C (TeXOnePar): move function...
7643         (optArgInset): move function...
7644         (TeXEnvironment): move function...
7645         * paragraph_pimpl.C (TeXDeeper): move function...
7646         * paragraph_funcs.C: ...here
7647
7648         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7649
7650 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7651
7652         * buffer.C (readInset): remove compability code for old Figure and
7653         InsetInfo insets
7654
7655 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * buffer.C: ws changes
7658         (readInset):
7659
7660         * BufferView_pimpl.C: ditto
7661         * author.C: ditto
7662         * buffer.h: ditto
7663         * bufferlist.h: ditto
7664         * changes.h: ditto
7665         * lyxfunc.C: ditto
7666
7667 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7668
7669         * converter.[Ch]: split into itself +
7670         * graph.[Ch]
7671         * format.[Ch]
7672         * Makefile.am: += graph.[Ch] + format.[Ch]
7673         * MenuBackend.C
7674         * buffer.C
7675         * exporter.C
7676         * importer.C
7677         * lyx_main.C
7678         * lyxfunc.C
7679         * lyxrc.C: added #include "format.h"
7680
7681 2003-02-27  Angus Leeming  <leeming@lyx.org>
7682
7683         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7684           a label.
7685
7686         * factory.C (createInset): add "label" to the factory.
7687
7688         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7689           string and do no more.
7690
7691 2003-02-27  Angus Leeming  <leeming@lyx.org>
7692
7693         * commandtags.h:
7694         * LyXAction.C (init):
7695         * factory.C (createInset):
7696         * BufferView_pimpl.C (dispatch):
7697           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7698
7699         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7700
7701         * lyxfunc.C (dispatch):
7702         * text3.C (dispatch): pass name to params2string.
7703
7704 2003-02-26  Angus Leeming  <leeming@lyx.org>
7705
7706         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7707           blocks together.
7708           Rearrange the ~includes. Strip out the unnecessary ones.
7709
7710         * factory.C (createInset): reformat.
7711           create new insets for the various LFUN_XYZ_APPLY lfuns.
7712
7713 2003-02-26  John Levon  <levon@movementarian.org>
7714
7715         * lyxrow.h:
7716         * lyxrow.C: add isParStart,isParEnd helpers
7717
7718         * paragraph.h: make isInserted/DeletedText take refs
7719
7720         * paragraph_funcs.h:
7721         * paragraph_funcs.C: remove #if 0'd code
7722
7723         * lyxtext.h:
7724         * text3.C:
7725         * text2.C:
7726         * text.C: use lyxrow helpers above.
7727           Move draw and paint routines to RowPainter.
7728           Make several methods use refs not pointers.
7729           Make backgroundColor() const.
7730           Add markChangeInDraw(), isInInset().
7731           Merge changeRegionCase into changeCase.
7732           Make workWidth() shouldn't-happen code into an Assert.
7733
7734         * rowpainter.h:
7735         * rowpainter.C: new class for painting a row.
7736
7737         * vspace.h:
7738         * vspace.C: make inPixels take a ref
7739
7740 2003-02-26  Angus Leeming  <leeming@lyx.org>
7741
7742         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7743         LFUN_REF_APPLY.
7744
7745 2003-02-25  John Levon  <levon@movementarian.org>
7746
7747         * ispell.C: give the forked command a more accurate name
7748
7749 2003-02-22  John Levon  <levon@movementarian.org>
7750
7751         * toc.h:
7752         * toc.C: make TocItem store an id not a Paragraph *
7753           (bug #913)
7754
7755 2003-02-21  Angus Leeming  <leeming@lyx.org>
7756
7757         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7758           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7759           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7760           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7761           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7762           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7763
7764         * BufferView_pimpl.C (dispatch):
7765         * LyXAction.C (init):
7766         * factory.C (createInset):
7767         * lyxfunc.C (getStatus, dispatch):
7768         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7769
7770 2003-02-21  Angus Leeming  <leeming@lyx.org>
7771
7772         * BufferView_pimpl.C (MenuInsertLyXFile):
7773         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7774         * lyxfunc.C (menuNew, open, doImport):
7775           no longer pass a LyXView & to fileDlg.
7776
7777 2003-02-21  Angus Leeming  <leeming@lyx.org>
7778
7779         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7780         * LyXAction.C: change, BIBKEY to BIBITEM.
7781         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7782         Change InsetBibKey to InsetBibitem.
7783         Change BIBKEY_CODE to BIBITEM_CODE.
7784         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7785         * factory.C: replace insetbib.h with insetbibitem.h.
7786         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7787         * paragraph.C: replace insetbib.h with insetbibitem.h.
7788         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7789         Change bibkey() to bibitem().
7790         * text.C: remove insetbib.h.
7791         * text2.C: replace insetbib.h with insetbibitem.h.
7792         change bibkey() to bibitem().
7793         * text3.C: remove insetbib.h.
7794         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7795
7796 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7797
7798         * lyxrc.C (output): enclose user email in quotes (in case there are
7799         several words)
7800
7801 2003-02-18  John Levon  <levon@movementarian.org>
7802
7803         * buffer.h: add std::
7804
7805 2003-02-17  John Levon  <levon@movementarian.org>
7806
7807         * SpellBase.h:
7808         * ispell.h:
7809         * ispell.C:
7810         * pspell.h:
7811         * pspell.C: reworking. Especially in ispell, a large
7812           number of clean ups and bug fixes.
7813
7814         * lyxfunc.C: fix revert to behave sensibly
7815
7816 2003-02-17 André Pönitz <poenitz@gmx.net>
7817
7818         * LyXAction.C:
7819         * commandtags.h: new LFUN_INSERT_BIBKEY
7820
7821         * layout.h:
7822         * lyxlayout.C:
7823         * buffer.C:
7824         * factory.C:
7825         * text.C:
7826         * text2.C:
7827         * text3.C:
7828         * paragraph.[Ch]:
7829         * paragraph_func.C: remove special bibkey handling
7830
7831 2003-02-17  John Levon  <levon@movementarian.org>
7832
7833         * text.C (Delete): fix case where delete at the end of
7834           the very first paragraph would not merge the pars
7835
7836 2003-02-17  John Levon  <levon@movementarian.org>
7837
7838         * lyxrow.C: fix lastPrintablePos()
7839
7840 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7841
7842         * bufferparams.C (writeLaTeX): add a std:here
7843
7844         * buffer.C: and remove a using directive there
7845
7846 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7847
7848         * buffer.C (makeLaTeXFile): move the code that generates the
7849           preamble...
7850
7851         * bufferparams.C (writeLaTeX): ... in this new method
7852
7853         * LaTeXFeatures.C (getEncodingSet): make const
7854           (getLanguages): make const
7855
7856         * MenuBackend.C (binding): returns the binding associated to this
7857           action
7858           (add): sets the status of each item by calling getStatus. Adds
7859           some intelligence.
7860           (read): add support for OptSubMenu
7861           (expand): remove extra separator at the end of expanded menu
7862
7863 2003-02-15  John Levon  <levon@movementarian.org>
7864
7865         * BufferView.C:
7866         * BufferView_pimpl.C:
7867         * bufferlist.h:
7868         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7869           inset code that had no actual effect. Remove unneeded status
7870           code.
7871
7872 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7875           in preamble
7876
7877 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7878
7879         * text.C (drawLengthMarker): also draw an arrow marker for
7880           symbolic lengths (medskip...)
7881
7882 2003-02-14  John Levon  <levon@movementarian.org>
7883
7884         * tabular.h:
7885         * tabular.C: better method names
7886
7887 2003-02-14  John Levon  <levon@movementarian.org>
7888
7889         * BufferView_pimpl.C:
7890         * bufferlist.C:
7891         * buffer.C:
7892         * converter.C:
7893         * lyx_cb.C:
7894         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7895           it's a more accurate name. Remove some pointless uses.
7896
7897 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7898
7899         * text2.C (LyXText): change order of initilizers to shut off
7900           warnings
7901
7902 2003-02-14  John Levon  <levon@movementarian.org>
7903
7904         * buffer.C: use ParIterator for getParFromID()
7905
7906         * paragraph.h:
7907         * paragraph.C:
7908         * paragraph_pimpl.h:
7909         * paragraph_pimpl.C: remove unused getParFromID()
7910
7911 2003-02-14  John Levon  <levon@movementarian.org>
7912
7913         * buffer.C: remove some very old #if 0'd parse code
7914
7915 2003-02-13  John Levon  <levon@movementarian.org>
7916
7917         * text.h:
7918         * text.C:
7919         * text2.C: move hfillExpansion(), numberOfSeparators(),
7920           rowLast(), rowLastPrintable(), numberofHfills(),
7921           numberOfLabelHfills() ...
7922
7923         * lyxrow.h:
7924         * lyxrow.C: ... to member functions here.
7925
7926         * paragraph.h:
7927         * paragraph.C:
7928         * lyxtext.h:
7929         * text.C: remove LyXText::beginningOfMainBody(), and call
7930           p->beginningOfMainBody() directly. Move the check for
7931           LABEL_MANUAL into the latter.
7932
7933         * text.h:
7934         * text.C:
7935         * text2.C:
7936         * vspace.C:
7937         * BufferView.h:
7938         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7939
7940         * text.h:
7941         * text.C:
7942         * text2.C:
7943         * text3.C:
7944         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7945           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7946
7947 2003-02-13  John Levon  <levon@movementarian.org>
7948
7949         * CutAndPaste.C: remove debug
7950
7951 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7952
7953         * paragraph.C (asString): remove two unused variables
7954
7955         * lyxtextclass.C (readTitleType):
7956           (Read):
7957           (LyXTextClass): handle new members titletype_ and titlename_
7958
7959         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7960
7961 2003-02-09  John Levon  <levon@movementarian.org>
7962
7963         * buffer.h:
7964         * buffer.C: replace hand-coded list with a map for the dep clean
7965
7966 2003-02-08  John Levon  <levon@movementarian.org>
7967
7968         * LaTeX.C: consolidate code into showRunMessage() helper
7969
7970 2003-02-08  John Levon  <levon@movementarian.org>
7971
7972         * lyxfind.C:
7973         * lyxtext.h:
7974         * text2.C:
7975         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7976           and pass the size in explicitly
7977
7978         * BufferView_pimpl.h:
7979         * BufferView_pimpl.C:
7980         * BufferView.h:
7981         * BufferView.C: add getCurrentChange()
7982
7983         * BufferView_pimpl.h:
7984         * BufferView_pimpl.C: handle change lfuns
7985
7986         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7987           for changes. Mark pasted paragraphs as new.
7988
7989         * support/lyxtime.h:
7990         * support/lyxtime.C:
7991         * DepTable.C: abstract time_t as lyx::time_type
7992
7993         * LColor.h:
7994         * LColor.C: add colours for new text, deleted text, changebars
7995
7996         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7997           package use "usenames" option.
7998
7999         * commandtags.h:
8000         * lyxfunc.C:
8001         * LyXAction.C: add change lfuns
8002
8003         * Makefile.am:
8004         * author.h:
8005         * author.C: author handling
8006
8007         * buffer.h:
8008         * buffer.C: add a per-buffer author list, with first entry as
8009           current author. Handle new .lyx tokens for change tracking. Output
8010           author list to .lyx file. Output dvipost stuff to .tex preamble.
8011           Bump lyx format to 222.
8012
8013         * bufferlist.h:
8014         * bufferlist.C: add setCurrentAuthor() to reset current author details
8015           in all buffers.
8016
8017         * bufferparams.h:
8018         * bufferparams.C: add param for tracking
8019
8020         * bufferview_funcs.C: output change info in minibuffer
8021
8022         * Makefile.am:
8023         * changes.h:
8024         * changes.C: add change-tracking structure
8025
8026         * debug.h:
8027         * debug.C: add CHANGES debug flag
8028
8029         * lyxfind.h:
8030         * lyxfind.C: add code for finding the next change piece
8031
8032         * lyxrc.h:
8033         * lyxrc.C: add user_name and user_email
8034
8035         * lyxrow.h:
8036         * lyxrow.C: add a metric for the top of the text line
8037
8038         * lyxtext.h:
8039         * text.C: implement accept/rejectChange()
8040
8041         * lyxtext.h:
8042         * text.C: paint changebars. Paint new/deleted text in the chosen
8043         colours. Strike through deleted text.
8044
8045         * paragraph.h:
8046         * paragraph.C:
8047         * paragraph_pimpl.h:
8048         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8049           in the current change to the insert functions. Rework erase to
8050           mark text as deleted, adding an eraseIntern() and a range-based
8051           erase(). Implement per-paragraph change lookup and
8052           accept/reject.
8053
8054         * paragraph_funcs.C: Fixup paste for change tracking.
8055
8056         * tabular.C: mark added row/columns as new.
8057
8058         * text.C: fix rowLast() to never return -1. Don't allow
8059           spellchecking of deleted text. Track transpose changes. Don't
8060           allow paragraph break or merge where appropriate.
8061
8062         * text2.C: leave cursor at end of selection after a cut.
8063
8064 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8065
8066         * text.C (getLengthMarkerHeight):
8067         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8068         visible on screen too.
8069
8070 2003-02-07  John Levon  <levon@movementarian.org>
8071
8072         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8073
8074 2003-02-05  Angus Leeming  <leeming@lyx.org>
8075
8076         * lyxserver.C (read_ready): revert my patch of 11 September last year
8077         as it sends PC cpu through the roof. Presumably this means that
8078         the lyxserver will no longer run on an Alpha...
8079
8080 2003-01-30  Angus Leeming  <leeming@lyx.org>
8081
8082         * factory.C (createInset): create an InsetCommandParam of type "index"
8083         and use it to 'do the right thing'.
8084
8085         * text2.C (getStringToIndex): ensure that cursor position is always
8086         reset to the reset_cursor position.
8087
8088 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8089
8090         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8091         disabled.
8092
8093 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8094
8095         * bufferview.C:
8096         * lyxcb.C:
8097         * lyxfunc.C: Output messages with identical spelling, punctuation,
8098         and spaces
8099
8100 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8101
8102         * MenuBackend.C (expandFormats): List only viewable export formats
8103         in "View" menu
8104
8105         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8106         message
8107
8108         * lyxfunc.C (getStatus): Make sure that formats other than
8109         "fax" can also be disabled
8110
8111 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8112
8113         * text3.C (dispatch): put the lfuns that insert insets in 3
8114         groups, and call doInsertInset with appropriate arguments.
8115         (doInsertInset): new function, that creates an inset and inserts
8116         it according to some boolean parameters.
8117
8118 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * buffer.C (readFile): remember to pass on 'par' when calling
8121         readFile recursively.
8122
8123 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8124
8125         * MenuBackend.C (expandFormats): add "..." to import formats.
8126
8127 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8128
8129         * paragraph.C (asString): Remove XForms RTL hacks.
8130
8131 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8132         * buffer.C: fix typo
8133
8134 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * Makefile.am (LIBS): delete var
8137         (lyx_LDADD): add @LIBS@ here instead.
8138
8139 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8140
8141         * Clarify the meaning of "wheel mouse jump"
8142
8143 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8144
8145         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8146         tabular in a float
8147
8148 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8149
8150         * importer.C (Loaders): do not preallocate 3 elements in the
8151         vector, since one ends up with 6 elements otherwise
8152
8153 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8154
8155         * DepTable.C (write): write the file name as last element of the
8156         .dep file (because it may contain spaces)
8157         (read): read info in the right order
8158
8159 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8160
8161         * paragraph_pimpl.C (simpleTeXBlanks):
8162         (simpleTeXSpecialChars):
8163         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8164
8165         * tabular.C (latex): add some missing case statements. Reindent.
8166
8167         * MenuBackend.C (expandToc): remove unused variable.
8168
8169 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8170
8171         * LColor.C:
8172         * LaTeX.C:
8173         * LyXAction.C:
8174         * MenuBackend.C:
8175         * buffer.C:
8176         * exporter.C:
8177         * lyxfunc.C:
8178         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8179         and the like.
8180
8181 2003-01-05  John Levon  <levon@movementarian.org>
8182
8183         * BufferView.h:
8184         * BufferView.C: add getEncoding()
8185
8186         * kbsequence.h:
8187         * kbsequence.C: do not store last keypress
8188
8189         * lyxfunc.h:
8190         * lyxfunc.C: store last keypress here instead. Pass encoding
8191           to getISOEncoded()
8192
8193 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8194
8195         * lyx_main.C (init): remove annoying error message when following
8196         symbolic links (bug #780)
8197
8198 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8199
8200         * text.C (insertChar):
8201         * lyxrc.C (getDescription): remove extra spaces
8202
8203 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8204
8205         * lyxrc.C (getDescription): remove extra spaces
8206
8207 2002-12-20  John Levon  <levon@movementarian.org>
8208
8209         * text3.C: hack fix for page up/down across tall rows
8210
8211 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8212
8213         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8214         not been invoked
8215
8216 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8217
8218         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8219         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8220         thesaurus is not compiled in
8221
8222 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8223
8224         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8225
8226 2002-12-16  Angus Leeming  <leeming@lyx.org>
8227
8228         * lyxrc.[Ch]:
8229         * lyx_main.C (init): remove override_x_deadkeys stuff.
8230
8231 2002-12-12  John Levon  <levon@movementarian.org>
8232
8233         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8234           insert. Only remove shift modifier under strict
8235           circumstances.
8236
8237 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * MenuBackend.C (expandToc): fix crash.
8240
8241 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * MenuBackend.C (expandToc): gettext on float names.
8244
8245 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8246
8247         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8248         implement bool empty() [bug 490]
8249
8250 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8253
8254 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * several files: ws changes
8257
8258 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * text2.C (setCounter): clean up a bit, use boost.format.
8261         (updateCounters): initialize par upon declaration.
8262
8263         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8264         if the layout exists. We do not just store the layout any more.
8265         (SwitchLayoutsBetweenClasses): use boost.format
8266
8267 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * converter.C (convert): if from and to files are the same, use a
8270         temporary files as intermediary
8271
8272 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8273
8274         * commandtags.h:
8275         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8276
8277 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8278
8279         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8280
8281 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8282
8283         * tabular.C (asciiPrintCell): use string(size, char) instead of
8284         explicit loop.
8285
8286         * sgml.C (openTag): fix order of arguments to string constructor
8287         (closeTag): ditto
8288
8289         * lyxfunc.C (dispatch): use boost.format
8290
8291         * lots of files: change "c" -> 'c'
8292
8293 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8294
8295         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8296
8297 2002-11-25  Angus Leeming  <leeming@lyx.org>
8298
8299         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8300
8301         * lyx_main.C (init): compile fix.
8302
8303 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * lyx_cb.C (start): boost.formatify
8306         do not include <iostream>
8307
8308         * lengthcommon.C: ws only
8309
8310         * boost-inst.C,BoostFormat.h: add more explict instantations
8311
8312 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * lots of files: handle USE_BOOST_FORMAT
8315
8316 2002-11-21  John Levon  <levon@movementarian.org>
8317
8318         * pspell.C: fix compile
8319
8320 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8321
8322         * lyxfunc.C (dispatch): use boost::format
8323         (open): ditto
8324         (doImport): ditto
8325
8326         * lyxfont.C (stateText): use boost::format
8327
8328         * lyx_main.C (LyX): use boost::format
8329         (init): ditto
8330         (queryUserLyXDir): ditto
8331         (readRcFile): ditto
8332         (parse_dbg): ditto
8333         (typedef boost::function): use the recommened syntax.
8334
8335         * importer.C (Import): use boost::format
8336
8337         * debug.C (showLevel): use boost::format
8338
8339         * converter.C (view): use boost::format
8340         (convert): ditto
8341         (move): ditto
8342         (scanLog): ditto
8343
8344         * bufferview_funcs.C (currentState): use boost::format
8345
8346         * bufferlist.C (emergencyWrite): use boost::format
8347
8348         * buffer.C (readLyXformat2): use boost::format
8349         (parseSingleLyXformat2Token): ditto
8350
8351         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8352
8353         * LaTeX.C (run): use boost::format
8354
8355         * Chktex.C (scanLogFile): use boost::format
8356
8357         * BufferView_pimpl.C (savePosition): use boost::format
8358         (restorePosition): ditto
8359         (MenuInsertLyXFile): ditto
8360
8361         * BoostFormat.h: help file for explicit instation.
8362
8363 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8364
8365         * tabular.C (latex): Support for block alignment in fixed width
8366         columns.
8367
8368 2002-11-17  John Levon  <levon@movementarian.org>
8369
8370         * BufferView_pimpl.C:
8371         * lyx_cb.C:
8372         * lyxfunc.C: split filedialog into open/save
8373
8374 2002-11-08  Juergen Vigna  <jug@sad.it>
8375
8376         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8377         by my last patch (hopefully).
8378
8379 2002-11-08  John Levon  <levon@movementarian.org>
8380
8381         * iterators.h:
8382         * iterators.C:
8383         * buffer.h:
8384         * buffer.C:
8385         * paragraph.h:
8386         * paragraph.C:
8387         * toc.h:
8388         * toc.C: ParConstIterator, and use it (from Lars)
8389
8390 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8391
8392         * lyxtextclass.[Ch]: revise and add doxygen comments
8393
8394 2002-11-07  John Levon  <levon@movementarian.org>
8395
8396         * text.C: fix progress value for spellchecker
8397
8398         * toc.C: fix navigate menu for insetwrap inside minipage
8399
8400         * paragraph_funcs.C: added FIXME for suspect code
8401
8402 2002-11-07  John Levon  <levon@movementarian.org>
8403
8404         * BufferView_pimpl.C: fix redrawing of insets
8405           on buffer switch
8406
8407 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8408
8409         * text2.C (updateCounters): fix bug 668
8410
8411 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8412
8413         * text3.C (dispatch): Do not make the buffer dirty when moving the
8414         cursor.
8415
8416 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * vc-backend.C: STRCONV
8419         (scanMaster): ditto
8420
8421         * text2.C (setCounter): STRCONV
8422
8423         * paragraph.C (asString): STRCONV
8424
8425         * lyxlength.C (asString): STRCONV
8426         (asLatexString): ditto
8427
8428         * lyxgluelength.C (asString): STRCONV
8429         (asLatexString): ditto
8430
8431         * lyxfunc.C (dispatch): STRCONV
8432         (open): ditto
8433
8434         * lyxfont.C (stateText): STRCONV
8435
8436         * importer.C (Import): STRCONV
8437
8438         * counters.C (labelItem): STRCONV
8439         (numberLabel): ditto
8440         (numberLabel): remove unused ostringstream o
8441
8442         * chset.C: STRCONV
8443         (loadFile): ditto
8444
8445         * bufferview_funcs.C (currentState): STRCONV
8446
8447         * buffer.C (readFile): STRCONV
8448         (asciiParagraph): ditto
8449         (makeLaTeXFile): ditto
8450
8451         * Spacing.C (writeEnvirBegin): STRCONV
8452
8453         * LaTeXFeatures.C (getLanguages): STRCONV
8454         (getPackages): ditto
8455         (getMacros): ditto
8456         (getBabelOptions): ditto
8457         (getTClassPreamble): ditto
8458         (getLyXSGMLEntities): ditto
8459         (getIncludedFiles): ditto
8460
8461         * LaTeX.C: STRCONV
8462         (run): ditto
8463         (scanAuxFile): ditto
8464         (deplog): ditto
8465
8466         * LString.h: add the STRCONV macros
8467
8468         * BufferView_pimpl.C (savePosition): STRCONV
8469         (restorePosition): ditto
8470         (MenuInsertLyXFile): ditto
8471
8472         * vc-backend.C (scanMaster): change from submatch[...] to
8473         submatch.str(...)
8474
8475         * funcrequest.C: include config.h
8476
8477         * factory.C: include config.h
8478
8479         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8480
8481         * box.C: include config.h
8482
8483         * LaTeX.C (scanAuxFile): change from submatch[...] to
8484         submatch.str(...)
8485         (deplog): ditto
8486
8487 2002-10-25  Angus Leeming  <leeming@lyx.org>
8488
8489         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8490
8491         * ispell.[Ch] (setError): new method.
8492         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8493         Use setError() insetead of goto END.
8494
8495         * lyx_cb.C (AutoSave): move out child process into new class
8496         AutoSaveBuffer.
8497
8498 2002-10-30  John Levon  <levon@movementarian.org>
8499
8500         * text3.C: make start appendix undoable
8501
8502 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8503
8504         * lyxlength.C (inPixels): Fix returned value.
8505
8506         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8507         environment.
8508
8509 2002-10-24  Angus Leeming  <leeming@lyx.org>
8510
8511         * lyxgluelength.h: no need to forward declare BufferParams
8512         or BufferView, so don't.
8513
8514 2002-10-21  John Levon  <levon@movementarian.org>
8515
8516         * BufferView.C: menuUndo ->undo, redo
8517
8518         * BufferView.h: document, remove dead, make some methods private
8519
8520         * paragraph_funcs.h:
8521         * paragraph_funcs.C:
8522         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8523
8524         * buffer.h:
8525         * buffer.C:
8526         * sgml.h:
8527         * sgml.C: move sgml open/close tag into sgml.C
8528
8529         * bufferview_funcs.h: unused prototype
8530
8531         * lyxfunc.h:
8532         * lyxfunc.C: remove unused
8533
8534         * lyxtext.h:
8535         * text.C: remove unused
8536
8537 2002-10-21  John Levon  <levon@movementarian.org>
8538
8539         * BufferView.h:
8540         * BufferView.C:
8541         * BufferView_pimpl.h:
8542         * BufferView_pimpl.C: fix mouse wheel handling based on
8543           patch from Darren Freeman
8544
8545 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8546
8547         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8548
8549 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * lyxlength.C (inPixels): Fix hanfling of negative length.
8552         Fix LyXLength::MU case.
8553
8554 2002-10-16  John Levon  <levon@movementarian.org>
8555
8556         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8557
8558 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8559
8560         * converter.C (view): add support for $$i (file name) and $$p
8561         (file path) for the viewer command. If $$i is not specified, then
8562         it is appended to the command (for compatibility with old syntax)
8563
8564 2002-10-14  Juergen Vigna  <jug@sad.it>
8565
8566         * undo_funcs.C (textHandleUndo): alter the order in which the
8567         new undopar is added to the LyXText, as we have to set first
8568         the right prev/next and then add it as otherwise the rebuild of
8569         LyXText is not correct. Also reset the cursor to the right paragraph,
8570         with this IMO we could remove the hack in "redoParagraphs()".
8571
8572 2002-10-09  Angus Leeming  <leeming@lyx.org>
8573
8574         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8575         to turn off an optimisation if a new inset is to be inserted.
8576
8577 2002-10-11 André Pönitz <poenitz@gmx.net>
8578
8579         * lyxtext.h: make some functions public to allow access
8580         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8581
8582 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8583
8584         * text3.C (dispatch): when changing layout, avoid an infinite loop
8585         [bug #652]
8586
8587 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * lyxrc.C (read): treat a viewer or converter command of "none" as
8590         if it were empty.
8591
8592         * MenuBackend.C (expandFormats): for an update, also allow the
8593         formats that are not viewable
8594
8595         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8596         script if it is newer than the lyxrc.defaults in user directory
8597
8598 2002-10-07 André Pönitz <poenitz@gmx.net>
8599
8600         * text.C: Vitaly Lipatov's small i18n fix
8601
8602 2002-09-25  Angus Leeming  <leeming@lyx.org>
8603
8604         * ispell.h: doxygen fix.
8605
8606 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * buffer.h (readFile): Add a new argument to the method, to allow
8609         reading of old-format templates.
8610
8611 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8612
8613         * toc.C (getTocList): Get TOC from InsetWrap.
8614
8615 2002-09-16  John Levon  <levon@movementarian.org>
8616
8617         * lyxfunc.C: check tabular for cut/copy too
8618
8619 2002-09-12  John Levon  <levon@movementarian.org>
8620
8621         * LyXAction.C: tidy
8622
8623         * factory.h:
8624         * factory.C: add header
8625
8626         * paragraph_funcs.h:
8627         * paragraph_funcs.C: cleanup
8628
8629 2002-09-11  John Levon  <levon@movementarian.org>
8630
8631         * PrinterParams.h: odd/even default to true
8632
8633 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8634
8635         * PrinterParams.h: update printer parameters for new xforms dialog
8636
8637 2002-09-11  Angus Leeming  <leeming@lyx.org>
8638
8639         * lyxserver.C (read_ready): re-write to make it more transparent
8640         and to make it work in coherent fashion under Tru64 Unix.
8641
8642 2002-09-11  André Pönitz <poenitz@gmx.net>
8643
8644         * commandtags.h:
8645         * LyXAction.C:
8646         * text3.C: implement LFUN_WORDSEL
8647
8648 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8651         make floatlist_ a boost::shared_ptr<FloatList>
8652
8653         * lyxtextclass.C: include FloatList.h
8654         (LyXTextClass): initialize floatlist_
8655         (TextClassTags): add TC_NOFLOAT
8656         (Read): match "nofloat" to TC_NOFLOAT and use it.
8657         (readFloat): modify call to floatlist_
8658         (floats): ditto
8659         (floats): ditto
8660
8661         * FloatList.[Ch] (FloatList): remove commented out float
8662         initialization.
8663         (erase): new function
8664
8665 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8666
8667         * MenuBackend.C (expandToc): fix crash when there is no document
8668         open
8669
8670 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8671
8672         * many files: Add insetwrap.
8673
8674 2002-09-09  John Levon  <levon@movementarian.org>
8675
8676         * text2.C: remove confusing and awkward depth wraparound
8677
8678 2002-09-09  John Levon  <levon@movementarian.org>
8679
8680         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8681
8682         * buffer.h:
8683         * buffer.C: remove getIncludeonlyList()
8684
8685         * paragraph.C:
8686         * lyxfunc.C: remove headers
8687
8688 2002-09-09  Juergen Vigna  <jug@sad.it>
8689
8690         * text.C (getColumnNearX): fix form Michael this is most
8691         probably a cut&paste bug.
8692
8693 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8696
8697         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8698         references, ws changes.
8699
8700         * text2.C (init): update counters after init
8701         (insertParagraph): no need to set counter on idividual paragraphs.
8702         (setCounter): access the counters object in the textclass object
8703         on in the buffer object.
8704         (updateCounters): ditto
8705
8706         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8707         shared_ptr<Counters> to avoid loading counters.h in all
8708         compilation units.
8709         (LyXTextClass): initialize ctrs_
8710         (TextClassTags): add TC_COUNTER, and ...
8711         (Read): use it here.
8712         (CounterTags): new tags
8713         (readCounter): new function
8714         (counters): new funtion
8715         (defaultLayoutName): return a const reference
8716
8717         * counters.C (Counters): remove contructor
8718         (newCounter): remove a couple of unneeded statements.
8719         (newCounter): simplify a bit.
8720         (numberLabel): some small formatting changes.
8721
8722         * buffer.[Ch]: remove all traces of counters, move the Counters
8723         object to the LyXTextClass.
8724
8725 2002-09-06  Alain Castera  <castera@in2p3.fr>
8726
8727         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8728         package to set the horizontal alignment on fixed width columns.
8729
8730         * lyx_sty.C:
8731         * lyx_sty.h: added tabularnewline macro def.
8732
8733         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8734
8735 2002-09-06  John Levon  <levon@movementarian.org>
8736
8737         * LyXAction.C: tooltips for sub/superscript
8738
8739         * MenuBackend.C: a bit more verbose
8740
8741         * lyxfunc.C: tiny clean
8742
8743         * undo_funcs.C: document undo_frozen
8744
8745 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8746
8747         * counters.C (Counters): add missing algorithm counter.
8748
8749         * text2.C (setCounter): lookup the counter with layouts latexname
8750         instead of by section number.
8751         (setCounter): use a hackish way to lookup the correct enum
8752         counter.
8753         a float name->type change
8754         reset enum couners with counter name directly instead of depth value.
8755
8756         * counters.C (Counters): remove the push_backs, change to use the
8757         float type not the float name.
8758         (labelItem): remove unused string, float name->type change
8759
8760         * counters.h: don't include vector, loose the enums and sects vectors
8761
8762 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8765         (Read): add float->TC_FLOAT to textclassTags
8766         (Read): and handle it in the switch
8767         (readFloat): new function
8768
8769         * FloatList.C (FloatList): comment out the hardcoded float
8770         definitions.
8771
8772         * lyxlayout.h: ws change.
8773
8774 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8775
8776         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8777
8778 2002-09-03  Angus Leeming  <leeming@lyx.org>
8779
8780         * BufferView_pimpl.h: qualified name is not allowed in member
8781         declaration: WorkArea & Pimpl::workarea() const;
8782
8783         * factory.C: added using std::endl directive.
8784
8785         * text3.C: added using std::find and std::vector directives.
8786
8787 2002-08-29  André Pönitz <poenitz@gmx.net>
8788
8789         * lyxtext.h:
8790         * text2.C: remove unused member number_of_rows
8791
8792         * Makefile.am:
8793         * BufferView2.C: remove file, move contents to...
8794         * BufferView.C: ... here
8795
8796         * BufferView_pimpl.C:
8797         * factory.C: move more inset creation to factory
8798
8799         * vspace.C: avoid direct usage of LyXText, ws changes
8800
8801         * BufferView.[Ch]:
8802                 don't provide direct access to WorkArea, use two simple
8803                 acessors haveSelction() and workHeight() instead
8804
8805
8806 2002-08-29  John Levon  <levon@movementarian.org>
8807
8808         * BufferView_pimpl.C (dispatch): do not continue when
8809           no buffer
8810
8811 2002-08-28  André Pönitz <poenitz@gmx.net>
8812
8813         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8814
8815         * BufferView.h:
8816         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8817
8818 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8819
8820         * buffer.C: increment LYX_FORMAT to 221
8821
8822         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8823         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8824
8825         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8826
8827         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8828
8829 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * factory.C (createInset): use LyXTextClass::floats
8832
8833         * MenuBackend.C (expandFloatListInsert):
8834         (expandFloatInsert):
8835         (expandToc):
8836
8837         * text2.C (setCounter):
8838
8839         * LaTeXFeatures.C (useFloat):
8840         (getFloatDefinitions):
8841
8842         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8843
8844         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8845         floatlist_, with accessor floats().
8846
8847         * FloatList.h: remove global FloatList
8848
8849 2002-08-26  André Pönitz <poenitz@gmx.net>
8850
8851         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8852
8853         * BufferView.h:
8854         * BufferView2.C:
8855         * BufferView_pimpl.C:
8856         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8857
8858 2002-08-25  John Levon  <levon@movementarian.org>
8859
8860         * LyXAction.C: fix margin note description
8861
8862 2002-08-24  John Levon  <levon@movementarian.org>
8863
8864         * buffer.C:
8865         * bufferlist.C:
8866         * bufferview_funcs.C:
8867         * lyxfont.C:
8868         * undo_funcs.C: cleanups
8869
8870         * lyxfunc.C: disable CUT/COPY when no selection
8871
8872 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8873
8874         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8875         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8876
8877         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8878         Add backward compatibility to "mono", "gray" and "no".
8879
8880 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8881
8882         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8883         (and file_format >= 200).
8884
8885 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8888
8889 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8892
8893 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8894
8895         * BufferView_pimpl.C:
8896         * LyXAction.C:
8897         * buffer.C:
8898         * commandtags.h:
8899         * lyxfunc.C:
8900         * paragraph.[Ch]:
8901         * text2.C:
8902         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8903         inset and code to make it  work with the paragraph code. The inset
8904         can be anywhere in the paragraph, but will only do the expected
8905         thing in LaTeX if the layout file contains the parameter line
8906                         OptionalArgs    1
8907         (or more generally, a nonzero value) for that layout.
8908
8909 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8910
8911         * paragraph.h: remove the declaration of undefined counters class
8912         function.
8913
8914 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8915
8916         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8917         Dr. Richard Hawkins.
8918
8919 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8920
8921         * paragraph_funcs.h: remove some unneeded includes
8922
8923         * text.C (backspace): pasteParagraph now in global scipe
8924
8925         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8926         (pasteSelection): ditto
8927
8928         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8929         * paragraph_funcs.C (pasteParagraph): ... here
8930
8931 2002-08-20  André Pönitz <poenitz@gmx.net>
8932
8933         * commandtags.h: new LFUNs for swapping/copying table row/colums
8934
8935         * LyXAction.C:
8936         * lyxfunc.C: support for new lfuns
8937
8938 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8939
8940         * tabular.C:
8941         * buffer.[Ch]: remove NO_COMPABILITY stuff
8942
8943 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8944
8945         * boost.C (throw_exception): new file, with helper function for
8946         boost compiled without exceptions.
8947
8948         * paragraph.h:
8949         * lyxlength.C:
8950         * buffer.C:
8951         * ParameterStruct.h:
8952         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8953
8954         * bufferlist.C (emergencyWriteAll): use boost bind
8955
8956         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8957
8958         * text.C: include paragraph_funcs.h
8959         (breakParagraph): breakParagraph is now in global scope
8960
8961         * paragraph_funcs.[Ch]: new files
8962
8963         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8964         global scope
8965
8966         * buffer.C: include paragraph_funcs.h
8967         (insertStringAsLines): breakParagraph is now in global scope
8968
8969         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8970         paragraph_funcs.C
8971
8972         * CutAndPaste.C: include paragraph_funcs.h
8973         (cutSelection): breakParagraphConservative is now in global scope
8974         (pasteSelection): ditto
8975
8976         * buffer.h: declare oprator== and operator!= for
8977         Buffer::inset_iterator
8978
8979         * bufferlist.C (emergencyWrite): don't use fmt(...)
8980
8981         * text3.C: add using std::endl
8982
8983         * BufferView.C (moveCursorUpdate): remove default arg
8984
8985 2002-08-20  André Pönitz <poenitz@gmx.net>
8986
8987         * buffer.[Ch]: move inline functions to .C
8988
8989         * BufferView2.C:
8990         * BufferView_pimpl.C:
8991         * text.C:
8992         * buffer.[Ch]: use improved inset_iterator
8993
8994         * buffer.C:
8995         * paragraph.[Ch]: write one paragraph at a time
8996
8997 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8998
8999         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9000         style if style is not specified.
9001
9002 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * text2.C (setCounter): when searching for right label for a
9005         caption, make sure to recurse to parent insets (so that a caption
9006         in a minipage in a figure float works) (bug #568)
9007
9008 2002-08-20  André Pönitz <poenitz@gmx.net>
9009
9010         * text3.C: new file for LyXText::dispatch() and helpers
9011
9012         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9013
9014         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9015
9016 2002-08-19  André Pönitz <poenitz@gmx.net>
9017
9018         * lyxtext.h:
9019         * text.C: new LyXText::dispatch()
9020
9021         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9022
9023 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9026
9027         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9028         Hebrew text.
9029
9030 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * Makefile.am: use $(variables) instead of @substitutions@
9033
9034 2002-08-15  André Pönitz <poenitz@gmx.net>
9035
9036         * lyxfunc.C:
9037         * BufferView_pimpl.C: streamlining mathed <-> outer world
9038         interaction
9039
9040         * commandtags.h:
9041         * LyXAction.C: remove unused LFUN_MATH
9042
9043 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9044
9045         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9046
9047 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9048
9049         * paragraph.C (Paragraph): reformat a bit
9050         (cutIntoMinibuffer): use builtin InsetList function instad of
9051         doing it manually.
9052         (getInset): ditto
9053
9054         * buffer.C: include boost/bind.hpp, add using std::for_each
9055         (writeFileAscii): use ParagraphList iterators
9056         (validate): use for_each for validate traversal of paragraphs
9057         (getBibkeyList): use ParagraphList iterators
9058         (resizeInsets): use for_each to resizeInsetsLyXText for all
9059         paragraphs.
9060         (getParFromID): use ParagraphList iterators
9061
9062         * BufferView2.C (lockInset): use paragraph list and iterators
9063
9064 2002-08-14  John Levon  <levon@movementarian.org>
9065
9066         * lyxserver.C: remove spurious xforms include
9067
9068 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9071
9072 2002-08-13  André Pönitz <poenitz@gmx.net>
9073
9074         * LyXAction.[Ch]:
9075         * lyxfunc.C: further cleaning
9076
9077 2002-08-13  André Pönitz <poenitz@gmx.net>
9078
9079         * funcrequest.h: new constructor
9080
9081         * funcrequest.C: move stuff here from .h
9082
9083         * Makefile.am:
9084         * BufferView_pimpl.C:
9085         * LyXAction.C:
9086         * toc.C:
9087         * lyxfunc.C: subsequent changes
9088
9089         * lyxfunc.h: new view() member function
9090
9091         * lyxfunc.C: subsequent changes
9092
9093 2002-08-13  Angus Leeming  <leeming@lyx.org>
9094
9095         * BufferView2.C:
9096         * BufferView_pimpl.C:
9097         * buffer.C:
9098         * converter.C:
9099         * importer.C:
9100         * lyxfunc.C:
9101         * lyxvc.C:
9102         * toc.C:
9103         * vc-backend.C:
9104         changes due to the changed LyXView interface that now returns references
9105         to member variables not pointers.
9106
9107 2002-08-13  Angus Leeming  <leeming@lyx.org>
9108
9109         * WordLangTuple (word, lang_code): return references to strings,
9110         not strings.
9111
9112         * BufferView.h:
9113         * SpellBase.h:
9114         * lyxtext.h: forward-declare WordLangTuple.
9115
9116         * BufferView2.C:
9117         * ispell.C:
9118         * pspell.C:
9119         * text.C: #include "WordLangTuple.h".
9120
9121         * lyxtext.h:
9122         * text.C: (selectNextWordToSpellcheck): constify return type.
9123
9124 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9125
9126         * buffer.C:
9127         * buffer.h:
9128         * lyxtext.h:
9129         * paragraph.C:
9130         * paragraph_pimpl.h:
9131         * text.C:
9132         * text2.C:
9133         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9134         suggested by Angus.
9135         Made updateCounter always count from start of buffer, and removed
9136         second argument (par).
9137         Reverted floats number display to '#'. Perhaps I'll try again when the
9138         code base is sanitized a bit.
9139
9140 2002-08-12  Angus Leeming  <leeming@lyx.org>
9141
9142         * buffer.[Ch] (getLabelList): constify.
9143
9144 2002-08-07  André Pönitz <poenitz@gmx.net>
9145
9146         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9147
9148         * funcrequest.h: extension to keep mouse (x,y) position
9149
9150 2002-08-12  Juergen Vigna  <jug@sad.it>
9151
9152         * BufferView2.C (insertErrors): forbid undo when inserting error
9153         insets.
9154
9155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9156
9157 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9158
9159         * ParagraphList.[Ch]: new files
9160
9161         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9162
9163         * BufferView2.C (lockInset): ParagraphList changes
9164         * toc.C: ditto
9165         * text2.C: ditto
9166         * bufferlist.C: ditto
9167         * buffer.h: ditto
9168         * buffer.C: ditto
9169
9170 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9171
9172         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9173         unused class variable counter_,
9174
9175         * paragraph.[Ch] (getFirstCounter): delete unused function
9176
9177         * counters.C: include LAssert.h
9178         (reset): add a new function with no arg, change other version to
9179         not have def. arg and to not allow empty arg.
9180
9181         * text2.C (setCounter): remove empty arg from call to Counters::reset
9182
9183 2002-08-11  John Levon  <levon@movementarian.org>
9184
9185         * Makefile.am: add WordLangTuple.h
9186
9187 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9190         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9191
9192         * insets/insettext.C: InsetList changes
9193
9194         * graphics/GraphicsSupport.C (operator()): InsetList changes
9195
9196         * toc.C (getTocList): InsetList changes
9197
9198         * paragraph_pimpl.[Ch]: InsetList changes
9199
9200         * paragraph.[Ch]: InsetList changes
9201
9202         * buffer.C (inset_iterator): InsetList changes
9203         (setParagraph): ditto
9204         * buffer.h (inset_iterator): ditto
9205         * iterators.C (operator++): ditto
9206         * iterators.h: ditto
9207
9208         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9209
9210         * InsetList.[Ch]: new files, most InsetList handling moved out of
9211         paragraph.C.
9212
9213         * BufferView2.C (removeAutoInsets): InsetList changes
9214         (lockInset): ditto
9215         (ChangeInsets): ditto
9216
9217 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * paragraph_pimpl.h (empty): new function
9220
9221         * paragraph.[Ch] (empty): new function
9222
9223         * other files: use the new Paragraph::empty function
9224
9225 2002-08-09  John Levon  <levon@movementarian.org>
9226
9227         * lyxtext.h: remove unused refresh_height
9228
9229 2002-08-09  John Levon  <levon@movementarian.org>
9230
9231         * Makefile.am:
9232         * sgml.h:
9233         * sgml.C:
9234         * buffer.C:
9235         * paragraph.h:
9236         * paragraph.C: move sgml char escaping out of paragraph
9237
9238         * paragraph.h:
9239         * paragraph.C: remove id setter
9240
9241         * buffer.C:
9242         * paragraph.C:
9243         * paragraph_pimpl.C: remove dead tex_code_break_column
9244
9245         * bufferview_funcs.C: small cleanup
9246
9247         * lyxfunc.C: remove dead proto
9248
9249         * lyxtext.h: make some stuff private. Remove some dead stuff.
9250
9251         * lyxgluelength.C: make as[LyX]String() readable
9252
9253 2002-08-08  John Levon  <levon@movementarian.org>
9254
9255         * LyXAction.h:
9256         * LyXAction.C:
9257         * MenuBackend.C:
9258         * ToolbarDefaults.C:
9259         * lyxfunc.C:
9260         * lyxrc.C:
9261         * toc.C: lyxaction cleanup
9262
9263 2002-08-08  John Levon  <levon@movementarian.org>
9264
9265         * BufferView2.C: small cleanup
9266
9267         * lyxfind.h:
9268         * lyxfind.C: move unnecessary header into the .C
9269
9270 2002-08-08  John Levon  <levon@movementarian.org>
9271
9272         * funcrequest.h: just tedious nonsense
9273
9274         * lyx_main.h:
9275         * lyx_main.C: cleanups
9276
9277         * buffer.C:
9278         * vspace.C: remove dead header lyx_main.h
9279
9280 2002-08-07  Angus Leeming  <leeming@lyx.org>
9281
9282         * Paragraph.[Ch]:
9283         * paragraph_pimpl.h:
9284         Forward declare class Counters in paragraph.h by moving the ctrs member
9285         variable into Paragraph::Pimpl.
9286         (counters): new method, returning a reference to pimpl_->ctrs.
9287
9288         * text2.C: ensuing changes.
9289
9290 2002-08-07  John Levon  <levon@movementarian.org>
9291
9292         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9293
9294         * BufferView_pimpl.C: announce X selection on double/triple
9295           click
9296
9297         * lyx_main.C: use correct bool in batch dispatch
9298
9299         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9300
9301 2002-08-07  André Pönitz <poenitz@gmx.net>
9302
9303         * funcrequest.h: new class to wrap a kb_action and its argument
9304
9305         * BufferView.[Ch]:
9306         * BufferView_pimpl[Ch]:
9307         * LaTeX.C:
9308         * LyXAction.[Ch]:
9309         * lyxfunc.[Ch]:
9310         * lyxrc.C: subsequent changes
9311
9312
9313 2002-08-07  John Levon  <levon@movementarian.org>
9314
9315         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9316           document options change.
9317
9318 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9319
9320         * counters.[Ch]
9321         * text2.C
9322         * paragraph.[Ch]
9323         * makefile.am: move counters functionality over from
9324         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9325
9326 2002-08-06  John Levon  <levon@movementarian.org>
9327
9328         * WordLangTuple.h: new file for word + language code tuple
9329
9330         * SpellBase.h:
9331         * pspell.h:
9332         * pspell.C:
9333         * ispell.h:
9334         * ispell.C:
9335         * lyxtext.h:
9336         * text.C:
9337         * text2.C:
9338         * BufferView.h:
9339         * BufferView2.C: use WordLangTuple
9340
9341         * layout.h:
9342         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9343
9344 2002-08-06  John Levon  <levon@movementarian.org>
9345
9346         * lyx_main.C: fix cmdline batch handling
9347
9348 2002-08-06  André Pönitz <poenitz@gmx.net>
9349
9350         * lyxrc.C: set default for show_banner to true
9351
9352 2002-08-06  John Levon  <levon@movementarian.org>
9353
9354         * pspell.C: fix a crash, and allow new aspell to work
9355
9356 2002-08-06  John Levon  <levon@movementarian.org>
9357
9358         * lyxfunc.C:
9359         * kbmap.C: small cleanup
9360
9361         * vspace.h:
9362         * vspace.C: add const
9363
9364 2002-08-05  John Levon  <levon@movementarian.org>
9365
9366         * LyXAction.C: back to tabular-insert
9367
9368 2002-08-04  John Levon  <levon@movementarian.org>
9369
9370         * BufferView.h:
9371         * BufferView.C: cosmetic change
9372
9373         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9374
9375         * bufferlist.C:
9376         * buffer.h:
9377         * buffer.C:
9378         * lyxcb.h:
9379         * lyxcb.C:
9380         * lyxserver.C:
9381         * lyxvc.C:
9382         * vc-backend.C:
9383         * BufferView2.C: purge all "Lyx" not "LyX" strings
9384
9385         * lyxcursor.h:
9386         * lyxcursor.C: attempt to add some documentation
9387
9388         * lyxfunc.C:
9389         * commandtags.h:
9390         * LyXAction.C:
9391         * ToolbarDefaults.C:
9392         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9393           merge with LFUN_TABULAR_INSERT
9394
9395         * Makefile.am:
9396         * SpellBase.h:
9397         * ispell.h:
9398         * ispell.C:
9399         * pspell.h:
9400         * pspell.C: split up i/pspell implementations into separate
9401           files, many cleanups
9402
9403         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9404
9405         * text2.C: some cleanup
9406
9407         * lyxfunc.C: don't check for isp_command == "none" any more, it
9408           didn't make any sense
9409
9410 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9411
9412         * counters.[Ch]
9413         * text2.C
9414         * paragraph.[Ch]
9415         * makefile.am: move counters functionality over
9416         from text2.C/paragraph.[Ch] to counters.[Ch], and
9417         make proper C++.
9418 2002-08-02  John Levon  <levon@movementarian.org>
9419
9420         * buffer.C: s/lyxconvert/lyx2lyx/
9421
9422 2002-08-02  Angus Leeming  <leeming@lyx.org>
9423
9424         * lyxlex.C: revert John's change as it breaks reading of the user
9425         preamble.
9426
9427 2002-08-02  Angus Leeming  <leeming@lyx.org>
9428
9429         * importer.C (Import):
9430         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9431         changes due to LyXView::view() now returning a boost::shared_ptr.
9432
9433 2002-08-02  John Levon  <levon@movementarian.org>
9434
9435         * lyxlex.C: small cleanup
9436
9437 2002-08-02  John Levon  <levon@movementarian.org>
9438
9439         * text2.C (status): small cleanup, no logic change
9440
9441 2002-08-01  John Levon  <levon@movementarian.org>
9442
9443         * buffer.h:
9444         * buffer.C (writeFile): don't output alerts, caller
9445           handles this
9446
9447         * bufferlist.C:
9448         * lyx_cb.C: from above
9449
9450         * lyxfunc.C: allow to open non-existent files
9451
9452 2002-07-31  John Levon  <levon@movementarian.org>
9453
9454         * lyxserver.C: don't let incidental errors get
9455           in the way (errno)
9456
9457 2002-07-30  John Levon  <levon@movementarian.org>
9458
9459         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9460
9461 2002-07-30  John Levon  <levon@movementarian.org>
9462
9463         * lyxserver.h:
9464         * lyxserver.C: remove I/O callback too
9465
9466 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9467
9468         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9469         log.
9470
9471 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9472
9473         * many files: strip,frontStrip -> trim,ltrim,rtrim
9474
9475 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9476
9477         * PrinterParams.h: remove extern containsOnly, and include
9478         support/lstrings.h instead.
9479
9480         * LaTeX.C (scanAuxFile): modify because of strip changes
9481         (deplog): ditto
9482         * buffer.C (makeLaTeXFile): ditto
9483         * bufferparams.C (writeFile): ditt
9484         * lyxfont.C (stateText): ditto
9485         * lyxserver.C (read_ready): ditto
9486         * vc-backend.C (scanMaster): ditto
9487
9488         * BufferView_pimpl.h: ws changes
9489
9490         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9491
9492 2002-07-26  André Pönitz <poenitz@gmx.net>
9493
9494         * kb_sequence.C: remove unnedred usings
9495
9496 2002-07-26  Juergen Vigna  <jug@sad.it>
9497
9498         * lyxfind.C (LyXReplace): we have to check better if the returned
9499         text is not of theLockingInset()->getLockingInset().
9500
9501 2002-07-25  Juergen Vigna  <jug@sad.it>
9502
9503         * lyxfind.C (LyXReplace): don't replace if we don't get the
9504         right LyXText.
9505
9506         * undo_funcs.C (createUndo): remove debugging code.
9507
9508 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * buffer.C (parseSingleLyXformat2Token): Use default placement
9511         when reading old floats.
9512
9513         * FloatList.C (FloatList): Change the default placement of figure
9514         and tables to "tbp".
9515
9516 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9517
9518         * MenuBackend.C: using std::max
9519
9520 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * MenuBackend.C (expandToc):
9523         (expandToc2): code moved from xforms menu frontend. It is now
9524         generic and TOCs are transparent to menu frontends.
9525
9526 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * toc.C (getTocList): protect against buf=0
9529
9530         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9531         Menu as first parameter. Now, this calls itself recursively to
9532         expand a whole tree (this will be useful for TOC handling)
9533         (expandFloatInsert): remove 'wide' version of floats
9534
9535         * MenuBackend.h (submenuname): returns the name of the submenu.
9536         (submenu): returns the submenu itself, provided it has been
9537         created by MenuBackend::expand
9538
9539 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9542         insets which have noFontChange == true. (bug #172)
9543
9544 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9545
9546         * BufferView_pimpl.C: add connection objects and use them...
9547         (Pimpl): here.
9548
9549 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * MenuBackend.C (expandLastfiles):
9552         (expandDocuments):
9553         (expandFormats):
9554         (expandFloatListInsert):
9555         (expandFloatInsert):
9556         (expand): split expand in parts
9557
9558 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * lyx_gui.C: use lyx_gui::exit()
9561
9562 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * LyXAction.C: show the failing pseudo action
9565
9566 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9567
9568         * buffer.C (readFile): Run the lyxconvert script in order to read
9569         old files.
9570
9571 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * LyXAction.C:
9574         * commandtags.h:
9575         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9576
9577 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9578
9579         * LyXAction.C:
9580         * commandtags.h:
9581         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9582
9583 2002-07-22  Herbert Voss  <voss@lyx.org>
9584
9585         * lengthcommon.C:
9586         * lyxlength.[Ch]: add support for the vertical lengths
9587
9588 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9589
9590         * toc.[Ch]: std:: fixes
9591
9592 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * lyxrc.C: do not include lyx_main.h
9595
9596         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9597         for layouts
9598
9599         * lyxrc.C:
9600         * encoding.C:
9601         * bufferlist.C:
9602         * BufferView2.C: include "lyxlex.h"
9603
9604         * tabular.h:
9605         * bufferparams.h: do not #include "lyxlex.h"
9606
9607         * lyxtextclasslist.C (Add): remove method
9608         (classlist): renamed to classlist_
9609
9610         * paragraph_pimpl.C:
9611         * paragraph.C:
9612         * text2.C:
9613         * CutAndPaste.C:
9614         * bufferview_funcs.C:
9615         * bufferlist.C:
9616         * text.C:
9617         * LaTeXFeatures.C:
9618         * buffer.C:
9619         * toc.C (getTocList): use BufferParams::getLyXTextClass
9620
9621         * toc.C (getTocList): use InsetFloat::addToToc
9622
9623         * toc.[Ch]: new files, containing helper functions to handle table
9624         of contents
9625
9626         * lyxfunc.C (dispatch): no need to remove spaces around command
9627         given as a string
9628         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9629         first command of the sequence; it is not very clever, but I do not
9630         have a better idea, actually
9631
9632         * LyXAction.C (LookupFunc): make sure to remove space at the
9633         beginning and end of the command
9634
9635 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9636
9637         * MenuBackend.C (getMenubar): new method: return the menubar of
9638         this menu set
9639         (read): treat differently reading of menu and menubar (in
9640         particular, the menubar has no name now)
9641         (Menu::menubar): remove
9642
9643         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9644         saving is finished
9645
9646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9649         a bibitem inset in a RTL paragraph.
9650
9651 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * paragraph_pimpl.C: constify
9654
9655         * BufferView_pimpl.C:
9656         * LaTeX.C:
9657         * lyxfunc.C: fix dispatch in a nicer way
9658
9659 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * lyxfunc.C (dispatch):
9662         * BufferView_pimpl.C:
9663         * BufferView_pimpl.h:
9664         * BufferView.C:
9665         * BufferView.h: rename Dispatch() to dispatch()
9666
9667         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9668
9669         * lyxlayout.C (Read): honor DependsOn tag
9670
9671         * lyxlayout.[Ch] (depends_on): new method
9672
9673         * version.C.in: update lyx_docversion
9674
9675         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9676
9677         * paragraph.C (validate): remove from here...
9678         * paragraph_pimpl.C (validate): ... and move here
9679         (isTextAt): make it const
9680
9681         * buffer.C (getLists): ws cleanup
9682
9683 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9684
9685         * language.C (read): Use iso8859-1 encoding in latex_lang
9686         (this prevents LyX from crashing when using iso10646-1 encoding).
9687
9688 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9689
9690         * text2.C (toggleInset): if cursor is inside an inset, close the
9691         inset and leave cursor _after_ it
9692
9693 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * lyxfunc.C: move minibuffer completion handling out of here
9696
9697 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * BufferView_pimpl.C:
9700         * LaTeX.C: fix dispatch calls
9701
9702 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9703
9704         * text.C (drawChars): Fix Arabic text rendering.
9705
9706 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * LyXAction.C:
9709         * commandtags.h:
9710         * lyxfunc.C: remove message-push/pop
9711
9712         * lyxserver.C:
9713         * lyxfunc.h:
9714         * lyxfunc.C: rationalise some code by removing verboseDispatch
9715           in favour of a bool argument to dispatch()
9716
9717 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * lyx_main.C (init): make sure to read symlinks as absolute paths
9720
9721 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * lyxfunc.h:
9724         * lyxfunc.C: no need for commandshortcut to be a member
9725
9726 2002-07-15  André Pönitz <poenitz@gmx.net>
9727
9728         * converter.C: add support for $$s (scripts from lib/scripts dir)
9729         * lyx_main.C: white space
9730
9731 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * bufferlist.C:
9734         * lyxrc.h:
9735         * lyxrc.C: remove second exit confirmation
9736
9737 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * BufferView.h:
9740         * BufferView.C:
9741         * BufferView2.C:
9742         * BufferView_pimpl.h:
9743         * BufferView_pimpl.C:
9744         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9745
9746 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9747
9748         * MenuBackend.C (expand): add numeric shortcuts to document menu
9749
9750         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9751
9752 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9753
9754         * lyxfont.C (setLyXFamily):
9755         (setLyXSeries):
9756         (setLyXShape):
9757         (setLyXSize):
9758         (setLyXMisc):
9759         (lyxRead):
9760         * debug.C (value):
9761         * buffer.C (asciiParagraph): use ascii_lowercase
9762
9763 2002-07-15  Mike Fabian  <mfabian@suse.de>
9764
9765         * lyxlex_pimpl.C (search_kw):
9766         * lyxlex.C (getLongString):
9767         * converter.h (operator<):
9768         * converter.C (operator<):
9769         * buffer.C (parseSingleLyXformat2Token):
9770         (asciiParagraph):
9771         * ToolbarDefaults.C (read):
9772         * MenuBackend.C (checkShortcuts):
9773         (read):
9774         * LColor.C (getFromGUIName):
9775         (getFromLyXName): use the compare_ascii_no_case instead of
9776         compare_no_case, because in turkish, 'i' is not the lowercase
9777         version of 'I', and thus turkish locale breaks parsing of tags.
9778
9779 2002-07-16  Angus Leeming  <leeming@lyx.org>
9780
9781         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9782         now takes a Buffer const & argument.
9783
9784 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * BufferView.C (resize): check there's a buffer to resize
9787
9788 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9789
9790         * lyxfunc.C: remove dead code
9791
9792         * lyxserver.h:
9793         * lyxserver.C: use lyx_guii::set_read_callback
9794
9795 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9798         an inset in a RTL paragraph.
9799
9800 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * lyxfunc.C: repaint after a font size update
9803
9804 2002-07-15  André Pönitz <poenitz@gmx.net>
9805
9806         * lyxlength.C: inBP should be able to return negative values
9807
9808 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * lyxfunc.C: use lyx_gui::update_fonts()
9811
9812 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * lyxfunc.C: use lyx_gui::update_color()
9815
9816 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9817
9818         * bufferlist.C:
9819         * lyxfunc.h:
9820         * lyxfunc.C:
9821         * lyxrc.h:
9822         * lyxrc.C: remove file->new asks for name option, and let
9823           buffer-new take an argument
9824
9825 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * BufferView_pimpl.C: remove unneeded extra repaint()
9828
9829 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * LyXAction.C: allow command-sequence with NoBuffer
9832
9833         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9834
9835 2002-07-10  Angus Leeming  <leeming@lyx.org>
9836
9837         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9838
9839 2002-07-09  Angus Leeming  <leeming@lyx.org>
9840
9841         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9842
9843 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9844
9845         * lengthcommon.h: whitespace
9846
9847         * lyxfunc.C: update scrollbar after goto paragraph
9848
9849         * lyxtext.h: factor out page break drawing, and fix it so
9850           page break/added space paints as selected nicely
9851
9852 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9853
9854         * BufferView_pimpl.C: add FIXMEs, clean up a little
9855
9856 2002-07-09  André Pönitz <poenitz@gmx.net>
9857
9858         * lyxfont.[Ch]: support for wasy symbols
9859
9860 2002-07-08  André Pönitz <poenitz@gmx.net>
9861
9862         * BufferView_pimpl.C: apply John's patch for #93.
9863
9864 2002-07-05  Angus Leeming  <leeming@lyx.org>
9865
9866         * BufferView_pimpl.C (buffer): generate previews if desired.
9867
9868         * LColor.h: add "preview" to the color enum.
9869
9870         * LColor.C (LColor): add a corresponding entry to the items array.
9871
9872         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9873         with this buffer.
9874
9875 2002-07-05  Angus Leeming  <leeming@lyx.org>
9876
9877         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9878         The body of the code is now in the method that is passed an ostream &
9879         rather than a file name.
9880         Pass an additional only_preamble parameter, useful for the forthcoming
9881         preview stuff.
9882
9883 2002-07-03  André Pönitz <poenitz@gmx.net>
9884
9885         * lyxfunc.C: simplify getStatus() a bit for math stuff
9886
9887 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9890
9891 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * text.C (changeRegionCase): do not change case of all the
9894         document when region ends at paragraph end (bug #461)
9895
9896 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * paragraph.C (startTeXParParams):
9899         (endTeXParParams): add \protect when necessary
9900
9901 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9902
9903         * BufferView_pimpl.C (workAreaExpose): remove warning
9904
9905 2002-06-27  Angus Leeming  <leeming@lyx.org>
9906
9907         * Makefile.am: add lyxlayout_ptr_fwd.h.
9908
9909 2002-06-26  André Pönitz <poenitz@gmx.net>
9910
9911         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9912
9913 2002-06-25  Angus Leeming  <leeming@lyx.org>
9914
9915         * lyxfunc.C (dispatch): Comment out the call to
9916         grfx::GCache::changeDisplay. The method no longer exists now that the
9917         pixmap generation part of the graphics loader has been moved into
9918         InsetGraphics.
9919
9920 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9921
9922         * text2.C: layout as layout
9923
9924         * text.C: layout as layout
9925
9926         * tabular.C (OldFormatRead): layout as layout
9927
9928         * paragraph_pimpl.C (TeXDeeper): layout as layout
9929         (realizeFont): layout as layout
9930
9931         * paragraph.C (writeFile): layout as layout
9932         (validate): layout as layout
9933         (getFont): layout as layout
9934         (getLabelFont): layout as layout
9935         (getLayoutFont): layout as layout
9936         (breakParagraph): layout as layout
9937         (stripLeadingSpaces): layout as layout
9938         (getEndLabel): layout as layout
9939         (getMaxDepthAfter): layout as layout
9940         (applyLayout): layout as layout
9941         (TeXOnePar): layout as layout
9942         (simpleTeXOnePar): layout as layout
9943         (TeXEnvironment): layout as layout
9944         (layout): layout as layout
9945         (layout): layout as layout
9946
9947         * lyxtextclass.C (compare_name): new functor to work with
9948         shared_ptr, layout as layout
9949         (Read): layout as layout
9950         (hasLayout): layout as layout
9951         (operator): layout as layout
9952         (delete_layout): layout as layout
9953         (defaultLayout): layout as layout
9954
9955         * lyxlayout_ptr_fwd.h: new file
9956
9957         * lyxlayout.C (Read): layout as layout
9958
9959         * lyx_cb.C (MenuInsertLabel): layout as layout
9960
9961         * bufferlist.C (newFile): layout as layout
9962
9963         * buffer.C (readLyXformat2): layout as layout
9964         (parseSingleLyXformat2Token): layout as layout
9965         (insertStringAsLines): layout as layout
9966         (asciiParagraph): layout as layout
9967         (latexParagraphs): layout as layout
9968         (makeLinuxDocFile): layout as layout
9969         (simpleLinuxDocOnePar): layout as layout
9970         (makeDocBookFile): layout as layout
9971         (simpleDocBookOnePar): layout as layout
9972         (getLists): layout as layout
9973
9974         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9975
9976         * CutAndPaste.C (cutSelection): layout as layout
9977         (pasteSelection): layout as layout
9978         (SwitchLayoutsBetweenClasses): layout as layout
9979
9980         * BufferView_pimpl.C (Dispatch): layout as layout
9981         (smartQuote): layout as layout
9982
9983         * BufferView2.C (unlockInset): layout as layout
9984
9985 2002-06-24  André Pönitz <poenitz@gmx.net>
9986
9987         * lyxfunc.C: fix #487
9988
9989 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyxrc.h:
9992         * lyxrc.C:
9993         * lyxfunc.C: remove display_shortcuts, show_banner
9994
9995 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9996
9997         * Buffer_pimpl.C: oops, update on resize
9998
9999 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * buffer.C:
10002         * converter.C:
10003         * exporter.C:
10004         * lyxfunc.C:
10005         * BufferView.h:
10006         * BufferView.C: use repaint()
10007
10008         * BufferView_pimpl.h:
10009         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10010           as it's a clearer description. Remove superfluous
10011           redraws.
10012
10013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * text.C: fix bug 488. Not ideal, but getting
10016           getWord() to work properly for the insets that
10017           matter is more difficult ...
10018
10019 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * BufferView_pimpl.C:
10022         * LyXAction.C:
10023         * commandtags.h:
10024         * lyxfunc.C: remove the six million index lyxfuncs to just
10025           one, and DTRT (bug 458)
10026
10027 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * BufferView.h:
10030         * BufferView.C:
10031         * BufferView_pimpl.h:
10032         * BufferView_pimpl.C: clean up resize() stuff,
10033           and unnecessary updateScreen()s
10034
10035 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * BufferView.h:
10038         * BufferView.C:
10039         * BufferView_pimpl.h:
10040         * BufferView_pimpl.C:
10041         * lyxfind.h:
10042         * lyxfind.C:
10043         * minibuffer.C: remove focus management of workarea,
10044           not needed. Use screen's greyOut()
10045
10046 2002-06-17  Herbert Voss  <voss@lyx.org>
10047
10048         * converter.C: (convert) do not post a message, when converting
10049         fails, let the calling function decide what to do in this case
10050
10051 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * lyxfunc.C: tidy up a little
10054
10055 2002-06-16    <alstrup@diku.dk>
10056
10057         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10058         Got rid of FORMS_H_LOCATION include. Now we are
10059         GUII.
10060
10061 2002-06-15  LyX Development team  <lyx@rilke>
10062
10063         * buffer.[Ch] (sgmlOpenTag):
10064         (sgmlCloseTag): Added support for avoiding pernicious mixed
10065         content. Return number of lines written.
10066
10067         (makeLinuxDocFile):
10068         (makeDocBookFile): Fixed calls to sgml*Tag.
10069         Simple white space clean.
10070
10071         (simpleDocBookOnePar): Simple white space clean.
10072
10073         * tabular.[Ch] (docBook): Renamed to docbook and got another
10074         argument to related with the pernicious mixed content.
10075
10076         (docbookRow): Fixed calls for docbook inset method.
10077
10078 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10079
10080         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10081         so it's X11 independent.
10082
10083         * kb*.[Ch]: ditto.
10084
10085         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10086
10087 2002-06-15  Lyx Development team  <lyx@electronia>
10088
10089         * intl.h: Renamed getTrans to getTransManager.
10090
10091 2002-06-14  Angus Leeming  <leeming@lyx.org>
10092
10093         * Makefile.am: nuke forgotten stl_string_fwd.h.
10094
10095 2002-06-12  Angus Leeming  <leeming@lyx.org>
10096
10097         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10098
10099 2002-06-13  Angus Leeming  <leeming@lyx.org>
10100
10101         * LaTeX.C:
10102         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10103
10104 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10105
10106         * kbmap.C (getiso): add support for cyrillic and greek
10107
10108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * BufferView.h:
10111         * BufferView.C:
10112         * BufferView_pimpl.h:
10113         * BufferView_pimpl.C: move bogus scrolling logic
10114           to xforms
10115
10116 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10117
10118         * lyxfunc.C:
10119         * BufferView_pimpl.C: view->resize() change
10120
10121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * BufferView_pimpl.C: topCursorVisible
10124           prototype change
10125
10126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * Makefile.am:
10129         * lyx_gui.h:
10130         * lyx_gui.C: move to frontends/
10131
10132         * main.C:
10133         * lyx_main.h:
10134         * lyx_main.C: changes from above
10135
10136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * intl.C:
10139         * intl.h:
10140         * kbmap.C:
10141         * kbsequence.C:
10142         * lyx_cb.C:
10143         * lyx_main.C: minor tidy
10144
10145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * BufferView_pimpl.h:
10148         * BufferView_pimpl.C:
10149         * BufferView.h:
10150         * BufferView.C: make painter() const,
10151           remove dead code
10152
10153         * BufferView2.C: use screen() accessor
10154
10155         * lyx_main.h:
10156         * lyx_main.C: some minor cleanup
10157
10158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * BufferView_pimpl.h:
10161         * BufferView_pimpl.C: remove enter/leaveView,
10162           use workHeight()
10163
10164 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * BufferView.h:
10167         * BufferView.C:
10168         * BufferView2.C:
10169         * BufferView_pimpl.h:
10170         * BufferView_pimpl.C: only construct screen once,
10171           rename
10172
10173         * lyxrc.C: remove pointless comment
10174
10175 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView.h:
10178         * BufferView.C: remove active() and belowMouse()
10179
10180         * BufferView_pimpl.h:
10181         * BufferView_pimpl.C: use workarea() not workarea_,
10182           and make it use a scoped_ptr instead
10183
10184 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * lyx_gui.C: add debug message on BadWindow
10187
10188 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10189
10190         * sp_spell.C: fdopen is not part of the C++ standard.
10191
10192         * paragraph.C (InsetIterator): use >= instead of ==
10193
10194 2002-06-07  Angus Leeming  <leeming@lyx.org>
10195
10196         Fixes needed to compile with Compaq cxx 6.5.
10197         * BufferView_pimpl.C:
10198         * DepTable.C:
10199         * buffer.C:
10200         * converter.C:
10201         * encoding.C:
10202         * lyx_gui.C:
10203         * lyx_main.C:
10204         * lyxtextclasslist.C:
10205         * minibuffer.C:
10206         * sp_spell.C:
10207         * tabular_funcs.C:
10208         * vc-backend.C:
10209         all c-library variables have been moved into namespace std. Wrap
10210         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10211
10212         * lyxlength.C:
10213         * tabular-old.C:
10214         * tabular.C:
10215         Add a using std::abs declaration.
10216
10217         * kbmap.h (modifier_pair):
10218         * paragraph.h (InsetTable, InsetList):
10219         * lyxfont.h (FontBits):
10220         type definition made public.
10221
10222         * bufferlist.C (emergencyWriteAll): the compiler complains that
10223         there is more than one possible lyx::class_fun template to choose from.
10224         I re-named the void specialisation as lyx::void_class_fun.
10225
10226         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10227
10228         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10229         the compiler is is unable to find tostr in write_attribute.
10230
10231 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * buffer.C (sgmlError): hide #warning
10234
10235 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * xtl/*: get rid of xtl, which is not in use anyway
10238
10239         * LyXAction.C (init):
10240         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10241         were unimplemented xtl experimentation
10242
10243 2002-06-04  André Pönitz <poenitz@gmx.net>
10244
10245         * lyxfunc.C: disable array operation on simple formulae
10246
10247 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * converter.C: constify a bit
10250
10251 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * lyx_gui.C: check xforms version correctly
10254
10255 2002-04-30  Herbert Voss  <voss@lyx.org>
10256
10257         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10258         "keep" option
10259
10260 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10263           attempt to register it with a VCS)
10264
10265 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * lyx_main.C (init): honor variables LYX_DIR_13x and
10268         LYX_USERDIR_13x
10269
10270 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * buffer.h:
10273         * buffer.C:
10274         * lyx_main.C: fix a crash on bad command line,
10275           and give a useful exit status on error
10276
10277         * lyxfunc.C (doImport): allow -i lyx to work
10278
10279 2002-03-30  André Pönitz <poenitz@gmx.net>
10280
10281         * lyxfunc.C: mathed font changes
10282
10283 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * LaTeX.C:
10286         * importer.h:
10287         * importer.C:
10288         * lyx_sty.h:
10289         * lyx_sty.C:
10290         * lyxlex.C:
10291         * lyxrow.h:
10292         * lyxtext.h:
10293         * paragraph.h:
10294         * paragraph.C:
10295         * texrow.h:
10296         * texrow.C:
10297         * text.C:
10298         * trans_mgr.h: srcdocs, and some minor cleanups
10299
10300 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10301
10302         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10303         call getFont all the time)
10304
10305 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * switch from SigC signals to boost::signals
10308
10309 2002-05-29  André Pönitz <poenitz@gmx.net>
10310
10311         * paragraph_pimpl.C (getChar): don't call size() too often...
10312
10313 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * paragraph_pimpl.C (insertChar): do not try to update tables when
10316         appending (pos == size())
10317
10318         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10319         in order to reduce drastically the number of comparisons needed to
10320         parse a large document
10321
10322 2002-05-29  André Pönitz <poenitz@gmx.net>
10323
10324         * text.C:
10325         * text2.C:
10326         * lyxtextclass.C:
10327         * sp_pspell.h:
10328         * textclasslist.[Ch]:
10329         * sp_ispell.h: whitespace change
10330
10331 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10332
10333         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10334         lyxaction directly now.
10335
10336 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * trans.C:
10339         * lyxfont.C:
10340         * lyxvc.C: remove unused headers
10341
10342 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * Makefile.am:
10345         * buffer.h:
10346         * undostack.h:
10347         * undostack.C:
10348         * undo_funcs.h:
10349         * undo_funcs.C: some cleanups. Use shared_ptr
10350           and a template for the undo stacks.
10351
10352 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * BufferView_pimpl.h:
10355         * BufferView_pimpl.C:
10356         * kbmap.h:
10357         * kbmap.C:
10358         * kbsequence.h:
10359         * kbsequence.C:
10360         * lyxfunc.h:
10361         * lyxfunc.C:
10362         * text2.C: use key_state/mouse_state
10363
10364 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10367         and LSubstring
10368
10369         * chset.C: change include order
10370         (loadFile): use boost regex and get rid of LRegex and LSubstring
10371
10372         * Makefile.am (BOOST_LIBS): new variable
10373         (lyx_LDADD): use it
10374
10375         * LaTeX.C: change include order.
10376         (scanAuxFile): use boost regex and get rid of LRegex and
10377         LSubstring
10378         (deplog): ditto
10379
10380 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * ColorHandler.h:
10383         * ColorHandler.C:
10384         * FontInfo.h:
10385         * FontInfo.C: moved to frontends/xforms/
10386
10387         * FontLoader.h:
10388         * FontLoader.C: moved into frontends for GUIIzation
10389
10390         * Makefile.am:
10391         * lyx_gui.C:
10392         * lyxfont.C:
10393         * lyxfunc.C: changes from above
10394
10395 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * LColor.C: remove spurious X include
10398
10399         * BufferView_pimpl.C:
10400         * Makefile.am:
10401         * font.h:
10402         * font.C:
10403         * text.C:
10404         * text2.C: move font metrics to frontends/
10405
10406 2002-05-24  Juergen Vigna  <jug@sad.it>
10407
10408         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10409         setting the undo_cursor.
10410
10411         * ParagraphParameters.h: include local includes first.
10412
10413 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * BufferView_pimpl.C:
10416         * BufferView_pimpl.h:
10417         * Makefile.am:
10418         * WorkArea.h:
10419         * WorkArea.C:
10420         * screen.C: move WorkArea into frontends/
10421
10422         * lyxscreen.h:
10423         * screen.C:
10424         * text.C:
10425         * BufferView.C:
10426         * BufferView2.C: move LyXScreen into frontends/
10427
10428         * lyxlookup.h:
10429         * lyxlookup.C:
10430         * lyx_gui.C: move lyxlookup into frontends/xforms/
10431
10432 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * BufferView2.C:
10435         * BufferView_pimpl.C:
10436         * FontLoader.C:
10437         * LyXView.h:
10438         * LyXView.C:
10439         * Makefile.am:
10440         * WorkArea.C:
10441         * XFormsView.h:
10442         * XFormsView.C:
10443         * buffer.C:
10444         * bufferlist.C:
10445         * bufferview_funcs.C:
10446         * converter.C:
10447         * importer.C:
10448         * lyx_cb.C:
10449         * lyx_gui.C:
10450         * lyx_main.C:
10451         * lyx_find.C:
10452         * lyxfunc.C:
10453         * lyxvc.C:
10454         * minibuffer.C:
10455         * text.C:
10456         * text2.C:
10457         * trans.C:
10458         * vc-backend.C: move LyX/XFormsView into frontends/
10459
10460 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * Makefile.am:
10463         * PainterBase.C:
10464         * PainterBase.h:
10465         * Painter.C:
10466         * Painter.h:
10467         * WorkArea.C:
10468         * WorkArea.h:
10469         * screen.C:
10470         * tabular.C:
10471         * text.C:
10472         * text2.C: move Painter to frontends/
10473
10474 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * buffer.C: comment out some some code that depend upon lyx_format
10477         < 220
10478
10479         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10480         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10481
10482         * buffer.h (NO_COMPABILITY): turn off compability
10483
10484         * ColorHandler.C: include scoped_array.hpp
10485
10486         * font.C: Use more specific smart_ptr header.
10487         * Painter.C: ditto
10488         * gettext.C: ditto
10489         * ShareContainer.h: ditto
10490         * lyx_main.h: ditto
10491         * kbmap.h: ditto
10492         * FontInfo.h: ditto
10493         * BufferView_pimpl.h: ditto
10494         * ColorHandler.h: ditto
10495
10496         * kbmap.C (defkey): change call to shared_ptr::reset
10497
10498 2002-05-21  Juergen Vigna  <jug@sad.it>
10499
10500         * buffer.C (insertErtContents): fix to insert ert asis if it is
10501         non empty. Skip it completely if it contains only whitespaces.
10502
10503 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10504
10505         * BufferView_pimpl.C:
10506         * BufferView2.C: clear selection on paste (bug 393)
10507
10508 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * DepTable.C: include ctime
10511
10512 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10515
10516 2002-05-14  Juergen Vigna  <jug@sad.it>
10517
10518         * text.C (breakParagraph): fixed function to honor the keepempty
10519         layout in the right maner and also to permit the right breaking
10520         algorithm on empty or non empyt keepempty paragraphs.
10521
10522         * paragraph.C (breakParagraph): we have to check also if the par
10523         is really empty (!size()) for isempty otherwise we do the wrong
10524         paragraph break.
10525
10526 2002-05-10  Juergen Vigna  <jug@sad.it>
10527
10528         * buffer.[Ch] : The following are only changes to the ert
10529         compatibility read reading old LaTeX layout and font stuff and
10530         convert it to ERTInsets.
10531
10532         * buffer.h: added isErtInset().
10533
10534         * buffer.C (struct ErtComp): add a fromlayout bool to check
10535         if we're inside a LaTeX layout.
10536         (isErtInset): new helper function.
10537         (insertErtContents): look for other ert insets before this one
10538         and insert the contents there, so that we don't have subsequent
10539         ERT insets with nothing between them. This way we create only one
10540         inset with multiple paragraphs. Also check if we don't insert only
10541         spaces ' ' as they are ignored anyway afterwards in the .tex file
10542         so if we have only spaces we will ignore this latex part in the
10543         new file.
10544         (parseSingleLyXformat2Token \\layout): better compatibility when
10545         reading layout-latex stuff.
10546         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10547         language tag.
10548         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10549         stuff after reading the inset only get the information back from
10550         the stack.
10551
10552 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10553
10554         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10555
10556         * LaTeXFeatures.C (getBabelOptions): New method.
10557
10558 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10559
10560         * BufferView_pimpl.C (Dispatch): work around missing argument for
10561         'layout'
10562
10563 2002-05-08  Juergen Vigna  <jug@sad.it>
10564
10565         * text.C (leftMargin): handle paragraph leftindent.
10566
10567         * paragraph.C (writeFile): write the new \\leftindent tag.
10568         (validate): handle leftindent code.
10569         (TeXEnvironment): handle paragraphleftindent code again.
10570
10571         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10572
10573         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10574         for paragrap_extra indent code and new token \\leftindent.
10575         (latexParagraphs): handle the leftindent as environment.
10576
10577         * ParameterStruct.h: added leftindent support.
10578
10579         * ParagraphParameters.C (leftIndent): added support functions for
10580         the paragraph left indent.
10581
10582         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10583         more appropriate.
10584
10585 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10586
10587         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10588         inside insetERT.
10589
10590         * text.C (computeBidiTables): No bidi in insetERT.
10591
10592         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10593         in RTL documents.
10594
10595 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596
10597         * version.C.in: pre 5
10598
10599 2002-05-02  José Matos  <jamatos@fep.up.pt>
10600         * buffer.C (makeDocBookFile): white space changes, add newline to
10601         command styles.
10602         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10603
10604         * tabular.C (docBook): fix typo.
10605
10606 2002-05-03  Juergen Vigna  <jug@sad.it>
10607
10608         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10609         change in LyXText as we can not be sure it was not freed.
10610         (drawOneRow): remove unused code.
10611
10612         * text.C (drawInset): redo the calculation of the need_break_row as
10613         it could have a row which was already freed.
10614         (draw): look at the return value of drawInset and return false if
10615         it also returned false.
10616         (paintRowText): look at the return value of draw and return false if
10617         it also returned false.
10618
10619         * lyxtext.h: added bool return type to drawInset() and draw() so that
10620         if we have a change in the row so that the rowbreak has to be redone
10621         we abort drawing as it will be called again.
10622
10623 2002-05-02  Juergen Vigna  <jug@sad.it>
10624
10625         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10626         a change in the maintext also if we're inside an inset.
10627         (Dispatch): set the cursor again after a break line and after the
10628         screen has been updated as it could be we're in a different row.
10629
10630         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10631         to set the cursor behind the pargraph with > size().
10632         (setCursor): check also for the same paragraph when checking where
10633         to put the cursor if we have a NFR inset.
10634
10635         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10636         parts of layout read further up as it still was in the wrong
10637         position.
10638
10639 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10640
10641         * screen.C (drawFromTo): change sine fullRebreak always return
10642         true.
10643
10644         * buffer.C (parseSingleLyXformat2Token): reindent some
10645
10646         * BufferView_pimpl.C (update): change since fullRebreak always
10647         return true.
10648         (Dispatch): git rid of the last hardcoded "Standard"s.
10649
10650 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * text2.[Ch] (fullRebreak): make it return void now that we always
10653         returned true.
10654
10655 2002-04-30  Juergen Vigna  <jug@sad.it>
10656
10657         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10658         ert compatibility check for "latex" layout.
10659
10660 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10661
10662         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10663         minipages: use col% instead of p%, and also use the current font.
10664         (makeLaTeXFile): Fix use babel condition.
10665         (parseSingleLyXformat2Token): Correct font when reading old floats.
10666
10667 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10668
10669         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10670         inserting list of floats.
10671
10672 2002-04-25  Herbert Voss  <voss@lyx.org>
10673
10674         * MenuBackend.C (expand): don't add the graphics extensions to the
10675         export menu
10676
10677 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10678
10679         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10680         non-existing layout, do not complain if it was the default layout
10681         of the original class (bug #342)
10682
10683 2002-04-24  Juergen Vigna  <jug@sad.it>
10684
10685         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10686         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10687
10688 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10689
10690         * buffer.C (getBibkeyList): If using \bibliography, return the
10691         option field with the reference itself. Enables us to provide natbib
10692         support when using \bibliography.
10693
10694 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10695
10696         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10697
10698         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10699         natbib is provided by the LaTeX class.
10700
10701 2002-04-23  Juergen Vigna  <jug@sad.it>
10702
10703         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10704         Wakeup functions.
10705
10706         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10707
10708 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10711
10712         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10713         ensuremath around textordmasculine, textordfeminine and
10714         textdegree.
10715
10716 2002-04-19  Juergen Vigna  <jug@sad.it>
10717
10718         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10719         reinitializing the buffer otherwise row-dimensions may be wrong.
10720         (update): reset also the selection cursors if they do exits otherwise
10721         their x/y positions may be wrong.
10722
10723         * text2.C (cursorDown): don't enter the inset if we came from a row
10724         above and are one row over the inset.
10725
10726         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10727         really leaving an inset.
10728
10729 2002-04-18  Juergen Vigna  <jug@sad.it>
10730
10731         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10732         of the selected paragraph does not have the selected layout also if
10733         the last one had!
10734
10735         * text2.C (setLayout): fixed bug which did not change last selected
10736         paragraph.
10737
10738         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10739         changed the read and substituted \\end_float with \\end_inset!
10740
10741         * BufferView_pimpl.C (cursorPrevious):
10742         (cursorNext): fixed to make it work with rows heigher than the work
10743         area without moving the cursor only the draw of the row.
10744         (workAreaMotionNotify): fix jumping over high rows.
10745
10746 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10749         Ressler.
10750
10751 2002-04-16  Juergen Vigna  <jug@sad.it>
10752
10753         * text2.C (setCursor): set also the irow().
10754         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10755         (cursorUp):
10756         (cursorDown): support for locking an inset if the x_fix value goes
10757         inside it. That way I can transverse insets too with cursor up/down.
10758
10759         * lyxrow.h: added irow helper function same as other (i) functions.
10760
10761         * BufferView_pimpl.C (cursorPrevious):
10762         (cursorNext): fixed for insets!
10763
10764 2002-04-15  Juergen Vigna  <jug@sad.it>
10765
10766         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10767         position otherwise it is wrong in some cases.
10768
10769         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10770         inside the inset before the call.
10771
10772 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10773
10774         * buffer.[Ch] (getBibkeyList): make it const.
10775
10776 2002-04-12  Juergen Vigna  <jug@sad.it>
10777
10778         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10779
10780         * text2.C (getCursorX): new helper function
10781         (setCursor): compute also ix_
10782         (setCursorFromCoordinates): set also ix.
10783
10784         * lyxcursor.h: added ix_ and helper functions.
10785
10786         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10787
10788         * buffer.C (insertStringAsLines): dont break paragraph if the this
10789         paragraph is inside an inset which does not permit it!
10790
10791         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10792         also with no chars on this paragraph.
10793         (paintRowText): only paint stuff if it's inside the workarea!
10794
10795         * paragraph.C (breakParagraph): honor keepempty flag and break the
10796         paragraph always below not above.
10797
10798         * BufferView2.C (unlockInset): update the paragraph layout on inset
10799         unlock as we changed paragraph in such a case.
10800
10801         * lyxfind.C (LyXFind): clear the former selection if not found!
10802
10803         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10804         again called in insertChar().
10805
10806         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10807         an inset which uses the whole row!
10808         (rightMargin): ditto.
10809         (insertChar): force a rebreak if we inserted an inset!
10810
10811 2002-03-28  Herbert Voss  <voss@lyx.org>
10812
10813         * lyxlength.[Ch]: add inBP() to get the right PS-point
10814         units (BigPoint). With inPixels we have rounding errors
10815
10816 2002-04-11  Juergen Vigna  <jug@sad.it>
10817
10818         * text2.C (setCursorFromCoordinates): set iy to the right value.
10819         (setCursor): add check if row->previous exists!
10820
10821         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10822         an old float_type as this was the case in the old code!
10823
10824         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10825
10826         * BufferView2.C (showLockedInsetCursor): use iy
10827         (fitLockedInsetCursor): ditto
10828
10829         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10830         locked insets as there we have the right value now.
10831
10832         * lyxcursor.C: added iy_ variable and iy functions to set to the
10833         baseline of cursor-y of the locked inset.
10834
10835         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10836         (setCursor): fixed for insets which need a full row.
10837
10838         * text.C (rowLastPrintable): don't ignore the last space when before
10839         an inset which needs a full row.
10840         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10841         as last character of a row when before a inset which needs a full row.
10842
10843 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10844
10845         * version.C.in: update date
10846
10847         * text2.C (fullRebreak): try to always return true and see what
10848         happens...
10849
10850 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * MenuBackend.C (expand): use Floating::listName
10853
10854         * FloatList.C (FloatList): add listName argument to the built-in
10855         floats
10856
10857         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10858         text associated with the float.
10859
10860 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10863
10864 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * ShareContainer.h: add a couple of missing typenames.
10867
10868 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10869
10870         * lyxrc.C (getDescription): use _() correctly rather than N_().
10871
10872 2002-03-28  Herbert Voss  <voss@lyx.org>
10873
10874         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10875         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10876
10877 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10880         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10881
10882 2002-03-29  Juergen Vigna  <jug@sad.it>
10883
10884         * lyxfunc.C (dispatch): add a missing fitCursor call.
10885
10886         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10887         it was scrolled by a cursor move, so return the bool status.
10888
10889         * BufferView.C (fitCursor): return the bool flag also to the outside
10890         world as this is needed.
10891
10892         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10893
10894         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10895         call the edit() as it is not needed (and wrong) IMO.
10896         (workAreaButtonPress): set the screen_first variable before evt.
10897         unlock the inset as this may change screen_first and then we have
10898         a wrong y position for the click!
10899
10900 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * MenuBackend.C (expand): another translation that I missed
10903
10904 2002-03-28  Juergen Vigna  <jug@sad.it>
10905
10906         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10907
10908         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10909
10910 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10913
10914         * MenuBackend.C (expand): fix export/view/update when there is no
10915         document open.
10916
10917 2002-03-27  Herbert Voss  <voss@lyx.org>
10918
10919         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10920         and text%
10921
10922 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * bufferview_funcs.C (currentState): only show paragraph number
10925         for is DEVEL_VERSION is set.
10926
10927         * lyxfunc.C (dispatch): put warning in INFO channel
10928
10929         * MenuBackend.C (expand): translate the name of floats
10930
10931         * FloatList.C (FloatList): mark the float names for translation
10932
10933         * converter.C (convert): use LibScriptSearch
10934
10935 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10936
10937         * MenuBackend.C (defaults): fix default menu (we might as well get
10938         rid of it...)
10939
10940 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10943         directory.
10944
10945 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10946
10947         * lyxvc.C: reorder includes.
10948
10949 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10952           properly
10953
10954 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * CutAndPaste.C: change layouts earlier on paste
10957           to avoid crashing when calling getFont()
10958
10959 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10960
10961         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10962         irritating #error.
10963
10964 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * WorkArea.C: remove 'Pending' debug message.
10967
10968         * most files: ws cleanup
10969
10970         * buffer.[Ch]: ws changes
10971
10972         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10973
10974 2002-03-21  Juergen Vigna  <jug@sad.it>
10975
10976         * tabular.C (SetMultiColumn): collapse also the contents of the
10977         cells and set the last border right. Added a Buffer const * param.
10978
10979 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10982         linking or not.
10983
10984 2002-03-19  Juergen Vigna  <jug@sad.it>
10985
10986         * text2.C (clearSelection): reset also xsel_cache.
10987
10988         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10989         where it needs to be called (John tells us to do so too :)
10990         (selectionLost): reset sel_cache.
10991
10992         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10993
10994 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10995
10996         * text2.C (setCursorIntern): put debuging code in INSETS channel
10997
10998 2002-03-19  André Pönitz <poenitz@gmx.net>
10999
11000         * lyxfunc.C: tiny whitespace change
11001
11002 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * ToolbarDefaults.C (init):
11005         * LyXAction.C (init):
11006         * commandtags.h:
11007         * BufferView_pimpl.C (Dispatch):
11008         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11009
11010 2002-03-19  Allan Rae  <rae@lyx.org>
11011
11012         * exporter.C (Export): removeAutoInsets before doing anything else.
11013         While I've just introduced a dependency on BufferView this really is
11014         the best place to clean the buffer otherwise you need to cleanup in
11015         a dozen places before calling export or cleanup in a dozen functions
11016         that export calls.
11017
11018         * converter.C (runLaTeX):
11019         (scanLog): Better handling of removeAutoInsets and screen updates.
11020
11021         * lyxfunc.C (dispatch): small whitespace changes
11022
11023 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11024
11025         * WorkArea.C (C_WorkAreaEvent): return a value.
11026         (event_cb): return 1 if we handled the event, 0 otherwise.
11027
11028         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11029
11030 2002-03-18  Juergen Vigna  <jug@sad.it>
11031
11032         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11033         (GetAdditionalWidth): ditto.
11034         (RightLine): ditto.
11035         (LeftLine): ditto.
11036
11037         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11038         inset if we're there actually (probably not used right now but this
11039         is the direction to go for unifying code).
11040         (paste): disable code to clear the selection.
11041
11042         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11043         inside an InsetText and move the check further up as it is in the
11044         wrong place.
11045
11046         * text2.C (pasteSelection): set a selection over the pasted text.
11047
11048 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11049
11050         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11051         and libgraphics to build on Cygwin.
11052
11053 2002-03-15  Juergen Vigna  <jug@sad.it>
11054
11055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11056         inserting an Inset into the paragraph. I know this is not the best
11057         fix but we already use current_view in CutAndPaste so we will remove
11058         all of it's using at the same time.
11059
11060         * buffer.C (sgmlError): deactivated function till it is rewritten in
11061         the right mode, now it can create problems.
11062
11063         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11064         before accessing it.
11065
11066 2002-03-14  Juergen Vigna  <jug@sad.it>
11067
11068         * undo_funcs.C (textHandleUndo): do the right thing when updating
11069         the inset after the undo/redo.
11070
11071         * text2.C (setCursor): just some testcode for #44 not ready yet.
11072
11073         * undo_funcs.C (textHandleUndo): set the next() and previous()
11074         pointers of the paragraph to 0 before deleting otherwise we have
11075         problems with the Paragraph::[destructor].
11076
11077         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11078         on a paragraph insertion.
11079
11080 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * buffer.C (asciiParagraph): use += operator for char append to
11083         string.
11084
11085         * paragraph.C (getFontSettings): compare >= not just >
11086         (highestFontInRange): ditto
11087         (setFont): ditto
11088
11089 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * paragraph.C: change several algorithm to be more appripriate for
11092         the problem domain. This is lookip in FontList and in the InsetList.
11093
11094 2002-03-13  André Pönitz <poenitz@gmx.net>
11095
11096         * commandtags.h:
11097         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11098
11099 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11100
11101         * commandtags.h:
11102         * LyXAction.C:
11103         * lyxfunc.C:
11104         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11105
11106 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11107
11108         * Painter.C (display): anon helper function, adjust code for this
11109         change.
11110         (pixmap): remove function.
11111
11112         * Painter.h: remove private display variable.
11113
11114         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11115
11116 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11117
11118         * WorkArea.[Ch]: remove figinset_canvas cruft.
11119
11120 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * lyxtextclass.C (operator): add one item cache optimization.
11123
11124         * bufferlist.h: doxy changes
11125
11126         * bufferlist.C: ws changes
11127
11128         * DepTable.[Ch] (ext_exist): place const in the right spot.
11129
11130         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11131         call resizeInsets.
11132         (workAreaExpose): call resizeInsets when the with BufferView changes.
11133         (Dispatch): adjust for protectedBlank removal
11134         (specialChar): call updateInset if the insert went ok.
11135
11136         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11137         specialChar instead.
11138
11139         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11140
11141         * BufferView.h: doxy change
11142
11143         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11144
11145         * lyxtextclass.C (operator[]): remove non-const version
11146         (defaultLayout): remove non-const version
11147
11148 2002-03-12  Juergen Vigna  <jug@sad.it>
11149
11150         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11151         did resize the LyXText too.
11152
11153         * buffer.C (readLyXformat2): set layout information on newly allocated
11154         paragraphs.
11155
11156         * tabular.C (OldFormatRead): set layout information on the paragraph.
11157
11158 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11159
11160         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11161
11162 2002-03-11  Juergen Vigna  <jug@sad.it>
11163
11164         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11165         plainly wrong.
11166         (resizeCurrentBuffer): force also the insets to resize themselfes.
11167         (moveCursorUpdate): fixed up for InsetText.
11168
11169 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11170
11171         * commandtags.h:
11172         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11173         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11174         value of Dialogs::tooltipsEnabled().
11175         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11176
11177 2002-03-08  Juergen Vigna  <jug@sad.it>
11178
11179         * BufferView_pimpl.C (updateInset): update inset inside inset also
11180         if it isn't inside theLockingInset().
11181
11182 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11183
11184         * buffer.C (asciiParagraph): redo some of the word and line length
11185         handling.
11186         (getLists): look for Caption instead of caption.
11187
11188 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11189
11190         * buffer.C (Buffer): initialize niceFile to true
11191         (makeLaTeXFile):
11192         (makeLinuxDocFile):
11193         (makeDocBookFile): make sure niceFile is true on exit
11194
11195 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11198
11199 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11200
11201         * LyXSendto.C: remove.
11202         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11203         * lyx_gui.C: remove now-redundant comment.
11204         * ColorHandler.h: remove forward declaration of class WorkArea.
11205         * lyxfunc.C: remove #include "WorkArea.h".
11206
11207 2002-03-07  Juergen Vigna  <jug@sad.it>
11208
11209         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11210         got moved away with the DEPM and also set the inset_owner always
11211         right which before could have been omitted.
11212
11213 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11216         wanted layout is not found.
11217
11218 2002-03-07  Juergen Vigna  <jug@sad.it>
11219
11220         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11221
11222 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * paragraph.C (breakParagraph): use default layout not layout of
11225         prev paragraph.
11226         (Paragraph): clear ParagraphParameters.
11227
11228 2002-03-06  Juergen Vigna  <jug@sad.it>
11229
11230         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11231         otherwise it would not be a valid lenght. Fixed a special case in
11232         the minipage compatibility read where we end the document with a
11233         minipage.
11234
11235         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11236         was set as it could be 0 for InsetTexts first entry.
11237
11238 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * paragraph.C (writeFile): if layout is empty write out
11241         defaultLayoutName().
11242
11243         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11244         file without named layout we set layout to defaultLayoutName().
11245
11246 2002-03-06  Juergen Vigna  <jug@sad.it>
11247
11248         * CutAndPaste.C (copySelection): set layout for new paragraph.
11249
11250         * text.C (prepareToPrint): leave ERT inset left aligned
11251         (leftMargin): don't indent paragraphs inside ERT insets
11252
11253 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11254
11255         * paragraph.C (breakParagraph): dont call clear do the work manually
11256
11257         * paragraph.[Ch] (clear): remove function
11258
11259 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * paragraph.C (Paragraph): dont call clear, the work has already
11262         been done.
11263
11264         * lyxtextclass.C (operator): assert if n is empty
11265
11266         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11267         work manually instead.
11268
11269 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * BufferView_pimpl.C: protect selectionLost against text == 0
11272
11273 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * text.C (breakParagraph): fix a setting layout to '0' problem.
11276
11277 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11278
11279         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11280         final location of file, for the included files, and graphics.
11281
11282 2002-03-05  Juergen Vigna  <jug@sad.it>
11283
11284         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11285
11286 2002-03-04  Juergen Vigna  <jug@sad.it>
11287
11288         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11289
11290         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11291         last column of multicolumn cells.
11292         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11293
11294 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11295
11296         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11297         file if it doesn't go to a temporary file.
11298
11299         * buffer.C (sgmlOpenTag):
11300         (sgmlCloseTag):  remove extra newline insertion.
11301
11302 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * text.C (getRowNearY): comment out debug msg
11305
11306 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * text2.C: first -> first_y
11309
11310         * text.C (getRowNearY): add some attemts at a possible
11311         optimization, not working.
11312
11313         * tabular.[Ch]: add BufferParams to several function so that newly
11314         created paragraph can be initialized to he default layotu for the
11315         buffers textclass.
11316
11317         * tabular-old.C (ReadOld): add buf->params to call of Init
11318
11319         * screen.C: rename text->first to text->first_y
11320
11321         * paragraph.C (breakParagraph): always set layout in the broken
11322         paragraph
11323
11324         * lyxtextclass.C (Read): remove lowercase
11325         (hasLayout): ditto
11326         (operator): ditto
11327         (delete_layout): ditto
11328
11329         * lyxtext.h: rename first -> first_y
11330
11331         * lyxlayout.C (Read): remove lowercase
11332         (name): ditto
11333         (setName): ditto
11334         (obsoleted_by): ditto
11335
11336         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11337
11338         * buffer.C (insertErtContents): add params are to InsetERT
11339         (parseSingleLyXformat2Token): add code to check if a paragraphs
11340         layout really exist.
11341         (parseSingleLyXformat2Token): add params to several inset
11342         constructors
11343         (asciiParagraph): remove lowercase, do the layout comparisons with
11344         no_case
11345
11346         * BufferView_pimpl.C (cursorNext): first -> first_y
11347         (resizeCurrentBuffer): first -> first_y
11348         (updateScrollbar): first -> first_y
11349         (scrollCB): first -> first_y
11350         (workAreaMotionNotify): first -> first_y
11351         (workAreaButtonPress): first -> first_y
11352         (checkInsetHit): first -> first_y
11353         (cursorPrevious): first -> first_y
11354         (cursorNext): first -> first_y
11355         (Dispatch): add buffer_->params to severl inset contructors
11356
11357 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * lyxlayout.C (Read): remove some debug info that I forgot.
11360
11361         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11362         clean up the code slightly.
11363         (makeLinuxDocFile): ditto
11364         (makeDocBookFile): ditto
11365
11366         * text2.C: layout as string
11367
11368         * text.C: layout as string
11369
11370         * paragraph_pimpl.C: layout as string
11371
11372         * paragraph.[Ch]: layout as string
11373
11374         * lyxtextclasslist.[Ch]: layout as string
11375
11376         * lyxtextclass.[Ch]: layout as string
11377
11378         * lyxtext.h: layout as string
11379
11380         * lyxlayout.[Ch]: layout as string
11381
11382         * lyx_cb.C: layout as string
11383
11384         * bufferview_funcs.C: layout as string
11385
11386         * bufferparams.C: layout as string
11387
11388         * buffer.C: layout as string
11389
11390         * LyXView.[Ch]: layout as string
11391
11392         * LaTeXFeatures.[Ch]: layout as string
11393
11394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11395
11396         * BufferView_pimpl.C: change current_layout to string, remove
11397         lyx::layout_type.
11398         (Dispatch):
11399         (smartQuote):
11400         (insertInset):
11401         (workAreaButtonRelease): layout as string
11402
11403         * BufferView2.C (unlockInset): adjust
11404
11405         * vspace.C (asLatexCommand): use an explict temp variable.
11406
11407 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11408
11409         * Makefile.am: use FRONTEND_*
11410
11411 2002-03-01  Juergen Vigna  <jug@sad.it>
11412
11413         * tabular.C (SetWidthOfMulticolCell): changed to something better
11414         I hope but still work in progress.
11415         (recalculateMulticolumnsOfColumn): renamed function from
11416         recalculateMulticolCells as it is more appropriate now.
11417         (SetWidthOfCell): calculate multicols better.
11418
11419 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11422
11423         * lyxfunc.C (processKeySym): print sequence also if it is
11424         `deleted' (complete)
11425
11426         * kbsequence.C (print): print sequence even if it is deleted
11427         (complete would be a better word, actually).
11428
11429         * lyxfunc.C (dispatch): print complete options after a prefix key
11430
11431         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11432
11433 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11434
11435         * text2.C (setCharFont): eliminate setCharFont code duplication.
11436
11437 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11440         LFUN_TABULAR_FEATURE (bug #177)
11441
11442 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11443
11444         * Makefile.am: remove figure.h
11445
11446 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11447
11448         * Bufferview_pimpl.C:
11449         * CutAndPasteC:
11450         * LaTeX.C:
11451         * LyXSendto.C:
11452         * buffer.C:
11453         * bufferlist.C:
11454         * converter.C:
11455         * language.C:
11456         * lyxfunc.C:
11457         * lyxvc.C:
11458         * paragraph.C:
11459         * text.C:
11460         * text2.C: remove #include "lyx_gui_misc.h".
11461
11462         * LaTeX.C: added #include <cstdio>
11463
11464 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11467         that the paragraph following this one can have.
11468
11469         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11470
11471         * vspace.C (asLatexCommand): fix bogus gcc warning
11472
11473         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11474
11475 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11476
11477         * text2.C (setLayout): get rid of redundant code
11478
11479 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11480
11481         * text2.C (incDepth): make sure depth cannot be increased beyond
11482         reasonable values.
11483
11484 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11485
11486         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11487         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11488
11489         * PainterBase.h (image):
11490         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11491         a LyXImage const *.
11492
11493 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * BufferView.C:
11496         * BufferView.h:
11497         * BufferView_pimpl.C:
11498         * BufferView_pimpl.h:
11499         * LaTeXFeatures.C:
11500         * LyXAction.C:
11501         * LyXView.C:
11502         * Makefile.am:
11503         * UpdateList.h:
11504         * UpdateList.C:
11505         * buffer.C:
11506         * figure.h:
11507         * figureForm.C:
11508         * figureForm.h:
11509         * figure_form.C:
11510         * figure_form.h:
11511         * lyx_cb.C:
11512         * lyx_gui.C:
11513         * lyx_gui_misc.C:
11514         * lyxfunc.C:
11515         * sp_base.h:
11516         * sp_ispell.h:
11517         * sp_pspell.h:
11518         * sp_spell.C: remove fig inset, and the crap house of
11519           cards that follows it
11520
11521 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * Makefile.am:
11524         * lyxserver.C:
11525         * os2_defines.h:
11526         * os2_errortable.h:
11527         * nt_defines.h: move .h into support/
11528
11529         * vms_defines.h: remove
11530
11531         * WorkArea.C: add space in debug output
11532
11533         * text2.C:
11534         * paragraph.C:
11535         * buffer.C: add WITH_WARNINGS
11536
11537         * vc-backend.h:
11538         * vc-backend.C:
11539         * bufferlist.C: s/retrive/retrieve/, add docs
11540
11541         * vspace.h:
11542         * vspace.C:
11543         * kbmap.h:
11544         * lyxlength.h:
11545         * lyxgluelength.h:
11546         * length_common.h:
11547         * chset.h:
11548         * chset.C: add docs
11549
11550         * lyxgui.C: add ID to X error handler
11551
11552         * lyxtestclass.c: fix typo
11553
11554 2002-02-26  Juergen Vigna  <jug@sad.it>
11555
11556         * tabular_funcs.C (write_attribute): changed so that some default
11557         attributes are not written at all.
11558         (getTokenValue): set default values before trying to read the
11559         value so we have the return value always set as default if we don't
11560         find the token we search for.
11561
11562         * tabular.C (Write): write bools as bools not as strings!
11563
11564 2002-02-22  Juergen Vigna  <jug@sad.it>
11565
11566         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11567         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11568
11569         * text.C (leftMargin): don't add an indent for paragraphs inside
11570         tabular cells (fix #208).
11571
11572 2002-02-21  José Matos  <jamatos@fep.up.pt>
11573
11574         * tabular.C (docBook): fixed support for long tables.
11575
11576 2002-02-20  Juergen Vigna  <jug@sad.it>
11577
11578         * text2.C (getFont): get the drawing font of the Inset if this
11579         paragraph is inside an inset (only important for InsetERT for now).
11580
11581         * buffer.C (insertErtContents): use new lanugage params in ERT
11582         constructor.
11583
11584         * CutAndPaste.C: commenting out seemingly uneeded code.
11585
11586 2002-02-19  Allan Rae  <rae@lyx.org>
11587
11588         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11589         Iterators might be simple to use but they also get invalidated.
11590         (removeAutoInsets): renamed saved cursor tracking variables and added
11591         some comments to clarify what everything does.
11592
11593 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11594
11595         * Chktex.C:
11596         * LaTeX.C:
11597         * LyXSendto.C:
11598         * converter.C:
11599         * lyx_cb.C:
11600         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11601         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11602
11603         * lyxfunc.C:
11604         * vc-backend.h: remove #include "support/syscall.h"
11605
11606         * LaTeX.C:
11607         * LyXSendto.C:
11608         * converter.C: rearrange #includes in Lars' approved fashion.
11609
11610         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11611         forward declare class Timeout in the header file.
11612
11613         * XFormsView.C: changes due to the above.
11614
11615         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11616         similar to LyXView.
11617
11618         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11619         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11620
11621 2002-02-18  José Matos  <jamatos@fep.up.pt>
11622
11623         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11624         insets contents.
11625
11626 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11627
11628         * a lot of small ws changes
11629         * add a lot of using std::XXX
11630         * use std construcs some places where approp.
11631         * use some exisint stuff from lyxfunctional where approp.
11632         * Make file changes to use partial linking (lets test this now...)
11633
11634 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11635
11636         * Chktex.C:
11637         * buffer.C:
11638         remove #include "support/syscontr.h" as it's redundant. Always has been.
11639
11640         * Chktex.C:
11641         * LaTeX.C:
11642         * LyXSendto.C:
11643         * converter.C:
11644         * lyx_cb.C:
11645         * vc-backend.C:
11646         change Systemcalls::System to Systemcalls::Wait and
11647         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11648         No change of functionality, just reflects the stripped down Systemcalls
11649         class.
11650
11651 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11652
11653         * debug.[Ch]: add a GRAPHICS type to the enum.
11654
11655 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11658
11659         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11660         there is an inset.
11661
11662 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11663
11664         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11665         match the changes below.
11666
11667         * text2.C (toggleInset): if there is not editable inset at cursor
11668         position, try to see if cursor is _inside_ a collapsable inset
11669         and close it.
11670
11671 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11674         document menu has a nice checkbox
11675
11676 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * lyxlength.C (asLatexString): change PW to output as percent of
11679         \textwidth.
11680
11681         * lengthcommon.C: change '%' to 't%'
11682
11683         * lyxfunc.C (dispatch): a few comments from Martin
11684
11685 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11686
11687         * WorkArea.h:
11688         * WorkArea.C:
11689         * BufferView_pimpl.h:
11690         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11691           the X selection.
11692
11693 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11694
11695         * vspace.C (inPixels): fix compiler warning
11696
11697 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11698
11699         * lyxfunc.C (getStatus): fix status message for disabled commands.
11700
11701 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * BufferView_pimpl.C: fix crash on close buffer
11704         during selection (#227)
11705
11706 2002-01-27  Herbert Voss  <voss@lyx.org>
11707
11708         * buffer.C: link old Figure to new graphic inset
11709
11710 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11711
11712         * FontLoader.C (getFontinfo): Change the latex font names in order
11713         to match the names of type1inst.
11714
11715 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11716
11717         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11718
11719         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11720         (extchanged): ditto
11721         (ext_exist): ditto
11722         (remove_files_with_extension): ditto
11723         (remove_file): ditto
11724         (write): ditto
11725
11726         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11727         document is smaller than the work area height. Do not initialize
11728         static variables to 0.
11729
11730 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11733
11734         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11735         LFUN_LAYOUT_PARAGRAPHS.
11736
11737         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11738         tabular. It is possible to provide a possible cell, which will
11739         typically be the actcell from the corresponding insettabular
11740
11741         * lyxfunc.C (getStatus): small cleanup; disable
11742         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11743         true
11744
11745 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11746
11747         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11748
11749         * paragraph.C (startTeXParParams):
11750         (endTeXParParams): new methods. The LaTeX code to
11751         start/end paragraph formatting
11752         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11753         empty (fixes bug #200)
11754
11755         * vspace.C (inPixels): adapt to the change below
11756         (inPixels): [later] more cleanups (remove unused variables)
11757
11758         * lyxlength.C (inPixels): change to use a width and a height as
11759         parameter.
11760
11761 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11764         Replaced with \paperwidth
11765
11766         * DepTable.C (insert): add std:: qualifier
11767
11768 2002-01-18  Allan Rae  <rae@lyx.org>
11769
11770         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11771         updated also?
11772
11773         * text.C (drawInset): Turned out I didn't know enough about how
11774         rebreaking worked.  This fixes most of the redraw problems.  I see
11775         an occasional cursor trail when a line is broken now and the cursor
11776         placement can seem out by a few pixels also after a rebreak.
11777
11778 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * buffer.C (parseSingleLyXformat2Token): update because minipage
11781         width is now a LyXLength
11782
11783         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11784
11785         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11786         math insets
11787
11788 2002-01-17  Juergen Vigna  <jug@sad.it>
11789
11790         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11791
11792         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11793         is set correctly and the inset is updated correctly.
11794
11795 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11796
11797         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11798         the beginning of the loop.
11799
11800 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * lyxrc.C: improve help for use_scalable_fonts
11803
11804 2002-01-17  Allan Rae  <rae@lyx.org>
11805
11806         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11807
11808 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11811         make sure to set their inset_owner to the right value (bug #171)
11812
11813 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11814
11815         * DepTable.h
11816         * DepTable.C: Implement mtime checking to reduce time spent doing
11817         CRCs.
11818
11819 2002-01-16  Juergen Vigna  <jug@sad.it>
11820
11821         * tabular.C (GetAdditionalHeight): one of error fixed.
11822
11823         * lyxrc.C (output): small fix in writing use_pspell.
11824
11825 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11826
11827         * sp_base.h: #include LString.h
11828
11829 2002-01-16  Allan Rae  <rae@lyx.org>
11830
11831         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11832         Can someone check this please?
11833
11834         * text.C (drawInset): It was possible that p.row would be removed by
11835         breakAgainOneRow upsetting a few other settings.  There may be another
11836         small tweak possible by setting need_break_row = 0 when p.row has been
11837         removed but I don't know enough about the logic here.
11838
11839 2002-01-15  Allan Rae  <rae@lyx.org>
11840
11841         * text.C (insertChar): removed conditional truism.
11842
11843         * BufferView2.C (removeAutoInsets): More tweaks.
11844         cur_par_prev could be a stray pointer.  Check for trailing empty line
11845         in case last line was cur_par and only had an error inset on it.
11846
11847 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11850         absolute
11851
11852         * vc-backend.C (most methods):
11853         * exporter.C (Export):
11854         * converter.C (convert):
11855         (runLaTeX):
11856         * LyXSendto.C (SendtoApplyCB):
11857         * lyxfunc.C (dispatch):
11858         (menuNew):
11859         (open):
11860         (doImport):
11861         * lyx_cb.C (AutoSave):
11862         (InsertAsciiFile):
11863         * BufferView_pimpl.C (MenuInsertLyXFile):
11864         * buffer.C (runChktex): use Buffer::filePath().
11865
11866         * buffer.h: rename filename to filename_; rename filepath to
11867         filepath_ and make it private
11868         (filePath): new method
11869
11870         * buffer.C (writeFile): use fileName()
11871         (getLatexName):
11872
11873         * lyx_main.C (init): fix starting  of LyX when the binary is a
11874         link from so,ewhere else.
11875
11876         * minibuffer.C: include <cctype> for isprint
11877
11878 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11881         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11882         name clash with InsetCollapsable's width function.
11883
11884 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * lastfiles.C: include <iterator>
11887
11888 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11891         std::count.
11892
11893         * buffer.C (makeLaTeXFile): ditto.
11894         Also make loop operation more transparent.
11895
11896 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11897
11898         * ToolbarDefaults.C: remove trailing comma closing namespace.
11899
11900         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11901
11902         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11903         as in WorkArea.
11904
11905         * trans.C (Load): comment out unused variable, allowed.
11906
11907 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11908
11909         * minibuffer.[Ch] (append_char): new method to recieve input from the
11910         drop-down completion browser. If a key was pressed, then recieve this
11911         char and append it to the existing string.
11912         (peek_event): modify the positioning data passed to the completion
11913         browser so that it can be placed above the minibuffer rather than below.
11914 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * LyXAction.C (init): alloe error-next for readonly documents.
11917
11918         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11919         count.
11920
11921 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * bufferlist.C (readFile): create the buffer _after_ checking that
11924         the file exists.
11925
11926         * lyxfunc.C (verboseDispatch): fix handling of arguments
11927
11928         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11929
11930         * lyxrc.C: use string::erase() instead of initializing to "".
11931
11932
11933 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * BufferView_pimpl.h:
11936         * BufferView_pimpl.C:
11937         * WorkArea.h:
11938         * WorkArea.C:
11939         * text2.C: tell X when we have made a selection for copying
11940
11941 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * BufferView_pimpl.C (MenuInsertLyXFile):
11944         * lyxfunc.C (menuNew):
11945         (open):
11946         (doImport): add shortcuts to directory buttons
11947
11948         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11949         open a float)
11950
11951         * lyxfunc.C (setStatusMessage):
11952         (getStatusMessage): new methods
11953         (getStatus):use setStatusMessage instead of setErrorMessage
11954         (dispatch): when function is disabled, set error message here
11955         [instead of in getStatus previously]
11956
11957         * BufferView_pimpl.C (workAreaButtonRelease): update
11958         toolbar/menubar here too.
11959
11960 2002-01-13  Allan Rae  <rae@lyx.org>
11961
11962         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11963         Now seems indestructible.  Remaining task is to audit all other
11964         code affected by deleteEmptyParagraphMechanism.  One small quirk
11965         left is that an empty document with an error in the preamble can
11966         be made to report an error but no error box appears.  I don't know
11967         where it goes.
11968         (removeAutoInsets): Improved comments.
11969
11970 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * Thesaurus.h:
11973         * Thesaurus.C: update for Aiksaurus 0.14
11974
11975 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * text2.C (firstParagraph): removed member function, all uses
11978         replaces with ownerParagraph
11979         (redoParagraphs): here
11980         (updateInset): here
11981         (toggleAppendix): here
11982         * BufferView2.C (insertErrors): here
11983         (setCursorFromRow): here
11984
11985 2002-01-13  Allan Rae  <rae@lyx.org>
11986
11987         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11988         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11989         There is still a way to segfault this although you may have to do this
11990         multiple times: Have an InsetERT with an unknown command in it.
11991         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11992         <down-arrow>, <Enter> again, View->DVI, BANG!
11993
11994         * text2.C (setCursor):
11995         (deleteEmptyParagraphMechanism):
11996         * lyxtext.h (setCursor):
11997         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11998         Making use of the return value may help fix other bugs.
11999
12000 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12003
12004         * LyXView.C (updateMenubar): call MenuBar::update here
12005         (updateToolbar): but not here
12006         (showState): do not update toolbar/menubar
12007
12008         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12009         should need to care about that.
12010
12011         * lyxfunc.C (verboseDispatch): simplify a bit
12012         (getStatus): have a version which takes a pseudoaction, and
12013         another which requires a (kb_action,string).
12014
12015         * LyXAction.C (retrieveActionArg): make it work also when action
12016         is not a pseudo-action.
12017         (getActionName): simplify a bit
12018         (helpText):
12019
12020 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12021
12022         * lyxfunc.C (verboseDispatch): new families of methods with
12023         several ways to specify a command and a bool to indicate whether
12024         the command name and shortcut should be displayed in minibuffer
12025         (eventually, we could extend that to a finer bitmask like
12026         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12027         (dispatch): the pristine dispatch command which just, well,
12028         dispatchs! Note it still sets its result to minibuffer; I'm not
12029         sure we want that.
12030
12031         * lyxfunc.h: remove setHintMessage
12032
12033         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12034
12035 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * BufferView_pimpl.C (specialChar): delete new inset if we have
12038         not been able to insert it.
12039
12040         * kbmap.C: revert to using int instead of kb_action, since all we
12041         are dealing with is pseudo-actions.
12042
12043         * LyXAction.C (searchActionArg): change to return int instead of
12044         kb_action, since the result is a pseudoaction.
12045
12046 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12047
12048         * buffer.C (insertErtContents): Fix (partially) the font bug.
12049
12050 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12051
12052         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12053         as the other one is broken on my machine!
12054
12055 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12056
12057         * commandtags.h:
12058         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12059
12060 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12061
12062         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12063         reflect their actual use. Provide compatibility code for older lyxrc
12064         files.
12065
12066         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12067         FL_NORMAL_STYLE.
12068         change names of popup font variables in line with the changes to lyxrc.C
12069
12070 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12071
12072         * buffer.C (asciiParagraph): avoid outputing a word twice after
12073         an inset.
12074
12075         * lyxrc.C (getDescription): document that document_path and
12076         template_path can be empty.
12077
12078 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12079
12080         * LaTeXFeatures.C (getMacros):
12081         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12082
12083         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12084
12085         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12086         getPackages.
12087         (getPackages): rename feature "floats" to "float". Use an array to
12088         iterate over 'simple' features (i.e. just a \usepackage). Add
12089         handling of "amsmath" (renamed from "amsstyle").
12090
12091 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12092
12093         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12094         features list.
12095
12096 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12099         FuncStaus::FuncStatus & FuncStaus::some_method().
12100
12101 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12102
12103         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12104         of the func_satus stuff. Edited and massaged in various ways by
12105         JMarc.
12106
12107         * lyxfunc.C (getStatus): use FuncStatus
12108
12109 2002-01-08  Juergen Vigna  <jug@sad.it>
12110
12111         * text.C (nextBreakPoint): use function Inset::isChar().
12112
12113         * paragraph.C (TeXOnePar): use function
12114         Inset::forceDefaultParagraphs.
12115
12116         * buffer.C (latexParagraphs): use function
12117         Inset::forceDefaultParagraphs.
12118
12119 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12120
12121         * lyx_gui.C (init): set the style of the menu popups to
12122         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12123
12124 2002-01-07  Juergen Vigna  <jug@sad.it>
12125
12126         * text.C (setHeightOfRow): small fix
12127         (prepareToPrint): don't look at alignment if we don't have the place
12128         for doing it.
12129
12130 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * box.C: New file. Move the Box methods and functions out of box.h,
12133         following Lars' suggestion.
12134
12135 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12136
12137         * box.h: #include "support/LOstream.h", needed for inlined function.
12138
12139         * lyxtextclass.C:
12140         * lyxtextclasslist.C: added some using std declarations.
12141
12142 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * box.h: make signed dimensions to allow insets wider than
12145           the screen (bug #162)
12146
12147         * BufferView_pimpl.C: add some insetHit debug
12148
12149 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * vc-backend.C: add FIXME
12152
12153 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * lyxfunc.C (getStatus): enable code for showing math font status
12156         in toolbar/menu.
12157
12158 2002-01-07  Juergen Vigna  <jug@sad.it>
12159
12160         * text.C (nextBreakPoint): removed debug output not needed anymore.
12161
12162 2002-01-06  Juergen Vigna  <jug@sad.it>
12163
12164         * text.C (nextBreakPoint): fixed up this function we had this bug
12165         since ever but now hopefully we break row better.
12166         (insertChar): we have to check if an inset is the next char as it
12167         could now happen that a large inset is causing a break.
12168
12169 2002-01-05  Juergen Vigna  <jug@sad.it>
12170
12171         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12172         if it doesn't like to be drawed.
12173
12174 2002-01-04  Juergen Vigna  <jug@sad.it>
12175
12176         * BufferView2.C (lockInset): forgot to set a cursor.
12177
12178         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12179
12180 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12181
12182         * FormMathsPanel.C:
12183         * FormMathsPanel.h
12184         * MathsSymbols.C:
12185         * form_maths_panel.C:
12186         * form_maths_panel.h:
12187         * form_maths_panel.fd: implemented sub- and super- buttons in math
12188         panel.
12189
12190         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12191         (or ^ space) to be used as in TeX (req'd by André).
12192
12193         * lyxfunc.C: Allow ^ and _ again to be used both as
12194         super/subscript (mathed) and as themselves (in text).
12195
12196 2002-01-03  Allan Rae  <rae@lyx.org>
12197
12198         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12199         "LyX" or the filename of the current buffer if it has one.  This is a
12200         modified form of John Levon's patch.
12201
12202         * XFormsView.C (setWindowTitle): also set icon title.
12203
12204         * LyXView.h (setWindowTitle): signature changed.
12205         * XFormsView.h (setWindowTitle): ditto.
12206
12207 2002-01-02  Juergen Vigna  <jug@sad.it>
12208
12209         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12210
12211 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * screen.C (topCursorVisible): introduce a temp var for
12214         text->cursor.row(), handle the case where this row is null. (kindo
12215         hachish)
12216
12217         * text2.C (setCursor): add a couple of asserts.
12218
12219         * paragraph.h (inset_iterator): add -> operator
12220
12221         * paragraph.[Ch] (autoDeleteInsets): remove member function
12222
12223         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12224         cursor pos correctly and handle inset deletion by itself.
12225         (insertErrors): move iterator declaration out of for expression
12226
12227         * lyxtextclass.C: add <algorithm>
12228
12229         * Makefile.am: added the new files to sources, removed layout.C
12230
12231         * layout.C: removed file
12232
12233         * layout.h: remove LYX_DUMMY_LAYOUT
12234
12235         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12236         layout.
12237
12238         * lyxlayout.[Ch]:
12239         * lyxtextclass.[Ch]:
12240         * lyxtextclasslist.[Ch]: new files
12241
12242         * include order changes to a lot of files, also changes because of
12243         the six new files.
12244
12245 2001-12-27  Juergen Vigna  <jug@sad.it>
12246
12247         * buffer.C (asciiParagraph): more fixes.
12248
12249         * tabular.C (ascii): make ascii export support export of only the
12250         data separated by a column-delimiter.
12251         (ascii): better support for ascii export.
12252
12253         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12254
12255 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * tabular_funcs.C: use a "using std::getline" instead of the
12258         previous fix from Angus (necessary for cxx + lyxstring)
12259
12260 2001-12-24  Juergen Vigna  <jug@sad.it>
12261
12262         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12263
12264         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12265         problems. First check a minipage also if we have some ert-contents
12266         (not only on par->size(), second set the right depth of the paragraph
12267         on the relink to the root-paragraph-list!
12268
12269         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12270         which then did not anymore update the main paragraphs on undo/redo!
12271
12272 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12273
12274         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12275         code. Support all font-changing funcs (even those which are not in
12276         menu currently). Support for reporting font settings in
12277         mathed (disabled until Andre provides a function on mathed's side).
12278
12279         * func_status.h (toggle): small helper function to set toggle
12280         state on a flag.
12281
12282 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12283
12284         * tabular_funcs.C: getline -> std::getline
12285
12286 2001-12-21  Juergen Vigna  <jug@sad.it>
12287
12288         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12289         accessed and could be 0 (I couldn't generate this but it seems
12290         Michael could!).
12291
12292 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12295         * tabular_funcs.h: here and include iosfwd
12296
12297 2001-12-20  Juergen Vigna  <jug@sad.it>
12298
12299         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12300         inside inset but undo_par was.
12301
12302 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * Thesaurus.C: always include <config.h> in sources.
12305
12306         * Painter.h:
12307         * lyxlookup.h:
12308         * box.h: do not include <config.h> in header files
12309
12310         * text.C (paintLastRow): remove unused variable
12311
12312         * text.C (transformChar):
12313         (insertChar):
12314         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12315
12316         * Painter.C (text):
12317         * font.C (width): rewrite to use uppercase() instead of
12318         islower/toupper.
12319
12320         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12321
12322 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * lyxfind.C: clean up of find failure position change
12325
12326 2001-12-20  Juergen Vigna  <jug@sad.it>
12327
12328         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12329
12330         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12331         (TeXRow): added to LaTeX a single tabular row.
12332         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12333         (Latex): simplified and finally good LT-h/f support.
12334         (various_functions): just small adaptions for LT-h/f support.
12335
12336         * tabular_funcs.[hC]: added and moved here all not classfunctions
12337         of LyXTabular.
12338
12339 2001-12-19  Juergen Vigna  <jug@sad.it>
12340
12341         * tabular.[Ch]: better support for longtabular options (not finished
12342         yet!)
12343
12344 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * text.C (paintLastRow): use the label font instead of the font of
12347         the last character to compute the size of *_BOX. This makes more
12348         sense and avoids a crash with empty paragraphs.
12349         Use Painter::rectangle to draw EMPTY_BOX.
12350
12351 2001-12-19  Juergen Vigna  <jug@sad.it>
12352
12353         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12354         the paragraphs if the replaced paragraph is not the first one!
12355         Tried to delete not used paragraphs but does not work yet so for
12356         now it's inside #ifdef's and by default off!
12357
12358 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * MenuBackend.C: include "lyx_main.h" instead of declaring
12361         lastfiles (actually was declared as LastFiles* instead of a
12362         scoped_ptr).
12363
12364 2001-12-17  Juergen Vigna  <jug@sad.it>
12365
12366         * tabular.C (AppendColumn): applied John's fix
12367
12368 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12369
12370         * BufferView.h:
12371         * BufferView.C:
12372         * BufferView_pimpl.h:
12373         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12374
12375         * Makefile.am:
12376         * box.h: new start of class for above
12377
12378         * lyxfunc.C: ignore space-only minibuffer dispatches.
12379           Show the command name when it doesn't exist
12380
12381         * minibuffer.C: don't add empty lines to the history
12382
12383         * minibuffer.C: add a space on dropdown completion
12384
12385 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * text.C: fix line above/below drawing in insets
12388
12389 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * lyxlength.C (LyXLength): Initialize private variables.
12392
12393 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12396         when inserting error insets.
12397
12398 2001-12-13  Juergen Vigna  <jug@sad.it>
12399
12400         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12401         actually sometimes the before-paragraph.
12402         (setUndo): don't clear the redostack if we're not actually undoing!
12403
12404 2001-12-06  Juergen Vigna  <jug@sad.it>
12405
12406         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12407         and fixed redoing of main paragraph, so we can use it now ;)
12408
12409         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12410
12411 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12414         Juergen's request
12415
12416 2001-12-13  André Pönitz <poenitz@gmx.net>
12417
12418         * undostack.[Ch]:
12419         * undo_func.C: minor cleanup
12420
12421 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12422
12423         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12424         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12425         font in urw-fonts package which is marked as -urw-fontspecific and
12426         does not work (incidentally, changing the encoding in the
12427         fonts.dir of this package to -adobe-fontspecific fixes the
12428         problem).
12429
12430         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12431         is a crash when undoing first paragraph (Juergen, please take a
12432         look). THis does not mean the undo fix is wrong, just that it
12433         uncovers problems.
12434
12435         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12436         the (Paragraph*) version when needed instead of duplicating the
12437         code.
12438
12439         * text.C (workWidth): use Inset::parOwner to find out where the
12440         inset has been inserted. This is a huge performance gain for large
12441         documents with lots of insets. If Inset::parOwner is not set, fall
12442         back on the brute force method
12443
12444         * paragraph_pimpl.C (insertInset):
12445         * paragraph.C (Paragraph):
12446         (cutIntoMinibuffer): set parOwner of insets when
12447         inserting/removing them
12448
12449         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12450
12451 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12452
12453         * commandtags.h:
12454         * LyXAction.C:
12455         * lyx_main.C:
12456         * lyxfunc.C:
12457         * mathed/formulabase.C:
12458         * mathed/math_cursor.[Ch]:
12459         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12460
12461
12462 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12463
12464         * lyxlength.[Ch] (operator!=): new function
12465
12466 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * text.C (workWidth): use Inset::parOwner to find out where the
12469         inset has been inserted. This is a huge performance gain for large
12470         documents with lots of insets. If Inset::parOwner is not set, fall
12471         back on the brute force method
12472
12473         * paragraph_pimpl.C (insertInset):
12474         * paragraph.C (Paragraph):
12475         (cutIntoMinibuffer): set parOwner of insets when
12476         inserting/removing them
12477
12478         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12479
12480 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12481
12482         * tabular-old.C (getTokenValue):
12483         * tabular.C (getTokenValue):
12484         (write_attribute): new versions for LyXLength
12485         (everywhere): adjust the use of widths
12486
12487         * tabular.h: change the type of widths from string to LyXLength
12488
12489 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12490
12491         * paragraph.C: fixed missing line number count when exporting
12492         Environments to LaTeX file
12493
12494         * buffer.C: added informational message for checking line numbers.
12495
12496 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12499         paragraph, do the 'double space' part, but not the 'empty
12500         paragraph' one.
12501
12502         * text.C (workWidth): small optimization
12503         (getLengthMarkerHeight): use minimal size for negative lengths.
12504
12505 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12508
12509         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12510
12511 2001-12-11  André Pönitz <poenitz@gmx.net>
12512
12513         * FontLoader.C:
12514         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12515
12516 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * text2.C: keep selection on a setFont()
12519
12520 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * lyx_cb.C: another bv->text misuse, from insert label
12523
12524 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * kbsequence.h:
12527         * kbsequence.C: re-instate nmodifier mask
12528
12529 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * lyx_main.h: make lyxGUI private.
12532
12533 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * lyxfind.C: place the cursor correctly on failed search
12536
12537 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12538
12539         * text.C (getLengthMarkerHeight): for small heights, the arrows
12540         are not always on top/bottom of the text
12541         (drawLengthMarker): smaller arrows; take the left margin in
12542         account; draw also vfills.
12543         (paintFirstRow):
12544         (paintLastRow): remove special code for vfill and standard spaces,
12545         since everything is handled in drawLengthMarker now.
12546
12547 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * buffer.C (insertErtContents): try to handle font and language
12550         interaction a bit better.g
12551
12552         * ColorHandler.C (updateColor): change the hash to cover the whole
12553         LColor enum, ws cleanup
12554         (getGCLinepars): ditto
12555         (getGCLinepars): only lookup in the linecache once.
12556
12557 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12558
12559         * iterators.C (operator++): Make the iterator more robust
12560
12561         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12562         (John's patch)
12563         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12564
12565 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12566
12567         * lyxtext.h:
12568         * text.C: better added space drawing
12569
12570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * LyXView.C:
12573         * BufferView2.C: fix layout combo update on inset unlock
12574
12575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * Makefile.am: don't compile unused files
12578
12579 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12580
12581         * lyxfunc.C:
12582         * commandtags.h:
12583         * LyXAction.C: remove old LFUN_LAYOUTNO
12584
12585 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * paragraph_pimpl.h:
12588         * paragraph_pimpl.C: isTextAt() doesn't need font param
12589
12590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * lyxlex.h:
12593         * lyxlex.C: little cleanup
12594
12595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView_pimpl.C: fix insertAscii for insets
12598
12599 2001-12-05  Juergen Vigna  <jug@sad.it>
12600
12601         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12602         set the right font on the "multi" paragraph paste!
12603
12604 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * trans_decl.h:
12607         * trans_mgr.[Ch]:
12608         * trans.[Ch]:
12609         * lyxgluelength.C:
12610         * lyxlength.C: remove out-commented code.
12611
12612         * BufferView_pimpl:
12613         * CutAndPaste.C:
12614         * DepTable.C:
12615         * buffer.C:
12616         * chset.C:
12617         * lastfiles.C:
12618         * lyxlex.C:
12619         * lyxlex_pimpl.C:
12620         * lyxserver.C:
12621         * screen.C:
12622         * tabular-old.C:
12623         * tabular.C:
12624         * text.C:
12625         * trans_mgr.C:
12626         * vc-backend.C: change "while(" to "while ("
12627
12628         * lyxlength.[Ch]: add zero function to check if length is zero or
12629         not
12630         * lyxgluelength.C: use it
12631
12632 2001-12-05  Allan Rae  <rae@lyx.org>
12633
12634         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12635         Works for 2.95.3, from what I understand of Garst's reports this should
12636         work for other g++ versions.  We're screwed if the abs(int) definition
12637         changed between bugfix releases of gcc.
12638
12639 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * text.C: fix chapter label offset !
12642
12643 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12644
12645         * lyxtext.h:
12646         * text.C: fix hfill at end of line, clean up
12647
12648 2001-12-04  Juergen Vigna  <jug@sad.it>
12649
12650         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12651         that we force an update of the inset and it's owners if neccessary.
12652
12653 2001-12-03  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (rowLast): simplified code
12656
12657 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * lyxfunc.C: fix show options on timeout
12660
12661 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * screen.C (topCursorVisible): scroll half a page when the cursor
12664         reached top of bottom of screen
12665
12666 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12667
12668         * minibuffer.C: deactivate on loss of focus
12669
12670 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * vspace.[Ch] (operator!=): add operator.
12673
12674 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * BufferView_pimpl.C: refuse to open an inset when
12677         there's a selection.
12678
12679 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * BufferView_pimpl.C: allow to click on RHS of full row insets
12682
12683 2001-11-30  Juergen Vigna  <jug@sad.it>
12684
12685         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12686         insets for undo reasons.
12687
12688 2001-11-28  André Pönitz <poenitz@gmx.net>
12689
12690         * vspace.[Ch]: cosmetical changes
12691
12692 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * LyXAction.h:
12695         * LyXAction.C:
12696         * lyxfunc.h:
12697         * lyxfunc.C:
12698         * kbmap.h:
12699         * kbmap.C:
12700         * lyxrc.C:
12701         * kbsequence.h:
12702         * kbsequence.C: part re-write of old kb code
12703
12704         * Painter.C:
12705         * WorkArea.C: remove Lgb_bug_find_hack
12706
12707 2001-11-30  José Matos <jamatos@fep.up.pt>
12708
12709         * buffer.C (makeDocBookFile): add a comment to point a hack.
12710         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12711         Fixed a double write of labels.
12712
12713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12714
12715         * LaTeX.C:
12716         * LaTeX.h Fixed bug in LaTeX class where it would not
12717         re-run latex if no depfiles were changed, but the .dvi was removed.
12718
12719 2001-11-28  André Pönitz <poenitz@gmx.net>
12720
12721         * all the files from the change on 2001/11/26:
12722         use lyx::layout_type instead of LyXTextClass::size_type
12723         use lyx::textclass_type instead of LyXTextClassList::size_type
12724
12725 2001-11-29  Juergen Vigna  <jug@sad.it>
12726
12727         * text.C: added support for paragraph::isFreeSpacing()
12728
12729         * buffer.C: same as above
12730
12731         * paragraph.h: inserted isFreeSpacing() function to enable
12732         FreeSpacing inside InsetERT.
12733
12734         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12735         of the paragraph's in the cut/copy buffer to 0!
12736
12737         * text2.C (removeRow): remove the assert as it can!
12738
12739         * lyxtext.h: added helper function firstRow returning firstrow and
12740         made firstrow private again.
12741
12742         * BufferView2.C (lockInset): don't relock if we're already locked!
12743
12744         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12745         the only paragraph.
12746         (removeRow): added Assert::(firstrow)
12747
12748         * debug.C: forgot to add INSETTEXT here.
12749
12750 2001-11-28  Juergen Vigna  <jug@sad.it>
12751
12752         * sp_spell.C (initialize): changed error text to more general
12753         spellchecker command use (not only ispell!)
12754
12755         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12756
12757         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12758
12759 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * vspace.C: initialise lyxgluelength on failure
12762
12763 2001-11-28  Allan Rae  <rae@lyx.org>
12764
12765         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12766         declaration & definition that looks like a function declaration.
12767
12768 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12769
12770         * BufferView2.C (copy):
12771         (copyEnvironment): do not clear the selection when doing a copy.
12772
12773         * text.C (paintFirstRow): compilation fix
12774
12775 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12776
12777         * tabular.C (Latex): correct line count when writing latex.
12778
12779 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12780
12781         * paragraph_pimpl.h:
12782         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12783           bug a bit
12784
12785 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * text.C:
12788         * LColor.h:
12789         * LColor.C: change vfillline->added_space
12790
12791         * text.C: add markers and text for added space
12792
12793         * vspace.C: fix comment
12794
12795 2001-11-28  André Pönitz <poenitz@gmx.net>
12796
12797         * paragraph.C: whitespace changes
12798         * all the other files from the change on 2001/11/26:
12799         change *::pos_type into lyx::pos_type
12800
12801 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12802
12803         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12804         language of the document when inserting error insets.
12805
12806 2001-11-26  André Pönitz <poenitz@gmx.net>
12807
12808         * BufferView_pimpl.[Ch]:
12809         *       CutAndPaste.C:
12810         * buffer.[Ch]:
12811         * lyxcursor.[Ch]:
12812         * lyxfind.C:
12813         * lyxfunc.C:
12814         * lyxrow.[Ch]:
12815         * paragraph.[Ch]:
12816         * paragraph_pimpl.[Ch]:
12817         * sp_spell.C:
12818         * text.C:
12819         * text2.C: reduce header dependencies, introduce type for positions
12820
12821 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * <various>: change to use Alert.h
12824
12825 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12826
12827         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12828         when encountering an unknown token.
12829         (readLyXformat2): Show an error message if there were unknown tokens.
12830
12831 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12832
12833         * BufferView2.C:
12834         * BufferView_pimpl.C:
12835         * buffer.C:
12836         * paragraph.h:
12837         * text.C:
12838         * text2.C: use par->isInset()
12839
12840 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * paragraph_pimpl.h:
12843         * paragraph_pimpl.C: cleanup
12844
12845 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12846
12847         * text2.C (removeRow):
12848         * text.C (setHeightOfRow): remove useless (and costly) call to
12849         getRow.
12850
12851 2001-11-20  Allan Rae  <rae@lyx.org>
12852
12853         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12854         Now need Inset*::checkInsertChar() to return true for appropriate
12855         cases so that the characters in the minibuffer will actually be
12856         inserted.
12857
12858 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * text.C: change the order of the includes.
12861         (workWidth): initialize it at once.
12862         (workWidth): make maxw unsigned
12863         (setHeightOfRow): remove unused variable (inset)
12864         (selectSelectedWord): remove unused variable (inset)
12865         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12866
12867 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12868
12869         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12870         server is not running.
12871         (openConnection):
12872         (closeConnection): add debug info when server is disabled.
12873
12874         * ColorHandler.C (getGCForeground): send debug message to GUI
12875         channel.
12876
12877         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12878
12879         * kbmap.C (bind): modify because return conventions of
12880         kb_sequence::parse have changed.
12881
12882         * kbsequence.C (parse): only ignore spaces and not any stupid
12883         control character. This avoids tests like s[i] <= ' ', which are
12884         guaranteed to fail with 8bit characters and signed chars.
12885         Change return code to string::npos when there have been no error
12886         (0 was a bad idea when error is at first character)
12887
12888 2001-11-14  José Matos  <jamatos@fep.up.pt>
12889
12890         * buffer.h:
12891         * buffer.C (simpleDocBookOnePar): removed unused argument.
12892
12893 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12894
12895         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12896         insets which are part of a word. Paragraph::isLetter takes care of
12897         that now. Use Paragraph::isInset to identify insets.
12898         (selectSelectedWord): do not test for hyphenation break.
12899
12900         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12901         that protected spaces are considered as spaces.
12902
12903         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12904         Inset::isLetter.
12905
12906 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * lyxserver.h:
12909         * lyxserver.C: fix it. and small cleanup.
12910
12911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * BufferView_pimpl.C: use inline helpers
12914
12915         * LaTeXFeatures.h:
12916         * LaTeXFeatures.C: fix typos
12917
12918         * Spacing.h:
12919         * Spacing.C: move spacing_string into class
12920
12921         * ToolbarDefaults.C: move stuff into namespace anon
12922
12923         * layout.h: update enum
12924
12925         * lyxfunc.C: use better debug
12926
12927         * minibuffer.h: fix typo
12928
12929         * debug.h:
12930         * debug.C:
12931         * WorkArea.C: add and use Debug::WORKAREA
12932
12933         * lyxtext.h:
12934         * text.C:
12935         * text2.C: code re-organisation, inline helpers
12936
12937 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12938
12939         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12940         std::vector.empty().
12941
12942 2001-11-09  Allan Rae  <rae@lyx.org>
12943
12944         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12945         '\n's after tables.  Tabular and ERT inset work now makes this no
12946         longer necessary.
12947
12948 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * minibuffer.h:
12951         * minibuffer.C: fix crash, improve drop-down completion
12952
12953 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * lyxserver.h:
12956         * lyxserver.C: invalidate fd's when doing endPipe()
12957
12958 2001-11-08  José Matos  <jamatos@fep.up.pt>
12959
12960         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12961         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12962
12963         * paragraph.h:
12964         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12965
12966 2001-11-07  José Matos  <jamatos@fep.up.pt>
12967
12968         * buffer.h:
12969         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12970         const qualifier.
12971
12972         * buffer.C (sgmlOpenTag):
12973         * buffer.C (sgmlCloseTag): removed debug info.
12974
12975         * buffer.h (sgmlOpenTag):
12976         * buffer.h (sgmlCloseTag): made public.
12977
12978 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * buffer.C (saveParamsAsDefaults):
12981         * lyx_cb.C (MenuLayoutSave): remove
12982
12983         * LyXAction.C (init):
12984         * commandtags.h:
12985         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12986
12987 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12988
12989         * buffer.C (setPaperStuff): removed from here...
12990
12991         * bufferparams.C (setPaperStuff): ... and moved there.
12992
12993 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * minibuffer.h:
12996         * minibuffer.C:
12997         * XFormsView.C: add support for drop-down completion
12998
12999 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13000
13001         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13002         commands.
13003
13004 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13005
13006         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13007         disabled.
13008
13009 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * lyx_main.C: change ref to known bugs
13012
13013 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13014
13015         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13016         to work around older babel problems.
13017
13018 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13019
13020         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13021
13022 2001-10-24  Juergen Vigna  <jug@sad.it>
13023
13024         * tabular-old.C (ReadOld): below variable changes reflected.
13025
13026         * tabular.[Ch]: added ltType struct for longtable header/footer
13027         defines and changed all instances where they are used. Added
13028         future support for double top/bottom rows.
13029
13030 2001-10-24  José Matos  <jamatos@fep.up.pt>
13031
13032         * buffer.h (docbookHandleCaption):
13033         * buffer.C (docbookHandleCaption): removed unused function.
13034         (makeDocBookFile): moved docbook supported version to v4.1.
13035
13036 2001-10-24  José Matos  <jamatos@fep.up.pt>
13037
13038         * tabular.h:
13039         * tabular.C (docbookRow): new function to export docbook code of a row.
13040         (DocBook): now honors the longtable flags.
13041
13042 2001-10-23  José Matos  <jamatos@fep.up.pt>
13043
13044         * LaTeXFeatures.h:
13045         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13046         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13047
13048         * buffer.C (makeLinuxDocFile):
13049         (makeDocBookFile): reworked the preamble, more clean, and with
13050         support for lyx defined entities. Changed the document declaration
13051         to be more XML friendly.
13052
13053         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13054         if we need to output XML that should be done with a filter.
13055
13056 2001-10-22  Juergen Vigna  <jug@sad.it>
13057
13058         * sp_pspell.h (class PSpell): add alive function needed in the
13059         controller to see if the spellchecker could be started.
13060
13061 2001-10-22  Juergen Vigna  <jug@sad.it>
13062
13063         * buffer.C (insertStringAsLines): modify the font for inserting
13064         chars in certain conditions by calling checkInsertChar(font).
13065
13066 2001-10-19  Juergen Vigna  <jug@sad.it>
13067
13068         * text.C (workWidth): use getRow instead of wrong algorithm.
13069         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13070
13071 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13072
13073         * lyxserver.h:
13074         * lyxserver.C:
13075         * lyx_main.h:
13076         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13077
13078 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13079
13080         * text.C (workWidth): do not search for the exact row when
13081         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13082         optimization for big documents.
13083
13084 2001-10-18  Juergen Vigna  <jug@sad.it>
13085
13086         * text.C (workWidth): new function with added Inset * parameter.
13087
13088 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13091
13092         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13093         change return type of getColumnNearX.
13094
13095
13096         * text.C (changeRegionCase): use uppercase/lowercase instead of
13097         toupper/tolower.
13098         (leftMargin):
13099         (rightMargin): simplify code by factoring out the uses of
13100         textclasslist.
13101         (labelFill):
13102         (numberOfHfills):
13103         (setHeightOfRow):
13104         (appendParagraph): use Paragraph::size_type
13105
13106 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * vspace.C (asLatexString): add a missing break
13109
13110 2001-10-15  Herbert Voss  <voss@perce.de>
13111
13112         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13113
13114 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13117         is not available.
13118
13119 2001-10-10  André Pönitz <poenitz@gmx.net>
13120
13121         * lyxfunc.C: removed greek_kb_flag.
13122
13123 2001-10-10  Herbert Voss  <voss@perce.de>
13124
13125         * lyx_main.C: delete global string help_lyxdir.
13126
13127 2001-10-09  Herbert Voss  <voss@perce.de>
13128
13129         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13130
13131         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13132
13133         * lyx_main.C: added global string help_lyxdir.
13134
13135         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13136
13137 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13138
13139         * lyxrc.C (set_font_norm_type): support iso8859-4
13140
13141 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13142
13143         * LaTeX.C (deplog): add another regex for MikTeX
13144
13145 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13146
13147         * lyxrc.C (set_font_norm_type): support iso8859-3
13148
13149 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13150
13151         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13152
13153         * LaTeXFeatures.C: remove special case of french and index
13154
13155         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13156         before \begin{document}). This solves several incompatibilities.
13157
13158 2001-10-03  Garst Reese  <reese@isn.net>
13159
13160         * lyx_cb.C: change CheckTex error msg.
13161
13162 2001-10-03  José Matos  <jamatos@fep.up.pt>
13163
13164         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13165
13166 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13167
13168         * .cvsignore: update
13169
13170         * lyx_main.C (commandLineVersionInfo): use new style version info.
13171
13172         * buffer.C (writeFile):
13173         (makeLaTeXFile):
13174         (makeLinuxDocFile):
13175         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13176
13177         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13178
13179         * version.h: update to use stuff in version.C
13180
13181         * version.C.in: new file. Contains version information determined
13182         at compile time. This is a merging of version.h and
13183         version_info.h.in.
13184
13185 2001-10-03  Juergen Vigna  <jug@sad.it>
13186
13187         * BufferView_pimpl.C (update): don't change "dirty" status in
13188         updateInset call.
13189
13190 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13191
13192         * WorkArea.C (c-tor): re-position version string slightly.
13193
13194 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13195
13196         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13197         revert to previous code.
13198
13199         WorkArea.[Ch]: (show, destroySplash): methods removed.
13200
13201         WorkArea.C: rework code so that it's an amalgam of the codes before and
13202         after the splash screen was moved to WorkArea.
13203
13204 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13205
13206         * lyxrc.C (read):
13207         * vspace.C (inPixels):
13208         (lyx_advance):
13209         * kbmap.C (bind):
13210         * buffer.C (insertStringAsLines):
13211         (asciiParagraph): fix types to be large enough
13212
13213         * lyxlex_pimpl.h: change member status from short to int
13214
13215         * layout.h: fix type of endlabeltype
13216
13217         * kbmap.C (bind):
13218         * kbsequence.C (parse): change return type to string::size_type
13219
13220         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13221         variable
13222
13223         * Bullet.C (bulletSize):
13224         (bulletEntry): do not use short ints as parameters
13225
13226         * BufferView2.C (insertLyXFile): change a char to an int.
13227
13228         * WorkArea.C (WorkArea): remove unneeded floats in computation
13229
13230 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13231
13232         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13233
13234         * paragraph.C (asString): Do not ignore newline/hfill chars when
13235         copying to the clipboard.
13236
13237 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13238
13239         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13240         after a multi-line inset.
13241
13242 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13243
13244         * paragraph.C (validate): Set NeedLyXFootnoteCode
13245
13246 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13249         and decrease-error to decrease.
13250
13251 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13254         it more readable (should be equivalent)
13255
13256 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13257
13258         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13259
13260 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13263         of a cursor (row, etc.) after a character has been deleted
13264         (deleteEmptyParagraphMechanism): call the method above on _all_
13265         cursors held by the LyXText when a double space has been
13266         detected/deleted.
13267
13268 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13271         pixmap.
13272         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13273
13274         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13275         background. Use greyOut() and the new show() methods to toggle between
13276         the foreground and background. Add code to remove the splash after
13277         its initial showing.
13278
13279         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13280         (create_forms): no longer call Dialogs::showSplash.
13281
13282 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13283
13284         * .cvsignore: add version_info.h
13285
13286 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13287
13288         * version_info.h.in: new file
13289
13290         * Makefile.am: add version_info.h.in
13291
13292         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13293         version_info.h instead of VERSION_INFO
13294
13295 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13298         The ERT inset now returns string().
13299
13300 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13301
13302         * lyxtext.h, text.C (selectNextWord): renamed as
13303         selectNextWordToSpellcheck.
13304
13305         * text.C (selectNextWordToSpellcheck): Modified to not select
13306         words inside an ERT inset.
13307
13308 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * lyx_cb.C (MenuLayoutSave): change a bit the question
13311
13312         * sp_base.h: include <sys/types.h>
13313
13314 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13315
13316         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13317
13318 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13319
13320         * several files: fix typos in user-visible strings
13321
13322 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * text2.C (pasteSelection): do not set the selection, since it
13325         will be cleared later. Actually, the intent was to fix the way the
13326         selection was set, but I figured rmoving the code was just as good.
13327
13328 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13329
13330         * FontLoader.C (available): Check if font is available without
13331         loading the font.
13332
13333 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13334
13335         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13336
13337 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * lyxrc.[Ch]: added display_graphics variable and associated code.
13340
13341 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * bufferparams.C (hasClassDefaults): new method. Returns true if
13344         the buffer parameters correspond to known class defaults
13345
13346 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13347
13348         * XFormsView.C (show): set minimum size to the main window.
13349
13350 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13351
13352         * text2.C (copySelection):
13353         (cutSelection):
13354         * lyxfind.C (LyXReplace):
13355         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13356         LyXText::selectionAsString.
13357
13358         * paragraph.C (asString): add "label" argument to the second form
13359
13360         * text2.C (selectionAsString): add "label" argument and pass it to
13361         Paragraph::asString.
13362
13363 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13364
13365         * lyx_main.C (commandLineHelp): remove version information
13366
13367 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13368
13369         * lyx_main.C: add -version commandline option
13370
13371 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * paragraph.h: make the optional constructor arg required instead.
13374         some modifications to other files because of this.
13375
13376         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13377
13378         * lyxserver.C (C_LyXComm_callback): make it static
13379
13380         * lyx_main.C (error_handler): make it static
13381
13382         * lyx_gui.C (LyX_XErrHandler): make it static
13383
13384         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13385
13386         * WorkArea.C: make the extern "C" methods static.
13387
13388         * Makefile.am (lyx_LDADD): simplify
13389
13390 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13391
13392         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13393         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13394
13395         * LyXAction.C (init):
13396         * lyxfunc.C (dispatch): associated code removal.
13397
13398 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * lyxfont.h (isSymbolFont): shut off warning
13401
13402         * text.C (setHeightOfRow):
13403         (getVisibleRow): fix crash with empty paragraphs which have a
13404         bottom line
13405
13406 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13407
13408         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13409         code.
13410
13411 2001-09-04  José Matos  <jamatos@fep.up.pt>
13412         * buffer.C
13413         * buffer.h
13414         * tabular.C (docbook): rename docBook method to docbook.
13415
13416 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13417
13418         * Makefile.am: add dependencies to main.o.
13419
13420 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13421
13422         * FontLoader.C (available): Return false if !lyxrc.use_gui
13423
13424 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13425
13426         * FontInfo.C (query):
13427         * converter.C (view):
13428         * importer.C (Import):
13429         * exporter.C (Export): Can not -> cannot.
13430
13431 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * BufferView_pimpl.C: allow to create index inset even if
13434           string is empty
13435
13436 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13437
13438         * buffer.C (getLists): replace boost::tie code with an explicit pair
13439         as boost::tie can break some compilers.
13440
13441         * iterators.h: Added a std:: declaration to the return type of
13442         ParIterator::size.
13443
13444 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13447           case.
13448
13449 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13450
13451         * iterators.[Ch]: New files. Provide paragraph iterators.
13452
13453         * buffer.C (changeLanguage): Use paragraph iterators.
13454         (isMultiLingual): ditto
13455
13456         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13457
13458 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13459
13460         * FontLoader.C: Support for cmr font.
13461
13462 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13463
13464         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13465         (available): New method.
13466
13467         * FontInfo.C (getFontname): Use scalable fonts even when
13468         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13469         found.
13470
13471 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * converter.C (Formats::view): reverted! Incorrect fix.
13474
13475 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13476
13477         * converter.C (Formats::view): only output the -paper option
13478         if the dvi viewer is xdvi, thereby fixing bug #233429.
13479
13480 2001-08-23  Herbert Voss  <voss@perce>
13481
13482         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13483
13484 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13485
13486         * Spacing.h (Spacing): Set space to Default on in the default
13487         constructor.
13488
13489 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13490
13491         * vc-backend.h (RCS::versionString): add RCS to version
13492         (CVS::versionString): add CVS to version
13493
13494         * vc-backend.C (scanMaster): do not add CVS to version.
13495         (scanMaster): do not add RCS to version
13496
13497         * lyxvc.C (versionString): new method
13498
13499         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13500
13501 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13502
13503         * Spacing.C (set): initialize fval
13504
13505 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13508         " or \.
13509
13510 2001-08-16  Juergen Vigna  <jug@sad.it>
13511
13512         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13513
13514 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * BufferView_pimpl.C:
13517         * figureForm.C:
13518         * lyxtext.h:
13519         * text2.C: setParagraph takes linespacing now
13520
13521 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * LyxAction.C: add internal LFUN_CITATION_INSERT
13524
13525         * LyXView.C: actually apply fix
13526
13527         * bufferlist.C: fix open non-existent file
13528
13529         * lyxfind.C: fix indentation
13530
13531         * lyxfunc.C: remove unneeded assert, fix typo
13532
13533 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13534
13535         * MenuBackend.C: use "Floatname List"
13536
13537 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13540         when converting LaTeX layout to insetERT.
13541         Generate a non-collapsed float when reading old float
13542
13543 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13544
13545         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13546         ERT insets.
13547
13548 2001-08-13  Juergen Vigna  <jug@sad.it>
13549
13550         * text.C (fill): return 0 instead of 20 as this seems to be the more
13551         correct value.
13552
13553 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13554
13555         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13556         lyxrc.font_norm.
13557
13558 2001-08-13  Juergen Vigna  <jug@sad.it>
13559
13560         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13561         casesensitive off.
13562         (SearchBackward): comment out the unlocking of the inset_owner this
13563         should not be needed!
13564
13565 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13566
13567         * Many files: Remove inherit_language, and add latex_language
13568
13569         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13570         collapsible insets.
13571
13572 2001-08-10  Juergen Vigna  <jug@sad.it>
13573
13574         * text.C (prepareToPrint): fixed hfill-width in draw!
13575
13576         * BufferView2.C (selectLastWord): save the selection cursor as this
13577         now is cleared in the function LyXText::clearSelection!
13578
13579 2001-08-08  Juergen Vigna  <jug@sad.it>
13580
13581         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13582         BACKSPACE type functions.
13583
13584         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13585         is only cutted from the document but not put in the cut-buffer, where
13586         still the old stuff should be.
13587
13588         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13589
13590         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13591
13592         * tabular.C (SetWidthOfCell): fixed special case where the width
13593         was not updated!
13594         (LeftLine): handle '|' in align_special.
13595         (RightLine): ditto
13596         (LeftAlreadyDrawed): ditto
13597         (SetWidthOfCell): ditto
13598
13599 2001-08-07  Juergen Vigna  <jug@sad.it>
13600
13601         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13602
13603 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13606         * lyxlex.[hC]: ditto
13607
13608 2001-08-06  Juergen Vigna  <jug@sad.it>
13609
13610         * text.C (getVisibleRow): fix up row clearing a bit.
13611
13612 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * minibuffer.C: make sure the X server sees the changes in the input.
13615
13616 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * paragraph.C (getFont): split into...
13619         (getLabelFont): this
13620         (getLayoutFont): and this
13621         * paragraph_pimpl.C (realizeFont): calling this
13622
13623         * text2.C (getFont): split into...
13624         (getLayoutFont): this
13625         (getLabelFont): and this
13626         (realizeFont): all three calling this
13627
13628         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13629         files where used.
13630
13631 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13632
13633         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13634
13635 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13636
13637         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13638         layouts from the Quote inset insertion.
13639
13640 2001-08-03  Juergen Vigna  <jug@sad.it>
13641
13642         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13643
13644         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13645         only if status not is already CHANGED_IN_DRAW (second level).
13646
13647         * text.C (draw): don't set the need_break_row when inside an
13648         InsetText LyXText.
13649
13650 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13651
13652         * buffer.C (parseSingleLyXformat2Token): handle more latex
13653         conversion cases.
13654
13655         * bufferview_funcs.[hC]: change function names to
13656         begin with small char, adjust other files.
13657
13658 2001-08-02  André Pönitz <poenitz@gmx.net>
13659
13660         * lyxfunc.C:
13661         BufferView_pimpl.C: remove broken special code for math-greek
13662
13663 2001-08-02  Juergen Vigna  <jug@sad.it>
13664
13665         * BufferView_pimpl.C (update): redone this function so that we
13666         update the text again if there was a CHANGE_IN_DRAW.
13667
13668         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13669         (drawFromTo): added a new internal bool which is used by draw() and
13670         redraw() function.
13671         (general): some cursor drawing problems fixed.
13672
13673 2001-08-01  Juergen Vigna  <jug@sad.it>
13674
13675         * lyxfind.C (LyXFind): fixed
13676         (SearchForward): ditto
13677         (SearchBackward): ditto
13678
13679         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13680         spurius drawing of the cursor in the main area.
13681
13682         * text2.C (status): small fix which could lead to a segfault!
13683         (clearSelection): remove unneeded BufferView param.
13684
13685 2001-08-01  André Pönitz <poenitz@gmx.net>
13686
13687         * lyxfunc.C: small change due to changed mathed interface
13688
13689 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13692
13693 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * lyxfunc.c: fail gracefully if file doesn't exist
13696
13697         * LyXSendto.C:
13698         * buffer.C:
13699         * lyxfunc.C:
13700         * BufferView_pimpl.C: IsDirWriteable() proto changed
13701
13702         * LyXView.C: fix updateWindowTitle() to store the last title
13703
13704 2001-07-31  Juergen Vigna  <jug@sad.it>
13705
13706         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13707         the font (wrong since using of Paragraph::highestFontInRange).
13708
13709         * paragraph.C (highestFontInRange): added a default_size parameter.
13710
13711         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13712         (setHeightOfRow): reformat
13713
13714 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * converter.[hC] + affected files: move to (inital-char)lowercase
13717         function names.
13718
13719         * ParagraphParameters.C (ParagraphParameters): remove commented code
13720
13721         * PainterBase.[Ch]: remove commented code
13722
13723         * LaTeXFeatures.h: add "bool floats" for float.sty
13724
13725         * LaTeXFeatures.C (LaTeXFeatures): init floats
13726         (require): handle float
13727         (getPackages): do it with floats
13728
13729 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * BufferView_pimpl.C (Dispatch): improve handling of
13732         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13733
13734         * commandtags.h: #include lyxfont.h here temporarily to avoid
13735         keybinding bug.
13736
13737         * bufferlist.h: include LString.h here.
13738
13739 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * text2.C (getStringToIndex): new method.
13742
13743 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13744
13745         * *: Reduced header file dependencies all over.
13746
13747 2001-07-30  Baruch Even  <baruch@lyx.org>
13748
13749         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13750
13751 2001-07-29  Baruch Even  <baruch@lyx.org>
13752
13753         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13754
13755 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * ParameterStruct.h (endif): add a default constructor to make
13758         sure that all variables is initialized.
13759
13760         * ParagraphParameters.C (ParagraphParameters): adjust
13761
13762 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13763
13764         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13765         index; also, check that there is something to index, and that it
13766         does not span over several paragraphs.
13767         (doubleClick): use WHOLE_WORD_STRICT for double click.
13768
13769         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13770
13771         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13772         scheme.
13773
13774 2001-07-26  Baruch Even  <baruch@lyx.org>
13775
13776         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13777         an InsetFig figure, backwards compatible reading of old figure code.
13778
13779 2001-07-27  Juergen Vigna  <jug@sad.it>
13780
13781         * text2.C: font.realize function adaption.
13782
13783         * text.C (draw): add a warnings lyxerr text if needed.
13784
13785         * layout.C: font.realize function adaption.
13786
13787         * language.C: add inherit_language and implement it's handlings
13788
13789         * bufferview_funcs.C (StyleReset): remove language parameter from
13790         font creation (should be language_inherit now).
13791
13792         * bufferparams.C (writeFile): handle ignore_language.
13793
13794         * paragraph.C (getFontSettings): the language has to be resolved
13795         otherwise we have problems in LyXFont!
13796
13797         * lyxfont.C (lyxWriteChanges): added document_language parameter
13798         (update): removed unneeded language parameter
13799
13800         * paragraph.C (validate): fixed wrong output of color-package when
13801         using interface colors for certain fonts in certain environments,
13802         which should not seen as that on the final output.
13803
13804 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * BufferView_pimpl.C:
13807         * Thesaurus.h:
13808         * Thesaurus.C:
13809         * Makefile.am:
13810         * commandtags.h:
13811         * LyXAction.C: add thesaurus support
13812
13813         * lyxfind.h:
13814         * lyxfind.C: add "once" parameter, for thesaurus, to not
13815           move to the next match
13816
13817 2001-07-26  Juergen Vigna  <jug@sad.it>
13818
13819         * lyxfont.C (realize): honor ignore_language too!
13820         (resolved): ditto.
13821
13822         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13823
13824         * text.C (draw): one place more for ignore_language to not draw
13825         itself!
13826
13827 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13828
13829         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13830
13831 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13834         the minipage conversion problem.
13835
13836 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13839         insert an inset.
13840
13841 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * BufferView.h: don't forward declare WorkArea
13844
13845         * BufferView.C: don't include WorkArea.h
13846
13847 2001-07-25  André Pönitz <poenitz@gmx.net>
13848
13849         * commandtags.h:
13850         * LyXAction.C:
13851         * lyxfunc.C:  new LFUN 'math-space'
13852
13853         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13854
13855 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * text2.C (toggleInset): call open/close
13858
13859 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * lyxfunc.C (dispatch): add debug for the disabled case
13862
13863         * font.C (buttonText): make similar to rectText
13864
13865         * buffer.C (readInset): comment out parsing of insetlist and
13866         insttheorem
13867
13868         * PainterBase.C (rectText): small correction
13869
13870         * BufferView_pimpl.C: comment out insettheorem and insetlist
13871         * LyXAction.C: ditto
13872         * commandtags.h: ditto
13873
13874 2001-07-24  Juergen Vigna  <jug@sad.it>
13875
13876         * text.C (draw): honor the ignore_language.
13877
13878         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13879
13880 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13883         char inset.
13884
13885 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13886
13887         * lyxtext.h: remove unused (and unimplemented) methods
13888
13889 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13890
13891         * text.C (getVisibleRow): honor background color
13892
13893         * PainterBase.h:
13894         * Painter.h: remove default color argument for fillRectangle
13895
13896         * text.C (backgroundColor): new method
13897
13898 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13899
13900         * text.C (getVisibleRow): adjust
13901
13902         * font.[Ch] (rectText): new method, metrics
13903         (buttonText): new method, metrics
13904
13905         * PainterBase.[hC]: make rectText and buttonText always draw and take
13906         fewer paramteres.
13907
13908 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13909
13910         * ToolbarDefaults.C (read):
13911         * MenuBackend.C (read): allow escaping in all strings
13912
13913         * BufferView_pimpl.C (insertAndEditInset): new method.
13914         (Dispatch): use insertAndEditInset whenever appropriate.
13915
13916         * BufferView_pimpl.C (insertNote): removed
13917
13918         * BufferView_pimpl.C (smartQuote): new method, moved from
13919         BufferView; if an insetquote cannot be inserted, insert a '"'
13920         character instead.
13921
13922         * BufferView2.C: remove insertCorrectQuote();
13923
13924         * lyxfunc.C (getStatus): Add support for all remaingin
13925         inset-insert lfuns.
13926
13927         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13928
13929         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13930         command (necessary to pass " as parameter of self-insert.
13931
13932         * text.C (selectWordWhenUnderCursor):
13933         (selectWord): add word_location parameter
13934         (selectWordWhenUnderCursor): same + remove special code for word
13935         boundary.
13936         (selectNextWord): use kind() to guess type of insetspecialchar,
13937         not latex().
13938
13939         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13940         (insertErtContents): create ert insets as collapsed.
13941         (readInset): better compatibility code for Info inset.
13942
13943 2001-07-20  Juergen Vigna  <jug@sad.it>
13944
13945         * lyxfunc.C (dispatch): use always LyXFind now!
13946
13947         * text2.C (init): add a reinit flag so that the LyXText can be
13948         reinited instead of deleted and reallocated (used in InsetText).
13949
13950         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13951
13952         * text.C: ditto
13953
13954         * text2.C: ditto
13955
13956 2001-07-18  Juergen Vigna  <jug@sad.it>
13957
13958         * text.C (selectNextWord): handle insets inside inset by calling
13959         always the bv->text functions so that we can go up the_locking_inset!
13960
13961         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13962         in strange locations when inside an inset!
13963
13964         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13965         handling to include insets.
13966
13967         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13968
13969 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13970
13971         * LyXAction.C (init):
13972         * commandtags.h:
13973         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13974         LIGATURE_BREAK, since the name is so stupid.
13975
13976 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13977
13978         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13979         InsetInfos.
13980
13981         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13982
13983         * sp_form.[Ch]: remove.
13984
13985         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13986
13987         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13988         InsetInfo.
13989
13990         * src/buffer.C (readInset): ditto.
13991
13992 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13993
13994         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13995         menuSeparator(), endOfSentenceDot(), ldots() and
13996         hyphenationPoint(), which are therefore removed.
13997         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13998
13999         * LyXAction.C (init):
14000         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14001
14002         * paragraph.C (getWord): removed.
14003
14004         * BufferView_pimpl.C (Dispatch): use last word or selection for
14005         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14006
14007         * lyx_main.C (queryUserLyXDir): do not ask before creating
14008         user_dir, except if it has been named explicitely.
14009
14010 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14013         a document of zero size.
14014
14015 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14016
14017         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14018         approriately in the c-tor and in require().
14019         (getPackages): output the appropriate LaTeX for natbib support.
14020
14021         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14022         variables "use_natbib" and "use_numerical_citations" when reading the
14023         LyX file.
14024         (readInset): read the various natbib cite commands.
14025         (validate): white-space change.
14026
14027         * bufferparams.[Ch]: new variables "bool use_natbib" and
14028         "bool use_numerical_citations".
14029         (writeFile): output them in the LyX file.
14030
14031 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14032
14033         * lyxfunc.C (getStatus): add support for all the inset insertion
14034         commands.
14035
14036         * text2.C (insertInset):
14037         * paragraph.C (insetAllowed):
14038         * BufferView_pimpl.C (insertInset): update to take in account the
14039         renaming of insertInsetAllowed
14040
14041         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14042
14043         * text2.C (getInset): new method. returns inset at cursor position.
14044
14045         * BufferView_pimpl.C (Dispatch): changes because of this.
14046
14047         * LyXAction.C (init): rename open-stuff to inset-toggle.
14048
14049         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14050
14051         * text2.C (toggleInset): renamed from openStuff; use
14052         Inset::open().
14053
14054 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14055
14056         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14057
14058         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14059
14060 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * buffer.C (readLyXformat2): Add filename to the error dialog
14063
14064 2001-07-18  Juergen Vigna  <jug@sad.it>
14065
14066         * tabular.C (GetCellNumber): put an assert here instead of the check!
14067
14068 2001-07-17  Juergen Vigna  <jug@sad.it>
14069
14070         * BufferView_pimpl.C (toggleSelection): adapted too.
14071
14072         * text.C (selectNextWord): adapted for use with insets.
14073         (selectSelectedWord): ditto
14074
14075 2001-07-17  Juergen Vigna  <jug@sad.it>
14076
14077         * sp_spell.C (PSpell): fix initialitation order.
14078
14079 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14080
14081         * paragraph.C: spacing
14082
14083 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14084
14085         * sp_spell.C: repair language selection for pspell
14086
14087 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14088
14089         * lyxfunc.h: change more methods to begin with lower char.
14090
14091 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14094         for unknown layouts.
14095
14096 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14097
14098         * buffer.C (readLyXformat2): Generate an error dialog if there are
14099         unknown layouts.
14100
14101 2001-07-16  Juergen Vigna  <jug@sad.it>
14102
14103         * sp_spell.C: always compile ISpell part.
14104
14105         * lyxrc.C: added use_pspell entry and it's handling.
14106
14107 2001-07-13  Juergen Vigna  <jug@sad.it>
14108
14109         * sp_spell.C: removed double includes.
14110
14111 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14112
14113         Consistent use of Lsstream.h:
14114         * Lsstream.h: added using std::stringstream for consistencies sake.
14115
14116         * buffer.C: removed using std::stringstream
14117
14118         * lyxfont.C (stateText):
14119         * paragraph.C (asString):
14120         * text.C (selectNextWord, selectSelectedWord):
14121         * text2.C (setCounter):
14122         * vspace.C (asString, asLatexString):
14123         std::ostringstream -> ostringstream.
14124
14125 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14126
14127         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14128         * commandtags.h: add LFUN_HELP_ABOUTLYX
14129         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14130
14131 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14132
14133         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14134         cursorToggle()
14135         * lyx_gui_misc.C: remove spellchecker
14136         * lyxfunc.C: showSpellchecker
14137         * sp_base.h: added
14138         * sp_ispell.h: added
14139         * sp_pspell.h: added
14140         * sp_spell.C: added
14141         * sp_form.[Ch]: removed
14142         * spellchecker.[Ch]: removed
14143
14144 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14145
14146         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14147         is set.
14148         (simpleTeXSpecialChars): Simply print the input character without
14149         any special translation if pass_thru is set.
14150
14151         * layout.h: Added bool pass_thru to layout class for being able to
14152         implement pass through of a paragraph for Literate Programming.
14153
14154         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14155         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14156         * layout.C (Read): add "passthru" to list of layout tags and add
14157         code to set the pass_thru boolean when it is read.
14158
14159 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * trans_decl.h: remove allowed from KmodInfo
14162
14163         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14164         remove allowed code
14165         (Load): adjust
14166
14167         * paragraph_pimpl.C (erase): use boost::prior
14168
14169         * Painter.C (text): use data() instead of c_str() when length is
14170         also provided.
14171         * WorkArea.C (putClipboard): ditto
14172         * font.h (width): ditto
14173
14174         * BufferView2.C: use it-> instead of (*it). for iterators
14175         * texrow.C: ditto
14176         * paragraph_pimpl.C: ditto
14177         * paragraph.C: ditto
14178         * minibuffer.C: ditto
14179         * language.C: ditto
14180         * kbmap.C: ditto
14181         * encoding.C: ditto
14182         * counters.C: ditto
14183         * converter.C: ditto
14184         * chset.C: ditto
14185         * Variables.C: ditto
14186         * TextCache.C: ditto
14187         * MenuBackend.C: ditto
14188         * LyXAction.C: ditto
14189         * LColor.C: ditto
14190         * FloatList.C: ditto
14191         * DepTable.C: ditto
14192         * ColorHandler.C (LyXColorHandler): ditto
14193
14194 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14197
14198         * text2.C (openStuff): reintroduce this method (which had been
14199         nuked in NEW_INSETS frenzy).
14200
14201         * lyxfunc.C (Dispatch): when an action has not been handled, use
14202         its name in the error message, not its number.
14203
14204         * paragraph.C (inInset): change method name to begin with lowercase.
14205
14206         * undo_funcs.C:
14207         * text2.C: updates because of this.
14208
14209 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * ToolbarDefaults.C (add): add spaces in error message
14212
14213 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14216         (readLyXformat2): rename return_par to first_par, use lyxlex's
14217         pushToken and remove the manual push handling.
14218         (parseSingleLyXformat2Token): add another ert comp. variable:
14219         in_tabular, rename return_par to first_par. handle newlines better
14220
14221 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14224
14225 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * text2.C (getParFromID): removed
14228
14229         * buffer.C (getParFromID): new method moved form lyxtext.
14230         * BufferView2.C (insertErrors): adjust
14231         (setCursorFromRow): adjust
14232         * BufferView_pimpl.C (restorePosition): adjust
14233         * lyxfunc.C (Dispatch): adjust
14234         * undo_funcs.C (textUndo): adjust
14235         (textRedo): adjust
14236         (textHandleUndo): adjust
14237         (textHandleUndo): adjust
14238
14239 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * buffer.C: up' the LYX_FORMAT
14242
14243         * lyxfont.h: turn NO_LATEX on as default
14244
14245         * buffer.C (insertErtContents): new methods of tex style compability.
14246         (parseSingleLyXformat2Token): use it several places.
14247         * tabular.C (OldFormatRead): and here
14248
14249 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * text2.C: remove some commented code.
14252         reindent file.
14253
14254         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14255         * trans.C: changes because of the above.
14256
14257 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * text2.C (setCounter): Fix counters bug with bibliography layout.
14260
14261 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14264         own member functions
14265         (simpleTeXSpecialChars): ditto
14266
14267 2001-07-06  Juergen Vigna  <jug@sad.it>
14268
14269         * a lot of files: changed the access to LyXText::status and the
14270         call of undo-functions.
14271
14272         * undo.[Ch]: added a inset_id to the undo informations.
14273
14274         * undo_funcs.[Ch]: added and moved here all undo functions.
14275
14276         * lyxtext.h: give the status enum a weight, made status_ a private
14277         variable and made accessor functions for it, removed the whole bunch
14278         of undo-functions as they are now in their own file, make some
14279         functions publically available. Added function ownerParagraph with
14280         int parameter.
14281
14282         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14283         made InInset() a const function, added getParFromID() function.
14284
14285         * buffer.[Ch]: added const version for inset_iterator functions,
14286         added getInsetFromID() function.
14287
14288         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14289         changed undo functions for new version.
14290
14291 2001-07-05  Juergen Vigna  <jug@sad.it>
14292
14293         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14294         unknow mechanism does not call the proper constructor but only this
14295         one also if I request the other!?
14296
14297 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14298
14299         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14300
14301         * text2.C (LyXText): use initialization lists.
14302
14303         * lyxtext.h (Selection): initialize set_ and mark_
14304         (init): remove method
14305
14306 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14309
14310 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * screen.[Ch]: change method names to begin with lowercase
14313
14314         * BufferView_pimpl.C (updateScrollbar): simplify further and
14315         hopefully make it a bit faster.
14316
14317 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14320         calling directly xforms functions.
14321
14322         * Painter.C (Painter):
14323         * lyx_cb.C (MenuWrite):
14324         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14325         fl_display.
14326
14327         * lyx_gui.C: remove bogus guiruntime extern declaration.
14328
14329 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14330
14331         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14332         in NEW_INSETS
14333         (redoDrawingOfParagraph): ditto
14334         (redoParagraphs): ditto
14335         (cutSelection): don't create a object for CutAndPaste use the
14336         static method directly
14337         (pasteSelection): ditto
14338
14339         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14340         LyXview (+ rename)
14341
14342 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14343
14344         * modifications to some other files because of this.
14345
14346         * Makefile.am (lyx_SOURCES): add XFormsView
14347
14348         * XFormsView.[Ch]: new files
14349
14350         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14351         the main window. Move the gui dependent stuff to XFormsView
14352
14353 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14354
14355         * tabular.C (GetCellInset): update cur_cell also in the row/col
14356         version of this function.
14357
14358         * lyxfunc.C: no need to include figure_form.h here.
14359
14360         * FontLoader.h:
14361         * lyxfunc.h:
14362         * lyxscreen.h:
14363         * text2.C:
14364         * lyxvc.C: no need to include forms.h here.
14365
14366 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14369
14370         * lyxfunc.C (Dispatch):
14371         * Spacing.C (set):
14372         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14373         constructor argument.
14374
14375 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * paragraph.C (Paragraph): dont't clear, and just set layout.
14378         (makeSameLayout): use params's copy contructor.
14379
14380         * ParagraphParameters.[Ch] (makeSame): delete method
14381
14382 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * Variables.[Ch]: fix indentation, rename set to isSet
14385
14386 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * lyxfunc.C (Dispatch): fix typo
14389
14390 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14393         upper_bound.
14394
14395         * bufferlist.C: include assert.h for emergencyWrite().
14396
14397 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14398
14399         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14400           give up at last (bug #425202) !
14401
14402 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * lyx_gui_misc.C:
14405         * sp_form.h:
14406         * sp_form.C:
14407         * spellchecker.h:
14408         * spellchecker.C: strip spellchecker options and bring up
14409           preferences tab instead
14410
14411 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14414         the istringstream constructor
14415
14416 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14417
14418         * paragraph.C (getLayout): fix return value
14419
14420         * paragraph.h: do not declare getLayout as inline.
14421
14422         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14423
14424 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * lyxcursor.h (operator<): new func
14427         (operator>): new func
14428         (operator>=): new func
14429         (operator<=): new func
14430
14431         * text.C (changeCase): use selection.start and selection.end
14432         (changeRegionCase): require from to be <= to. Require par to be a
14433         valid paragraph.
14434
14435         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14436
14437 2001-06-27  Juergen Vigna  <jug@sad.it>
14438
14439         * text.C (cursorLeftOneWord): changed to return the cursor and added
14440         overlay with BufferView * parameter which calls this one.
14441         (getWord): added
14442         (selectWord): use new getWord function.
14443         (changeCase): renamed from changeWordCase as and extended to work
14444         also on selections.
14445
14446         * lyxtext.h: added enum word_location
14447
14448         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14449         changeCase as this operates now also on selections.
14450
14451 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14452
14453         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14454
14455         * many files: send debug output to Debug::INFO instead of
14456         Debug::ANY.
14457
14458         * converter.C (View):
14459         (Convert):
14460         (Move): send debug output to Debug::FILES instead of console.
14461
14462 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14463
14464         * lyxfunc.C (getStatus): use func_status
14465
14466         * func_status.h: new header, describing the results of
14467         LyXFunc::getStatus;
14468
14469         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14470         LFUN_MATH_HALIGN.
14471
14472 2001-06-25  The LyX Project  <jug@sad.it>
14473
14474         * buffer.C (sgmlOpenTag):
14475         (sgmlCloseTag):
14476         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14477
14478 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * text2.C: remove some dead code
14481
14482         * tabular.C (GetCellInset): store the last cell checked (gotten)
14483
14484         * tabular.h: add the helper for the speedup
14485
14486         * lyxtext.h: remove some dead code
14487
14488 2001-06-26  The LyX Project  <Asger>
14489
14490         * paragraph.C: Change export to LaTeX of alignment to
14491         \begin{center} and family for better roundtrip work with reLyX.
14492
14493         * Tune the math drawing a bit.
14494
14495 2001-06-25  The LyX Project  <Asger>
14496
14497         * LColor.C (LColor): New color for math background. New color
14498         for buttons.
14499
14500 2001-06-25  The LyX Project  <jug@sad.it>
14501
14502         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14503
14504         * lyxfunc.C (Open):
14505         * bufferlist.C (newFile): do not restrict to files ending with
14506         .lyx
14507
14508         * BufferView_pimpl.C (MenuInsertLyXFile):
14509
14510 2001-06-24  The LyX Project  <jug@sad.it>
14511
14512         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14513         of compare_no_case
14514
14515 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14516
14517         * lyxtext.h: rename most methods to begin with a small char.
14518         Lots of changes because of this.
14519
14520         * paragraph.C (Paragraph): do not call fitToSize
14521         (erase): call Pimpl::erase
14522         (insertChar): call Pimpl::insertChar
14523         (insertInset): call Pipl::insertInset
14524         (breakParagraph): do not call fitToSize
14525         (breakParagraphConservative): do not call fitToSize
14526         (fitToSize): remove method
14527
14528         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14529
14530 2001-06-24  The LyX Project  <Asger>
14531
14532         * Fix Qt compilation^2
14533
14534 2001-06-24  The LyX Project  <jug@sad.it>
14535
14536         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14537         depthHook(getDepth()-1).
14538
14539         * paragraph.h:
14540         * ParagraphParameters.h:
14541         * ParameterStruct.h: change type of depth to unsigned int ==
14542         depth_type. Many adaptations to other files before of that.
14543
14544 2001-06-24  The LyX Project  <Asger>
14545
14546         * Fix Qt compilation.
14547
14548 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14549
14550         * paragraph.h: renamed several methods to begin with small letter.
14551         several changes to many parts of the code because of this.
14552
14553 2001-06-23  The LyX Project  <jug@sad.it>
14554
14555         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14556         rewritten to discard all double spaces when KeepEmpty is off
14557         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14558         to only handle newlines but not fiddle with spaces and friends.
14559
14560         * lyxfunc.C (MenuNew): when doing 'new from template', use
14561         template_path as default directory
14562
14563 2001-06-23  The LyX Project  <Asger>
14564
14565         * Clean-up of header file includes all over
14566         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14567
14568 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * paragraph.h: renamed from lyxparagraph.h
14571
14572 2001-06-23  Asger  <lyx@violet.home.sad.it>
14573
14574         * Buffer.h: Removed Buffer::resize
14575         * BufferList.h: Removed BufferList::resize
14576         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14577         the document lazily when we change the width, or the font settings.
14578
14579 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14582
14583 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * buffer.h: remove out of date comment
14586
14587 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * lyxscreen.h:
14590         * screen.C: fix "theoretical" GC leak
14591
14592 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * LaTeX.C (scanAuxFile):
14595         (deplog): remove trailing \r when reading stream (useful under
14596         win32)
14597
14598 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14599
14600         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14601         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14602         and BufferView::theLockingInset(Inset*), so should use them and not
14603         access bv_->text->the_locking_inset directly.
14604
14605         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14606
14607 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * Makefile.am:
14610         * tex-defs.h: remove old unused file
14611
14612 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14613
14614         * BufferView_pimpl.C: fix typo, remove minibuffer message
14615           when buffer has loaded
14616
14617 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * lyxfunc.C (Dispatch): use stringstream
14620         (MenuNew): use stringstream
14621         (Open): use stringstream
14622
14623         * importer.C (Import): use stringstream
14624
14625         * bufferview_funcs.C (CurrentState): use stringstream
14626
14627         * LaTeX.C (run): use stringstream
14628
14629         * BufferView_pimpl.C (savePosition): use stringstream
14630         (restorePosition): use stringstream
14631         (MenuInsertLyXFile): use stringstream
14632
14633 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14634
14635         * BufferView.C:
14636         * Bullet.C:
14637         * ColorHandler.C:
14638         * FontInfo.C:
14639         * FontLoader.C:
14640         * LColor.C:
14641         * LaTeXFeatures.C:
14642         * Painter.C:
14643         * gettext.C:
14644         * lyx_gui_misc.C:
14645         * lyxserver.C:
14646         * vspace.C: removed // -*- C++ -*- as first line.
14647
14648         * lyxfind.h:
14649         * version.h: added // -*- C++ -*- as first line.
14650
14651 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14654
14655         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14656         of string
14657
14658 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14661         of floats.
14662
14663 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * gettext.C: include LString.h even when --disable-nls is on.
14666
14667 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14668
14669         * converter.h (Get): changed argument type from int to
14670         FormatList::size_type to avoid unnecessary conversion.
14671
14672         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14673         before using it.
14674
14675 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * gettext.h: include LString.h even when --disable-nls is on.
14678
14679 2001-06-07  Juergen Vigna  <jug@sad.it>
14680
14681         * text.C (BreakAgain): subst spaces with tabs.
14682
14683         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14684         (resizeInsetsLyXText): set force on resizeLyXText.
14685
14686 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * gettext.h (gettext_init):
14689         (locale_init): use a real definition instead of a macro
14690
14691 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14692
14693         * Bufferview_pimpl.C:
14694         * LColor.h:
14695         * LColor.C: further lcolor tidies
14696
14697 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * BufferView_pimpl.C (updateScrollbar): simplify.
14700
14701         * BufferView2.C: don't include insets/insetinfo.h, change
14702         prototype for insertInset and call the Pimpl version. let
14703         updateInset call Pimpl version.
14704
14705         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14706         gotoInset to BufferView::Pimpl
14707
14708 2001-06-01  Juergen Vigna  <jug@sad.it>
14709
14710         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14711         inside a LockingInset (is the update needed at all?).
14712
14713 2001-05-31  Juergen Vigna  <jug@sad.it>
14714
14715         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14716         here not the old one otherwise how should we compare it afterwards
14717         if it's the same!
14718
14719 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * lyxfont.C:
14722         * tabular.C:
14723         * tabular-old.C:
14724         * FontInfo.C: bring C functions into global namespace when
14725         necessary
14726
14727 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * LString.h: make sure config.h has been loaded before LString.h.
14730
14731         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14732         (one for each char read by EatLine!).
14733
14734         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14735         variables.
14736
14737 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14738
14739         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14740         to the same as the par we break from
14741
14742 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14743
14744         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14745
14746         * MenuBackend.C (expand): also create menu entries for wide
14747         versions of the floats.
14748
14749         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14750
14751         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14752
14753         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14754         frontends/Makefile.am
14755
14756         * text2.C: adjust
14757         * text.C: adjust
14758
14759
14760         * tabular.C (getTokenValue): add std::
14761
14762         * tabular-old.C (getTokenValue): add std::
14763         (getTokenValue): ditto
14764         (getTokenValue): ditto
14765
14766         * screen.C (ToggleSelection): adjust
14767
14768         * lyxtext.h: put selection cursors inside a Selection struct.
14769
14770         * lyxfunc.C (moveCursorUpdate): adjust
14771
14772         * lyxfont.C (latexWriteStartChanges): add std::
14773
14774         * lyxfind.C: adjust
14775
14776         * font.h: delete with(char const *, LyXFont const &)
14777
14778         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14779
14780         * FontInfo.C (getFontname): add std::
14781
14782         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14783         (workAreaButtonPress): adjust
14784         (tripleClick): adjust
14785         (update): adjust
14786         (moveCursorUpdate): adjust
14787         (Dispatch): adjust
14788
14789         * BufferView2.C (gotoInset): adjust
14790
14791 2001-05-30  Juergen Vigna  <jug@sad.it>
14792
14793         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14794         to check pspell I add this as default as I now have new pspell
14795         libraries and they seem to use this.
14796
14797 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * text2.C (CutSelection): make the cursor valid before the call to
14800         ClearSelection.
14801
14802 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14805         relied on 0 terminated strings and other horrors. Bug found due to
14806         the new assert in lyxstring!
14807
14808         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14809         KP_ keys.
14810
14811 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14814         to latinkeys.bind.
14815
14816         * lyxfunc.C (processKeySym): change method of getting to the
14817         self-insert char.
14818
14819         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14820         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14821         * BufferView_pimpl.[Ch]: here as private methods.
14822
14823 2001-05-28  Juergen Vigna  <jug@sad.it>
14824
14825         * text.C (SetHeightOfRow): added the update() call again as it is
14826         needed to initialize inset dimensions!
14827
14828 2001-05-16  Juergen Vigna  <jug@sad.it>
14829
14830         * text2.C (SetCharFont): Add new function with BufferView * and
14831         bool toggleall parameters for setting insets internal fonts.
14832         (SetFont): Freeze the undo as we may change fonts in Insets and
14833         all this change should be inside only one Undo!
14834
14835         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14836         setting font's in insets as for them we have the SetFont function!
14837
14838 2001-05-15  Juergen Vigna  <jug@sad.it>
14839
14840         * text2.C (ClearSelection): to be sure we REALLY don't have any
14841         selection anymore!
14842
14843         * tabular.C (TeXCellPreamble): fixed the left border problem for
14844         multicolumn cells.
14845
14846 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14847
14848         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14849         dependancy file
14850
14851 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14854         LFUN_BREAKPARAGRAPH.
14855
14856         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14857         help test to "internal only", similar for LFUN_INSERT_URL
14858
14859         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14860         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14861         auto_region_delete and deadkeys.
14862
14863 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * LColor.h:
14866         * LColor.C: remove some dead entries, tidy a little
14867
14868 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14871         commented code.
14872         (Dispatch): implement LFUN_ESCAPE
14873
14874         * commandtags.h: add LFUN_ESCAPE
14875
14876         * LyXAction.C (init): add entry for LFUN_ESCAPE
14877
14878         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14879         Remove commented code.
14880         (insertNote): moved here
14881         (open_new_inset): moved here
14882
14883         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14884         BufferView_pimpl
14885
14886 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * kbmap.C (findbinding): clean it up and make it work correctly.
14889
14890         * lyx_main.C (init): do not pass argc and argv as parameters
14891
14892 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14893
14894         * buffer.C: fix path for OS/2 & Win32
14895
14896         * lyx_gui.C:
14897         * lyx_main:
14898         * lyx_main.C: Added os:: class.
14899
14900         * os2_defines.h: update
14901
14902 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14903
14904         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14905         better by trying again with reduced state.
14906
14907 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * lyxrc.C (read): print error about invalid key sequence only when
14910         debugging (because not all latinX keysyms are known to some X
14911         servers)
14912
14913         * kbsequence.C (getiso): add a few std:: qualifiers
14914         (getiso): comment out extra return statement.
14915
14916 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14917
14918         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14919         handling.
14920         (Dispatch): enhance the accent inset a bit. (not perfect)
14921
14922 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14923
14924         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14925
14926 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14927
14928         * bufferlist.C (emergencyWrite): fix assert() call
14929
14930 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14931
14932         * text.C (InsertChar): Added trivial patch to only send the "you
14933         can not do multiple spaces this way" message once during a
14934         session.
14935
14936 2001-05-08  Baruch Even  <baruch@lyx.org>
14937
14938         * Makefile.am: Changed order of libraries to get LyX to link properly
14939         with the gnome frontend.
14940
14941 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * LaTeXFeatures.h: add a std:: qualifier
14944
14945 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14946
14947         * paragraph.C (String): use stringstream
14948
14949 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * paragraph.C (writeFile): remove footflag arg
14952
14953         * buffer.C (makeLaTeXFile): use stringstream
14954         (latexParagraphs): remove footnot gurba
14955
14956         * LaTeXFeatures.C (getPackages): use stringstream
14957         (getMacros): likewise
14958         (getTClassPreamble): likewise
14959         (getFloatDefinitions): new method
14960
14961         * paragraph.C (writeFile): reindent
14962         (Erase): reindent
14963
14964         * WorkArea.h: revert the xpos + etc changes.
14965
14966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14967
14968         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14969
14970         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14971         (pasteSelection): likewise
14972         * text2.C (CreateUndo): likewise
14973
14974 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * minibuffer.C (peek_event): temporarily reduce the functionality
14977         of the minibuffer (to allow args on lfuns)
14978
14979         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14980         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14981
14982         * buffer.C (readInset): add compability reading of old float
14983         lists, add reading of new style float list.
14984         (readInset): avoid reevaluation of inscmd.getCmdName()
14985         (getLists): reindent
14986
14987         * MenuBackend.C (MenuItem): implement parsing of
14988         md_floatlistinsert and md_floatinsert.
14989         (expand::LastFiles): move initalizaton of iterators out of loop,
14990         avoid reevaluation.
14991         (expand::Documents): introduce typdedef vector<string> Strings,
14992         and use it.
14993         (expand::ExportFormats): introduce typedef vector<Format const *>
14994         Formats, and use it.
14995         (expand): implement FloatListInsert and FloatInsert.
14996
14997         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14998         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14999         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15000
15001         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15002         handling.
15003         (Dispatch::LFUN_FLOAT_LIST): implement
15004
15005 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15006
15007         * LaTeX.C (run): Fix problem with --export code.
15008
15009 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15010
15011         * BufferView.[Ch] (workarea): removed.
15012         (getClipboard) new method; wrapper for workarea()->getClipboard()
15013
15014         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15015         bug.
15016
15017         * WorkArea.h (width, height, xpos, ypos): These methods all
15018         returned the dimensions of the work_area sub-area of WorkArea,
15019         resulting in a position error if the WorkArea were resized. Now
15020         return the dimensions of the entire WorkArea.
15021
15022         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15023
15024 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * LaTeX.C (deplog): correct the syntax of regex reg1
15027
15028 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15029
15030         * undo.C: remove !NEW_INSETS cruft
15031
15032 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * text2.C: remove !NEW_INSETS cruft
15035
15036         * text.C: remove !NEW_INSETS cruft
15037
15038         * tabular.C: remove !NEW_INSETS cruft
15039
15040         * spellchecker.C: remove !NEW_INSETS cruft
15041
15042         * lyxtext.h: remove !NEW_INSETS cruft
15043
15044         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15045
15046         * lyxfunc.C: remove !NEW_INSETS cruft
15047
15048         * lyxfind.C: remove !NEW_INSETS cruft
15049
15050         * lyx_cb.C: remove !NEW_INSETS cruft
15051
15052         * figureForm.C: remove  !NEW_INSETS cruft
15053
15054         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15055
15056         * buffer.[Ch]: remove !NEW_INSETS cruft
15057
15058         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15059
15060         * CutAndPaste.C: remove !NEW_INSETS cruft
15061
15062         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15063
15064         * BufferView2.C: remove !NEW_INSETS cruft
15065
15066         * BufferView.h: remove !NEW_INSETS cruft
15067
15068 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * Lsstream.h: include LString.h before the sstream headers to
15071         fix problem with gcc 2.95.3 and lyxstring
15072
15073 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * lyx_main.C: add using directives when needed for C functions
15076         declared in std:: namespace.
15077
15078 2001-04-27  Juergen Vigna  <jug@sad.it>
15079
15080         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15081         (SetHeightOfRow): comment out the update call should not be needed!
15082
15083 2001-04-13  Juergen Vigna  <jug@sad.it>
15084
15085         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15086         (LyXTabular): tried to minimize operator= operations (and realized
15087         hopfully Lars wish).
15088
15089 2001-04-27  Juergen Vigna  <jug@sad.it>
15090
15091         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15092
15093 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15094
15095         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15096
15097         * buffer.C (readInset): hack to make listof algorithm work
15098
15099         * BufferView_pimpl.C: hack to make listof algorithm work
15100
15101 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * LyXAction.C: removed all !NEW_INSETS cruft
15104         (init): moved lfun_item in method
15105
15106         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15107
15108 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15109
15110         * BufferView2.C (theLockingInset): white space.
15111
15112 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * minibuffer.C: include <iostream>
15115
15116         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15117
15118         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15119
15120         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15121
15122         * text.[Ch] (TransposeChars): new method
15123
15124 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15125
15126         * call message directly through LyXView instead of through LyXFunc
15127         * BufferView2.C: adjust
15128         * BufferView_pimpl.C: adjust
15129         * FontLoader.C: adjust
15130         * buffer.C: adjust
15131         * bufferview_funcs.C: adjust
15132         * converter.C: adjust
15133         * figureForm.C: adjust
15134         * importer.C: adjust
15135         * lyx_cb.C: adjust
15136         * lyx_gui_misc.C: adjust
15137         * lyxfunc.C: adjust
15138         * lyxvc.C: adjust
15139         * text2.C: adjust
15140         + more files in subdirs
15141
15142         * lyxparagraph.h (size): move up int file
15143         (GetLayout): ditto
15144
15145         * adjust all uses of Assert to lyx::Assert.
15146
15147         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15148         lyxfunctional in namespace lyx
15149         * layout.C (hasLayout): ditto
15150         (GetLayout): ditto
15151         (GetLayout): ditto
15152         (delete_layout): ditto
15153         (NumberOfClass): ditto
15154         * converter.C (GetFormat): ditto
15155         (GetNumber): ditto
15156         (Add): ditto
15157         (Delete): ditto
15158         (SetViewer): ditto
15159         * bufferlist.C (getFileNames): ditto
15160         (emergencyWriteAll): ditto
15161         (exists): ditto
15162         (getBuffer): ditto
15163         * MenuBackend.C (hasSubmenu): ditto
15164         (hasMenu): ditto
15165         (getMenu): ditto
15166         * BufferView_pimpl.C (getInsetByCode): ditto
15167
15168 2001-04-18  Juergen Vigna  <jug@sad.it>
15169
15170         * vspace.C (asLatexString): fixed the 100% problem.
15171
15172 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * lyxfunc.C (Dispatch):
15175         * minibuffer.C:
15176         * minibuffer.h: add a few std:: qualifiers
15177
15178 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * minibuffer.[Ch]: reimplement so that commands is initiated and
15181         run from lyxfunc, simplified som handling, and made the completion
15182         and history code for complete. wip.
15183
15184         * lyxfunc.C (processKeySym): call message
15185         (miniDispatch): new temporary method
15186         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15187         (LFUN_MESSAGE): implement
15188         (LFUN_MESSAGE_PUSH): implement
15189         (LFUN_MESSAGE_POP): implement
15190         (initMiniBuffer): the initial/defualt minibuffer message.
15191
15192         * lyxfont.[Ch]: inline some more getters
15193
15194         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15195
15196         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15197
15198         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15199         (AutoSave): use LFUN_MESSAGE
15200         (Reconfigure): ditto
15201
15202         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15203
15204         * figureForm.C: use LFUN_MESSAGE
15205
15206         * converter.C (runLaTeX): use LFUN_MESSAGE
15207
15208         * bufferview_funcs.C: use LFUN_MESSAGE
15209         (Melt): ditto
15210         (changeDepth): ditto
15211
15212         * bufferparams.h: use boost::
15213
15214         * bufferlist.h: inherit privately from noncopyable
15215
15216         * bufferlist.C (loadLyXFile): remove some commented code.
15217
15218         * buffer.C (runChktex): use LFUN_MESSAGE
15219
15220         * ShareContainer.h: inherit privately from noncopyable
15221
15222         * ParagraphParameters.[hC] (depth): inline it.
15223
15224         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15225         methods.
15226         (message): new method
15227         (messagePush): ditto
15228         (messagePop): ditto
15229         (show): init minibuffer
15230         (showState): direct call
15231
15232         * LaTeX.[Ch]: inherit privately from noncopyable
15233         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15234         instead of WriteStatus.
15235
15236         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15237
15238         * BufferView_pimpl.C (buffer): don't init minibuffer
15239         (workAreaButtonPress): use LFUN_MESSAGE
15240         (workAreaButtonRelease): ditto
15241         (savePosition): ditto
15242         (restorePosition): ditto
15243         (MenuInsertLyXFile): ditto
15244         (workAreaExpose): don't init minibuffer
15245         (update): remove commented code, simplify
15246
15247         * BufferView2.C (openStuff): use LFUN_MESSAGE
15248         (toggleFloat): ditto
15249         (menuUndo): ditto
15250         (menuRedo): ditto
15251         (copyEnvironment): ditto
15252         (pasteEnvironment): ditto
15253         (copy): ditto
15254         (cut): ditto
15255         (paste): ditto
15256         (gotoInset): ditto
15257         (updateInset): remove some commented code
15258
15259         * lastfiles.h: inherit privately from noncopyable
15260         * layout.h: ditto
15261         * lyx_gui.h: ditto
15262         * lyx_main.h: ditto
15263         * lyxlex.h: ditto
15264         * lyxlex_pimpl.h: ditto
15265
15266         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15267         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15268         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15269
15270         * LyXAction.h: inherit privately from noncopyable, add methods
15271         func_begin, func_end, returning iterators to the func map.
15272
15273         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15274         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15275         (func_begin): new method
15276         (func_end): new method
15277
15278         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15279         and not)
15280         (copySelection): ditto
15281         (pasteSelection): ditto
15282
15283         * BufferView.C: whitespace change
15284         * BufferView.h: inherit privately from noncopyable
15285
15286 2001-04-16  Allan Rae  <rae@lyx.org>
15287
15288         * tabular-old.C (l_getline):
15289         * spellchecker.C (sc_check_word):
15290         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15291         an unrecognised preprocessor directive.  So ensure they're wrapped.
15292
15293 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * src/exporter.C (Export): Give an error message when path to file
15296         contains spaces.
15297
15298 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15299
15300         * LaTeX.C (deplog): Always check that foundfile exists.
15301
15302 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * lyx_main.h:
15305         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15306
15307 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * tabular.[Ch] (getLabelList): implement new method
15310
15311         * minibuffer.h: comment ouf setTiimer
15312
15313         * minibuffer.C (ExecutingCB): constify res
15314         (peek_event): constify s
15315         (Set): constify ntext
15316         (Init): constify nicename
15317
15318         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15319
15320         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15321         (savePosition): use two params to Minibuffer::Set
15322         (restorePosition): ditto
15323
15324 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * lyx_main.C: include language.h
15327
15328         * Makefile.am (lyx_main.o): add language.h
15329
15330 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15331
15332         * exporter.C:
15333         * paragraph.C:
15334         * screen.C:
15335         * tabular.C:
15336         * CutAndPaste.C: include gettext.h
15337
15338         * lyxfont.h: remove old hack with ON and OFF.
15339
15340         * lyxparagraph.h:
15341         * lyxfont.h: do not include language.h...
15342
15343         * BufferView2.C:
15344         * LaTeXFeatures.C:
15345         * Painter.C:
15346         * bufferview_funcs.C:
15347         * font.C:
15348         * lyxfont.C:
15349         * text.C:
15350         * text2.C:
15351         * trans_mgr.C:
15352         * paragraph.C: ... but do it here instead
15353
15354 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15357
15358         * tabular.C: small reformat
15359
15360         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15361         NEW_INSETS version
15362         (GetChar): ditto
15363         (BreakParagraph): ditto
15364         (SetOnlyLayout): ditto
15365         (SetLayout): ditto
15366
15367         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15368         with one arg less.
15369
15370         * lastfiles.C: removed most using decl, add std:: where needed
15371
15372         * buffer.C: ws changes
15373
15374         * MenuBackend.C (class compare_format): put into anon namespace
15375         (expand): constify label, names, action, action2
15376         (expand):
15377
15378         * text.C (SingleWidth): constify font
15379         (IsBoundary): constify rtl2
15380         (GetVisibleRow): constify ww
15381
15382         * LaTeX.C (deplog): constify logfile
15383
15384         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15385         start_x, end_x
15386         (workAreaExpose): constify widthChange, heightChange
15387
15388         * lyxrow.C (par): moved
15389         (height): moved
15390         (next): moved
15391         * lyxrow.h: as inlines here
15392
15393         * lyxfont.h (shape): moved from lyxfont.C
15394         (emph): moved from lyxfont.C
15395
15396         * lyxfont.C (LyXFont): use initialization list for all
15397         constructors
15398         (shape): move to lyxfont.h as inline
15399         (emph): move to lyxfont.h as inline
15400
15401
15402 2001-04-04  Juergen Vigna  <jug@sad.it>
15403
15404         * vspace.C: had to include stdio.h for use of sscanf
15405
15406 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15407
15408         * BufferView.h:
15409         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15410         independent of xforms.
15411
15412 2001-04-02  Juergen Vigna  <jug@sad.it>
15413
15414         * spellchecker.C: fixed namespace placing!
15415
15416 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15417
15418         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15419         the LyXParagraph * is 0.
15420
15421 2001-03-29  Juergen Vigna  <jug@sad.it>
15422
15423         * vspace.C: added support for %, c%, p%, l%.
15424         (stringFromUnit): added helper function.
15425         (asLatexString): changed to give right results for the %-values.
15426
15427         * buffer.C: convert the widthp in a width%.
15428
15429 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15430
15431         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15432         figureForm.[Ch].
15433
15434         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15435         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15436
15437         * lyx_cb.[Ch]: see above.
15438
15439         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15440         form1.[Ch].
15441
15442         * form1.[Ch]:
15443         * lyx.[Ch]: replaced by figure_form.[Ch].
15444
15445         * lyx_gui.C:
15446         * lyx_gui_misc.C:
15447         * lyxfunc.C: changed headers associated with above changes.
15448
15449 2001-03-27  Juergen Vigna  <jug@sad.it>
15450
15451         * BufferView_pimpl.C: set the temporary cursor right!
15452
15453 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15454
15455         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15456
15457 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15458
15459         * LString.h: removed "using std::getline"!
15460
15461         * BufferView_pimpl.C (Dispatch): changes due to changes in
15462         InsetInclude::Params.
15463
15464         * buffer.C (tag_name): removed redundant break statements as they were
15465         producing lots of warnings with my compiler.
15466
15467 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * LString.h: add "using std::getline" when using the real <string>.
15470
15471 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15472
15473         * buffer.C: removed bitset usage.
15474         PAR_TAG moved to an anonymous name space.
15475         (tag_name): new funtion, also in the anonymous namespace.
15476         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15477         (makeDocBookFile): clean code. Completed transition from string arrays
15478         to string vectors.
15479         (SimpleDocBookOnePar): code clean.
15480
15481 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15482
15483         * tabular.C: add some comments.
15484
15485 2001-03-22  Juergen Vigna  <jug@sad.it>
15486
15487         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15488         compatibility read a bit and fixed bug with minipage in different
15489         depth.
15490
15491 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15492
15493         * buffer.C (pop_tag): removed.
15494         (push_tag): removed.
15495         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15496         array replaced with vector. Added support for CDATA sections.
15497         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15498         at any nest level.
15499         (makeDocBookFile): XML conformant declaration of CDATA section,
15500         fixed bug related to <emphasis> in the first paragraph char.
15501         (sgmlOpenTag): exclude empty tags.
15502         (sgmlCloseTag): ditto.
15503
15504         * buffer.h (pop_tag): removed.
15505         (push_tag): removed.
15506
15507 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15508
15509         * language.h (Languages): added size_type and size().
15510
15511 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15512
15513         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15514         response on compability reading of minipages. One probliem is that
15515         the old usage of minipages was «flertydig»
15516
15517         * several files here and in subdirs: don't use static at file
15518         scope use anon namespaces instead.
15519
15520 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15521
15522         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15523         LaTeX output. This is necessary for Literate document
15524         processing.
15525
15526 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15527
15528         * buffer.C: insert hfill when needed.
15529
15530         * tabular.C (l_getline): use string::erase, small whitespace change.
15531
15532         * BufferView_pimpl.C: try the anon namespace.
15533         * WorkArea.C: ditto
15534
15535 2001-03-16  Juergen Vigna  <jug@sad.it>
15536
15537         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15538         otherwise it won't open options-dialogs.
15539
15540         * buffer.C: honor pextraWidth(p) on converting minipages.
15541
15542         * tabular.C (l_getline): changed the functions to strip trailing \r.
15543
15544 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15545
15546         * BufferView_pimpl.C:
15547         * minibuffer..C: added "using SigC::slot" declaration.
15548
15549 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15550
15551         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15552
15553         * text2.C: ditto
15554
15555         * text.C: ditto
15556
15557         * paragraph.C: ditto
15558
15559         * lyxtext.h: NO_PEXTRA
15560
15561         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15562
15563         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15564         * ParameterStruct.h: ditto
15565         * ParagraphParameters.h: ditto
15566         * lyxparagraph.h: ditto
15567
15568 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15569
15570         * buffer.C: add compability for minipage alignment.
15571         (latexParagraphs): remove unwanted pextra check.
15572
15573         * several files: remove CXX_WORKING_NAMESPACES
15574
15575         * buffer.C (pop_tag): tie is in namespace boost
15576
15577         * BufferView.h: noncopyable is in namespace boost
15578         * lyxlex.h: ditto
15579         * lyx_main.h: ditto
15580         * lyx_gui.h: ditto
15581         * layout.h: ditto
15582         * lastfiles.h: ditto
15583         * bufferlist.h: ditto
15584         * ShareContainer.h: ditto
15585         * LyXView.h: ditto
15586         * LyXAction.h: ditto
15587         * LaTeX.h: ditto
15588
15589 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * Merging changes from BRANCH_MVC back into HEAD.
15592
15593         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15594
15595 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15596
15597         * BufferView_pimpl.C: change from intl.C
15598
15599         * combox.h:
15600         * combox.C:
15601         * Makefile.am: move combox.*
15602
15603         * form1.h:
15604         * form1.C:
15605         * lyx_gui.C:
15606         * intl.h:
15607         * intl.C: remove dialog (covered by prefs)
15608
15609 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * lyxfunc.C (Dispatch): removed redundant break statement.
15612
15613 2001-03-14  Juergen Vigna  <jug@sad.it>
15614
15615         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15616
15617 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15618
15619         * buffer.C: add hack to fix compability reading of minipages.
15620
15621 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * buffer.C (getLists): Cleanup.
15624
15625 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * lyxfont.C (update): don't honor toggleall on font size.
15628
15629 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15630
15631         * bmtable.c:
15632         * bmtable.h:
15633         * Makefile.am: moved to frontends/xforms/
15634
15635         * lyx_gui_misc.C:
15636         * lyxfunc.C:
15637         * BufferView_pimpl.C: changes for moved mathpanel
15638
15639 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15640
15641         * gettext.h: fix gettext_init() in --disable-nls
15642
15643 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15644
15645         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15646
15647 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15648
15649         * lyx.C:
15650         * lyx.h: strip external form
15651
15652 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15653
15654         * BufferView_pimpl.C: add comment, destroySplash()
15655
15656 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15657
15658         * BufferView_pimpl.C:
15659         * LyXAction.C:
15660         * buffer.C:
15661         * commandtags.h:
15662         * lyxfunc.C: use re-worked insetinclude
15663
15664 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15665
15666         * buffer.C: add using std::stringstream.
15667
15668         * lyx_cb.C: readd using std::ios.
15669
15670         * buffer.C: add using std::map.
15671
15672         * BufferView_pimpl.C: add using std::vector.
15673
15674         * ShareContainer.h: add std:: to swap.
15675
15676         * buffer.h: add some typedefs
15677         * buffer.C (getLists): use them
15678         (getLists): renamed from getTocList.
15679         add a counter for the different float types and use it in the
15680         generated string.
15681         (getLists): use the same counter for the NEW_INSETS and the "non"
15682         NEW_INSETS
15683
15684         * lyx_cb.h: remove unused items, includes, using etc.
15685
15686         * ShareContainer.h: remove some commented code, add more comments
15687         and "documentation".
15688
15689 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15690
15691         * buffer.C (getTocList): make the list also when NEW_INSETS is
15692         defined.
15693
15694         * buffer.h: remove TocType
15695
15696         * buffer.C (getTocList): change to return a map<string,
15697         vector<TocItem> >, implement for dynamic number of list.
15698
15699         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15700         * text2.C (PasteSelection): adjust
15701         * CutAndPaste.C (pasteSelection): adjust
15702
15703         * FloatList.C (FloatList): update from the new_insets branch.
15704         * Floating.[Ch]: ditto
15705         * LaTeXFeatures.C: ditto
15706         * buffer.C: ditto
15707         * lyxlex_pimpl.C: ditto
15708
15709         * paragraph.C (Last): remove when NEW_INSETS is defined.
15710
15711         * other file: changes because of the above.
15712
15713 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15714
15715         * lyxparagraph.h: rename next to next_, previous to previous_,
15716         make them private for NEW_INSETS. Rename Next() to next(),
15717         Previous() to previous().
15718
15719         * other files: changes because of the above.
15720
15721 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15722
15723         * BufferView.h:
15724         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15725         problem.
15726
15727 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * main.C (main): pass lyx_localedir to gettext_init().
15730
15731         * gettext.h: remove locale_init and gettext_init macros
15732
15733         * gettext.C (locale_init): new function
15734         (gettext_init): new function
15735
15736         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15737         setlocale().
15738
15739 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15740
15741         * Moved credits to frontends:
15742         * credits.[Ch]: removed
15743         * credits_form.[Ch]: removed
15744         * lyx_gui_misc.C: remove credits stuff
15745         * Makefile.am:
15746
15747 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15748
15749         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15750
15751         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15752         unneeded destructor.
15753
15754         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15755         a standalone pointer again.
15756
15757         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15758
15759 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15760
15761         * Makefile.am:
15762         * filedlg.h:
15763         * filedlg.C:
15764         * LyXAction.C:
15765         * ToolbarDefaults.C:
15766         * bufferlist.C:
15767         * commandtags.h:
15768         * form1.C:
15769         * form1.h:
15770         * lyx_cb.C:
15771         * lyx_cb.h:
15772         * lyxfunc.h:
15773         * lyxfunc.C:
15774         * BufferView_pimpl.C: use new file dialog in GUII
15775
15776         * lyx_cb.h:
15777         * lyx_cb.C: remove LayoutsCB to Toolbar
15778
15779 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15780
15781         * ShareContainer.h (get): add std:: qualifier
15782
15783 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * ShareContainer.h: define a proper ShareContainer::value_type
15786         type (and use typename to please compaq cxx)
15787
15788 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15789
15790         * lyxparagraph.h: move serveral local vars to
15791         ParameterStruct/ParagraphParameters., use ShareContainer in
15792         FontTable., make vars in FontTable private and add getter and
15793         setter.
15794
15795         * paragraph.C: changes because of the above.
15796
15797         * lyxfont.h: remove copy constructor and copy assignment. (the
15798         default ones is ok), move number inside FontBits. move inlines to
15799         lyxfont.C
15800
15801         * lyxfont.C: add number to initializaton of statics, move several
15802         inlines here. constify several local vars. some whitespace
15803         cleanup. Dont hide outerscope variables.
15804
15805         * Spacing.h: add two new constructors to match the set methods.
15806
15807         * ShareContainer.h: new file, will perhaps be moved to support
15808
15809         * ParameterStruct.h: new file
15810
15811         * ParagraphParameters.h: new file
15812
15813         * ParagraphParameters.C: new file
15814
15815         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15816         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15817
15818         * BufferView_pimpl.C: ParagraphParameter changes.
15819         * buffer.C: Likewise.
15820         * bufferview_funcs.C: Likewise.
15821         * text.C: Likewise.
15822         * text2.C: Likewise.
15823
15824 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * lyxfind.C (LyXReplace): do not redefine default argument in
15827         implementation.
15828         (IsStringInText): ditto
15829         (SearchForward): ditto
15830         (SearchBackward): ditto
15831
15832 2001-03-06  Juergen Vigna  <jug@sad.it>
15833
15834         * lyxfind.C (IsStringInText): put parentes around expressions.
15835
15836 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15837
15838         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15839
15840 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15841
15842         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15843
15844         * stl_string_fwd.h: add comment
15845
15846         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15847
15848         * tabular.h:
15849         * tabular.C: remove unused DocBook methods
15850
15851         * intl.C:
15852         * language.C:
15853         * paragraph.C:
15854         * buffer.C:
15855         killed DO_USE_DEFAULT_LANGUAGE
15856
15857 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * lyx_gui.C: do not include language.h.
15860
15861         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15862         arguments in function implementation.
15863
15864 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15865
15866         * BufferView_pimpl.C: add <ctime>
15867
15868 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15869
15870         * BufferView_pimpl.C: add using std::find_if
15871
15872 2001-02-27  José Matos  <jamatos@fep.up.pt>
15873
15874         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15875         by OnlyPath.
15876
15877 2001-02-11  José Matos  <jamatos@fep.up.pt>
15878
15879         * buffer.C (makeDocBookFile): command styles now have a parameter as
15880         "title" by default.
15881
15882 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15883
15884         * layout_forms.[Ch]: removed
15885         * lyx_cb.[Ch]: out character
15886         * lyx_gui.C: out character
15887         * lyx_gui_misc.C: out character
15888         * bufferview_funcs.C: : out character,
15889         added toggleall as parameter in ToggleAndShow
15890
15891 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15892
15893         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15894
15895         * text2.C (SetCurrentFont): Disable number property at boundary.
15896
15897 2001-02-26  Juergen Vigna  <jug@sad.it>
15898
15899         * lyxfunc.C (getStatus): added a string argument override function so
15900         that this is correctly called from LyXFunc::Dispatch if it contains a
15901         do_not_use_argument which is used!
15902         (Dispatch): added check for "custom" export and call appropriate func.
15903
15904 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15905
15906         * lyxrc.C: Add language_command_local, language_use_babel and
15907         language_global_options.
15908
15909         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15910
15911         * buffer.C (makeLaTeXFile): Use language_use_babel and
15912         language_global_options.
15913
15914 2001-02-23  Juergen Vigna  <jug@sad.it>
15915
15916         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15917         which works with LyXText and putted it inside BufferView. Here now we
15918         only call for that part the BufferView::Dispatch() function.
15919
15920         * BufferView.C (Dispatch): added.
15921
15922         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15923         functions which needs to use a LyXText over from LyXFunc.
15924         (MenuInsertLyXFile): added
15925         (getInsetByCode): added
15926         (moveCursorUpdate): added
15927         (static TEXT): added
15928
15929 2001-02-22  Juergen Vigna  <jug@sad.it>
15930
15931         * BufferView_pimpl.C (update): call a status update to see if LyXText
15932         needs it.
15933
15934 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15935
15936         * vc-backend.C (revert): implement for CVS
15937         (getLog): implement for CVS
15938
15939 2001-02-20  Juergen Vigna  <jug@sad.it>
15940
15941         * text2.C (ClearSelection): added BufferView param for inset_owner call
15942
15943         * lyxfunc.C (TEXT): added this function and use it instead of
15944         directly owner->view()-text of getLyXText().
15945
15946 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15947
15948         * src/layout_forms.C: out preamble
15949         * src/layout_forms.h: out preamble
15950         * src/lyx_cb.C: out preamble
15951         * src/lyx_cb.h: out preamble
15952         * src/lyx_gui.C: out preamble
15953         * src/lyx_gui_misc.C: out preamble
15954         * src/lyxfunc.C: connect with guii preamble
15955
15956 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15957
15958         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15959
15960 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15961
15962         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15963         whether to run bibtex.
15964
15965 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15966
15967         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15968
15969 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15970
15971         * Makefile.am (lyx_SOURCES): removed bibforms.h
15972
15973         * vspace.h: doxygen
15974
15975         * text.C (GetVisibleRow): make several local vars const
15976
15977         * tabular.C: small cleanup.
15978
15979         * lyxserver.C (callback): use compare instead of strncmp
15980
15981         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15982         inlines to after class or to paragraph.C
15983
15984         * lyxfont.h: remove friend operator!=
15985
15986         * converter.h: move friend bool operator< to non friend and after
15987         class def.
15988
15989         * combox.h: small cleanup
15990
15991         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15992         to inlines after class def.
15993
15994         * buffer.C (pop_tag): use string operations instead of strcmp
15995
15996         * bmtable.c: doxygen, small cleanup
15997
15998         * LaTeX.h: remove friend operator==
15999
16000 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16001
16002         * screen.C:
16003         * lyxrc.[Ch]:
16004         * lyxfunc.C:
16005         * lyxfont.[Ch]:
16006         * lyx_cb.C:
16007         * intl.[Ch]:
16008         * commandtags.h:
16009         * buffer.C:
16010         * WorkArea.[Ch]:
16011         * LyXAction.C:
16012         * BufferView_pimpl.C:
16013         * BufferView.[Ch]: remove cruft
16014
16015 2001-02-14  Juergen Vigna  <jug@sad.it>
16016
16017         * lyxfunc.C: removed #if 0 unused code
16018
16019         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16020
16021         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16022
16023         * text2.C (SetSelection): added a BufferView * parameter
16024
16025 2001-02-13  Juergen Vigna  <jug@sad.it>
16026
16027         * lyxfunc.C (Dispatch): fixed protected blank problem.
16028         * BufferView2.C (protectedBlank): added LyxText * parameter.
16029
16030         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16031         (AppendColumn): same as above for column_info.
16032
16033         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16034         (moveCursorUpdate): use a LyXText param for support of InsetText.
16035
16036         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16037         (tripleClick): ditto
16038
16039         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16040
16041         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16042
16043         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16044
16045         * text2.C (SetSelection): set correct update status if inset_owner
16046         (ToggleFree): ditto
16047
16048 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16049
16050         * tabular.C: remove some commented code.
16051
16052 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16053
16054         * BufferView_pimpl.C: call hideSplash()
16055
16056         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16057
16058         * include_form.h:
16059         * bibforms.h: remove
16060
16061         * lyxfunc.C:
16062         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16063           add LFUN_CHILD_CREATE
16064
16065         * counters.h: fix tiny typo
16066
16067         * lyx_cb.C:
16068         * lyx.h:
16069         * lyx_gui.C:
16070         * lyx.C: move splash to frontends/xforms/
16071
16072         * lyx_gui_misc.C: move Include and Bibform to frontends
16073
16074         * lyxvc.h: clarify comment
16075
16076         * vspace.C: tiny housekeeping
16077
16078 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * text.C (PrepareToPrint): RTL Fix.
16081
16082         * paragraph.C (GetUChar): New method.
16083         (String):  Use GetUChar.
16084
16085         * buffer.C (asciiParagraph): Use GetUChar.
16086
16087 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16088
16089         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16090
16091 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16092
16093         * buffer.h:
16094         * buffer.C: rename to getLogName(), handle
16095           build log / latex log nicely
16096
16097 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * MenuBackend.C:
16100         * MenuBackend.h: remove support for reference menuitem type.
16101
16102 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16103
16104         * BufferView_pimpl.C: housekeeping
16105         * BufferView_pimpl.h:
16106         * LyXView.h:
16107         * Makefile.am:
16108         * Timeout.C:
16109         * Timeout.h:
16110         * minibuffer.h: move Timeout GUI-I
16111
16112 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16113
16114         * lyxrc.C (read): Update converters data-structures.
16115
16116 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16117
16118         * LaTeX.h (operator!=): add operator != for Aux_Info
16119
16120 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16121
16122         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16123
16124         * LaTeXLog.C: deleted, useful code moved to Buffer
16125
16126         * buffer.h:
16127         * buffer.C: new function getLatexLogName()
16128
16129         * lyx_gui_misc.C:
16130         * lyx_gui.C:
16131         * lyxvc.C:
16132         * lyxvc.h:
16133         * lyxfunc.C: use frontends for LaTeX and VC logs
16134
16135 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16136
16137         * LaTeX.h: yet another std:: that Allan forgot.
16138
16139         * Variables.C (set): renamed from isset(), because this clashes
16140         with some HP-UX macros (grr).
16141
16142 2001-02-06  Allan Rae  <rae@lyx.org>
16143
16144         * LaTeX.h: Another bug fix.  Missing std:: this time.
16145
16146 2001-02-04  Allan Rae  <rae@lyx.org>
16147
16148         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16149         floats problem. I've left it commented out because it's not quite
16150         correct.  It should also test that the current object is a table or
16151         figure inset.  But I haven't gotten around to figuring out how to do
16152         that.  I *think* it'll be something like: "table" == inset.type()
16153
16154         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16155         bool.
16156
16157 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16160         all the citation/databases/styles in the auxilary file.
16161         (run): Rerun latex if there was a babel language error.
16162
16163 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16164
16165         * text.C (Backspace): Preserve the font when changing newline char
16166         with a space.
16167         (BreakParagraph): If the cursor is before a space, delete the space.
16168
16169         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16170
16171 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16172
16173         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16174         new argument (code).
16175         (ChangeCitationsIfUnique): New method.
16176
16177         * paragraph.C (GetPositionOfInset): Handle bibkey.
16178
16179 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * BufferView_pimpl.h: change type of Position::par_pos to
16182         LyXParagraph::size_type.
16183
16184 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16185
16186         * BufferView_pimpl.C (savePosition, restorePosition): Write
16187         messages to minibuffer.
16188
16189 2001-01-28  José Matos  <jamatos@fep.up.pt>
16190
16191         * buffer.C (makeDocBookFile): adds support for document language.
16192         A silly restriction on the name of LatexCommand types where removed.
16193         Added support for CDATA sections, allows to chars unescaped, used
16194         among others in code, to avoid escape < and >.
16195
16196 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16197
16198         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16199         saved positions instrad of a stack. Furthermore, a position is
16200         stored using paragraph id/paragraph position.
16201
16202         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16203         Remove LFUN_REF_BACK.
16204
16205 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16206
16207         * converter.C (dvipdfm_options): New method.
16208
16209 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16210
16211         * vspace.C (isValidLength): Fix for empty input string.
16212
16213 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * LyXAction.C (init): change description of LFUN_FIGURE to
16216         "Insert Graphics"
16217
16218 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * LaTeX.C: add using directive
16221
16222 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16223
16224         * MenuBackend.C (expand): Fix the sorting of the formats.
16225
16226 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16227
16228         * lyx_main.C: tiny error message fix
16229
16230 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16231
16232         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16233         calling fl_initialize(). This fixes the problem with ',' as
16234         decimal separator in text files.
16235
16236 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16237
16238         * trans.C (process): Fix the keymap bug.
16239
16240 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16241
16242         * LaTeX.C (scanAuxFiles): New method. Provides support for
16243         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16244         (scanLogFile) Scan for "run BibTeX" messages.
16245
16246         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16247         OT1 font encoding. Also, load the aecompl package if the ae
16248         package is loaded.
16249
16250         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16251
16252 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16253
16254         * texrow.C (increasePos): turn two error messages into debug
16255         messages.
16256
16257 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16258
16259         * LaTeX.C (scanAux): Handle the \@input macro.
16260         (runBibTeX): Use scanAux().
16261
16262         * language.C (latex_options_): New field.
16263
16264         * LaTeXFeatures.C (getMacros): Add language macros.
16265
16266         * buffer.C (makeLaTeXFile): Small fix.
16267
16268 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16269
16270         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16271
16272         * text2.C: add a using directive.
16273
16274 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16275
16276         * BufferView2.C:
16277         * lyx_gui_misc.h:
16278         * lyxfr1.C:
16279         * lyxfunc.C: kill LyXBell.
16280
16281 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * text.C (IsBoundary): Remove the error message
16284
16285         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16286
16287         * lyxrc.C (setDefaults): Correct initialization value for
16288         font_norm_type.
16289
16290 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16291
16292         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16293         gotoError().
16294
16295         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16296         and GotoNextNote().
16297
16298         * src/LyXAction.C: Added reference-next.
16299
16300         * text.C (InsertChar): Use contains instead of strchr.
16301
16302         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16303
16304 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16305
16306         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16307         alignment commands (when needed).
16308
16309         * text.C (InsertChar): Add ':' to number separator chars.