]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8f01414901810ccdc2171622a961ec21abe78c95
[lyx.git] / src / ChangeLog
1 2004-11-02  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C (docbook):
4         * paragraph.C (getID):  
5         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
6         garantee that the output is always legal.
7
8         * tabular.C (docbook):
9         * outputprams.[Ch]: remove mixed contents.
10
11 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
12
13         * text2.C (setCounter): prevent endless loop
14
15 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * exporter.C (copyFile): use the mover instead of support::copy()
18         * exporter.C (Export): pass format and latex name to copyFile()
19         * exporter.h (addExternalFile): document
20         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
21
22 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
23
24         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
25
26 2004-10-30  José Matos  <jamatos@lyx.org>
27
28         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
29         text and no inset or font change. This allows to use CDATA
30         sections just for the whole paragraph.
31
32 2004-10-30  José Matos  <jamatos@lyx.org>
33
34         * paragraph.C (getFirstWord): remove unused variable.
35
36 2004-10-30  José Matos  <jamatos@lyx.org>
37
38         * paragraph.C (getFirstWord): the content should always be escaped there.
39         (simpleDocBookOnePar):
40         * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
41
42 2004-10-30  José Matos  <jamatos@lyx.org>
43
44         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
45
46 2004-10-30  José Matos  <jamatos@lyx.org>
47
48         * output_docbook.C (makeParagraphs):
49         * paragraph.[Ch] (emptyTag): for docbook and company, if the
50         standard paragraph has only a given type of content drop the wrapper.
51
52 2004-10-29  José Matos  <jamatos@lyx.org>
53
54         * output_docbook.C (makeEnvironment):
55         * sgml.C (openTag):
56         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
57
58 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
59
60         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
61         (cleanID): sanitize any id.
62
63 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
64
65         * buffer.C, lyxlex_pimpl.C:
66         * lyxlex_pimpl.C (setFile):
67         s/getExtFromContents/getFormatFromContents/
68
69 2004-10-28  José Matos  <jamatos@lyx.org>
70
71         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
72
73         * sgml.C (openTag): apply substitution of <> for all attribuites.
74
75 2004-10-28  José Matos  <jamatos@lyx.org>
76
77         * buffer.C (makeLinuxDocFile, makeDocBookFile):
78         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
79         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
80
81         * sgml.[Ch]: new version for open and closeTag for paragraph and
82         for strings. Now they handle the ids of paragraphs.
83
84 2004-10-26  Angus Leeming  <leeming@lyx.org>
85
86         * Makefile.am: add mover.[Ch].
87
88         * converter.C (convert, move): use the new Movers to move external
89         files to the temp directory.
90
91         * lyx_main.C (init): ensure that the global system_movers data
92         is initialised.
93
94         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
95         preferences file.
96
97         * mover.[Ch]: new files, defining a Mover as a utility to move an
98         external file between directories and, if necessary, manipulate this
99         file using a helper script.
100
101 2004-10-25  José Matos  <jamatos@lyx.org>
102
103         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
104
105 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * sgml.C (escapeString): fix warning in a better way
108
109 2004-10-25  José Matos  <jamatos@lyx.org>
110
111         * sgml.C (escapeString): import the require boosts header file for
112         tie, and avoid a signed unsigned comparison.
113
114 2004-10-25  José Matos  <jamatos@lyx.org>
115
116         * sgml.h: add #include <string>
117
118 2004-10-25  José Matos  <jamatos@lyx.org>
119
120         * sgml.[Ch] (escapeString): new function to escape all the string.
121
122 2004-10-24  José Matos  <jamatos@lyx.org>
123
124         * paragraph.[Ch] (getFirstWord): new function to get the first
125         word. Useful for description.
126         (simpleDocBookOnePar): remove depth argument, add another that
127         says where to start the paragraph.
128
129         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
130         use the new functions to fix cleanly the support for descriptions.
131
132 2004-10-24  José Matos  <jamatos@lyx.org>
133
134         * buffer.C (makeLinuxDocFile, makeDocBookFile):
135         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
136         * output_linuxdoc.C (linuxdocParagraphs):
137         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
138         add buffer as argument.
139
140 2004-10-24  José Matos  <jamatos@lyx.org>
141
142         * output_docbook.C (makeEnvironment, searchEnvironment): place
143         CDATA inside paragraphs and fix scope for listitems.
144
145 2004-10-24  José Matos  <jamatos@lyx.org>
146
147         * output_docbook.C: remove using statement for stack.
148
149 2004-10-23  José Matos  <jamatos@lyx.org>
150
151         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
152         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
153         docbook. The new scheme is recursive and makes use of iterators, the
154         same as latex export works.
155         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
156         directly with the paragraph contents. This code was moved up to
157         output_docbook.C (docbookParagraphs).
158         * sgml.C (openTag, closeTag): removed unneeded newlines.
159         (closeEnvTags) removed.
160
161 2003-10-23  André Pönitz  <poenitz@gmx.net>
162
163         * undo.C (textUndoOrRedo):
164         * dociterator.C (asDocIterator): work around crash
165
166         * cursor.C (getStatus): replace ASSERT by more verbose error message
167           and manual correction of the problem. Should increase stability
168           while providing more sensible information.
169
170 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
173
174         * bufferlist.C (previous, next): new methods
175
176         * lfuns.h:
177         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
178
179 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
180
181         * buffer.C (makeDocBookFile): add dsssl stylesheet control
182         entities to preamble.
183
184 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
185
186         * messages.C (Pimpl): strip off translation context information
187
188 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
191         the cursor is correct (bug 1694)
192
193 2004-10-13  José Matos  <jamatos@lyx.org>
194
195         * output_docbook.C (docbookParagraphs): fix closing tags in the
196         end of the document.
197
198 2004-10-09  José Matos  <jamatos@lyx.org>
199
200         * buffer.C: format up to 237.
201         * bufferparams.C (write): use tostr to convert booleans to strings.
202
203 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
206
207 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
208
209         * LaTeX.C: implement use of babel language in xindy.
210
211 2004-10-05  José Matos  <jamatos@lyx.org>
212
213         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
214         Add new translators to help reading and writing the lyx file.
215
216 2004-10-05  José Matos  <jamatos@lyx.org>
217
218         * ParagraphParameters.C (read):
219         * text.C (readParToken): replace nexToken by more appropriate lex
220         methods.
221
222 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
223
224         * LaTeX.C (runMakeIndex):
225         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
226         (usually 'makeindex') configurable.
227
228         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
229         with a variable rather than with a number.
230
231 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * output_latex.C (TeXOnePar): make sure font setting is the first
234         thing that gets output (and the last at the end). Should fix bug
235         1404.
236
237 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
238
239         * pch.h: use proper signal include
240
241         * LaTeX.h: Use preferred calling of Boost.Signal
242         * buffer.h: ditto
243
244 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
245
246         * pch.h: dont include <boost/function/function0.hpp>
247
248         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
249
250         * paragraph_pimpl.h: remove usage of ShareContainer
251
252         * paragraph_pimpl.C: remove initialization of ShareContainer.
253
254 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         Fix bug #1666
257
258         * BufferView.C (putSelectionAt): change the semantics when
259         backwards == true: now, this just swaps cursor and anchor wrt the
260         forward case
261
262         * BufferView.h (putSelectionAt): add some documentation
263
264         * lyxfind.C (findBackwards): rewrite using while(). In particular,
265         make sure backwardChar is done at least once (to avoid getting
266         stuck)
267         (findNextChange): use putSelectionAt in the forward direction
268         (operator()): use Paragraph::isWord
269
270 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
271
272         * Spacing.C (set): c_str fix
273
274 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * lyx_cb.C (Reconfigure): quote the name of configure script in
277         case it contains spaces
278
279 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
280
281         * client: new dir
282
283         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
284         (BOOST_LIBS): use top_buildir when looking for the file
285
286 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
287
288         * pch.h: do not use include boost/format.hpp, multiple symbols
289                 will result (gcc bug)
290
291
292 2004-08-23  José Matos  <jamatos@lyx.org>
293
294         * bufferparams.C (readToken): fix reading of the author field.
295
296 2004-08-20  José Matos  <jamatos@lyx.org>
297
298         * lyxrc.C: remove support/translator.h inclusion since it is not used.
299
300 2004-08-20  José Matos  <jamatos@lyx.org>
301
302         * lyxlex.[Ch] (findToken): remove function.
303
304         * ParagraphParameters.C (findToken):
305         * bufferparams.C (findToken): replace call for previous function
306         with local copy. This local function has one more argument, the
307         read string argument.
308
309 2004-08-16  José Matos  <jamatos@lyx.org>
310
311         * ParagraphParameters.C (write):
312         * Spacing.C (writeFile):
313         * bufferparams.C (writeLaTeX):
314         * lyx_cb.C (Reconfigure):
315         * paragraph.C (write):
316         * tabular.C (write): remove unnecessary space at end of line.
317
318
319 2004-08-16  José Matos  <jamatos@lyx.org>
320
321         * text.C (readParagraph): remove debug message.
322
323 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
326         crash
327
328         * output_plaintext.C (asciiParagraph): set depth correctly
329
330         * outputparams.h: add member depth
331
332         * paragraph_funcs.C (ownerPar): remove.
333
334         * text2.C (setCounter): remove first_pit; comment out some
335         non-working code that uses ownerPar
336
337         * BufferView.C (getParentLanguage): remove. Not used anymore, and
338         uses ownerPar
339
340 2004-08-16  José Matos  <jamatos@lyx.org>
341
342         * text.C (readParToken, readParagraph, read): report all unknown tokens.
343         For the same level of importance use the same chanel to report problems.
344         (read): add code to deal with \begin_body and \end_body.
345
346
347 2004-08-15  José Matos  <jamatos@lyx.org>
348
349         * lyxlex.C (getString): fix comment, buffer::readBody is now
350         buffer:readDocument.
351
352         * tex-strings.C (string_papersize): Default -> default,
353         Custom -> custom, for consistency with other options.
354
355 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
356
357         * pch.h: new file
358
359         * Makefile.am: support pch
360
361 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * text.C (readParToken): remove the static LyXFont variable and
364         pass it as a parameter instead. This fixes a nasty bug where an
365         inset will be inserted with a bad font in some situations
366         (readParagraph): adapt
367
368         * text2.C (setCounter): reduce number of calls to pars_[pit]
369
370         * text.C (singleWidth): add an assert, fix a test
371
372         * rowpainter.C (paintText): reduce number of calls to singleWidth
373
374         * paragraph.C (isHfill):
375         (isNewline): ws only
376
377 2004-08-14  André Pönitz  <poenitz@gmx.net>
378
379         * text.C:
380         * text2.C:
381         * rowpainter.C:
382         * lyxtext.h (several functions): use a Paragraph & argument
383         instead of par_type
384
385 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * metricsinfo.h: add a new field ltr_pos to PainterInfo
388
389         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
390
391         * text.C (singleWidth): remove useless test
392
393 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
394
395         * tabular.h: remove bogus comments
396
397         * tabular.C (getDescentOfRow):
398         (isPartOfMultiColumn): add assertions
399
400         * lyxlength.C (inPixels): remove #warning
401
402 2004-08-14  André Pönitz  <poenitz@gmx.net>
403
404         * paragraph.h: inline getChar()
405
406         * BufferView.h: remove unused declarations
407
408 2004-08-14  José Matos  <jamatos@lyx.org>
409
410         * Buffer.[Ch] (readDocument): new name for old readBody.
411         * Buffer.C: new file format, new keywords: \begin_document,
412         \begin_header, \begin_body, \end_body.
413
414         * bufferparams.C (readToken): replace all calls to lex.nextToken
415         by lex.next(). Do the same to eatLine except where really needed.
416
417         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
418         line when writing to the lyx file.
419
420         * output_plaintext.C (asciiParagraph): fix Bibliography style
421         handling.
422
423         * text.C (read): fix end of file handling.
424
425 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * MenuBackend.C (Menu::operator[]): new method to access
428         individual menu items
429         (Menu::hasFunc): new method. search for an item that corresponds
430         to a given func
431         (MenuBackend::specialMenu): new method
432         (MenuBackend::expand): if a special menu has been set, skip
433         entries whose func() appears in this menu
434
435 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
436
437         * text3.C: use Debug::DEBUG a bit more
438
439         * text.C (leftMargin): try to simplify a tiny bit change var x to
440         l_margin. Dont output the wide margins always.
441         (rightMargin): no margin in inner texts
442
443         * rowpainter.h (nestMargin): new func
444         (changebarMargin): new func
445         (rightMargin): new func
446
447         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
448         now functions.
449         (paintLast): ditto
450
451         * factory.C (createInset): modify setDrawFrame
452
453         * cursor.C: use Debug::DEBUG a bit more
454
455 2004-08-14  André Pönitz  <poenitz@gmx.net>
456
457         * coordcache.[Ch]:
458         * Makefile.am: new files to accomodate an 'external' (x,y)-position
459         cache for all insets in (at least partially) visible (top-level)
460         paragraphs.
461
462         * BufferView_pimpl.C: reset external coord cache before every update.
463         This means the coord cache only contains valid entries.
464
465 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
466
467         bug 1096
468         * BufferView_pimpl.C (getInsetByCode): move function out of class
469         and change in to a template in anon namespace. Also fix to do what
470         suits us better.
471
472 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
473
474         bug 1305
475         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
476         of char
477         (breakParagraph): rename par to par_offset and use a local
478         reference. Add code to keep the language over a rebreak.
479         (breakParagraphConservative): rename par to par_offset, use a
480         local reference
481         (mergeParagraph): ditto
482         (outerHook): ditto
483         (isFirstInSequence): ditto
484         (outerFont): rename pit to par_offset
485
486         * paragraph.C: ws change
487         * paragraph.h: ditto
488         * text3.C: ditto
489         * text.C: ditto
490
491 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
494         treatment for ']'
495
496         * paragraph.C (simpleTeXOnePar): when we have a \item with
497         optional argument, enclose the argument with curly brackets (in
498         case it contains a closing square bracket)
499
500         * text2.C (editXY):
501         * text2.C (editXY):
502         * text3.C (checkInsetHit): constify
503
504 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
507         documents (bug 1629)
508
509 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         Fix toggling of collapsable insets with the mouse (bug 1558)
512
513         * lyxfunc.C (dispatch): adapt to LCursor changes
514
515         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
516         make sure that dispatch is not invoked twice
517
518         * cursor.C (needsUpdate): new method
519         (dispatch): return void
520         (result): new method, to access the DispatchResult of the cursor.
521
522 2004-08-13  José Matos  <jamatos@lyx.org>
523
524         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
525
526 2004-08-13  André Pönitz  <poenitz@gmx.net>
527
528         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
529
530         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
531           multiple cells
532
533 2004-08-12  André Pönitz  <poenitz@gmx.net>
534
535         * text3.C: take out the 'cursor right' form insertInset and only
536         do it in those places when it is really needed. Fixes crash on
537         C-m...
538
539 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
542
543         * BufferView_pimpl.C (setBuffer): initialize the current font of
544         the underlying LyXText
545
546 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * kbsequence.C (print): use UI native formatting for menu
549         shortcuts
550
551         * text.C (insertChar): call Paragraph::insertChar with a font
552         argument (cosmetic)
553
554         * paragraph.C (insertInset, insertChar): the version that takes a
555         LyXFont argument is now a wrapper around the other one (the
556         opposite used to be true).
557
558         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
559         argument. Font setting is done in Paragraph now.
560
561 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * outputparams.h: add new members intitle and lang.
564
565         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
566         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
567
568 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * text3.C (dispatch): remove special handling of button 4 and 5,
571         it is now taken care of in the frontend code.
572
573 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
574
575         * Spacing.h: add <string> (STLPort compile fix)
576
577 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
578
579         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
580
581 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
582
583         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
584         to bool.
585
586         * converter.C (showMessage): inherit from unary_function, make
587         operator() const.
588
589         * buffer.C (writeFile): initialize retval
590
591         * InsetList.h: rename private variable list to list_
592         * InsetList.[Ch]: adjust accordingly.
593
594 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
597         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
598         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
599         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
600         * ParagraphParameters.C, LaTeXFeatures.C: replace
601         "support/std_sstream.h" with <sstream>
602
603 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
606         * lyxsocket.C (LyXServerSocket): ditto
607         (serverCallback): ditto
608
609 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
610
611         * LaTeXFeatures.C: check release date when loading jurabib.
612
613 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
614
615         * lyxserver.C (startPipe): call register_socket_callback
616         (endPipe): call unregister_socket_callback
617
618 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
619
620         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
621         (LyXServerSocket): register the callback
622         (LyXServerSocket): unregister the callback
623         (fd): delete function
624         (serverCallback): improve error checking and setup the callbacks.
625         (dataCallback): change arg to fd.
626         (writeln): new func (copied fro the client socket) used for server
627         write to client.
628         (LyXDataSocket): simplify
629         (~LyXDataSocket): close ann unregiser callback
630         (server): delete function
631         (fd): delete function
632         (readln): small changes, improve some std::string usage
633         (writeln): constify a bit
634
635 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
638         Qt frontend
639
640 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * BufferView_pimpl.C (setBuffer): set the layout combox value only
643         after it has been populated
644
645 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * text2.C (insertInset): move cursor when inserting inset.
648
649 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * kbmap.C (findbindings): a couple of new methods. returns a
652         container of kb_sequence objects. The real work is done by the
653         private recursive version
654         (printbindings): uses findbindings to print out a bracketed list
655         of bindings (renamed from findbinding).
656
657         * MenuBackend.C (binding): use kb_keymap::findbindings
658
659         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
660
661 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
662
663         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
664
665 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * paragraph.C (isWord): return true on insets that report
668         isLetter().
669
670         * text.C (getWord): use Paragraph::isWord to decide what is in a
671         word and what is not; fix bug 1609.
672
673 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
674
675         * tex-strings.C: add "none" to string_paperpackages[], fixes
676         off-by-one-error in the paperpackage selection.
677
678         * lyxlex.[Ch]:
679         * tex-strings.[Ch]: char const * string[n]
680         -> char const * const string[]
681
682 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
685         command, return early.
686
687 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * debug.h: add DEBUG to enum and fix size of ANY.
690
691         * debug.C: add support for Debug::DEBUG
692         (showTags): cast errorTags.level to unsigned int
693
694         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
695         (redoCurrentBuffer): ditto
696         (updateScrollbar): ditto
697         * cursor.C (dispatch): ditto
698         * text2.C (setLayout): ditto
699         (setFont): ditto
700         (updateCounters): ditto
701         (editXY): ditto
702         (deleteEmptyParagraphMechanism): ditto
703
704 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
705
706         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
707         annotations to cleanup the Makefile slightly.
708
709 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
710
711         * lyxrc.C: do not set user_email to a default value but use empty
712         instead. The entry used to be translated, which does not work
713         since at the point where lyxrc is constructed there is no
714         translation service available
715
716         * messages.C (getLocaleDir): remove and use directly
717         lyx_localedir() instead
718
719 2004-06-02  Angus Leeming  <leeming@lyx.org>
720
721         Fix crash caused by dereferencing null pointer 'exportdata' in
722         OutputParams by creating a new ExportData variable on the heap,
723         storing it in a boost::shared_ptr.
724         The crash was triggered when generating an Instant Preview
725         of an external inset.
726
727         * Makefile.am: add outputparams.C
728
729         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
730         (c-tor): allocate memory to it.
731
732         * exporter.C (c-tor): associated changes.
733
734 2004-06-01  Angus Leeming  <leeming@lyx.org>
735
736         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
737         contains data before calling isInset(0). (Bug 1513.)
738
739 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
740
741         * exporter.C (checkOverwrite): new method
742         * exporter.C (copyFile): new method
743         * exporter.C (Export): copy referenced files to the document dir
744         * exporter.[Ch]: new class ExportedFile
745         * exporter.[Ch]: new class ExportData. Contains currently the
746         names of referenced external files
747         * outputparams.h: add exportdata member.
748
749 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
750
751         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
752         version.C-tmp
753
754 2004-05-19  Angus Leeming  <leeming@lyx.org>
755
756         * LaTeXFeatures.C:
757         * ToolbarBackend.C:
758         * bufferparams.C:
759         * lyxfunc.C: small changes due to the introduction of namespace
760         lyx::frontend and the moving of namespace biblio to lyx::biblio.
761
762 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
763
764         * text3.C (dispatch): supress update when only moving the cursor
765         * cursor.C (selHandle): remove commented code
766
767 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
768
769         * paragraph.C (startTeXParParams): correct column count
770         * CutAndPaste.C (pasteSelection): remove const_cast
771         * output_docbook.C (docbookParagraphs): remove const_cast
772         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
773         const_cast and return ParagraphList::const_iterator
774         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
775         * output_plaintext.C (writeFileAscii): remove const_cast
776         * paragraph.[Ch] (simpleTeXOnePar): make const
777         * paragraph_funcs.C (outerPar): use const iterators
778         * paragraph_pimpl.C (validate): use const iterators
779         * text.C (setHeightOfRow): use const iterators
780
781 2004-05-17  Angus Leeming  <leeming@lyx.org>
782
783         * lfuns.h:
784         * LyXAction.C (init): new LFUN_INSET_REFRESH.
785
786         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
787         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
788         if the citation engine has changed.
789
790 2004-05-14  José Matos  <jamatos@lyx.org>
791
792         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
793         if the textclass does not provide it. Have it different for sgml and
794         xml.
795         support the language of document.
796         * output_docbook.C (docbookParagraphs):
797         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
798         first anchor as the id of the paragraph, remove special case code.
799         * sgml.C (escapeChar): escape only < & >.
800
801 2004-05-14  Angus Leeming  <leeming@lyx.org>
802
803         * bufferparams.h: move biblio::CiteEngine enum here to minimize
804         dependencies on src/frontends/controllers/biblio.h. Define a
805         CiteEngine_enum wrapper class to enable the enum to be forward
806         declared.
807
808 2004-05-12  Angus Leeming  <leeming@lyx.org>
809
810         * buffer.C: up LYX_FORMAT to 234.
811         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
812         use_numerical_citations with a single biblio::CiteEngine cite_engine
813         variable.
814         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
815
816 2004-05-13  José Matos  <jamatos@lyx.org>
817
818         * converter.h:
819         * converter.C (Converter, readFlags): add xml member.
820         * outputparams.h: add XML flavor.
821         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
822
823 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
824
825         * lyxfunc.C (dispatch):
826         (getStatus): fix handling of LFUN_SEQUENCE
827
828 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
829
830         * debug.C (showLevel): do not forget the end-of-line marker
831
832 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * kbmap.C (read): do not stop parsing a bind file when an error
835         occurs (bug 1575)
836
837 2004-04-29  Angus Leeming  <leeming@lyx.org>
838
839         * cursor.C:
840         * factory.C:
841         * pariterator.C:
842         * text2.C: wrap a bunch of #warning statements
843         inside #ifdef WITH_WARNINGS blocks.
844
845 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * buffer.C: increment format to 233.
848
849 2004-04-28  Angus Leeming  <leeming@lyx.org>
850
851         * BufferView_pimpl.C:
852         * lyxfunc.C:
853         * text3.C:
854         s/updateToolbar()/updateToolbars()/
855         s/Toolbar.h/Toolbars.h/
856
857 2004-04-28  Angus Leeming  <leeming@lyx.org>
858
859         * BufferView.[Ch] (c-tor):
860         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
861         No longer passes these data to the WorkArea generator.
862
863 2004-04-28  Angus Leeming  <leeming@lyx.org>
864
865         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
866
867 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
868
869         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
870
871 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * output_latex.C (TeXEnvironment): make sure that there is a line
874         break before \end{foo} for the last paragraph of a document
875         (TeXOnePar): if the paragraph is at the end of the document (or
876         inset) and the language has to be reset, then make sure that the
877         line break is _before_ the language command, not after (fixes bug
878         1225); also make sure that the language reset command is the first
879         thing after the paragraph (to ensure proper nesting of
880         environments and thus fix bug 1404)
881
882 2004-04-21  John Levon  <levon@movementarian.org>
883
884         * ToolbarBackend.h:
885         * ToolbarBackend.C: make "name" be a programmatic name
886         and a gui_name field.
887
888         * lyxfunc.C: display the minibuffer on M-x
889
890 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
891
892         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
893         (bug 1526)
894
895 2004-04-19  Angus Leeming  <leeming@lyx.org>
896
897         * BufferView_pimpl.C (setBuffer): changed preview interface.
898
899         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
900         possible values.
901
902 2004-04-19  John Levon  <levon@movementarian.org>
903
904         * BufferView_pimpl.C:
905         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
906
907 2004-04-05  Angus Leeming  <leeming@lyx.org>
908
909         * text.C (redoParagraphs): add call to updateCounters(), thereby
910         fixing the missing "Figure #:" label from the caption of a
911         figure float.
912
913 2004-04-13  Angus Leeming  <leeming@lyx.org>
914
915         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
916         cursor is clicked out of an inset.
917
918 2004-04-13  Angus Leeming  <leeming@lyx.org>
919
920         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
921         than an InsetOld one.
922
923 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
924
925         * format.[Ch]: add editor to Format
926         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
927         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
928
929 2004-04-08  André Pönitz  <poenitz@gmx.net>
930
931         * metricsinfo.h: remove PainterInfo::width member
932
933 2004-04-08  Angus Leeming  <leeming@lyx.org>
934
935         * lyx_sty.C (boldsymbol_def): modify so that it outputs
936         "\providecommand" rather than "\newcommand", thereby preventing
937         clashes with packages that define "\boldsymbol" themselves.
938         Eg, beamer.
939
940 2004-04-08  Angus Leeming  <leeming@lyx.org>
941
942         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
943         thereby squashing an unnecessary warning.
944
945 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
946
947         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
948         setBuffer()
949
950 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * BufferView.C (setCursor): call redoParagraph (some insets could
953         have been opened)
954         (putSelectionAt): remove the 'double update' trick
955
956         * BufferView_pimpl.C (fitCursor): call refreshPar
957         (workAreaDispatch): remove an uneeded update call
958         (dispatch): remove some manual update calls
959
960         * cursor.[Ch]: remove cached_y_, updatePos
961         (selHandle): set noUpdate when appropriate
962
963         * lyxfunc.C (dispatch): track if we need an update
964
965         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
966
967         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
968         (paintSelection): cheap optimization, do not call cursorX when not
969         needed
970         (paintPars): change signature
971         (refreshPar): add
972         (paintText): adjust
973         (paintTextInset): adjust
974
975         * text.C: adjust
976
977 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
978
979         * lengthcommon.C: compilation fix: remove explicit array size from
980         unit_name[] and friends
981
982 2004-04-05  Angus Leeming  <leeming@lyx.org>
983
984         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
985
986         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
987         present only for the preferences dialog.
988         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
989
990 2004-04-05  Angus Leeming  <leeming@lyx.org>
991
992         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
993         to enable the frontends to export changes to lyxrc correctly.
994
995         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
996
997 2004-04-07  André Pönitz  <poenitz@gmx.net>
998
999         * cursor.[Ch] (selClear, adjust): remove math
1000
1001         * cursor_slice.C: more agressive assert
1002
1003         * lyxfunc.C:
1004         * BufferView_pimpl.C: rework mouse event dispatch
1005
1006         * dociterator.C:
1007         * paragraph.C:
1008         * text2.C:
1009         * text3.C: adjust
1010
1011 2004-04-05  André Pönitz  <poenitz@gmx.net>
1012
1013         * cursor.[Ch] (valign, halign...): remove unneeded functions
1014
1015 2004-04-05  Angus Leeming  <leeming@lyx.org>
1016
1017         * lyxlength.[Ch] (unit_name et al.): const-correct.
1018
1019 2004-04-05  Angus Leeming  <leeming@lyx.org>
1020
1021         * BufferView_pimpl.C:
1022         * buffer.C:
1023         * counters.C:
1024         * cursor.C:
1025         * lyxfunc.C
1026         * paragraph.C:
1027         * pariterator.C:
1028         * text.C:
1029         * text2.C:
1030         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1031
1032 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1033
1034         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1035
1036 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1037
1038         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1039         * BufferView_pimpl.[Ch] (getStatus)
1040         * BufferView.[Ch] (getStatus): add
1041         * lyxfunc.C (getStatus): move lfuns handled in
1042         BufferView::dispatch to te function above
1043         * Cursor.C (setSelection): set selection() = true
1044
1045 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1046
1047         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1048
1049 2004-03-31  Angus Leeming  <leeming@lyx.org>
1050
1051         * lyxfunc.C (dispatch): Fall through to the generic
1052         Dialogs::show("preamble").
1053
1054 2004-03-31  Angus Leeming  <leeming@lyx.org>
1055
1056         * lyxfunc.C (dispatch): Fall through to the generic
1057         Dialogs::show("spellchecker").
1058
1059 2004-03-31  Angus Leeming  <leeming@lyx.org>
1060
1061         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1062         preferences dialog.
1063
1064 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1065
1066         * BufferView.C
1067         * cursor.[Ch]
1068         * dociterator.[Ch]:
1069         * insetiterator.[Ch]:
1070         * lyxfind.C:
1071         * lyxfunc.C:
1072         * pariterator.[Ch]:
1073         * text2.C:
1074         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1075
1076 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1079         insets where we are putting the cursor.
1080
1081 2004-03-31  Angus Leeming  <leeming@lyx.org>
1082
1083         * lfuns.h:
1084         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1085
1086         * lyxrc.[Ch] (read, write): overloaded member functions taking
1087         a std::[io]stream arguments.
1088
1089         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1090
1091 2004-03-31  Angus Leeming  <leeming@lyx.org>
1092
1093         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1094         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1095
1096         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1097         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1098
1099 2004-03-31  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1102         the LFUN_ALL_INSETS_TOGGLE code.
1103
1104 2004-03-30  Angus Leeming  <leeming@lyx.org>
1105
1106         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1107         has died. Fall through to the generic Dialogs::show("document").
1108
1109 2004-03-30  Angus Leeming  <leeming@lyx.org>
1110
1111         * lfuns.h:
1112         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1113         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1114
1115         * lyxfunc.C (getStatus, dispatch): define the actions for these
1116         lfuns. Little more than a cut and pste job from ControlDocument.C
1117
1118         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1119
1120 2004-03-30  Angus Leeming  <leeming@lyx.org>
1121
1122         * lfuns.h:
1123         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1124         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1125
1126         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1127         open/closed state of ollapsable insets. Usage:
1128
1129         all-inset-toggle <state> <name>, where
1130         <state> == "open" || "closed" || "toggle" and
1131         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1132
1133         * lyxtext.h, text2.C (toggleInset): removed.
1134
1135         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1136         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1137         now passes LFUN_INSET_TOGGLE to the found inset.
1138
1139         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1140         is now invoked as "all-insets-toggle toggle branch".
1141
1142 2004-03-30  Angus Leeming  <leeming@lyx.org>
1143
1144         * dociterator.C:
1145         * insetiterator.C:
1146         * pariterator.[Ch]: added/corrected header blurb.
1147
1148 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * dociterator.[Ch]: add an inset_ member
1151         (backwardPos): implemented
1152         (backwardPos, forwardPos): use inset_ when the stack is empty.
1153         (doc_iterator_begin, doc_iterator_end): implemented
1154         * pariterator.[Ch]: adjust, add begin, end
1155         * insetiterator.[Ch]: adjust, add begin, end
1156         * cursor.C:
1157         * document.C:
1158         * BufferView.C:
1159         * BufferView_pimpl.C:
1160         * CutAndPaste.C: adjust
1161
1162 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1163
1164         * buffer.C: increment file format to 232.
1165         * LaTeXFeatures.C: add bibtopic package.
1166         * bufferparams.[Ch]: param \use_bibtopic.
1167
1168         * lyxrc.[Ch]: add lyxrc bibtex_command
1169         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1170
1171         * buffer.C: increment file format to 231.
1172
1173 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * dociterator.C: implement forwardPar
1176         * iterators.[Ch]: remove, replaced by
1177         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1178         * BufferView.C:
1179         * BufferView_pimpl.C:
1180         * CutAndPaste.C:
1181         * buffer.C:
1182         * bufferview_funcs.C:
1183         * cursor.C:
1184         * lyxfind.C
1185         * lyxfunc.C
1186         * paragraph_funcs.C
1187         * toc.C:
1188         * Makefile.am: adjust
1189
1190 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * CutAndPaste.C (pasteSelection): fix 2 crashes
1193         (eraseSelection): fix a crash
1194         * paragraph_funcs.C: remove a warning
1195
1196 2004-03-28  Angus Leeming  <leeming@lyx.org>
1197
1198         * lfuns.h:
1199         * LyXAction.C (init): new LFUN_PRINT.
1200
1201         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1202
1203 2004-03-27  Angus Leeming  <leeming@lyx.org>
1204
1205         * lfuns.h:
1206         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1207
1208         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1209
1210 2004-03-27  Angus Leeming  <leeming@lyx.org>
1211
1212         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1213         insetlist always contains non-null pointers to insets.
1214
1215 2004-03-26  Angus Leeming  <leeming@lyx.org>
1216
1217         * src/BufferView_pimpl.C:
1218         * src/CutAndPaste.C:
1219         * src/buffer.C:
1220         * src/iterators.C:
1221         * src/output_plaintext.C:
1222         * src/outputparams.h:
1223         * src/paragraph_funcs.C:
1224         * src/rowpainter.C:
1225         * src/text.C:
1226         * src/text2.C:
1227         * src/frontends/controllers/ControlErrorList.C:
1228         * src/frontends/gtk/FileDialogPrivate.C:
1229         * src/frontends/gtk/GPainter.C:
1230         * src/frontends/gtk/GToolbar.C:
1231         * src/frontends/qt2/QRef.C:
1232         * src/mathed/math_scriptinset.C: squash compiler warnings.
1233
1234 2004-03-26  Angus Leeming  <leeming@lyx.org>
1235
1236         * ispell.C (LaunchIspell::start):
1237         * lyx_cb.C (AutoSaveBuffer::start):
1238         invoke run(DontWait) rather than runNonBlocking().
1239
1240 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1241
1242         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1243
1244 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1245
1246         * kbsequence.C (print): adjust
1247
1248         * kbmap.C (printKeySym): rename and change signature
1249         (printKey): use LyXKeySym::print()
1250
1251 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * undo.C: add using std::advance to compile for stlport
1254
1255 2004-03-24  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1258         it leads to a crash when no buffer is present.
1259
1260 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261             Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * lyxfunc.C (dispatch):
1264         * bufferparams.C (readToken): use the new LColor::setColor
1265
1266         * LColor.[Ch] (setColor): new version that takes two strings as
1267         argument and creates a new color entry if necessary
1268
1269 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1270
1271         * buffer.C (makeLaTeXFile): if the main latex file that is
1272         processed is usually a subdocument of some master, then pretend
1273         for a while that it is actually the master
1274
1275 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1276
1277         * buffer.C (getLabelList):
1278         (getBibkeyList): use getMasterBuffer()
1279         (getMasterBuffer): new method. Returns the main document in the
1280         case where one is using included documents.
1281
1282 2004-03-25  André Pönitz  <poenitz@gmx.net>
1283
1284         * Makefile.am:
1285         * iterators.[Ch]:
1286         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1287
1288         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1289
1290         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1291         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1292
1293         * ParameterStruct.h: merge with ParagraphParameters
1294
1295         * lyxtext.h: remove LyXText::parOffset() and getPar()
1296
1297         * text3.C: Remove all 'manual' update calls. We do now one per user
1298         interaction which is completely sufficient.
1299
1300         * Bidi.C:
1301         * BufferView.[Ch]:
1302         * BufferView_pimpl.C:
1303         * FontIterator.[Ch]:
1304         * MenuBackend.C:
1305         * ParagraphParameters.[Ch]:
1306         * buffer.C:
1307         * buffer.h:
1308         * bufferlist.C:
1309         * cursor.[Ch]:
1310         * cursor_slice.[Ch]:
1311         * dociterator.[Ch]:
1312         * errorlist.[Ch]:
1313         * factory.C:
1314         * lfuns.h:
1315         * lyxfind.C:
1316         * lyxfunc.C:
1317         * output_docbook.[Ch]:
1318         * output_latex.[Ch]:
1319         * output_linuxdoc.[Ch]:
1320         * output_plaintext.[Ch]:
1321         * paragraph.[Ch]:
1322         * paragraph_funcs.[Ch]:
1323         * paragraph_pimpl.[Ch]:
1324         * rowpainter.C:
1325         * tabular.[Ch]:
1326         * text.C:
1327         * text2.C:
1328         * toc.C:
1329         * undo.[Ch]: adjust
1330
1331         * frontends/controllers/ControlDocument.C:
1332         * frontends/controllers/ControlErrorList.C:
1333         * frontends/controllers/ControlSpellchecker.C:
1334         * insets/inset.C:
1335         * insets/inset.h:
1336         * insets/insetbase.h:
1337         * insets/insetbibitem.C:
1338         * insets/insetbox.C:
1339         * insets/insetbranch.C:
1340         * insets/insetcaption.C:
1341         * insets/insetcharstyle.C:
1342         * insets/insetcharstyle.h:
1343         * insets/insetcollapsable.C:
1344         * insets/insetcollapsable.h:
1345         * insets/insetert.C:
1346         * insets/insetfloat.C:
1347         * insets/insetfoot.C:
1348         * insets/insetmarginal.C:
1349         * insets/insetnote.C:
1350         * insets/insetoptarg.C:
1351         * insets/insettabular.C:
1352         * insets/insettext.C:
1353         * insets/insettext.h:
1354         * insets/insetwrap.C:
1355         * mathed/math_mboxinset.C:
1356         * mathed/math_nestinset.C:
1357         * mathed/math_scriptinset.C:
1358         * mathed/math_scriptinset.h:
1359         * support/types.h:
1360
1361 2004-03-24  Angus Leeming  <leeming@lyx.org>
1362
1363         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1364         deal with any child processes that have finished but are waiting to
1365         communicate this fact to the rest of LyX.
1366
1367 2004-03-24  Angus Leeming  <leeming@lyx.org>
1368
1369         64-bit compile fixes.
1370
1371         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1372         (c-tor): pass lyx::pos_types rather than ints.
1373
1374         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1375         lyx::pos_type.
1376
1377         * text.C (Delete): compile fix.
1378         (getPar): ensure that function declaration is the same as that in
1379         the header file.
1380
1381 2004-03-23  Angus Leeming  <leeming@lyx.org>
1382
1383         * ispell.C (LaunchIspell):
1384         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1385         a boost::shred_ptr rather than a std::auto_ptr.
1386
1387 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1390         handle LFUN_FILE_INSERT_*
1391
1392         * lyxrc.C (setDefaults, getDescription, output, read):
1393         * lyxrc.h: remove ps_command
1394
1395 2004-03-22  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1398         Ensure that error_handler is processed once only and that all data
1399         is saved before attempting to output any warning messages.
1400
1401         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1402
1403 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1404
1405         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1406
1407 2004-03-19  André Pönitz  <poenitz@gmx.net>
1408
1409         * cursor.[Ch] (reset): take main text inset as argument
1410
1411         * BufferView: adjust
1412         * BufferView_pimpl.C: adjust
1413
1414         * paragraph.[Ch]: fix completely broken operator=()
1415
1416 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * LColor.C (getFromLyXName): make sure that the color name is used
1419         as lowercase.
1420
1421 2004-03-17  Angus Leeming  <leeming@lyx.org>
1422
1423         * lfuns.h:
1424         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1425
1426         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1427         dialog and to kill a forked process.
1428
1429 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * text2.C (setCursorFromCoordinates): fix font problem
1432
1433 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1436         bogus "rebuild cursor" code
1437
1438 2004-03-11  André Pönitz  <poenitz@gmx.net>
1439
1440         * buffer.[Ch]: use InsetText instead of LyXText as container for
1441         the main lyx text.
1442
1443         * dociterator.[Ch]: drop the BufferView * member which is not needed
1444         anymore after the change to buffer.C
1445
1446         * paragraph_funcs.C:
1447         * text.C:
1448         * text2.C:
1449         * BufferView.[Ch]:
1450         * BufferView_pimpl.[Ch]:
1451         * cursor.[Ch]:
1452         * cursor_slice.[Ch]: adjust
1453
1454         * text3.C: fix bug in mathDispatch
1455
1456 2004-03-08  André Pönitz  <poenitz@gmx.net>
1457
1458         * undo.[Ch]: use 'StableDocumentIterator' as base for
1459         the Undo struct.
1460
1461 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1462
1463         * LaTeXFeatures.C:
1464         * bufferparams.[Ch]: add jurabib support and param.
1465
1466         * LaTeX.C: add FIXME/comment.
1467
1468 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1469
1470         * buffer.C: increment file format to 230.
1471
1472 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1473
1474         * cursor.C (dispatch): avoid infinite loops
1475
1476 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * rowpainter.C (paintSelection): fix x coordinates
1479
1480 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * text.C (rowBreakPoint): fix breaking before displayed insets
1483
1484 2004-03-01  André Pönitz  <poenitz@gmx.net>
1485
1486         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1487
1488         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1489
1490         * Makefile.am:
1491         * BufferView.C:
1492         * BufferView_pimpl.C:
1493         * buffer.C:
1494         * lyxfind.C:
1495         * lyxfunc.C:
1496         * text.C:
1497         * text2.C:
1498         * text3.C: adjust
1499
1500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * lyxtext.h:
1503         * text.C:
1504         * text2.C:
1505         * rowpainter.C:
1506         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1507         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1508
1509 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * Bidi.[Ch] (computeTables): const correctness
1512         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1513         fill_hfill, fill_label_hfill and x from Row
1514         * lyxtext.h: prepareToPrint returns a RowMetrics
1515         * rowPainter.C: adjust
1516         * text.C (prepareToPrint): use width, not textWidth. adjust
1517         (redoParagraphInternal, cursorX): adjust
1518         * text2.C (getColumnNearX): adjust
1519         (init): put a default value to the top LyXText::width
1520
1521 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1524
1525 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1526
1527         * lyxtext.h: add FontIterator class
1528
1529         * text.C (FontIterator, operator*, operator->, operator++): add
1530         (rowBreakPoint, setRowWidth): adjust (fixing a
1531         rebreaking bug)
1532
1533 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * BufferView_pimpl.C (workAreaDispatch): allow also
1536         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1537
1538 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * text.C (rowBreakPoint): fix a bug showing with very large insets
1541
1542 2004-02-25  André Pönitz  <poenitz@gmx.net>
1543
1544         * text3.C:
1545         * cursor.[Ch]: move some mathed specific code to mathed
1546
1547 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1550         use_tempdir in preferences
1551         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1552         tempfile creation
1553         * lyx_main.C: ensure that tempdir is valid
1554         * lyxlex.h: correct typo
1555         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1556         * paragraph.[Ch] (isMultiLingual): make const
1557         * cursor.[Ch] (openable): make const
1558
1559 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1560
1561         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1562
1563 2004-02-20  André Pönitz  <poenitz@gmx.net>
1564
1565         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1566
1567         * cursor.[Ch]: prepare for localized getStatus()
1568
1569         * lyxtext.h:
1570         * tabular.C:
1571         * text.C:
1572         * text2.C:
1573         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1574
1575 2004-02-20  André Pönitz  <poenitz@gmx.net>
1576
1577         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1578
1579 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * text2.C (setCursorFromCoordinates): switch to absolute coords
1582         (cursorUp): adjust
1583         (cursorDown): adjust
1584         * text3.C (dispatch): adjust
1585
1586 2004-02-16  André Pönitz  <poenitz@gmx.net>
1587
1588         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1589           insets/ChangeLog)
1590
1591         * cursor_slice.[Ch]: remove unneeded acessor function
1592
1593         * lyxtext.h: rename rtl() to isRTL()
1594
1595         * rowpainter.C:
1596         * tabular.C:
1597         * text.C:
1598         * text2.C:
1599         * text3.C: adjust
1600
1601 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * rowpainter.C (paintSelection): coord fix
1604
1605 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1606
1607         * Spacing.C: compile fix
1608
1609 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1610
1611         * cursor.C (dispatch): restore current_ before returning
1612
1613 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * text2.C (cursorUp, cursorDown): fix coords
1616         (moveUp): fix crash
1617
1618 2004-02-12  André Pönitz  <poenitz@gmx.net>
1619
1620         * lyxtext.h:
1621         * text.C:
1622         * text2.C:
1623         * text3.C: add LCursor & parameter to most cursor movement functions
1624           remove usage of LyXText::cursorRow() and cursorPar()
1625
1626         * cursor.[Ch]: add textRow() needed members
1627
1628         * BufferView.C:
1629         * BufferView_pimpl.C:
1630         * paragraph.[Ch]:
1631         * BufferView.C:
1632         * BufferView_pimpl.C: adjust
1633
1634 2004-02-11  André Pönitz  <poenitz@gmx.net>
1635
1636         * lyxfunc.C:
1637         * BufferView.[Ch]:
1638         * BufferView_pimpl.C: shift undo/redo handling
1639
1640         * cursor.[Ch]: fix mathed crash
1641
1642         * lyxfind.C:
1643         * lyxtext.h: move selectionAsText to LCursor
1644
1645         * output_latex.C:
1646         * paragraph.C:
1647         * text.C:
1648         * text2.C:
1649         * text3.C: adjust
1650
1651         * rowpainter.C: fix excessive drawing
1652
1653 2004-02-06  André Pönitz  <poenitz@gmx.net>
1654
1655         * BufferView.[Ch]:
1656         * BufferView_pimpl.[Ch]:
1657         * text3.C: move some text specific LFUN handling
1658
1659 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * text3.C (checkInsetHit): adjust coords
1662         * text2.C (getColumnNearX): adjust coords
1663         (edit): adjust coords
1664         * text.C (getRowNearY): add two asserts
1665
1666 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1667
1668         * converter.C:
1669         * format.C: add using std::distance to compile on gcc 2.95/stlport
1670
1671 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1672
1673         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1674
1675 2004-02-04  André Pönitz  <poenitz@gmx.net>
1676
1677         * BufferView.[Ch] (insertInset):
1678         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1679
1680         * text2.C:
1681         * text3.C: adjust
1682
1683 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1684
1685         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1686         on the default clause of the switch
1687         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1688         wasn't catched by LCursor::dispatch
1689
1690 2004-02-03  André Pönitz  <poenitz@gmx.net>
1691
1692         * BufferView.C:
1693         * cursor.[Ch]: some additional asserts
1694
1695         * undo.[Ch]: remove LyXText dependency in interface
1696
1697         * lyxfunc.C: adjust
1698
1699         * lyxtext.h (firstPar, lastPar): remove dead functions
1700
1701         * text.C:
1702         * text2.C:
1703         * text3.C:
1704         * paragraph.[Ch]: adjust
1705
1706 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * lyxfind.C (find): fix argument order in call to ::find
1709
1710 2004-02-02  André Pönitz  <poenitz@gmx.net>
1711
1712         * cursor.[Ch]: remove direct access to anchor
1713
1714         * text.C: remove findText() hack
1715
1716 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1717
1718         * iterators.[Ch] (lockPath): remove in favour of...
1719         * BufferView.[Ch] (setCursor): this addition
1720         * BufferView.C (putSelectionAt): adjust
1721         * undo.C (performUndoOrRedo): adjust
1722         * lyxfunc.C (dispatch): adjust
1723
1724 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * iterators.C (lockPath): add a missing slice
1727         * undo.C (performUndoOrRedo): remove redundant positioning code
1728
1729 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1730
1731         * vc-backend.C (scanMaster): ";" -> ';'
1732
1733 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1734
1735         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1736         std::binary_function
1737
1738         * lyxtextclass.C (compare_name): rename to...
1739         (LayoutNamesEqual): ...this
1740
1741         * lyxlex_pimpl.C (compare_tags): inherit from
1742         std::binary_function, put back into anon namespace
1743
1744         * lyxfind.C (MatchString): inherig from std::binary_function
1745         (findChange): use empty() istead of !size()
1746
1747         * format.C (FormatNamesEqual): new functor
1748         (getFormat): use it
1749         (getNumber): use it
1750         (add): use it
1751         (erase): use it
1752         (setViewer): use it
1753
1754         * converter.C (compare_Converter): rename to...
1755         (ConverterEqual): ...this, and fixup a bit.
1756         (getConverter): use it, and make function const
1757         (getNumber): use it, and make function const
1758         (add): use it
1759         (erase): use it:
1760
1761         * bufferlist.C: add using boost::bind
1762
1763         * MenuBackend.C (MenuNamesEqual): new functor
1764         (hasMenu): use it, and make function const
1765         (hasSubmenu): use nested bind to get rid of compare_memfun.
1766
1767 2004-01-30  André Pönitz  <poenitz@gmx.net>
1768
1769         * BufferView_pimpl.C:
1770         * cursor.C:
1771         * cursor.h:
1772         * cursor_slice.[Ch]:
1773         * lyxfunc.C:
1774         * lyxtext.h:
1775         * paragraph_funcs.C:
1776         * paragraph_funcs.h:
1777         * rowpainter.C:
1778         * text.C:
1779         * text2.C:
1780         * text3.C: move some of the edit(x,y) handling to the insets
1781         some coordinate changes.
1782
1783 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1784
1785         * text.C: add using statements for std::advance and std::distance
1786
1787         * paragraph.C: add using statement for std::distance
1788
1789         * lyxfind.C: add using statement for std::advance
1790
1791         * cursor.C (region): remove std:: from swap
1792         (openable): use nucleus in stead of operator->
1793
1794         * BufferView.C: add using statements for std::distance and std::swap
1795
1796 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1797
1798         * iterators.C: Remove the pimple, move the needed structures to
1799         the header file. Create accessor for the positions stack.
1800         (asPosIterator): remove function
1801
1802         * PosIterator.C (PosIterator): move constructors to top of file
1803         (PosIterator): reimplement the constructor taking a ParIterator in
1804         terms of setFrom.
1805         (setFrom): new function
1806         (operator!=): inline it
1807
1808 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1809
1810         * lyxfind.C (replaceAll): use std::advance
1811
1812         * iterators.h: inherit from std::iterator.
1813
1814         * PosIterator.C (advance, distance): remove
1815         * PosIterator.h: interit from std::iterator.
1816
1817 2004-01-26  André Pönitz  <poenitz@gmx.net>
1818
1819         * BufferView.[Ch]:
1820         * BufferView_pimpl.[Ch]:
1821         * InsetList.[Ch]:
1822         * PosIterator.[Ch]:
1823         * buffer.h:
1824         * bufferview_funcs.C:
1825         * cursor.[Ch]:
1826         * cursor_slice.h:
1827         * factory.[Ch]:
1828         * iterators.[Ch]:
1829         * lyxfind.C:
1830         * lyxfunc.C:
1831         * lyxtext.h:
1832         * output_docbook.C:
1833         * output_latex.C:
1834         * output_linuxdoc.C:
1835         * output_plaintext.C:
1836         * paragraph.[Ch]:
1837         * paragraph_funcs.[Ch]:
1838         * paragraph_pimpl.[Ch]:
1839         * rowpainter.C:
1840         * tabular.C:
1841         * tabular.h:
1842         * text.C:
1843         * text2.C:
1844         * text3.C: more IU:  dumps most of the rest of the mathcursor
1845     implementation into cursor.[Ch]; "globalize" a bit of it.
1846
1847 2004-01-25  Angus Leeming  <leeming@lyx.org>
1848
1849         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1850
1851 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1852
1853         * LaTeXFeatures.h: add nice_ and nice() const
1854         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1855
1856 2004-01-20  André Pönitz  <poenitz@gmx.net>
1857
1858         * BufferView.[Ch]:
1859         * BufferView_pimpl.C:
1860         * PosIterator.C:
1861         * bufferview_funcs.C:
1862         * cursor.[Ch]:
1863         * cursor_slice.[Ch]:
1864         * factory.C:
1865         * iterators.C:
1866         * lyx_cb.C:
1867         * lyxfind.C:
1868         * lyxfunc.C:
1869         * lyxtext.h:
1870         * rowpainter.C:
1871         * text.C:
1872         * text2.C:
1873         * text3.C:
1874         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1875           LCursor and mathcursor parts to LCursor and InsetBase.
1876
1877 2004-01-15  André Pönitz  <poenitz@gmx.net>
1878
1879         * cursor_slice.[Ch]: add a few covienience functions
1880
1881         * funcrequest.[Ch]: remove BufferView * member
1882
1883         * BufferView_pimpl.C:
1884         * cursor.C:
1885         * factory.[Ch]:
1886         * lyxfind.[Ch]:
1887         * lyxfunc.C:
1888         * lyxtext.h:
1889         * text3.C:
1890         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1891
1892 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1893
1894         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1895         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1896
1897 2004-01-13  André Pönitz  <poenitz@gmx.net>
1898
1899         * textcursor.[Ch]:
1900         * lyxtext.h: hide cursor and selection anchor behind accessor function
1901
1902         * BufferView.C:
1903         * BufferView_pimpl.[Ch]:
1904         * PosIterator.C:
1905         * bufferview_funcs.C:
1906         * cursor.h:
1907         * lyxfind.C:
1908         * lyxfunc.C:
1909         * text.C:
1910         * text2.C:
1911         * text3.C:
1912         * undo.C: adjust
1913
1914         * cursor.h:
1915         * cursor_slice.[Ch]: some integer type changes for inset unification
1916
1917         * lyxcursor.[hC]: remove, it's CursorSlice now.
1918
1919         * Makefile.am:
1920         * BufferView_pimpl.[Ch]:
1921         * bufferview_funcs.C:
1922         * cursor_slice.C:
1923         * lyxtext.h:
1924         * text.C:
1925         * text2.C:
1926         * text3.C:
1927         * textcursor.[Ch]: adjust
1928
1929 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * text2.C (undoSpan): add and use
1932         * text.C (breakParagraph): use undoSpan (fix bug 578)
1933         * lyxtext.h: adjust
1934
1935 2004-01-08  Angus Leeming  <leeming@lyx.org>
1936
1937         * BufferView_pimpl.C (MenuInsertLyXFile):
1938         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1939         * lyxfunc.C (menuNew, open, doImport):
1940         FileFilterList change to the FileDialog open and save functions.
1941
1942 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1943
1944         * ShareContainer.h: make isEqual and isUnique adaptable
1945
1946         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1947
1948 2004-01-07  Angus Leeming  <leeming@lyx.org>
1949
1950         * LyXAction.C:
1951         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1952
1953         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1954
1955         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1956         functions replacing find, replace and replaceAll.
1957
1958         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1959         LFUN_WORDFIND(FORWARD|BACKWARD).
1960
1961 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1962
1963         * text.C (breakParagraph): remove an outdated #warning
1964
1965 2004-01-07  André Pönitz  <poenitz@gmx.net>
1966
1967         * lyxfind.C: somewhat clearer logic
1968
1969         * text.C: prevent crash in cursorX on unitialized row cache
1970
1971 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1972
1973         * lyxcursor.[Ch] (operator>): add
1974         * textcursor.C (selStart, selEnd): use std::min and std::max
1975
1976 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1977
1978         * Chktex.C: include boost/format.hpp
1979
1980 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1981
1982         * InsetList.C: replace functor MathcIt with adaptable functor
1983         InsetTablePosLess
1984         (insetIterator): modify accordingly
1985
1986         * BranchList.h: move the BranchNamesEqual functor here from...
1987         * BranchList.C: ... to here
1988
1989         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1990         SameName and match.
1991         (add): replace a finding loop with std::find_if.
1992
1993 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * output_docbook.C: moving LatexParam functionality into
1996         .layout files
1997
1998 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1999
2000         * buffer.C: increment format to 229.
2001
2002 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2003
2004         * LaTeXFeatures.C:
2005         * lyx_sty.[Ch]: remove minipageindent_def
2006
2007         * LyXAction.C:
2008         * factory.C:
2009         * lfuns.h:
2010         * lyxfunc.C:
2011         * text3.C: remove LFUN_INSET_MINIPAGE
2012
2013 2003-12-28  Angus Leeming  <leeming@lyx.org>
2014
2015         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2016
2017 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2018
2019         * text2.C (setParagraph): fix off-by-one crash
2020
2021 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2022
2023         * output_docbook.C: header stuff for AGU
2024
2025 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2026
2027         * text2.C (redoCursor): remove
2028         * text.C:
2029         * text3.C:
2030         * BufferView_pimpl.C: remove calls to redoCursor and
2031         setCursor(cursor.par(), cursor.pos()) all around
2032
2033 2003-12-15  Angus Leeming  <leeming@lyx.org>
2034
2035         * buffer.C: up the format to 228.
2036
2037 2003-12-15  André Pönitz  <poenitz@gmx.net>
2038
2039         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2040         slices
2041
2042         * Makefile.am:
2043
2044         * BufferView_pimpl.C:
2045         * cursor.[Ch]:
2046         * lyxcursor.[Ch]:
2047         * rowpainter.[Ch]:
2048         * lyxtext.h:
2049         * text.C:
2050         * text2.C:
2051         * text3.C: adjust
2052
2053 2003-12-15  Angus Leeming  <leeming@lyx.org>
2054
2055         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2056         than getFromGUIName to manipulate the color.
2057
2058 2003-12-14  Angus Leeming  <leeming@lyx.org>
2059
2060         * BranchList.[Ch]: minimize the API.
2061         (Branch::getBranch, getColor): now return a 'const &'.
2062         (Branch::setSelected) now returns a bool set to true if the
2063         selection status changes.
2064         (BranchList::clear, size, getColor, setColor, setSelected,
2065         allBranches, allSelected, separator): removed.
2066         (BranchList::find): new functions, returning the Branch with
2067         the given name.
2068         (BranchList::add, remove): return a bool indicating that
2069         the operation was successful.
2070
2071         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2072         new InsetBranch::isBranchSlected member function.
2073
2074         * LColor.[Ch]: mimimize the API.
2075         (fill): renamed as addColor and made private.
2076         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2077         versions of these functions taking a string arg have been removed.
2078
2079         * bufferparams.C (readToken):
2080         * lyxfunc.C (dispatch):
2081         * lyxrc.C (read): changes due to the altered BranchList and
2082         LColor APIs.
2083
2084         * factory.C (createInset, readInset): changes due to altered
2085         InsetBranch c-tor.
2086
2087 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2088
2089         * factory.C:
2090         * lyxfunc.C: remove insetminipage. "minipage-insert"
2091         now produces a frameless minipage box inset.
2092
2093 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2094
2095         * textcursor.[Ch] (selStart,selEnd): add new methods
2096         remove selection::start, end, use LyXCursor::operator<
2097         * lyxcursor.[Ch] (operator<): add
2098         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2099         * BufferView.[Ch] (unsetXSel): add
2100         * text2.C (clearSelection): use unsetXSel,adjust
2101         * text.C: adjust
2102         * text3.C: adjust
2103         * rowpainter.C: adjust
2104         * bufferview_funcs.C (put_selection_at): adjust
2105
2106 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * BufferView_pimpl.C: small coord. correction
2109
2110 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2113         dragging over the splash screen.
2114
2115 2003-12-11  Angus Leeming  <leeming@lyx.org>
2116
2117         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2118         as it is now handled in LyXText::dispatch.
2119
2120         * text3.C (doInsertInset): remove a level of nesting.
2121
2122 2003-12-11  Angus Leeming  <leeming@lyx.org>
2123
2124         * factory.C (createInset): changes due to the changed interface to
2125         InsetCommandMailer::string2params.
2126
2127 2003-12-10  Angus Leeming  <leeming@lyx.org>
2128
2129         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2130         'dialog-show-new-inset <inset name>'
2131
2132 2003-12-10  Angus Leeming  <leeming@lyx.org>
2133
2134         * buffer.C: up the format to 227.
2135
2136         * factory.C: the box inset is now identified simply by 'Box'.
2137
2138 2003-12-10  Angus Leeming  <leeming@lyx.org>
2139
2140         * buffer.C: up the format to 226.
2141
2142         * factory.C: the note inset is now identified simply by 'Note'.
2143
2144 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2145
2146         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2147         when a pit is enough. Standarize a couple of loops.
2148
2149 2003-12-05  Angus Leeming  <leeming@lyx.org>
2150
2151         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2152         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2153         data to the re-worked "log" dialog.
2154
2155 2003-12-03  André Pönitz  <poenitz@gmx.net>
2156
2157         * PosIterator.C:
2158         * iterators.C:
2159         * lyxtext.h:
2160         * output_latex.C:
2161         * paragraph_funcs.C:
2162         * text.C:
2163         * text2.C: use Inset::getText instead of Inset::getParagraph
2164
2165 2003-12-03  André Pönitz  <poenitz@gmx.net>
2166
2167         * buffer.[Ch]:
2168         * lyxtext.h:
2169         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2170         InsetText::read() as LyXText::read()
2171
2172 2003-12-02  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2175         type. Add a comment in the implementation that the function uses
2176         the stream's bad() function rather than fail() as the std::streams
2177         would do.
2178
2179 2003-12-02  André Pönitz  <poenitz@gmx.net>
2180
2181         * lyxlex.[Ch]: make interface more similar to std::stream
2182
2183         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2184
2185 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2186
2187         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2188
2189 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2190
2191         * vspace.[Ch]: remove VSpace::NONE
2192
2193 2003-12-01  André Pönitz  <poenitz@gmx.net>
2194
2195         * buffer.[Ch]:
2196         * lyxtext.h: move ParagraphList member to LyXText
2197         rename LyXText::ownerParagraphs to LyXText::paragraph
2198
2199         * CutAndPaste.C:
2200         * bufferview_funcs.C:
2201         * iterators.[Ch]:
2202         * lyx_cb.C:
2203         * paragraph.C:
2204         * rowpainter.C:
2205         * tabular.C:
2206         * text.C:
2207         * text2.C:
2208         * text3.C: adjust
2209
2210         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2211
2212         * undo.C: fix cursor positioning
2213
2214 2003-12-01  John Levon  <levon@movementarian.org>
2215
2216         * BufferView_pimpl.C: fix a crash on exit with
2217         a buffer open
2218
2219 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2220
2221         * BranchList.C: fix setSelected() method.
2222
2223 2003-11-28  André Pönitz  <poenitz@gmx.net>
2224
2225         * ParagraphParameters.[Ch]:
2226         * ParameterStruct.h: remove space above/below from Paragraph to
2227          InsetVSpace
2228
2229         * BufferView_pimpl.C:
2230         * factory.C:
2231         * lyxfunc.C:
2232         * lyxtext.h:
2233         * output_latex.C:
2234         * paragraph.C:
2235         * paragraph_funcs.C:
2236         * rowpainter.[Ch]:
2237         * text.C:
2238         * text2.C:
2239         * text3.C: adjust
2240
2241 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2242
2243         * factory.C: Syntax change for CharStyles
2244
2245 2003-11-28  André Pönitz  <poenitz@gmx.net>
2246
2247         * BufferView.[Ch]:
2248         * BufferView.[Ch]:
2249         * buffer.[Ch]:
2250         * buffer.[Ch]: move LyXText member
2251
2252 2003-11-28  André Pönitz  <poenitz@gmx.net>
2253
2254         * BufferView.[Ch]: make LyXText * text a private member
2255
2256         * BufferView_pimpl.C:
2257         * cursor.C:
2258         * iterators.C:
2259         * lyx_cb.C:
2260         * lyxfind.C:
2261         * lyxtext.h:
2262         * rowpainter.[Ch]:
2263         * text.C:
2264         * text2.C:
2265         * undo.C: adjust
2266
2267         * output_plaintext.C: cleanup
2268
2269 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2270
2271         * buffer.C:
2272         * lyxtextclass.[Ch]: parametrize SGML document header
2273
2274 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2275
2276         * converter.[Ch]:
2277         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2278         getFlavor().
2279
2280 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * text2.C (setFont): rework using PosIterator (no more recursive)
2283         (setCharFont): no more needed
2284         (setLayout): no more selection cursors fiddling (done by redoCursor)
2285         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2286         destroy remaining ones)
2287
2288 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2291         * lyxtext.h: ditto
2292         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2293         selection cursors
2294         * lyxfunc.C: adjust
2295         * text3.C: adjust + re-allow multi par depth changes
2296         * textcursor.C: simplify a bit
2297
2298 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2299
2300         * src/buffer.C:
2301         * src/lyxlayout.C:
2302         * src/lyxlayout.h:
2303         * src/lyxtext.h:
2304         * src/output_docbook.C:
2305         * src/output_latex.C:
2306         * src/paragraph.C:
2307         * src/paragraph.h:
2308         * src/sgml.C:
2309         * src/sgml.h:
2310         * src/text2.C: Introducing a number of tags parametrizing various
2311         XML formats that we may want to support
2312
2313 2003-11-25  André Pönitz  <poenitz@gmx.net>
2314
2315         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2316
2317         * lyxtext.h (leftMargin/rightMargin): simplify interface
2318
2319         * rowpainter.C:
2320         * text.C:
2321         * text2.C:
2322         * text3.C: adjust
2323
2324 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2325
2326         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2327         master file to any child files. Fixes bug 546.
2328
2329 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2332
2333 2003-11-24  André Pönitz  <poenitz@gmx.net>
2334
2335         * rowpainter.C: simplification
2336
2337         * text2.C (updateCounters): remove call to redoParagraph on
2338         changed labels as this is far too expensive.
2339
2340 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2341
2342         * converter.C (convert): fix a crash: this function gets
2343         called with buffer == 0 from importer code.
2344
2345 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2346
2347         * text3.C (cursorPrevious): make sure that we do not compare
2348         iterators form different containers.
2349         (cursorNext): ditto
2350
2351         * rowpainter.C (paintSelection): make sure that we do not compare
2352         iterators from different containers.
2353
2354         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2355         iterators from different ParagraphList containers.
2356         [NEXT] ditto
2357
2358         * text2.C (LyXText): change order of initialization slightly
2359         (operator=): new function. copy all variables except cache_par_
2360         (moveUp): make sure that we do not compare iterators from
2361         different ParagraphList constainers.
2362         (moveDown): ditto
2363
2364         * text.C (firstPar): new function
2365         (lastPar): new function
2366         (endPar): new function
2367
2368         * lyxtext.h: move things around and group public functions, public
2369         variables, private functions, private variables
2370
2371 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2372
2373         * factory.C: change call to InsetERT constructor to avoid
2374         additional invocation of method status
2375         * text2.C (toggleInset): remove redundant update() call
2376         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2377         instead of a Bufferview pointer
2378
2379 2003-11-21  André Pönitz  <poenitz@gmx.net>
2380
2381         * rowpainter.C: simplification
2382
2383 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2384
2385         * text3.C (dispatch): make possible to extend a word/row selection
2386         with the mouse
2387
2388 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2389
2390         * lyxtext.h: x0_,y0_ -> xo_,yo_
2391         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2392         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2393         * rowpainter.C (paintRows): paint full paragraphs
2394
2395 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2396
2397         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2398         screen coordinates)
2399
2400 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2401
2402         * lyxtext.h: add x0_, y0_
2403         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2404         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2405
2406 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2407
2408         * text2.C (setCursorIntern): move the x_target update here *
2409         * text3.C: change some bv() to true/false in calls to
2410         cursorUp/Down/Right/Left
2411         * cursor.C: use helper function.
2412
2413 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2416         * paragraph_funcs.[Ch]: correct comment
2417         * rowpainter.C: do not paint selections away from bv->cursor()
2418         Fix a long standing selection painting bug.
2419         * text3.C: generalize mouse-selection code to LyXTexts other that
2420         top one
2421         * textcursor.C: do not use y coords if we can use par offsets
2422
2423 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2426         cursor position after e.g. inset insert)
2427
2428 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2429
2430         * lyxfind.C (replace): adjust to locking removal + some
2431         code simplification
2432
2433 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2434
2435         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2436         of the path
2437
2438 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2439
2440         * lyxlayout.[Ch]:
2441         * output_docbook.C: XML sanitation: new layout
2442         parameters InnerTag and CommandDepth
2443
2444 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * BufferView_pimpl.C:
2447         * factory.C:
2448         * text3.C: Fix the insertion and modification of button-style
2449         insets
2450
2451 2003-11-13  André Pönitz  <poenitz@gmx.net>
2452
2453         * InsetList.[Ch]: remove deleteLyXText
2454
2455         * paragraph.[Ch]: cache beginOfBody position
2456
2457         * Bidi.C:
2458         * text.C:
2459         * text2.C:
2460         * text3.C: remove superfluous update() calls
2461
2462         * vspace.C: cleanup
2463
2464 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2467         * BufferView.C (fitLockedInsetCursor): remove
2468         * cursor.[Ch] (getDim): add
2469         * text.C (getRowNearY): add faster version
2470         * text3.C: remove some update calls
2471
2472 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2473
2474         * LaTeXFeatures.C:
2475         * LyXAction.C:
2476         * MenuBackend.C:
2477         * MenuBackend.h:
2478         * dispatchresult.h:
2479         * factory.C:
2480         * lfuns.h:
2481         * lyxfunc.C:
2482         * lyxtextclass.C:
2483         * lyxtextclass.h:
2484         * text3.C: The Character Style /XML short element patch.
2485
2486 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2487
2488         * text3.C:
2489         * factory.C: Small step to solving 'unable to insert some insets'
2490         problem
2491
2492 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2493
2494         * cursor.[Ch] (updatePos): new function for updating the y
2495         position of the tip inset
2496         * bufferview_funcs.C (put_selection_at):
2497         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2498
2499 2003-11-11  André Pönitz  <poenitz@gmx.net>
2500
2501         * text.C: remove big comment on invalid Paragraph pointers as it is
2502         not valid anymore
2503
2504 2003-11-11  André Pönitz  <poenitz@gmx.net>
2505
2506         * text_funcs.[Ch]: merge with ...
2507
2508         * text.C: ... this
2509
2510         * lyxtext.h:
2511         * text2.C:
2512         * text3.C: adjust
2513
2514         * Makefile.am: remove text_funcs.[Ch]
2515
2516 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2517
2518         * cursor.C (getPos): return absolute cached y coord
2519
2520         * BufferView_pimpl.C (fitCursor): new simplistic code
2521         (workAreaDispatch): add a fitCursor call
2522
2523 2003-11-10  André Pönitz  <poenitz@gmx.net>
2524
2525         * BufferView.[Ch]:
2526         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2527
2528 2003-11-10  André Pönitz  <poenitz@gmx.net>
2529
2530         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2531         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2532         indicate that the cursor needs to leave an inset
2533
2534         * lyxtext.h: remove inset locking
2535
2536         * cursor.[Ch]: re-implement functionality provided by inset locking
2537
2538         * BufferView.[Ch]:
2539         * BufferView_pimpl.[Ch]:
2540         * LyXAction.C:
2541         * bufferview_funcs.[Ch]:
2542         * factory.C:
2543         * funcrequest.[Ch]:
2544         * iterators.C:
2545         * lyx_cb.C:
2546         * lyxfind.C:
2547         * lyxfunc.C:
2548         * text.C:
2549         * text2.C:
2550         * text3.C:
2551         * undo.C: adjust
2552
2553 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2554
2555         * PosIterator.[Ch]: replace the stack with a vector, add inset
2556         accesor
2557         * iterators.[C]: adjust
2558
2559 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2560
2561         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2562         replaced
2563         * paragraph_funcs.C (readParToken): put the correct id in the
2564         error item, not the id of the top paragraph
2565
2566 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2569         * bufferview_funcs.C (put_selection_at): use the above
2570
2571 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2572
2573         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2574
2575 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2576
2577         * output_linuxdoc.h:
2578         * output_plaintext.h:
2579         * output.h:
2580         * output_docbook.h: add #include statements
2581
2582 2003-11-05  José Matos  <jamatos@lyx.org>
2583
2584         * output_docbook.[Ch]:
2585         * output_latex.[Ch]:
2586         * output_linuxdoc.[Ch]:
2587         * output_plaintext.[Ch]: New files for output formats.
2588         * output.[Ch]: New file for helper functions.
2589
2590         * buffer.[Ch]:
2591         * paragraph_funcs.[Ch]: output functions moved to new files.
2592
2593         * outputparams.h: rename of latexrunparams.h
2594
2595         * LaTeX.[Ch]:
2596         * buffer.[Ch]:
2597         * bufferlist.[Ch]:
2598         * converter.[Ch]:
2599         * exporter.C:
2600         * paragraph.[Ch]:
2601         * paragraph_funcs.[Ch]:
2602         * paragraph_pimpl.[Ch]:
2603         * tabular.[Ch]: rename ascii to plaintext
2604         and LatexRunParams to OutputParams.
2605
2606 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2607
2608         * iterators.[Ch] (text): require bv argument
2609         * undo.C (recordUndo):
2610         * lyxfunc.C (dispatch):
2611         * bufferview_funcs.C (put_selection_at): adjust
2612
2613 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2614
2615         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2616
2617 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2620         nestings
2621
2622 2003-11-04  André Pönitz  <poenitz@gmx.net>
2623
2624         * cursor.[Ch]: restructure
2625
2626         * BufferView.[Ch]:
2627         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2628
2629         * iterators.[Ch] (asCursor): remove
2630
2631         * lfuns.h: remove LFUN_INSET_EDIT
2632
2633         * lyxfunc.C:
2634         * tabular.C:
2635         * text.C:
2636         * text2.C:
2637         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2638
2639 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2640
2641         * lyxfind.[Ch]: complete overhaul
2642         * BufferView_pimpl.C:
2643         * lyxfunc.C: adjust
2644         * paragraph.[Ch] (insert): add
2645
2646 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * BufferView.[Ch]:
2649         * lyxtext.h:
2650         * text.C: remove dead spellcheck code
2651
2652 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * dispatchresult.h: add a val setter
2655
2656         * cursor.C (dispatch): use a tempvar for data_[i]
2657
2658 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2659
2660         * PosIterator.[Ch]: compile fix
2661
2662 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2663
2664         * text.C (cursorPar): deactivate the cursor cache
2665
2666 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2667
2668         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2669
2670 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * text3.C (dispatch): adjust for new DisptchResult semantics.
2673
2674         * lyxfunc.C (dispatch): handle update when return from
2675         Cursor::dispatch, adjust for new DispatchResult semantics.
2676
2677         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2678         DispatchResult(true) mean to not update. Add class functions for
2679         setting dispatched and update, as well as reading.
2680
2681         * cursor.C (dispatch): don't handle update here
2682
2683 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2686         * trans_mgr.C: adjust
2687
2688         * paragraph_funcs.C (readParToken): exception safety
2689
2690         * lyxvc.h: store the vcs pointer in a scoped_ptr
2691         * lyxvc.C: adjust
2692
2693         * lyxsocket.C (serverCallback): exception safety
2694
2695         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2696
2697         * ispell.C (clone): make it return a auto_ptr
2698
2699         * factory.C (createInset): exception safety
2700         (readInset): exception safety
2701
2702         * bufferlist.C (newBuffer): exception safety
2703
2704         * Thesaurus.C (Thesaurus): use initialization for aik_
2705
2706         * MenuBackend.C (expandToc): exception safety.
2707
2708 2003-11-03  André Pönitz  <poenitz@gmx.net>
2709
2710         * buffer.C:
2711         * buffer.h:
2712         * bufferview_funcs.C: remove getInsetFromId()
2713
2714         * lyxcursor.[Ch]:
2715         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2716
2717         * lyxfunc.C:
2718         * text2.C:
2719         * text3.C: adjust
2720
2721 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * PosIterator.C (distance, advance): new
2724         * bufferview_funcs.[Ch] (put_selection_at): new
2725         * iterators.[Ch] (lockPath): new
2726
2727 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2728
2729         * iterators.[Ch] (asPosIterator): added
2730         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2731         * PosIterator.[Ch]: added
2732
2733 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * text3.C:
2736         * lyxfunc.C:
2737         * cursor.C (dispatch):
2738         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2739
2740         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2741         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2742         contructor, add a class function dispatched. Remove operator>=
2743
2744 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * debug.C: only use the default constructor for debugstream
2747         (lyxerr) here.
2748
2749         * main.C (main): include debug.h and setup the lyxerr streambuf
2750         here.
2751
2752 2003-10-31  José Matos  <jamatos@lyx.org>
2753
2754         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2755
2756         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2757         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2758         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2759         * paragraph_pimpl.C (simpleTeXSpecialC):
2760         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2761         add LatexRunParams argument.
2762
2763         * exporter.C (Export): change call accordingly.
2764
2765         * latexrunparams.h: add new member to take care of the other backends.
2766 2003-10-30  José Matos  <jamatos@lyx.org>
2767
2768         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2769         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2770         factorise code for paragraph output.
2771         * buffer.[Ch]:
2772         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2773         move functions.
2774
2775 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2776
2777         * text3.C (dispatch):
2778         * lyxfunc.C (dispatch):
2779         * cursor.C (dispatch):
2780         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2781
2782         * dispatchresult.h: make the dispatch_result_t ctor explicit
2783
2784 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2785
2786         * sgml.[Ch]:
2787         * buffer.C: small refactoring of docbook stuff
2788
2789 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2790
2791         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2792         meaning.
2793
2794 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2797         operator dispatch_result_t, and operators for == != and >=
2798
2799         * cursor.C (dispatch): adjust for operator dispatch_result_t
2800         removal. comment out call to update
2801
2802         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2803
2804 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * text3.C:
2807         * text2.C:
2808         * text.C:
2809         * lyxtext.h:
2810         * lyxfunc.C:
2811         * cursor.C:
2812         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2813         (dispatch):
2814
2815         * dispatchresult.h: new file, DispatchResult broken out of
2816         insets/insetbase.h
2817
2818         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2819
2820 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * text.C (rowBreakPoint): put a hack inside #if 0
2823
2824 2003-10-28  André Pönitz  <poenitz@gmx.net>
2825
2826         * lyxtext.h:
2827         * metricsinfo.C:
2828         * paragraph_funcs.C:
2829         * rowpainter.C:
2830         * text.C:
2831         * text2.C: general cleanup (lots of small stuff)
2832
2833 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2834
2835         * text2.C (cursorEnd): simple fix to the "end key goes to one
2836         before the end on last row" bug
2837
2838 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * text.C (backspace): fix the "zombie characters"
2841
2842 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2845
2846 2003-10-27  André Pönitz  <poenitz@gmx.net>
2847
2848         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2849
2850         * factory.C: handle new InsetPagebreak, InsetLine
2851
2852         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2853         and move handling into new InsetPagebreak, InsetLine
2854
2855         * BufferView_pimpl.C:
2856         * LyXAction.C:
2857         * ParagraphParameters.C:
2858         * ParameterStruct.h:
2859         * lyxfunc.C:
2860         * lyxtext.h:
2861         * paragraph.C:
2862         * paragraph.h:
2863         * paragraph_funcs.C:
2864         * paragraph_pimpl.C:
2865         * rowpainter.C:
2866         * text.C:
2867         * text2.C:
2868         * text3.C: adjust
2869
2870 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * text.C:
2873         * lyxrow_funcs.[Ch]:
2874         * Bidi.C:
2875         * paragraph.C:
2876         * lyxtext.h:
2877         * rowpainter.C:
2878         * text2.C:
2879         * text3.C: remove lastPos uses in favour of Row::endpos
2880
2881 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2882
2883         * undo.C (performUndoOrRedo): fix two crashes by setting a
2884         cursor by hand and reordering some calls. Use bv->lockInset instead
2885         of inset->edit because the latter loses cursor information
2886
2887 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2890         by Martin
2891         (rowBreakPoint): fix width. change point to point + 1.
2892         Add a missing check.
2893
2894 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * MenuBackend.C:
2897         * lyxfunc.C: fix (at least partly) the problems
2898         with the Nav menu and headers inside branch insets
2899         reported by Kayvan
2900
2901 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * paragraph.C (getChar): add strong asserts
2904
2905         * lyxrow_funcs.C (lastPos): remove hideous hack
2906
2907         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2908         (fill): adjust to that (avoid an infinite loop)
2909
2910 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2913
2914 2003-10-23  André Pönitz  <poenitz@gmx.net>
2915
2916         * RowList_fwd.h: change list<> to vector<> to gain speed
2917         after suggestion from Alfredo
2918
2919 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2920
2921         * lyxtext.h: move the bidi stuff from here...
2922         * text.C: and here
2923         * text2.C: and here
2924         * Bidi.[Ch]: ... to here
2925
2926 2003-10-23  André Pönitz  <poenitz@gmx.net>
2927
2928         * lyxtext.h:
2929         * text.C (isLastRow, isFirstRow): new functions
2930
2931         * paragraph.h: new width cache member
2932
2933         * rowpainter.C: replace RowList::iterator with Row & where possible
2934
2935         * lyxfunc.C: replace several view()->text with a single call
2936
2937         * toc.C: fix 'unused' warning
2938
2939 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2942         when woring with stream::pos_type
2943         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2944
2945 2003-10-22  André Pönitz  <poenitz@gmx.net>
2946
2947         * lyxtext.h:
2948         * text.C: use Row & instead of RowList::iterator
2949
2950         * lyxrow.h: rename end() to endpos()
2951
2952         * rowpainter.C:
2953         * text.C:
2954         * text2.C: adjust
2955
2956 2003-10-22  Angus Leeming  <leeming@lyx.org>
2957
2958         * buffer.[Ch] (fully_loaded): new member function, returning true
2959         only when the file has been loaded fully.
2960         Used to prevent the premature generation of previews and by the
2961         citation inset to prevent computation of the natbib-style label.
2962
2963         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2964         templates are all set up.
2965
2966         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2967
2968 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * text.C: fixed an "oops" in the "is a bit silly"
2971         bug fix
2972
2973 2003-10-21  André Pönitz  <poenitz@gmx.net>
2974
2975         * FuncStatus.[Ch]: small stuff, whitespace
2976
2977         * lyxfont.[Ch]: operator<<() for debug reasons
2978
2979         * lyxfunc.C:
2980         * lyxrow_funcs.C:
2981         * lyxtext.h: whitespace, spelling
2982
2983         * paragraph.C: naming of variables
2984
2985         * text.C:
2986         * text2.C: small stuff
2987
2988
2989 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2990
2991         * text.C: (1) finish off the inset display() work;
2992         (2) fix the "is a bit silly" bug (accessing char
2993         past end of par).
2994
2995 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2996
2997         * text.C: re-introduce display() for insets, fixing the
2998         various bugs (stretch of line above, math inset
2999         positioning, ...)
3000
3001 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3002
3003         * text.C (rightMargin): remove spurious semicolon
3004
3005         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3006         1415)
3007
3008 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3009
3010         * text3.C: fix one crash due to wrong cursor def
3011
3012 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3013
3014         * vc-backend.C (scanMaster): make the regex static
3015
3016         * LaTeX.C (scanAuxFile): make the regexs static
3017
3018         * text3.C (doInsertInset, dispatch, dispatch):
3019         * text2.C (cursorUp, cursorDown):
3020         * text.C (selectNextWordToSpellcheck):
3021         * BufferView_pimpl.C (dispatch):
3022         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3023
3024 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * lyxsocket.C: include <cerrno>
3027
3028 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * lyxfunc.C (dispatch): remove textcache stuff
3031
3032         * bufferlist.C (release): remove textcache stuff
3033         (closeAll): ditto
3034
3035         * TextCache.C: delete file
3036         * TextCache.h: delete file
3037
3038         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3039
3040         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3041         delete of the bv_->text.
3042         (resizeCurrentBuffer): remove texcache stuff
3043         (workAreaResize): ditto
3044
3045 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3048         action.
3049
3050 2003-10-16  André Pönitz  <poenitz@gmx.net>
3051
3052         * lyxrow.[Ch]:
3053         * paragraph.h:
3054         * rowpainter.C:
3055         * text.C:
3056         * text2.C:
3057         * text3.C: speed up by storing y positions per paragraph plus per-row
3058         offset instead of having a 'full' y position in the row.
3059
3060 2003-10-15  André Pönitz  <poenitz@gmx.net>
3061
3062         * iterators.[Ch]:
3063         * iterators.[Ch]:
3064         * undo.[Ch]: make undo aware of inner insets
3065
3066 2003-10-14  Angus Leeming  <leeming@lyx.org>
3067
3068         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3069         static member functions LyX::ref() and LyX::cref.
3070         (lastfiles): new accessor functions for the new lastfiles_ member var.
3071         (addLyXView, views_): add a new LyXView to the list of views_.
3072         (updateInset): loop over all LyXViews to call their own updateInset
3073         member function, returning a pointer to the Buffer owning the inset.
3074
3075         * BufferView_pimpl.C (loadLyXFile):
3076         * MenuBackend.C (expandLastfiles):
3077         * bufferlist.C (MenuWrite, QuitLyX):
3078         lastfiles is no longer a global variable.
3079         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3080
3081         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3082         static function. Access through LyX::cref().emergencyCleanup().
3083
3084 2003-10-14  André Pönitz  <poenitz@gmx.net>
3085
3086         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3087
3088         * undo.[Ch]: restoring part of 'undo in insets'
3089
3090         * Makefile.am:
3091         * undo_funcs.[Ch]: merge with undo.[Ch]
3092
3093         * tabular.C: small cleansing stuff
3094
3095 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3096
3097         * paragraph_funcs.C (readParToken): report unknown insets as error
3098         boxes. Use the outer paragraph as location (also for unknown
3099         tokens).
3100
3101         * factory.C (readInset): do not abort on reading an unknown inset.
3102         Eat it and return 0.
3103
3104 2003-10-13  Angus Leeming  <leeming@lyx.org>
3105
3106         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3107
3108         * lyxrc.C: displayTranslator is now a function,
3109         declared in GraphicsTypes.h.
3110
3111 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3112
3113         * format.C: new placeholder $$a to pass the socket address.
3114
3115         * bufferlist.[Ch]: new function getBufferFromTmp.
3116
3117         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3118           files in the temporary dir.
3119
3120 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3121
3122         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3123
3124         * Makefile.am: add lyxsocket.[Ch].
3125
3126         * lyx_main.C (error_handler): handle SIGPIPE.
3127
3128 2003-10-13  André Pönitz  <poenitz@gmx.net>
3129
3130         * BufferView_pimpl.C:
3131         * lyxtext.h:
3132         * text.C:
3133         * text2.C:
3134         * text3.C:
3135         * undo_funcs.[Ch]: use paroffset_type instead of
3136           ParagraphList::iterators to prevent multiple conversion
3137           (and get a more robust interface)
3138
3139 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3142         * lyxtext.h: ditto
3143         * text3.C (dispatch): ditto
3144
3145 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3148         move the onlyfile, use onlyfile instead of foundfile in a couple
3149         of places.
3150
3151         * DepTable.C (update): flush the error stream a bit more
3152
3153 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * lyxserver.C (callback): adjust
3156
3157         * lyxfunc.C (getStatus): add a missing brace in commented code
3158         (ensureBufferClean): reindent
3159         (dispatch): delete version taking a string
3160
3161 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3162
3163         * LaTeX.C (deplog): move found file handlig from here...
3164         (handleFoundFile): .. to new function here.
3165         (deplog): make sure to discover several files mentioned on the
3166         same log line.
3167
3168 2003-10-10  André Pönitz  <poenitz@gmx.net>
3169
3170         * lyxfunc.C:
3171         * lyxtext.h:
3172         * tabular.C:
3173         * text.C:
3174         * text2.C:
3175         * text3.C: fix some of the tabular crashes
3176
3177 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3178
3179         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3180
3181         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3182
3183 2003-10-09  André Pönitz  <poenitz@gmx.net>
3184
3185         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3186
3187         * BufferView.C:
3188         * BufferView_pimpl.C:
3189         * bufferview_funcs.C:
3190         * lyx_cb.C:
3191         * lyxcursor.C:
3192         * lyxfind.C:
3193         * lyxfunc.C:
3194         * lyxtext.h:
3195         * text.C:
3196         * text2.C:
3197         * text3.C:
3198         * text_funcs.[Ch]:
3199         * textcursor.[Ch]:
3200         * undo_funcs.C: adjust
3201
3202 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * text2.C (incrementItemDepth): new function, use a backtracking
3205         algorithm to discover the correct item depth.
3206         (resetEnumCounterIfNeeded): new function, use a backtracking
3207         algorithm to discover if counter reset is needed.
3208         (setCounter): use them. Simplify a bit. Add different labels for
3209         different item depths for itemize.
3210
3211         * paragraph.C (Paragraph): remove initialization of enumdepth
3212         (operator=): ditto
3213
3214         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3215         enumerate and itemize. Change the type of itemdepth to signed char.
3216
3217 2003-10-08  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3220           thing assignable.
3221         * text.C:
3222         * text2.C: adjust
3223
3224         * tabular.[Ch]: fix crash after 'row-insert'
3225
3226 2003-10-08  Angus Leeming  <leeming@lyx.org>
3227
3228         Fix doxygen warnings.
3229
3230         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3231         Remove CutAndPaste:: prefix from header file declaration.
3232
3233         * LColor.h (fill): remove LColor:: prefix from declaration.
3234
3235         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3236         use lyx::depth_type rather than Paragraph::depth_type so that
3237         header file and .C file match.
3238
3239         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3240
3241         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3242         * aspell.C: \file aspell_local.C -> \file aspell.C
3243         * gettext.C: \file gettext.C -> \file src/gettext.C
3244         * gettext.h: \file gettext.h -> \file src/gettext.h
3245         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3246         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3247         * text.C: \file text.C -> \file src/text.C
3248
3249         * toc.C: move comment so that doxygen is not confused.
3250
3251 2003-10-07  Angus Leeming  <leeming@lyx.org>
3252
3253         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3254
3255 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3256
3257         * aspell.C:
3258         * aspell_local.h: add forgotten std::string's.
3259
3260 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3261
3262         * LaTeXFeatures.C:
3263         * LyXAction.C:
3264         * factory.C:
3265         * lfuns.h:
3266         * lyxfunc.C:
3267         * text3.C: The Box patch. Fancybox support, minipage, parbox
3268
3269 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3270
3271         * CutAndPaste.h:
3272         * DepTable.h:
3273         * FloatList.h:
3274         * LaTeXFeatures.h:
3275         * ParagraphParameters.h:
3276         * TextCache.h:
3277         * Thesaurus.h:
3278         * bufferlist.h:
3279         * exporter.h:
3280         * importer.h:
3281         * lastfiles.h:
3282         * lyxfind.h:
3283         * lyxfont.h:
3284         * lyxlex.h:
3285         * lyxtextclasslist.h:
3286         * messages.h:
3287         * paragraph.h:
3288         * paragraph_pimpl.C:
3289         * textcursor.h: add <string> and other small fixes to make Lars'
3290         std::string patch compile with STLport.
3291
3292 2003-10-06  Angus Leeming  <leeming@lyx.org>
3293
3294         * LColor.h: Add missing #include <string>.
3295
3296 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * All most all file in all subdirs: Make <string> be the prefered
3299         way of getting to std::string, add using declarations.
3300
3301 2003-10-06  André Pönitz  <poenitz@gmx.net>
3302
3303         * metricsinfo.C: initialize LyXFont before changing attribute.
3304         (fixes the 'math in \emph is upright' bug)
3305
3306 2003-10-06  André Pönitz  <poenitz@gmx.net>
3307
3308         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3309
3310 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3311
3312         * graph.C:
3313         * paragraph_pimpl.C: Small fixes to build using STLport
3314
3315 2003-10-02  André Pönitz  <poenitz@gmx.net>
3316
3317         * lyxfunc.C:
3318         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3319
3320 2003-10-01  André Pönitz  <poenitz@gmx.net>
3321
3322         * factory.C: assert early
3323
3324 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * lyx_main.C: remove the global debug object
3327
3328         * debug.h: adjust for new debugstream
3329
3330         * debug.C: adjust for new debugstream and keep the global debug
3331         object here.
3332
3333 2003-09-22  Angus Leeming  <leeming@lyx.org>
3334
3335         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3336         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3337         an incomplete class LyXFont.
3338
3339 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3340
3341         * factory.C: bug fix in branches
3342
3343 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * lyxfunc.C (processKeySym): adjust
3346         (dispatch): adjust
3347         (dispatch): change arg name from ev to func, adjust
3348         (sendDispatchMessage): ditto
3349
3350         * lyx_main.C (defaultKeyBindings): adjust keybindings
3351         (deadKeyBindings): ditto
3352
3353         * kbsequence.C (addkey): return a FuncRequest
3354
3355         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3356
3357         * kbmap.C (bind): take a FuncRequest as arg, adjust
3358         (read): adjust
3359         (lookup): adjust
3360         (defkey): change to take a FuncRequest as arg, adjust
3361         (findbinding): take a FuncRequest as arg, adjust.
3362
3363         * funcrequest.h (operator=): added
3364
3365         * funcrequest.C (FuncRequest): default kb_action changed from
3366         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3367
3368         * buffer.C (dispatch): simplify
3369         (dispatch): adjust to take a FuncRequest as arg, adjust
3370
3371         * boost.C (assertion_failed): change assertion message slightly
3372
3373         * ToolbarBackend.C (read): simplify
3374
3375         * MenuBackend.C (binding): adjust call to findbinding, add a
3376         message if no binding is found.
3377         (read): simplify
3378         (expandToc): correct by adding a empty FuncRequest
3379
3380         * LyXAction.C: include <boost/assert.hpp>
3381         (isPseudoAction): delete function
3382         (LookupFunc): change name to...
3383         (lookupFunc): this. change return type to FuncRequest.
3384         (getActionName): take kb_action as arg, simplify
3385         (funcHasFlag): add an assert, simplify.
3386
3387 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * toc.C (action): return a FuncRequest, simplify
3390
3391         * lyxfunc.C (processKeySym): adjust
3392         (getStatus): delete version that takes an int.
3393         (getStatus): adjust
3394         (dispatch): delete version that takes action as int
3395         (dispatch): adjust
3396         (sendDispatchMessage): simplify and adjust
3397
3398         * funcrequest.C (getArg): take unsigned int as arg
3399
3400         * ToolbarBackend.C (read): adjust
3401         (add): delete version that takes func as a string.
3402         (getIton): take a FuncRequest as arg
3403
3404         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3405         action.
3406
3407         * MenuBackend.C (MenuItem): add a new construct that only takes a
3408         Kind, simplify the constructor use for submenus.
3409         (add): adjust
3410         (expandLastfiles): adjust
3411         (expandDocuments): adjust
3412         (expandFormats): adjust
3413         (expandFloatListInsert): adjust
3414         (expandFloatInsert): adjust
3415         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3416
3417         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3418         Remove class variables lyx_pseudo_map and lyx_arg_map
3419
3420         * LyXAction.C (searchActionArg): delete function
3421         (getPseudoAction): delete function
3422         (retrieveActionArg): delete function
3423         (LookupFunc): make it return kb_action, simplify.
3424         (getActionName): simplify
3425
3426         * factory.C (createInset): fix new bug
3427
3428 2003-09-19  Angus Leeming  <leeming@lyx.org>
3429
3430         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3431         masterFilename_ parameter in the include inset.
3432
3433         * factory.C (createInset): changes due to the changes to InsetInclude.
3434
3435 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3436
3437         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3438
3439 2003-09-18  Angus Leeming  <leeming@lyx.org>
3440
3441         * buffer.C:
3442         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3443         Inset::fillWithBibKeys.
3444         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3445
3446 2003-09-18  Angus Leeming  <leeming@lyx.org>
3447
3448         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3449         variables.
3450         (ctor): pass and store a 'Buffer const &'
3451         (buffer): new member function.
3452
3453         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3454         '*this' to the LaTeXFeatures ctor.
3455
3456 2003-09-18  Angus Leeming  <leeming@lyx.org>
3457
3458         * LColor.h:
3459         * lyxfont.C:
3460         * lyxfont.h:
3461         * lyxtext.h:
3462         * text.C: rename EnumLColor as LColor_color.
3463
3464 2003-09-18  Angus Leeming  <leeming@lyx.org>
3465
3466         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3467         remove #include "insets/insetbase.h" from cursor.h.
3468
3469 2003-09-18  Angus Leeming  <leeming@lyx.org>
3470
3471         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3472         InsetOld_code to remove #include "inset.h".
3473
3474         * iterators.C: add #include "insets/inset.h"
3475
3476 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * BufferView.C: remove more locking stuff that apparently doesn't
3479         do anything sensible.
3480
3481 2003-09-16  André Pönitz  <poenitz@gmx.net>
3482
3483         * paragraph.[Ch]:
3484         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3485           performance boost.
3486
3487 2003-09-16  Angus Leeming  <leeming@lyx.org>
3488
3489         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3490
3491         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3492         arg/return type.
3493
3494         * paragraph.h: remove #include "lyxfont.h". Forward declare
3495         LyXFont_size.
3496
3497 2003-09-16  Angus Leeming  <leeming@lyx.org>
3498
3499         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3500         of support/textutils.h.
3501         (isWord): move the contents of support/textutils.h's IsWordChar here.
3502
3503         * buffer.C:
3504         * lyxfind.C:
3505         * rowpainter.C:
3506         * text.C:
3507         * text2.C: add #include "paragraph.h".
3508
3509         * rowpainter.C:
3510         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3511
3512 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * main.C:
3515         * lyx_main.C:
3516         * lyx_cb.C:
3517         * buffer.C:
3518         * LaTeX.C: use namespace alias for lyx::support::os
3519
3520 2003-09-16  Angus Leeming  <leeming@lyx.org>
3521
3522         * bufferparams.C:
3523         * bufferview_funcs.C:
3524         * factory.C:
3525         * lyxfunc.C:
3526         * paragraph_pimpl.C:
3527         * rowpainter.C:
3528         * text.C: add #include "LColor.h".
3529
3530 2003-09-16  Angus Leeming  <leeming@lyx.org>
3531
3532         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3533         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3534         return LyXFont &.
3535         Store the FontBits::color variable as an int rather than as an
3536         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3537         file.
3538
3539         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3540         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3541         string calls together.
3542
3543         * lyxrc.C: add #include "LColor.h".
3544
3545 2003-09-15  Angus Leeming  <leeming@lyx.org>
3546
3547         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3548         a cow_ptr.
3549
3550 2003-09-15  Angus Leeming  <leeming@lyx.org>
3551
3552         * LColor.h: add an EnumLColor wrapper for LColor::color.
3553
3554         * lyxfont.[Ch] (color, setColor, realColor):
3555         * lyxtext.h, text.C (backgroundColor):
3556         pass EnumLColor args to/from the functions, rather than LColor::color
3557         ones.
3558
3559         * lyxfont.h:
3560         * lyxtext.h: forward declare EnumLColor.
3561
3562         * lyx_main.C: add #include "LColor.h".
3563
3564 2003-09-15  Angus Leeming  <leeming@lyx.org>
3565
3566         * .cvsignore: add lyx-gtk.
3567
3568 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * Chktex.C
3571         * LaTeX.C
3572         * LaTeXFeatures.C
3573         * ParagraphParameters.C
3574         * Spacing.C
3575         * buffer.C
3576         * bufferparams.C
3577         * bufferview_funcs.C
3578         * chset.C
3579         * counters.C
3580         * funcrequest.C
3581         * lyxfont.C
3582         * lyxgluelength.C
3583         * lyxlength.C
3584         * paragraph.C
3585         * paragraph_funcs.C
3586         * text3.C
3587         * vc-backend.C: remove usage of STRCONV
3588
3589 2003-09-15  Angus Leeming  <leeming@lyx.org>
3590
3591         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3592         explicitly define the color passed to the painter.
3593
3594 2003-09-15  Angus Leeming  <leeming@lyx.org>
3595
3596         * bufferparams.C (BufferParams): reorder member initializers to avoid
3597         compiler warning.
3598
3599 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3600
3601         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3602         * text.C (updateRowPositions): remove an unusual nop
3603
3604 2003-09-12  André Pönitz  <poenitz@gmx.net>
3605
3606         * BufferView_pimpl.C:
3607         * Bullet.C:
3608         * layout.h:
3609         * lyxfunc.C:
3610         * lyxlayout.[Ch]:
3611         * lyxtextclass.C:
3612         * rowpainter.C:
3613         * text.C:
3614         * text2.C:
3615         * Counters.[Ch]: finish the 'automatic counters' job
3616
3617 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3618
3619         * aspell.C: include <boost/assert.cpp> (compile fix)
3620
3621 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3622
3623         * boost.C (assertion_failed): use lyx::support::abort instead of
3624         assert.
3625
3626 2003-09-10  Angus Leeming  <leeming@lyx.org>
3627
3628         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3629         with their _fwd progeny.
3630
3631 2003-09-09  Angus Leeming  <leeming@lyx.org>
3632
3633         134 files throughtout the source tree: replace 'using namespace abc;'
3634         directives with the appropriate 'using abc::xyz;' declarations.
3635
3636 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3637
3638         * boost.C (emergencyCleanup): moved here from LAssert.c
3639         (assertion_failed): new function, called by BOOST_ASSERT
3640
3641         * several files: change Assert to BOOST_ASSERT
3642
3643 2003-09-09  Angus Leeming  <leeming@lyx.org>
3644
3645         * buffer.[Ch]: Add an Impl class and move Buffer's member
3646         variables into it. As a result move several header files out of
3647         buffer.h.
3648
3649         Add header files to lots of .C files all over the tree as a result.
3650
3651 2003-09-09  Angus Leeming  <leeming@lyx.org>
3652
3653         * buffer.[Ch]: make Buffer's member variables private. Add
3654         accessor functions.
3655
3656         Lots of changes all over the tree as a result.
3657
3658 2003-09-08  Angus Leeming  <leeming@lyx.org>
3659
3660         * graph.C: #include <config.h>.
3661
3662 2003-09-08  Angus Leeming  <leeming@lyx.org>
3663
3664         * BranchList.C:
3665         * BufferView.C:
3666         * BufferView_pimpl.C:
3667         * CutAndPaste.C:
3668         * DepTable.C:
3669         * LaTeX.C:
3670         * LaTeXFeatures.C:
3671         * LyXAction.C:
3672         * MenuBackend.C:
3673         * TextCache.C:
3674         * aspell.C:
3675         * buffer.C:
3676         * bufferlist.C:
3677         * changes.C:
3678         * chset.C:
3679         * converter.C:
3680         * counters.C:
3681         * debug.C:
3682         * graph.C:
3683         * ispell.C:
3684         * lyx_cb.C:
3685         * lyxfind.C:
3686         * lyxfunc.C:
3687         * lyxlex_pimpl.C:
3688         * lyxrc.C:
3689         * lyxrow.C:
3690         * paragraph.C:
3691         * rowpainter.C:
3692         * texrow.C:
3693         * text.C:
3694         * text2.C:
3695         * toc.C: remove redundant using directives.
3696
3697 2003-09-07  Angus Leeming  <leeming@lyx.org>
3698
3699         * LaTeXFeatures.h: remove #include "support/types.h".
3700         * ToolbarBackend.h: remove #include <algorithm>.
3701         * changes.h: remove #include <ctime>.
3702         * debug.h: remove #include <iosfwd>.
3703         * graph.h: remove #include "support/std_string.h".
3704         * lyx_main.h: remove #include <csignal>.
3705         * lyxlex_pimpl.h: remove #include <fstream>.
3706         * sgml.h: remove #include <algorithm>, <utility>.
3707         * toc.h: remove #include "support/std_ostream.h".
3708         Add #include <iosfwd>.
3709
3710 2003-09-07  Angus Leeming  <leeming@lyx.org>
3711
3712         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3713
3714         * converter.h: forward declare LatexRunParams.
3715         * encoding.h: remove #include "lyxrc.h".
3716         * lyxtext.h: remove #include "LColor.h".
3717         * lyxtextclass.h: remove #include "support/types.h".
3718         * trans.h: remove #include "tex-accent.h".
3719         * trans_mgr.h: remove #include "tex-accent.h".
3720         * insets/inset.h: remove #include "support/types.h", <vector>.
3721         * insets/insetcollapsable.h: remove #include "LColor.h".
3722         * insets/insetinclude.h: remove #include "dimension.h".
3723         * insets/insetlatexaccent.h: remove #include "dimension.h".
3724         * insets/insetoptarg.h:: remove #include "insettext.h".
3725         * insets/insettext.h: remove #include "dimension.h",
3726         <boost/shared_ptr.hpp>
3727
3728         * insets/renderers.h: add #include "dimension.h".
3729         * insets/updatableinset.h: add #include "support/types.h".
3730
3731         * many .C files: Associated changes.
3732
3733 2003-09-06  Angus Leeming  <leeming@lyx.org>
3734
3735         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3736         one, inside testInvariant.
3737
3738         * PrinterParams.C: new file.
3739         * PrinterParams.[Ch]: move the function bodies out of line.
3740
3741 2003-09-06  Angus Leeming  <leeming@lyx.org>
3742
3743         * ParagraphParameters.h: forward declare ParameterStruct rather than
3744         including its header file.
3745         (depth): moved out-of-line.
3746
3747 2003-09-06  Angus Leeming  <leeming@lyx.org>
3748
3749         * BufferView_pimpl.h:
3750         * kbmap.h:
3751         * kbsequence.h:
3752         * lyxfunc.h: forward declare LyXKeySym rather than
3753         #include "frontends/LyXKeySym.h".
3754
3755         * BufferView_pimpl.C:
3756         * kbmap.C:
3757         * kbsequence.C:
3758         * lyxfunc.C: associated changes.
3759
3760 2003-09-06  Angus Leeming  <leeming@lyx.org>
3761
3762         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3763         As a result, can remove the #include "insets/inset.h" from BufferView.h
3764
3765 2003-09-06  Angus Leeming  <leeming@lyx.org>
3766
3767         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3768         As a result, can remove the #include "insets/inset.h" from BufferView.h
3769
3770 2003-09-06  Angus Leeming  <leeming@lyx.org>
3771
3772         * buffer_funcs.C:
3773         * buffer.h:
3774         * bufferlist.C:
3775         * BufferView.C:
3776         * bufferview_funcs.C:
3777         * BufferView_pimpl.C:
3778         * CutAndPaste.C:
3779         * lyx_cb.C:
3780         * lyxfunc.C:
3781         * paragraph.h:
3782         * ParagraphParameters.C:
3783         * tabular.C:
3784         * text3.C:
3785         * toc.C:
3786         * undo_funcs.C:
3787         * frontends/controllers/ControlDocument.C:
3788         * insets/insetcaption.C: rearrange the #includes into some sort of
3789         coherent order.
3790
3791         * buffer.h: remove #includes ErrorList.h, undo.h
3792
3793 2003-09-06  Angus Leeming  <leeming@lyx.org>
3794
3795         * support/types.h: add a 'depth_type' typedef, used to store the
3796         nesting depth of a paragraph.
3797
3798         * paragraph.h:
3799         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3800         defining explicitly.
3801
3802         * buffer.h:
3803         * paragraph_funcs.h:
3804         * ParagraphParameters.h:
3805         * sgml.h: use lyx::depth_type rather than Paragraph or
3806         ParameterStruct's depth_type.
3807
3808         * buffer.h
3809         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3810
3811         * BufferView.C:
3812         * BufferView_pimpl.C:
3813         * CutAndPaste.C:
3814         * ParagraphParameters.C:
3815         * buffer_funcs.C:
3816         * bufferlist.C:
3817         * bufferview_funcs.C:
3818         * lyx_cb.C:
3819         * lyxfunc.C:
3820         * tabular.C:
3821         * text3.C:
3822         * toc.C:
3823         * undo_funcs.C:
3824         * frontends/LyXView.C:
3825         * frontends/controllers/ControlDocument.C:
3826         * frontends/controllers/ControlErrorList.C:
3827         * insets/insetbibitem.C:
3828         * insets/insetbranch.C:
3829         * insets/insetcaption.C:
3830         * insets/insetcollapsable.C:
3831         * insets/insetenv.C:
3832         * insets/insetert.C:
3833         * insets/insetfloat.C:
3834         * insets/insetfoot.C:
3835         * insets/insetfootlike.C:
3836         * insets/insetnewline.C:
3837         * insets/insetquotes.C:
3838         * insets/insettabular.C:
3839         * insets/insettext.C:
3840         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3841
3842         * frontends/controllers/ControlChanges.C: #include "changes.h".
3843
3844 2003-09-06  Angus Leeming  <leeming@lyx.org>
3845
3846         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3847         than #including paragraph.h.
3848
3849         * ParagraphList.h:
3850         * RowList.h: deleted. Superfluous.
3851
3852         * CutAndPaste.h:
3853         * iterators.h:
3854         * lyxcursor.h:
3855         * lyxtext.h:
3856         * text_funcs.h:
3857         * undo.h:
3858         * undo_funcs.h:
3859         * insets/inset.h:
3860         * insets/insettext.h: use ParagraphList_fwd.h rather than
3861         ParagraphList.h.
3862
3863         * paragraph.h: don't forward declare ParagraphList.
3864
3865         * buffer.h:
3866         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3867         rather than ParagraphList.h. paragraph.h is still needed for the
3868         Paragraph::depth_type parameters.
3869
3870         * textcursor.h: enable it to compile stand-alone in light of the
3871         above changes.
3872
3873         * bufferview_funcs.C:
3874         * iterators.C:
3875         * lyxfunc.C:
3876         * lyxrow_funcs.C:
3877         * paragraph.C:
3878         * rowpainter.C:
3879         * text.C:
3880         * text2.C:
3881         * text3.C:
3882         * text_funcs.C:
3883         * textcursor.C:
3884         * undo.C:
3885         * frontends/controllers/ControlParagraph.C:
3886         * frontends/controllers/ControlTabular.C:
3887         * insets/insetmarginal.C:
3888         * insets/insetminipage.C:
3889         * insets/insetnote.C:
3890         * insets/insetoptarg.C: add header files needed to compile again.
3891
3892 2003-09-06  Angus Leeming  <leeming@lyx.org>
3893
3894         * RowList_fwd.h: new file, forward-declaring Row rather than
3895         #including lyxrow.h.
3896
3897         * lyxrow_funcs.h:
3898         * lyxtext.h:
3899         * paragraph.h:
3900         * insets/insettext.h: use it instead of RowList.h
3901
3902         * bufferview_funcs.C:
3903         * lyxfunc.C:
3904         * lyxrow_funcs.C:
3905         * paragraph.C:
3906         * rowpainter.C:
3907         * text.C:
3908         * text2.C:
3909         * text3.C: #include "RowList.h".
3910
3911 2003-09-05  Angus Leeming  <leeming@lyx.org>
3912
3913         * factory.C (createInset):
3914         * vspace.C (c-tor): replace sscanf call with an istringstream.
3915         * ispell.C: re-add missing HP/UX headers.
3916         * lyxserver.C: re-add missing  os2 headers.
3917
3918 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3919
3920         * BranchList.C:
3921         * graph.C:
3922         * ispell.C:
3923         * lastfiles.C:
3924         * lyx_cb.C:
3925         * lyxserver.C:
3926         * texrow.C:
3927         * text3.C: re-add missing system headers, needed for 2.95.2.
3928
3929 2003-09-05  Angus Leeming  <leeming@lyx.org>
3930
3931         Changes most place everywhere due to the removal of using directives
3932         from support/std_sstream.h.
3933
3934 2003-09-05  Angus Leeming  <leeming@lyx.org>
3935
3936         Replace LString.h with support/std_string.h,
3937         Lsstream.h with support/std_sstream.h,
3938         support/LIstream.h with support/std_istream.h,
3939         support/LOstream.h with support/std_ostream.h.
3940
3941         Changes resulting throughout the tree.
3942
3943 2003-09-05  Angus Leeming  <leeming@lyx.org>
3944
3945         * sgml.h: ensure that the header file can be compiled stand-alone.
3946         * *.C: strip out redundant #includes. (320 in total.)
3947
3948 2003-09-04  Angus Leeming  <leeming@lyx.org>
3949
3950         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3951         here (from getPackages).
3952
3953         * debug.[Ch]: add a new EXTERNAL tag.
3954
3955 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3956
3957         * text2.C (cursorEnd): simplify
3958         (setCursor): adjust
3959         (getColumnNearX): adjust
3960
3961         * text.C (computeBidiTables): adjust
3962         (fill): adjust
3963
3964         * rowpainter.C (paintChars): adjust
3965         (paintSelection): adjust
3966         (paintChangeBar): adjust
3967         (paintText): adjust
3968
3969         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3970         lastPos instead.
3971         (numberOfSeparators): adjust
3972
3973 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3974
3975         * LyXAction.C:
3976         * box.[Ch]:
3977         * lfuns.h:
3978         * lyxfunc.C:
3979         * text3.C: Restricts the mouse click functionality
3980         of insets like bibtex, include, toc and floatlist to the visible
3981         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3982         up the dialogs. Cursor has to be in front of the inset (i.e.
3983         start of row) for this to function.
3984
3985 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3986
3987         * bufferview_funcs.C (currentState): output row information
3988
3989 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3990
3991         * bufferview_funcs.C (currentState): output paragraph position
3992
3993 2003-09-04  Angus Leeming  <leeming@lyx.org>
3994
3995         * FloatList.h: move out #include "Floating.h".
3996         * LaTeX.h: move out #include "DepTable.h".
3997         * LyXAction.h: move out #include "funcrequest.h".
3998         * buffer.h: move out #include "author.h", "iterators.h".
3999         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4000         * lyx_main.h: move out #include "errorlist.h".
4001         * lyxfunc.h: move out #include "FuncStatus.h".
4002         * lyxtext: move out #include "lyxcursor.h".
4003         * paragraph_pimpl.h: move out #include "counters.h".
4004
4005 2003-09-03  Angus Leeming  <leeming@lyx.org>
4006
4007         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4008         preamble_snippets list, enabling us to add snippets to the preamble
4009         only if the snippet was not there already.
4010
4011 2003-09-04  Angus Leeming  <leeming@lyx.org>
4012
4013         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4014
4015 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4018         update
4019
4020 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4021
4022         * BranchList.C: point fix, earlier forgotten
4023
4024 2003-09-02  Angus Leeming  <leeming@lyx.org>
4025
4026         * box.C (contains): renamed from 'contained' after a fantastic
4027         amount of hot air.
4028
4029 2003-09-02  John Levon  <levon@movementarian.org>
4030
4031         * BufferView.C:
4032         * lyxcursor.h:
4033         * lyxcursor.C:
4034         * lyxfunc.C:
4035         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4036
4037 2003-09-02  John Levon  <levon@movementarian.org>
4038
4039         * text2.C: simplification of cursorEnd(), including partial
4040         fix for bug 1376
4041
4042 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * buffer.C (readFile): add a space
4045
4046 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4047
4048         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4049
4050 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4051
4052         * buffer.C (readFile): new function, take a filename and a
4053         ParagraphList::iterator
4054         (readFile): adjust
4055         (readFile): adjust, make it private. don't use setStream, make
4056         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4057         always contain the filename.
4058
4059         * BufferView.C (insertLyXFile): simplify and make it work for
4060         gzipped files.
4061
4062 2003-08-30  John Levon  <levon@movementarian.org>
4063
4064         * Makefile.am: fix dist (from Kayvan)
4065
4066 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * most files: change to use const Buffer refs
4069
4070 2003-08-27  André Pönitz  <poenitz@gmx.net>
4071
4072         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4073         on top of ownerPar().
4074
4075 2003-08-27  John Levon  <levon@movementarian.org>
4076
4077         * funcrequest.C: properly initialise POD members
4078
4079 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4080
4081         * lyxtext.h (top_y): move top_y from here
4082         * text.C:
4083         * text2.C:
4084         * text3.C:
4085         * BufferView.[Ch]:
4086         * BufferView_pimpl.[Ch]: to here
4087         * frontends/screen.C:
4088         * insets/insettabular.C:
4089         * insets/insettext.C: adjust
4090         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4091
4092 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4093
4094         * BufferView.[Ch]:
4095         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4096
4097 2003-08-26  André Pönitz  <poenitz@gmx.net>
4098
4099         * paragraph_func.[Ch] (outerPar): new function
4100
4101         * paragraph.C:
4102         * paragraph_funcs.C:
4103         * paragraph_funcs.h:
4104         * paragraph_pimpl.C:
4105         * text2.C: remove Inset::par_owner
4106
4107 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4108
4109         * lyxrow_funcs.C:
4110         * lyxtext.h:
4111         * text.C:
4112         * text2.C: eliminates the needFullRow/display() stuff
4113         altogether, putting the logic in metrics/draw in the insets.
4114
4115 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * text2.C (redoParagraphInternal, redoParagraphs):
4118         * text.C (redoParagraph): add a call to updateRowPositions at the
4119         end of each 'metrics-like' call. Remove all others.
4120         (getRow): remove the 'y-computing' version.
4121         (getRowNearY): do not compute nor return the real y. Solve the
4122         'y < 0' problem and simplify.
4123
4124 2003-08-22  Angus Leeming  <leeming@lyx.org>
4125
4126         * *.[Ch]: clean-up of licence and author blurbs.
4127         Also move config.h out of a few .h files and into a few .C files.
4128
4129 2003-08-22  André Pönitz  <poenitz@gmx.net>
4130
4131         * lyxrow.[Ch]: add x_ and *fill_ members
4132
4133         * lyxtext.h:
4134         * text.C:
4135         * rowpainter.C:
4136         * text2.C: adjust/remove prepareToPrint() calls
4137
4138 2003-08-22  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxrow.[Ch]: add  end_ member
4141
4142         * lyxrow_funcs.C: use LyXRow::end_
4143
4144         * lyxtext.h (singleWidth): add LyXFont parameter
4145
4146         * rowpainter.C:
4147         * text2.C: adjust LyXText::singleWidth() calls
4148
4149         * text.C (redoParagraph): simplify row breaking logic
4150
4151
4152 2003-08-19  André Pönitz  <poenitz@gmx.net>
4153
4154         * funcrequest.C: initialize button_ member
4155
4156         * text3.C:
4157         * rowpainter.[Ch]: interface consolidation
4158
4159 2003-08-18  André Pönitz  <poenitz@gmx.net>
4160
4161         * BufferView.C:
4162         * BufferView_pimpl.C:
4163         * lyxfind.C:
4164         * paragraph_funcs.C:
4165         * rowpainter.C:
4166         * text3.C: remove LyXScreen::draw() and fitCursor calls
4167
4168         * BranchList.h: remove spurious semicolons
4169
4170         * MenuBackend.C: fix branchlist related crash
4171
4172 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4173
4174         * BranchList.[Ch]:
4175         * InsetList.[Ch]:
4176         * LColor.[Ch]:
4177         * LyXAction.C:
4178         * Makefile.am:
4179         * MenuBackend.[Ch]:
4180         * bufferparams.[Ch]:
4181         * factory.C:
4182         * lfuns.h:
4183         * lyxfunc.C:
4184         * text3.C: implements the 'branch inset'
4185         idea. This allows the output of various versions of a document
4186         from a single source version, selectively outputing or suppressing
4187         output of parts of the text.
4188         This implementation contains a 'branch list editor' in a separate
4189         tab of the document settings dialog. Branches are user definable
4190         and have a "display colour" to distinguish them on-screen.
4191
4192         ColorHandler was somewhat cleaned up.
4193         (1) make possible a dynamically growing LColor list by allowing
4194         the graphic context cache to grow along (vector);
4195         (2) eliminate an IMHO unnecessary step in colour allocation.
4196
4197 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4198
4199         * BufferView_pimpl.C: compile fix
4200
4201 2003-08-15  André Pönitz  <poenitz@gmx.net>
4202
4203         * rowpainter.C: remove extra metrics calls
4204
4205         * lyxtext.h: merge the two constructors into a single one,
4206           pass reference to owner's par list
4207
4208         * BufferView_pimpl.C:
4209         * text.C:
4210         * text2.C: adjust
4211
4212 2003-08-15  André Pönitz  <poenitz@gmx.net>
4213
4214         * lyxrow_funcs.[Ch]:
4215         * lyxtext.h:
4216         * paragraph.h:
4217         * paragraph_funcs.C:
4218         * rowpainter.C:
4219         * text.C:
4220         * text2.C:
4221         * text3.C:
4222         * text_funcs.C: split LyXText::rowlist_ into individual
4223         Paragraph::rows_ chunks
4224
4225         * BufferView.[Ch]:
4226         * BufferView_pimpl.[Ch]:
4227         * lyxfind.C:
4228         * lyxtext.h:
4229         * text3.C: remove toggleSelection()
4230
4231 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4232
4233         * bufferlist.C: beautify two alerts (shorter text of buttons)
4234         * buffer.C: Remove redundant ' ' from message
4235         * tabular.h:
4236         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4237         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4238         rename VALIGN_CENTER to VALIGN_MIDDLE
4239
4240 2003-08-11  André Pönitz  <poenitz@gmx.net>
4241
4242         * lyxtext.h (getPar):
4243         * text.C: new function
4244
4245 2003-08-11  André Pönitz  <poenitz@gmx.net>
4246
4247         * Makefile.am:
4248         * tracer.[Ch]: remove unneeded files
4249
4250         * InsetList.[Ch]: remove resizeInsetsLyXText()
4251
4252         * lyxtext.h:
4253         * text.C:
4254         * text2.C:
4255         * text3.C: merge insertParagraphs() and appendParagraph()
4256         remove breakAgain(), update()
4257
4258         * BufferView_pimpl.[Ch]:
4259         * bufferview_funcs.[Ch]:
4260         * lyxfunc.C:
4261         * paragraph.[Ch]:
4262         * rowpainter.C:
4263         * tabular.C: adjust after text & InsetList changes.
4264
4265 2003-08-08  André Pönitz  <poenitz@gmx.net>
4266
4267         * text.C (insertChar, backspace): replace rowlist fiddling
4268         with rebreak of full par
4269
4270         * lyxtext.h:
4271         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4272         checkParagraph, updateInset): removed
4273
4274 2003-08-07  André Pönitz  <poenitz@gmx.net>
4275
4276         * paragraph.C:
4277         * text3.C: merge some LFUN handlers, remove dead code
4278
4279 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4280
4281         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4282
4283 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4284
4285         * text2.C (DEPM): fix part of bug 1255 and 1256
4286
4287 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4288
4289         * BufferView_pimpl.C (workAreaDispatch): change to use
4290         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4291         that are no mouse related.
4292
4293 2003-08-05  André Pönitz  <poenitz@gmx.net>
4294
4295         * BufferView.[Ch]:
4296         * BufferView_pimpl.[Ch]:
4297         * bufferview_funcs.C:
4298         * text2.C:
4299         * text3.C: rip out "deep update"
4300
4301         * textcursor.[Ch] (last_sel_cursor): remove unused member
4302
4303 2003-08-04  André Pönitz  <poenitz@gmx.net>
4304
4305         * BufferView.[Ch]:
4306         * BufferView_pimpl.[Ch]:
4307         * ParagraphParameters.C:
4308         * bufferview_funcs.C:
4309         * lyx_cb.C:
4310         * lyxfind.C:
4311         * lyxfunc.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C: replace "complicated" BufferView::update(...) calls with
4315         simpler ones.
4316
4317         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4318
4319 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4320
4321         * Makefile.am (lyx_SOURCES): add paper.h
4322
4323 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4324
4325         * Makefile.am: move things around so that both lyx-qt and
4326         lyx-xforms can be built (according to --with-frontend). Then lyx
4327         is a symbolic link to lyx-[firstfrontend]
4328
4329 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4330
4331         * Always use std::endl with lyxerr
4332
4333 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4334
4335         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4336
4337 2003-08-01  André Pönitz  <poenitz@gmx.net>
4338
4339         * BufferView.[Ch]:
4340         * BufferView_pimpl.[Ch]:
4341         * lyxfunc.C:
4342         * text3.C: merge BufferView::repaint() and BufferView::update()
4343
4344 2003-08-01  José Matos  <jamatos@lyx.org>
4345
4346         * buffer.[Ch]: file_format is no longer a buffer data element.
4347
4348 2003-08-01  André Pönitz  <poenitz@gmx.net>
4349
4350         * BufferView.C:
4351         * lyxtext.h:
4352         * text.C:
4353         * text2.C: make redoParagraph more independent of current cursor
4354
4355         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4356         * text.C:
4357         * text2.C: remove unneeded members
4358
4359 2003-07-30  André Pönitz  <poenitz@gmx.net>
4360
4361         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4362
4363         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4364           create a single function...
4365
4366         * paragraph_funcs.C (moveItem): ... here.
4367
4368         * text.C:
4369           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4370
4371 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4372
4373         * LColor.[Ch]: Add comment and greyedout logical colors.
4374
4375 2003-07-30  André Pönitz  <poenitz@gmx.net>
4376
4377         * tabular.C: don't use Assert too heavily. This crashes where it
4378           shouldn't
4379
4380 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4383         is disabled (bug 1232)
4384
4385 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4386
4387         * factory.C: limited 'arg' scope
4388
4389 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4390
4391         * factory.C: fixed Note submenu issues
4392
4393 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4394
4395         * factory.C: submenu for Note/Comment/Greyedout
4396
4397 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * lyx_main.C (LyX):
4400         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4401
4402 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4403
4404         * LaTeXFeatures.C:
4405         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4406         greyedout. Patch provided by Jürgen Spitzmüller.
4407
4408 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4409
4410         * kbmap.C (read): fix error message when reading bind files
4411
4412 2003-07-29  Angus Leeming  <leeming@lyx.org>
4413
4414         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4415         certainly does not do what it purports to do. I am doing it, and
4416         us, a favour by killing it.
4417
4418 2003-07-28  José Matos  <jamatos@lyx.org>
4419
4420         * buffer.C (readBody, do_writeFile):
4421         * paragraph.C(readParagraph): \end_document replaces \the_end.
4422
4423 2003-07-29  André Pönitz  <poenitz@gmx.net>
4424
4425         * BufferView.[Ch]:
4426         * BufferView_pimpl.[Ch]:
4427         * lyxfunc.C:
4428         * text2.C:
4429         * text3.C:
4430         * textcursor.[Ch]: remove toggleToggle & Co
4431
4432 2003-07-28  José Matos  <jamatos@fep.up.pt>
4433
4434         * buffer.C (readParagraph):
4435         * params_func (readParToken, readParagraph):
4436         * paragraph.C (write): \layout -> \begin_layout.
4437
4438 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * lyxlex_pimpl.C (setFile): clean up slightly.
4441
4442         * bufferparams.h: add compressed var
4443
4444         * buffer_funcs.C (readFile): adjust for LyXLex change
4445         (newFile): ditto + simplify
4446
4447         * buffer.C (writeFile): handle writing of compressed files
4448
4449         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4450         Check if the file is compressed and set a bufferparm if so.
4451
4452         * Makefile.am (lyx_LDADD): remove explicit -lz
4453
4454 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4455
4456         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4457         makeDocBookFile): put the real LyX version in the first line of
4458         the file
4459
4460         * version.h:
4461         * version.C.in: remove lyx_docversion
4462
4463         * tabular.C (write_attribute): add a template-based version to
4464         write enums properly
4465
4466 2003-07-28  André Pönitz  <poenitz@gmx.net>
4467
4468         * lyxtext.h:
4469         * text.C:
4470         * text2.C:
4471         * text3.C: use doubles again for x-coordinates. They are needed.
4472
4473 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * messages.C (getLocaleDir): use lyx_localedir()
4476
4477         * lyxlex_pimpl.C (setFile): compress stuff
4478
4479         * buffer.C (writeFile): add some compression stuff
4480         (do_writeFile): new func, dont call expliti close... will this
4481         breake anything?
4482
4483         * Makefile.am (lyx_LDADD): add -lz
4484
4485 2003-07-28  José Matos  <jamatos@fep.up.pt>
4486
4487         * buffer.C: increment file format.
4488         * paragraph_funcs (readParagraph, readParToken):
4489         * paragraph.C (readParagraph): add \end_layout.
4490
4491 2003-07-27  Angus Leeming  <leeming@lyx.org>
4492
4493         * Makefile.am: remove special casing for configure-time setting of
4494         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4495
4496         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4497         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4498
4499 2003-07-26  André Pönitz  <poenitz@gmx.net>
4500
4501         * paragraph_func.[Ch]:
4502         * paragraph.C (realizeFont): inline it whereever it is used
4503
4504         * rowpainter.C:
4505         * text.C:
4506         * text2.C:
4507         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4508
4509
4510 2003-07-26  André Pönitz  <poenitz@gmx.net>
4511
4512         *       lyxtext.h:
4513         * text.C:
4514         * text2.C: get rid of LyXText::need_break_row
4515
4516 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * toc.[Ch]: put namespace toc inside namespace lyx
4519
4520         * MenuBackend.C (expandToc2): adjust for lyx::toc
4521         (expandToc): ditto
4522
4523         * lyxfunc.C (dispatch): adjust for lyx::find
4524
4525         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4526         lyx::find instead. Reorganize a bit.
4527         (LyXReplace): rename to replace
4528         (LyXFind): rename to find
4529
4530         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4531         (dispatch): ditto
4532
4533 2003-07-26  André Pönitz  <poenitz@gmx.net>
4534
4535         * text.C (setHeightOfRow): restrict scope of temporary variable
4536
4537         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4538           code (never has been used?)
4539
4540 2003-07-27  Asger Alstrup  <alstrup@local>
4541
4542         * text.C (fill): Optimise algorithm to exploit that we can reuse
4543         the LyXFont for many characters.
4544         (setHeightOfRow): Same thing.
4545         (rowBreakPoint): Same thing.
4546
4547 2003-07-26  Asger Alstrup  <alstrup@local>
4548
4549         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4550
4551         * text.C (singleWidth): Spurious font copying in hot-spot
4552         singleWidth avoided. Reorder tests for arabic for efficiency.
4553
4554         * text.C (fill): handle empty paragraphs better.
4555
4556 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4557
4558         * ispell.C:
4559         * encoding.h: add includes
4560
4561         * lyxrc.C: remove reading of bind files
4562
4563         * lyx_main.C (init): setup bindings and menus only if we have a
4564         gui.
4565
4566         * kbmap.C (read): new method. Do the actual reading of bind
4567         files.
4568
4569         * converter.C (dvipdfm_options):
4570         * bufferparams.C:
4571         * lyxrc.C (read):
4572         (output): adapt PAPER_* enums.
4573
4574         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4575
4576         * bufferparams.h: remove paper-related enums from there
4577
4578         * paper.h: New file. A trivial header file to hold paper-related
4579         enums. It should later expand to contain many paper-related
4580         horrors access.
4581
4582         * lyxrc.C: declare extern displayTranslator
4583
4584 2003-07-27  José Matos  <jamatos@fep.up.pt>
4585
4586         * tabular.[Ch] (linuxdoc): add support for tables and figures
4587         (linuxdoc).
4588
4589 2003-07-27  José Matos  <jamatos@fep.up.pt>
4590
4591         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4592         consistency in both functions.
4593         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4594
4595 2003-07-26  Asger Alstrup  <alstrup@local>
4596
4597         * rowpainter.C (paintRows): Change algorithm to work directly on
4598         the insets rather than asking every character in the document
4599         whether its an inset.
4600
4601 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4602
4603         * buffer.C (openFileWrite): factorize some code
4604
4605 2003-07-26  Angus Leeming  <leeming@lyx.org>
4606
4607         * lyx_cb.C:
4608         * lyx_main.[Ch]: replace occurances of system_tempdir with
4609         os::getTmpDir().
4610
4611 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * rename Inset to InsetOld
4614
4615 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4616
4617         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4618         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4619         which I think is a bit clearer. EDIT is gone, since it was
4620         premature optimisation, and broken for mathed anyway.
4621         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4622         with cursor positioning in insets as well (math insets still do not
4623         work, but that's a different story anyway.) It mysteriously
4624         crashes sometimes with undo in the first paragraph, but I'm fairly
4625         confident that this is a compiler bug.
4626
4627 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * paragraph.C (Paragraph): adjust for new clone return type
4630         (operator==): ditto
4631         (copyIntoMinibuffer): ditto
4632
4633 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4634
4635         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4636         by not having a special case, and always doing a full rebreak of
4637         the document after undo.
4638
4639 2003-07-23  Angus Leeming  <leeming@lyx.org>
4640
4641         * factory.C (createInset): InsetExternal::setParams now takes a
4642         Buffer const * arg.
4643
4644 2003-07-23  Angus Leeming  <leeming@lyx.org>
4645
4646         * factory.C (createInset): changed interface to the external and
4647         graphics mailers' string2params functions.
4648
4649 2003-07-23  Angus Leeming  <leeming@lyx.org>
4650
4651         * factory.C (createInset): pass a
4652         Buffer const * parameter to InsetExternalMailer's string2params.
4653
4654 2003-07-22  John Levon  <levon@movementarian.org>
4655
4656         * Thesaurus.h: include the right aiksaurus header
4657
4658 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4659
4660         * MenuBackend.C (expand): check menu shortcuts unconditionally
4661
4662 2003-07-21  Angus Leeming  <leeming@lyx.org>
4663
4664         * factory.C (createInset): pass a
4665         buffer_path parameter to InsetGraphicsMailer's string2params.
4666
4667 2003-07-21  Angus Leeming  <leeming@lyx.org>
4668
4669         * BufferView_pimpl.C (buffer):
4670         * buffer.C (d-tor):
4671         * lyx_main.C (LyX):
4672         * lyxfunc.C (dispatch):
4673         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4674         rather than the grfx shortcut.
4675
4676 2003-07-21  André Pönitz  <poenitz@gmx.net>
4677
4678         * rowpainter.C: remove unused variables
4679
4680         * tabular_funcs.C:
4681         * tabular_funcs.h: move to tabular.C
4682         * Makefile.am: adjust
4683
4684         * tabular.[Ch]: basic optical cleaning
4685
4686         * author.h: pass references, not values
4687
4688 2003-07-18  André Pönitz  <poenitz@gmx.net>
4689
4690         * lyxtext.h:
4691         * metricsinfo.C:
4692         * metricsinfo.h:
4693         * rowpainter.C:
4694         * text.C:
4695         * text2.C:
4696         * text3.C: two-phase drawing for InsetText and InsetTabular
4697         some float -> int changes.
4698
4699 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4700
4701         * lyx_main.C: fix the fix
4702
4703 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * lyx_main.C: fix a crash in batch mode if no files specified
4706         * converter.C: ws
4707
4708 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4709
4710         * format.[Ch] (papersize): moved to BufferParams
4711         * converter.[Ch] (dvips_options): moved to BufferParams
4712         (dvipdfm_options): moved to anon namespace
4713         * bufferparams.[Ch]: added above functions.
4714
4715 2003-07-17  André Pönitz  <poenitz@gmx.net>
4716
4717         * lyxtext.h:
4718         * rowpainter.C:
4719         * text2.C: don't call inset->update() anymore
4720
4721         * metricsinfo.[Ch]: add convenience constructor
4722
4723 2003-07-16  André Pönitz  <poenitz@gmx.net>
4724
4725         * lyxcursor.[Ch]:
4726         * lyxfunc.[Ch]:
4727         * text.C:
4728         * text2.C: replace the LyXCursor::irow_ member with
4729          on-demand computation of the value
4730
4731 2003-07-16  John Levon  <levon@movementarian.org>
4732
4733         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4734
4735 2003-07-15  André Pönitz  <poenitz@gmx.net>
4736
4737         * text.C:
4738         * text2.C: remove no more needed refresh_row
4739
4740 2003-07-15  André Pönitz  <poenitz@gmx.net>
4741
4742         * lyxtext.h:
4743         * rowpainter.C:
4744         * text2.C:
4745         * text3.C: refresh_status tristate -> need_update bool
4746
4747 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * lyxtext.h (init): remove reinit argument (act as if always true)
4750         * text2.C: adjust to that
4751
4752 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4753
4754         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4755         * text3.C: use it to delete selections in some cases
4756         (bugs 441, 673, 702, 954).
4757
4758 2003-07-14  André Pönitz  <poenitz@gmx.net>
4759
4760         * rowpainter.[Ch]: reduce interface
4761
4762 2003-07-14  André Pönitz  <poenitz@gmx.net>
4763
4764         * BufferView_pimpl.C:
4765         * text2.C: adjust after removing unused BufferView * argument
4766
4767 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * text2.C (init): fix a crash fired on resize
4770
4771 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4772
4773         * buffer.[Ch]: added new closing signal
4774         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4775         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4776         BufferView::Pimpl via the closing the signal
4777
4778 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * buffer.[Ch]: take out all bv-related from buffer
4781         * BufferView.C:
4782         * BufferView_pimpl.[Ch]: connect to new signals
4783         * CutAndPaste.C: removed useless asserts
4784         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4785         * lyxvc.[Ch]:
4786         * vc-backend.[Ch]:
4787         * lyxfunc.C: moved view-related funciontality from vc here
4788         * paragraph.C: removed outdated comments
4789         * text.C: ws
4790
4791 2003-07-10  André Pönitz  <poenitz@gmx.net>
4792
4793         * BufferView_pimpl.C:
4794         * tabular.h:
4795         * tabular_funcs.C:
4796         * text.C:
4797         * text2.C: remove InsetText::InnerCache, clean up consequences
4798
4799 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4800
4801         * ispell.C: fix two typos in error messages
4802
4803 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4804
4805         * Extend Note inset to other forms of annotation like Comment
4806         and Greyedout. Right button click gives dialog.
4807
4808         Files modified or added (+):
4809
4810         * insetnote.[Ch]
4811         * FormNote.[Ch]      +
4812         * ControlNote.[Ch]   +
4813         * form_note.fd       +
4814         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4815         frontends/controllers
4816         * xforms/Dialogs.C
4817         * factory.C
4818
4819 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4820
4821         * aspell.C: add missing namespace lyx::support
4822
4823 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * BufferView.[Ch] (newFile): Add
4826         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4827         * LaTeX.[Ch] (message): added this signal and use it
4828         * buffer.[Ch] (busy, message): added these signals and use them
4829         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4830         * converter.C:
4831         * exporter.C:
4832         * format.C:
4833         * importer.C: use buffer signals instead of direct bv calling
4834         * lyx_cb.[Ch] (ShowMessage): removed
4835         * lyx_main.C:
4836         * lyxfunc.C:
4837         * paragraph_funcs.C:
4838         * text2.C: use buffer signals
4839
4840 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * introduce namespace lyx::graphics
4843
4844 2003-07-02  André Pönitz  <poenitz@gmx.net>
4845
4846         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4847
4848 2003-07-01  André Pönitz  <poenitz@gmx.net>
4849
4850         * text.C:
4851         * text2.C:
4852         * text3.C:
4853         * text_funcs.[Ch]:
4854         * textcursor.h:
4855         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4856           text*.C to text_func.C
4857
4858 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * introduce namespace lyx::support
4861
4862 2003-06-30  André Pönitz  <poenitz@gmx.net>
4863
4864         * Chktex.C:
4865         * funcrequest.C:
4866         * lyxtext.h:
4867         * text.C: re-enable --with-included-string
4868
4869 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * textcursor.C: add <config.h>
4872
4873         * text.C (getWord): remove const from word_location arg
4874
4875         * lyxvc.C (getLogFile): fix const type order
4876
4877         * lyxtext.h: remove const from word_location arg, add arg name
4878
4879         * lyxlayout.h: currect type on labeltype.
4880
4881         * importer.C: correct \file
4882
4883         * converter.C (intToFormat): use std:: on ret val, ws changes
4884
4885         * bufferlist.h: correct \file
4886
4887         * buffer.C (makeLinuxDocFile): fix const type order
4888         (makeDocBookFile): ditto
4889         (fillWithBibKeys): use std:: on stdlib args.
4890
4891         * CutAndPaste.C: fix authors.
4892         (availableSelections): use std:: on return vector
4893
4894 2003-06-27  André Pönitz  <poenitz@gmx.net>
4895
4896         * BufferView_pimpl.C:
4897         * bufferview_funcs.C:
4898         * lyxcursor.C:
4899         * lyxcursor.h:
4900         * lyxfunc.C:
4901         * lyxtext.h:
4902         * rowpainter.C:
4903         * text.C:
4904         * text2.C:
4905         * text3.C: remove LyXCursor::row_ member
4906
4907         * lyxtext.h:
4908         * text.C: rename fullRebreak() to partialRebreak() and implement
4909           a fullRebreak() that really bereks fully
4910
4911         * textcursor.h: new struct for cursor-related data
4912
4913 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4914
4915         * lyx_main.C (LyX): get full path of document loaded on the
4916         command line
4917
4918 2003-06-26  André Pönitz  <poenitz@gmx.net>
4919
4920         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4921           remove unused/broken operator>,<,>=.
4922
4923         *       text.C: remove only use of broken operator<= in an Assert().
4924
4925 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4926
4927         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4928         moved errorlist_.clear to showErrorList
4929
4930 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4931
4932         * converter.C (scanLog, runLaTeX):
4933         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4934         move the bv->showErrorList call to the callers
4935         * lyxfunc.C: i.e. here...
4936         * text2.C: and here
4937         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4938         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4939         namespace, the second to...
4940         * buffer_funcs (BufferFormat, parseErrors): added
4941         * errorlist.C (ErrorList(TeXErrors const &)): removed
4942
4943 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4944
4945         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4946
4947 2003-06-24  "Garst R. Reese" <reese@isn.net>
4948
4949         * debug.C: fix typo
4950
4951 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4952
4953         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4954
4955         * version.C.in: change docversion to 1.4
4956
4957 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4958
4959         * buffer.C: fix a bug just introduced
4960
4961 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4962
4963         * buffer.[Ch]: added the parseError signal and use it, removed
4964         sgmlError
4965         * BufferView.[Ch] (addError): moved to ...
4966         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4967         to the Buffer::parseError signal to catch (guess what) parse errors
4968         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4969
4970 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4973         ability to create a buffer and to return an existing one from
4974         the list. Moved these functions to...
4975         * buffer_funcs.[Ch]: added
4976         * BufferView.[Ch] (loadLyXFile): added
4977         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4978         job removed from bufferlist::loadLyXFile.
4979         * buffer.C (setReadOnly): make it work without view
4980         (i.e added an if (users))
4981
4982 2003-06-19  Angus Leeming  <leeming@lyx.org>
4983
4984         * lfuns.h:
4985         * LyXAction.C (init):
4986         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4987         with LFUN_DIALOG_SHOW <name> <data>.
4988
4989 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4990
4991         * CutAndPaste.C (availableSelections): small compilation fix for
4992         ancient (gcc 2.9x) compilers
4993
4994 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * text3.C (cursorNext): add tmp var
4997
4998         * text2.C (updateCounters): for function calling out of for clause
4999         (replaceSelectionWithString): ditto
5000         (insertStringAsParagraphs): ditto
5001         (getColumnNearX): add tmp var
5002         (setCursorFromCoordinates): add tmp var
5003         (cursorDownParagraph): add tmp var
5004         (deleteEmptyParagraphMechanism): add tmp var
5005
5006         * text.C (insertChar): add tmp var
5007
5008         * rowpainter.C (paintDepthBar): add tmp var
5009
5010         * CutAndPaste.C (availableSelections): potentially check all
5011         paragraphs in a cut to fill the shown strings.
5012
5013 2003-06-18  André Pönitz  <poenitz@gmx.net>
5014
5015         * kbmap.[Ch]: use vector<> instead of list<>
5016
5017 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5018
5019         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5020         pasteSelection with index
5021
5022         * text2.C (pasteSelection): modify, call pasteSelection with index
5023
5024         * paragraph.C (asString): reimplement version with no interval to
5025         call the one with interval.
5026
5027         * lyxtext.h: add index arg to pasteSelection
5028
5029         * MenuBackend.C (MenuItem): handle PasteRecent
5030         (Menu::read::Menutags): add md_pasterecent
5031         (read): handle it
5032         (expandPasteRecent): new function
5033         (expand): use it
5034
5035         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5036
5037         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5038         the limited stack
5039         (availableSelections): new function
5040
5041 2003-06-17  Angus Leeming  <leeming@lyx.org>
5042
5043         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5044
5045 2003-06-17  Angus Leeming  <leeming@lyx.org>
5046
5047         * lfuns.h:
5048         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5049
5050         * lyxfunc.C (dispatch): invoke it.
5051
5052 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5053
5054         * iterators.C (operator++, ParPosition): reintroduce some
5055         const_cast for the benefit of older compilers.
5056
5057 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5058
5059         * text3.C (dispatch): do not modify clipboard when doing
5060         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5061         LFUN_DELETE_SKIP on a selection selection
5062
5063 2003-06-16  André Pönitz  <poenitz@gmx.net>
5064
5065         * BufferView.C:
5066         * buffer.C:
5067         * buffer.h:
5068         * paragraph.C:
5069         * tabular.[Ch]: IU of clone() and getLabelList();
5070
5071 2003-06-13  André Pönitz  <poenitz@gmx.net>
5072
5073         * tabular.h: compactification
5074
5075 2003-06-12  André Pönitz  <poenitz@gmx.net>
5076
5077         * tabular.C:
5078         * tabular.h:
5079         * tabular_funcs.h: some renaming plus whitespace
5080
5081 2003-06-12  André Pönitz  <poenitz@gmx.net>
5082
5083         * BufferView.C:
5084         * BufferView_pimpl.C:
5085         * CutAndPaste.C:
5086         * buffer.C:
5087         * iterators.[Ch]:
5088         * lyxfunc.C:
5089         * text.C:
5090         * toc.C: Return a Paragraph & for ParIterator::operator*()
5091
5092 2003-06-11  John Levon  <levon@movementarian.org>
5093
5094         * lyx_main.C:
5095         * ToolbarBackend.h:
5096         * ToolbarBackend.C: add "Toolbars" section and
5097         put the flags there
5098
5099 2003-06-10  Angus Leeming  <leeming@lyx.org>
5100
5101         * lfuns.h:
5102         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5103
5104         * lyxfunc.C (dispatch): invoke it.
5105
5106 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * main.C: protect <ios> with HAVE_IOS
5109         (main): protect sync_with_stdio with HAVE_IOS
5110
5111 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5112
5113         * text2.C (cutSelection): adjust
5114         (pasteSelection): adjust
5115
5116         * messages.C: handle get of empty string
5117
5118         * main.C (main): use sync_with_stdio(false)
5119
5120         * lyxfunc.C (dispatch): adjust
5121
5122         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5123         (WriteAs): remove unneeded BufferView arg.
5124
5125         * bufferparams.h: use correct types on papersize, papersize2 and
5126         paperpackage.
5127
5128         * bufferparams.C (readToken): adjust for type
5129         (writeLaTeX): add missing cases to switch.
5130
5131         * bufferlist.C (quitWriteBuffer): adjust
5132         (close): adjust
5133
5134         * buffer.C (asciiParagraph): remove some commented code.
5135
5136         * CutAndPaste.C: remove current_view extern variable.
5137         (cutSelection): add BufferParams arg.
5138         (eraseSelection): add BufferParams arg.
5139         (pasteSelection): add Buffer const & arg
5140
5141 2003-06-07  John Levon  <levon@movementarian.org>
5142
5143         * buffer.C:
5144         * paragraph_funcs.C:
5145         * paragraph_pimpl.C:
5146         * text.C:
5147         * text2.C:
5148         * paragraph.h:
5149         * paragraph.C: allow InsetERT to freely space lines,
5150         and some consolidation of code
5151
5152 2003-06-06  José Matos  <jamatos@fep.up.pt>
5153
5154         * buffer.C (makeDocBookFile): fix bug #821
5155
5156 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5157
5158         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5159
5160 2003-06-04  Angus Leeming  <leeming@lyx.org>
5161
5162         * buffer.C: bump format to 224.
5163
5164 2003-06-05  André Pönitz  <poenitz@gmx.net>
5165
5166         * text2.C (redoParagraphs): remove two const_cast<>
5167
5168 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5169
5170         * ParagraphList.h: remove last remnants of NO_STD_LIST
5171
5172 2003-06-03  Angus Leeming  <leeming@lyx.org>
5173
5174         * factory.C (createInset): small change to the way InsetExternal's params
5175         are set.
5176
5177 2003-06-04  André Pönitz  <poenitz@gmx.net>
5178
5179         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5180
5181         * paragraph_pimpl.h:
5182         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5183
5184         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5185
5186         * undo_funcs.C: make some simple cases of undo work again
5187
5188 2003-06-03  John Levon  <levon@movementarian.org>
5189
5190         * ispell.C: HPUX doesn't have sys/select.h
5191         (from Albert Chin)
5192
5193 2003-06-03  John Levon  <levon@movementarian.org>
5194
5195         * CutAndPaste.C: update tabular and include inset
5196         buffer references
5197
5198         * buffer.h:
5199         * paragraph.h:
5200         * paragraph.C: remove owningBuffer(), don't pass Buffer
5201         to clone()
5202
5203         * factory.C: insetGraphicsParams changed
5204
5205 2003-06-02  John Levon  <levon@movementarian.org>
5206
5207         * LyXAction.C:
5208         * factory.C:
5209         * lfuns.h:
5210         * lyxfunc.C:
5211         * text3.C: remove insetparent
5212
5213 2003-06-02  John Levon  <levon@movementarian.org>
5214
5215         * buffer.h:
5216         * buffer.C: fix inset_iterator.end(), move out of line
5217         (bug 1149)
5218
5219 2003-06-01  John Levon  <levon@movementarian.org>
5220
5221         * text3.C: use a proper cut/paste when doing inset
5222         insert (from Jürgen Spitzmüller)
5223
5224 2003-06-01  John Levon  <levon@movementarian.org>
5225
5226         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5227
5228 2003-05-30  André Pönitz  <poenitz@gmx.net>
5229
5230         * rowpainter.C: unify second drawing phase
5231
5232 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5233
5234         * trans_mgr.C: remove one case of current_view
5235
5236         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5237
5238         * paragraph_funcs.h: remove paragraph.h include
5239
5240         * paragraph.h: delete NO_STD_LIST stuff
5241
5242         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5243
5244         * buffer.h: remove paragraph.h include
5245
5246         * ParagraphList.C: delete file
5247
5248         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5249
5250         * toc.C (getTocList): adjust
5251
5252         * paragraph_pimpl.C (validate): adjust
5253
5254         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5255
5256         * paragraph.C (Paragraph): adjust
5257         (getPositionOfInset): use const_iterator, adjust
5258         (bibitem): use const_iterator, adjust
5259         (setInsetOwner): adjust
5260
5261         * iterators.C (operator++): adjust
5262
5263         * InsetList.[Ch]: Replace selfmade iterator with standard
5264         vector::iterator also introduce const_iterator. Remove getPos,
5265         getInset and setInset from InsetTable. Adjust accordingly.
5266
5267         * BufferView.C (lockInset): adjust
5268         (ChangeInsets): adjust
5269
5270         * tabular.[Ch]: delete commented same_id functions
5271
5272 2003-05-28  John Levon  <levon@movementarian.org>
5273
5274         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5275
5276 2003-05-28  André Pönitz  <poenitz@gmx.net>
5277
5278         * metricsinfo.[Ch]: remove 'fullredraw' member
5279
5280 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5281
5282         * lyxtextclass.C (operator): remove caching.
5283
5284 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * text3.C: adjust
5287
5288         * text2.C (cursorBottom): adjust
5289         (setCounter): use ParagraphList::find, adjust
5290
5291         * text.C (workWidth): use ParagraphList::find, adjust
5292
5293         * lyxcursor.C (LyXCursor): adjust
5294
5295         * buffer.C (inset_iterator): adjust
5296
5297         * ParagraphList.h: make iterator(value_type) private, make
5298         ParagraphList a friend of iterator.
5299
5300         * ParagraphList.C (find): new function
5301
5302         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5303
5304 2003-05-27  André Pönitz  <poenitz@gmx.net>
5305
5306         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5307
5308 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5309
5310         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5311
5312 2003-05-26  John Levon  <levon@movementarian.org>
5313
5314         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5315
5316 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * remove same_id from function signatures, adjust.
5319
5320 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5323
5324         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5325
5326         * paragraph.C (Paragraph): get rid of same_ids parameter
5327
5328         * ParagraphList.C (insert): adjust
5329         (push_back): adjust
5330
5331 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * paragraph_funcs.C (breakParagraph): adjust
5334         (breakParagraphConservative): adjust
5335
5336         * buffer.C (readParagraph): adjust
5337
5338         * ParagraphList.C (insert): take a reference instead of a pointer
5339         (insert): adjust
5340
5341         * paragraph.[Ch] (id): new function
5342
5343         * bufferlist.C (newFile): adjust
5344
5345         * ParagraphList.C (ParagraphList): adjust
5346         (assign): adjust
5347         (push_back): take a reference instead of a pointer.
5348
5349         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5350
5351         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5352         instead.
5353
5354         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5355         set else use old code.
5356
5357         * ParagraphList.C: remove all NO_NEXT code and only compile this
5358         code of NO_STD_LIST is set.
5359
5360 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5361
5362         * BufferView_pimpl.C:
5363         * TextCache.C:
5364         * TextCache.h:
5365         * bufferlist.C:
5366         * errorlist.h:
5367         * format.C:
5368         * format.h:
5369         * graph.C:
5370         * lyxfunc.C:
5371         * lyxrc.C:
5372         * graphics/GraphicsConverter.C:
5373         * graphics/PreviewLoader.C: header adjustment
5374
5375 2003-05-23  Angus Leeming  <leeming@lyx.org>
5376
5377         * LaTeXFeatures.[Ch] (useBabel): new method.
5378         * bufferparams.C (writeLaTeX): use it.
5379
5380 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * ParagraphList.h (set): remove unused function.
5383
5384 2003-05-23  André Pönitz  <poenitz@gmx.net>
5385
5386         * BufferView.C:
5387         * BufferView_pimpl.C:
5388         * buffer.C:
5389         * buffer.h:
5390         * lyxfunc.C:
5391         * undo_funcs.C: setUndo reworked
5392
5393         * iterators.[Ch]: add access to topmost ParagraphList
5394
5395         * lyxtext.[Ch] (workWidth): add a const
5396
5397 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5398
5399         * texrow.[Ch] (increasePos): remove function
5400         * exporter.C (export): removed unused var and outdated comment
5401
5402 2003-05-23  Angus Leeming  <leeming@lyx.org>
5403
5404         * latexrunparams.h: rename fragile as moving_arg.
5405         * paragraph.C (simpleTeXOnePar): ditto.
5406         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5407
5408 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5411         (createUndo): ditto
5412         (textUndoOrRedo): comment out a currently unused var.
5413
5414         * paragraph.h (NO_NEXT): enable NO_NEXT
5415
5416         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5417
5418         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5419
5420         * exporter.C (Export): adjust for removeAutoInsets removal.
5421
5422         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5423
5424         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5425
5426         * BufferView.[Ch] (removeAutoInsets): delete function
5427
5428 2003-05-22  Angus Leeming  <leeming@lyx.org>
5429
5430         * latexrunparams.h: add a free_spacing variable.
5431
5432         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5433         to pass moving_arg, as the data is stored in runparams.fragile.
5434
5435         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5436         to Inset::latexOptional or to simpleTeXOnePar.
5437
5438         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5439         free_spacing arg to Inset::latexOptional.
5440
5441         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5442         free_spacing arg.
5443
5444 2003-05-22  Angus Leeming  <leeming@lyx.org>
5445
5446         * latexrunparams.h: add fragile and use_babel variables.
5447
5448         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5449         * buffer.C (makeLaTeXFile): store this returned value in
5450         runparams.use_babel, thus passing it to the inset::latex methods.
5451
5452         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5453         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5454
5455         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5456         longer has a fragile arg, as it is stored in runparams.fragile.
5457
5458         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5459         moving_arg parameter as the data is stored in runparams.fragile.
5460
5461         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5462         a fragile parameter as the data is stored in runparams.fragile.
5463
5464 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5467
5468 2003-05-22  Angus Leeming  <leeming@lyx.org>
5469
5470         * latexrunparams.h: add a 'bool nice' which defaults to false.
5471
5472         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5473         now encapsulated within runparams.
5474
5475         * bufferlist.C (updateIncludedTeXfiles):
5476         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5477
5478 2003-05-22  Angus Leeming  <leeming@lyx.org>
5479
5480         * latexrunparams.h: new file containing struct LatexRunParams.
5481         * Makefile.am: add new file.
5482
5483         * LaTeX.[Ch] (c-tor, run):
5484         * buffer.[Ch] (makeLaTeXFile):
5485         * bufferlist.[Ch] (updateIncludedTeXfiles):
5486         * converter.C (convert, scanLog):
5487         * converter.[Ch] (runLaTeX):
5488         * exporter.C (Export):
5489         * paragraph.[Ch] (simpleTeXOnePar):
5490         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5491         * paragraph_funcs.[Ch] (latexParagraphs):
5492         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5493         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5494         pass around a LatexRunParams parameter.
5495
5496 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * paragraph.[Ch]: remove unused constructor
5499
5500         * ParagraphList.C (erase): new function, taking two iterators
5501
5502 2003-05-22  André Pönitz  <poenitz@gmx.net>
5503
5504         * undo_funcs.C: remove duplicated code
5505
5506         * iterator.[Ch]: operator=
5507
5508 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * tabular.C (SetMultiColumn): ws changes
5511
5512         * rowpainter.C (paintFirst): get rid of a ->previous
5513
5514         * lyx_cb.C (getPossibleLabel): parlist simplification
5515
5516         * BufferView.C (ChangeInsets): simplify slightly.
5517
5518 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5519
5520         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5521         * lfuns.h: new LFUN_SPACE
5522         * lyxfunc.C: protected space has a new lfun
5523         * paragraph_funcs.C: read new space insets
5524         * text3.C:
5525         * factory.C: handle new space insets
5526
5527 2003-05-22  André Pönitz  <poenitz@gmx.net>
5528
5529         * BufferView.C:
5530         * BufferView_pimpl.C:
5531         * buffer.[Ch]:
5532         * lyxfunc.C:
5533         * undo_funcs.C: return a ParIterator from getParFromID.
5534
5535         * iterators.[Ch]: add two const's
5536
5537 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * toc.C (getTocList): adjust
5540
5541         * iterators.[Ch]: rework for parlist
5542
5543         * buffer.C (par_iterator_begin): adjust
5544         (par_iterator_end): adjust
5545
5546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5547
5548         * BufferView.C (removeAutoInsets): adjust
5549         (ChangeInsets): adjust
5550
5551 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5552
5553         * text.C (top_y): fix bug 1110
5554
5555 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5556
5557         * errorlist.[Ch]: added
5558         * buffer.C:
5559         * BufferView.[Ch]:
5560         * BufferView_pimpl.C:
5561         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5562         instead
5563
5564 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * Makefile.am: ensure that lyx is relinked upon changes to the
5567         various "convenience" libs.
5568
5569 2003-05-20  Angus Leeming  <leeming@lyx.org>
5570
5571         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5572         files are compiled in alphabetical order again.
5573
5574         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5575
5576 2003-05-19  Angus Leeming  <leeming@lyx.org>
5577
5578         * gettext.[Ch]: remove "char const * _(char const *)".
5579
5580 2003-05-19  André Pönitz  <poenitz@gmx.net>
5581
5582         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5583
5584         * Makefile.am:
5585         * BufferView.C:
5586         * DepTable.h:
5587         * LaTeXFeatures.C:
5588         * buffer.C:
5589         * lyxfont.C:
5590         * lyxlex.h:
5591         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5592
5593 2003-05-19  André Pönitz  <poenitz@gmx.net>
5594
5595         * buffer.C:
5596         * lyxlayout.[Ch]:
5597         * lyxtextclass.[Ch]:
5598         * paragraph.C:
5599         * paragraph_funcs.[Ch]:
5600         * text2.C:
5601         * text3.C: more insetenv work
5602
5603 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5604
5605         * ParagraphParameters.C (params2string): small bug fixed
5606
5607 2003-05-16  André Pönitz  <poenitz@gmx.net>
5608
5609         * debug.C:
5610         * bufferview_funcs.C: patch from Kornel Benko to prevent
5611           crash when _(...) is called twice in a statement
5612
5613 2003-05-16  André Pönitz  <poenitz@gmx.net>
5614
5615         * BufferView.C:
5616         * lyxfunc.C:
5617         * text.C:
5618         * text2.C:
5619         * text3.C:
5620         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5621
5622 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5623
5624         * lyx_main.C (init): remove spurious static_cast
5625
5626 2003-05-14  André Pönitz  <poenitz@gmx.net>
5627
5628         * BufferView.C: fix format string
5629
5630 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * BufferView.[Ch] (insertErrors): removed
5633         * BufferView.[Ch] (showErrorList): added
5634         * buffer.C (runChkTeX):
5635         * converter.C (scanLog): call showErrorList instead of inserterrors
5636
5637 2003-05-13  André Pönitz  <poenitz@gmx.net>
5638
5639         * BufferView_pimpl.C:
5640         * buffer.C:
5641         * bufferview_func.C:
5642         * MenuBackend.C:
5643         * lyxfunc.C:
5644         * lyxrc.C:
5645         * tex-accent.C:
5646         * text3.C:
5647         * toc.C:
5648         * tabular_funcs.h: tostr() from its own header
5649
5650         * ParagraphParameters.C:
5651         * ToolbarBackend.C:
5652         * bufferparams.C:
5653         * format.C:
5654         * lyxlex_pimpl.C:
5655         * text3.C: STRCONV()
5656
5657 2003-05-12  André Pönitz  <poenitz@gmx.net>
5658
5659         * BufferView.C:
5660         * BufferView_pimpl.C:
5661         * CutAndPaste.C:
5662         * LaTeX.C:
5663         * LaTeXFeatures.C:
5664         * ParagraphParameters.C:
5665         * buffer.C:
5666         * bufferlist.C:
5667         * bufferparams.C:
5668         * bufferview_funcs.C:
5669         * converter.C:
5670         * counters.C:
5671         * debug.C:
5672         * exporter.C:
5673         * format.C:
5674         * importer.C:
5675         * lyx_cb.C:
5676         * lyx_main.C:
5677         * lyxfont.C:
5678         * lyxfunc.C:
5679         * lyxvc.C:
5680         * paragraph.C:
5681         * paragraph_funcs.C:
5682         * tabular.C:
5683         * tabular_funcs.C:
5684         * text2.C:
5685         * text3.C:  boost::format -> bformat  all over the place
5686
5687
5688 2003-05-09  André Pönitz  <poenitz@gmx.net>
5689
5690         * LColor.[Ch]: Pimpl the #include <map> away
5691
5692 2003-05-09  John Levon  <levon@movementarian.org>
5693
5694         * bufferlist.C: never remove emergency saves
5695
5696 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * Makefile.am: better lib building
5699
5700 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5703         instead.
5704         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5705         (simpleTeXSpecialChars): adjust
5706         (simpleTeXSpecialChars): adjust
5707         * paragraph.C (simpleTeXOnePar): adjust
5708         * buffer.C (makeLaTeXFile): adjust
5709
5710         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5711
5712         * text2.C (changeDepth): parlist cleanup
5713         (getColumnNearX): ditto
5714
5715         * rowpainter.C (getLabelFont): parlist cleanup
5716
5717         * bufferlist.C (newFile): parlist cleanup
5718
5719         * CutAndPaste.C (eraseSelection): parlist cleanup
5720
5721         * BufferView_pimpl.C (trackChanges): parlist cleanup
5722         (dispatch): ditto
5723
5724         * BufferView.C (lockInset): parlist cleanup.
5725         (ChangeInsets): ditto
5726
5727 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * CutAndPaste.h: Update file header.
5730
5731         * CutAndPaste.C: Update file header.
5732         Store the parts cut out of the Document in a limited_stack.
5733         (copySelection): adjust
5734         (pasteSelection): new function, takes the index in the limited stack.
5735         (nrOfParagraphs): adjust
5736         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5737         simplify error inset insertion.
5738         (checkPastePossible): adjust
5739
5740 2003-05-06  John Levon  <levon@movementarian.org>
5741
5742         * text2.C: don't cast wrap inset to float
5743
5744 2003-05-05  André Pönitz  <poenitz@gmx.net>
5745
5746         * iterator.C:
5747         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5748
5749         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5750           few naked Paragraph *.
5751
5752 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5753
5754         * bufferparams.C: Output warning if a document with missing
5755         TeX document class is loaded
5756         * exporter.C: Disable TeX exports if the document class is missing
5757         * lyxtextclass.C:
5758         * lyxtextclass.h:
5759         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5760         isTeXClassAvailable()
5761
5762 2003-05-03  John Levon  <levon@movementarian.org>
5763
5764         * BufferView.h:
5765         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5766         explicit cursor show/hide
5767
5768         * BufferView_pimpl.h:
5769         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5770         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5771
5772         * lyxfunc.C: hide cursor before dispatching.
5773
5774         * lyx_cb.C:
5775         * lyxfind.C:
5776         * text.C:
5777         * text3.C: remove explicit cursor hides
5778
5779 2003-05-02  André Pönitz  <poenitz@gmx.net>
5780
5781         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5782
5783         * undo_funcs.C:
5784         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5785           linked lists
5786
5787         * text2.C: tiny whitespace
5788
5789 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * undo_funcs.C: almost only ws changes.
5792
5793         * ParagraphList.C (splice): just return if pl is empty.
5794
5795 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * ParagraphList.C (splice): new function.
5798
5799         * CutAndPaste.C (pasteSelection): use it
5800
5801 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * CutAndPaste.C (pasteSelection): remove the last next and
5804         previous from this file.
5805
5806 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807
5808         * CutAndPaste.C (pasteSelection): more clean up, user proper
5809         ParagraphList functions for pasteing.
5810
5811         * ParagraphList.C (insert): new function, three arg insert
5812
5813 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * ParagraphList.C (insert): new function, three arg insert
5816
5817         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5818         not on paragraphs.
5819
5820 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5823
5824 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5827
5828 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5831         (copySelection): clean up a bit.
5832         (pasteSelection): use make_pair
5833
5834         * ParagraphList.C (ParagraphList): implement copy constructor
5835         (operator=): implement, base on copy constructor.
5836         (assign): new func
5837
5838         * paragraph.C (erase): return a bool
5839
5840         * paragraph_pimpl.C (erasePos): remove function, move contents...
5841         (erase): ... here. Return a bool.
5842         (erase): call erase instead of erasePos.
5843
5844 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5845
5846         * ParagraphList.h: define PitPosPair
5847         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5848         ParagraphList, fix a bug on pasting multiple pars
5849         * text2.C: change interface to C&P
5850
5851 2003-04-30  André Pönitz  <poenitz@gmx.net>
5852
5853         * undo_func.C: revert part of yesterday's patch 2
5854
5855 2003-04-30  John Levon  <levon@movementarian.org>
5856
5857         * LColor.C: s/tabular/table/
5858
5859 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * text3.C (dispatch): do not convert iterator -> pointer
5862         * undo_funcs.C (setCursorParUndo): ditto
5863         * text_funcs.C (transposeChars): ditto
5864
5865         * text2.C (setLayout): ws changes only
5866
5867         * text.C (breakParagraph): do not convert iterator -> pointer
5868         (insertChar): ditto
5869         (acceptChange): ditto
5870         (rejectChange): ditto
5871         (changeCase): ditto
5872         (Delete): ditto
5873         (backspace): ditto
5874
5875         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5876         pointer
5877
5878 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5879
5880         * text3.C (gotoInset): YABG (yet another bad getChar)
5881
5882 2003-04-29  André Pönitz  <poenitz@gmx.net>
5883
5884         * paragraph.h: make operator= private unimplemented as long as
5885           it is unusable
5886
5887         * ParagraphList.C: whitespace
5888
5889         * paragraph.[Ch]:
5890         * paragraph_pimpl.[Ch]:
5891         * paragraph_funcs.C:
5892         * CutAndPaste.C:
5893         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5894
5895         * text2.C:
5896           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5897
5898 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5899
5900         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5901         * paragraph.[Ch] (erase):
5902         * paragraph_pimpl.[Ch] (erase): change return type and value
5903         * text2.C (cutSelection): some rework
5904
5905 2003-04-28  John Levon  <levon@movementarian.org>
5906
5907         * bufferlist.C: changes for unsaved changes dialog
5908
5909 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * bufferlist.C (newFile): set language (messages_) for new
5912         documents also.
5913
5914         * buffer.C (readFile): ws changes only.
5915
5916 2003-04-28  André Pönitz  <poenitz@gmx.net>
5917
5918         * undo_funcs.C:
5919         * lyxfunc.C:
5920         * buffer.[Ch]:
5921         * BufferView_pimpl.C:
5922         * BufferView.C: getParFromID related ParagraphList::iterator changes
5923
5924 2003-04-28  André Pönitz  <poenitz@gmx.net>
5925
5926         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5927           Changes
5928
5929 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * messages.C: remove one more localedir class variable.
5932
5933 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * messages.C (getLocaleDir): singleton generation function
5936         (Pimpl): use it.
5937         (Messages): add a default constructor.
5938
5939         * main.C (main): do not setup localedir here, do not call
5940         gettext_init.
5941
5942         * gettext.C (_): use it.
5943         (gettext_init): delete funciton
5944
5945 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * gettext.C (getLyXMessages): new singleton generating function.
5948
5949         * buffer.C (updateDocLang): adjust
5950
5951         * Makefile.am (messages.o): add target
5952         (main.o): remove target
5953
5954 2003-04-27  John Levon  <levon@movementarian.org>
5955
5956         * bufferlist.C:
5957         * lyx_cb.C:
5958         * lyxfunc.C:
5959         * lyxvc.C: specify cancel button in Alert::prompt
5960
5961 2003-04-26  John Levon  <levon@movementarian.org>
5962
5963         * text3.C:
5964         * lyxfunc.C:
5965         * lfuns.h:
5966         * LyXAction.C: add LFUN_INSET_SETTINGS
5967
5968         * lyxfunc.C: don't enable tabular-feature when there's
5969         just any locking inset
5970
5971 2003-04-26  John Levon  <levon@movementarian.org>
5972
5973         * bufferlist.C: re-add Cancel to buffer close question
5974
5975         * lyxfunc.C: fix import UI a bit
5976
5977 2003-04-25  John Levon  <levon@movementarian.org>
5978
5979         * gettext.C: remove the broken asserts for now
5980
5981 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * messages.C: make case where setlocale cannot comply work better.
5984
5985         * buffer.C (updateDocLang): new function
5986         (changeLanguage): use it
5987         (readFile): use it
5988
5989         * text2.C (setCounter): use B_ a bit.
5990
5991         * lyxlayout.C (Read): be sure to trim the label strings.
5992
5993         * messages.C (Messages): fix typo in comment
5994
5995         * buffer.C (readFile): set message_ after file is loaded.
5996         (makeDocBookFile): remove double return
5997         (changeLanguage): reset message_ upon language change.
5998         (B_): new func, use this to get translated buffer strings.
5999
6000         * main.C: add myself and Jean Marc as authors.
6001
6002 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * messages.[hC]: pimplify Messages, and three different pimpls to be
6005         used in different circumstances.
6006
6007         * gettext.[Ch]: change for use with new message code.
6008
6009 2003-04-24 André Pönitz <poenitz@gmx.net>
6010
6011         * factory.C: support for eqref
6012
6013 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * messages.[Ch]: add missing char
6016
6017         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6018
6019         * messages.[Ch]: New files
6020
6021 2003-04-18  John Levon  <levon@movementarian.org>
6022
6023         * BufferView.h:
6024         * BufferView.C:
6025         * BufferView_pimpl.C:
6026         * lfuns.h:
6027         * LyXAction.C:
6028         * lyxtext.h:
6029         * text2.C: remove layout-copy/paste (bug 778)
6030
6031 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6032
6033         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6034
6035 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6038         if they succeed. Act accordingly.
6039
6040 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * text2.C (setCharFont): adjust
6043         (setCounter): adjust
6044         (insertStringAsLines): adjust
6045
6046         * text.C (leftMargin): adjust
6047         (setHeightOfRow): adjust
6048
6049         * rowpainter.C (paintFirst): adjust
6050         (paintLast): adjust
6051
6052         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6053         (outerHook): ditto
6054         (isFirstInSequence): ditto
6055         (getEndLabel): ditto
6056         (outerFont): adjust
6057
6058         * paragraph.C (getParLanguage): comment out some hard stuff.
6059
6060         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6061         (sgmlError): ditto
6062         (simpleDocBookOnePar): ditto
6063         (makeDocBookFile): use ParagraphList::iterator
6064
6065         * CutAndPaste.C (pasteSelection): adjust
6066
6067 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * text2.C (getFont): adjust
6070         (getLayoutFont): adjust
6071         (getLabelFont): adjust
6072
6073         * paragraph_funcs.C (TeXOnePar): adjust
6074
6075         * buffer.C (simpleLinuxDocOnePar): adjust
6076         (simpleDocBookOnePar): adjust
6077
6078         * CutAndPaste.C (pasteSelection): adjust
6079
6080         * BufferView.C (getEncoding): adjust
6081
6082         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6083
6084 2003-04-16  John Levon  <levon@movementarian.org>
6085
6086         * lyxfind.C: use parlist stuff for search/changes
6087
6088 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6091
6092         * text2.C (deleteEmptyParagraphMechanism): adjust
6093
6094         * text2.[Ch] (ownerParagraph): delete func (both of them
6095
6096 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6099
6100 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * ParagraphList.C: prepare for NO_NEXT
6103
6104 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * text2.C (getFont): adjust
6107         (getLayoutFont): adjust
6108         (getLabelFont): adjust
6109
6110         * paragraph.C (getFont): adjust
6111         (getLabelFont): adjust
6112         (getLayoutFont): adjust
6113
6114         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6115
6116 2003-04-15  John Levon  <levon@movementarian.org>
6117
6118         From Angus Leeming
6119
6120         * lyx_main.C: handle Include in .ui files
6121
6122 2003-04-15  John Levon  <levon@movementarian.org>
6123
6124         * MenuBackend.C: make the doc files length shorter
6125
6126         * ToolbarBackend.h:
6127         * ToolbarBackend.C: handle toolbar placement flags,
6128         Minibuffer
6129
6130 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6131
6132         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6133         adjust
6134
6135         * paragraph_funcs.C (TeXOnePar): adjust
6136
6137         * paragraph.C (getLabelFont): add outerfont arg, adjust
6138         (getLayoutFont): ditto
6139         (simpleTeXOnePar): adjust
6140
6141         * paragraph_pimpl.C (realizeFont): delete func
6142
6143 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6144
6145         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6146         row argument, constify cur argument.
6147
6148 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * text2.C (getFont): adjust
6151         (getLayoutFont): adjust
6152         (getLabelFont): adjust
6153
6154         * paragraph_funcs.C (TeXOnePar): adjust
6155         (outerFont): new func...
6156         (realizeFont): ...moved out from here, changed this to facilitate
6157         transition
6158
6159         * paragraph.C (getFont): take outerfont as arg, adjust
6160         (simpleTeXOnePar): add outerfont arg, adjust
6161
6162         * buffer.C (simpleLinuxDocOnePar): adjust
6163         (simpleDocBookOnePar): adjust
6164
6165         * CutAndPaste.C (pasteSelection): adjust
6166
6167         * BufferView.C (getEncoding): adjust
6168
6169 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * text2.C (setCharFont): adjust
6172         (setCounter): adjust
6173
6174         * text.C (leftMargin): adjust
6175         (setHeightOfRow): adjust
6176
6177         * rowpainter.C (paintFirst): adjust
6178         (paintLast): adjust
6179
6180         * paragraph_pimpl.C (realizeFont): adjust
6181
6182         * paragraph.C (isFirstInSequence): move from here...
6183         * paragraph_funcs.C (isFirstInSequence): ...to here
6184
6185         * paragraph.C (outerHook): move from here...
6186         * paragraph_funcs.C (outerHook): ...to here
6187
6188         * paragraph.C (depthHook): move from here...
6189         * paragraph_funcs.C (depthHook): ...to here
6190
6191         * paragraph.C (getEndLabel): move from here...
6192         * paragraph_funcs.C (getEndLabel): ...to here
6193
6194         * text2.C (realizeFont): move from here...
6195         * paragraph_funcs.C (realizeFont): ...to here
6196
6197 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6200
6201 2003-04-14  Angus Leeming  <leeming@lyx.org>
6202
6203         * LColor.[Ch]: scrap LColor mathcursor.
6204
6205 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * lyxlex.[Ch] (text): delete function
6208         * trans.C (Load): adjust
6209         * paragraph_funcs.C (readParToken): adjust
6210
6211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6214         vector<char> instead of a char[].
6215
6216         * lyxlex_pimpl.C (getString): adjust
6217         (next): adjust
6218         (lex): use getString
6219         (eatLine): adjust
6220         (nextToken): adjust
6221
6222         * lyxlex.C (text): use pimpl_->getString()
6223         (getBool): ditto
6224         (findToken): ditto
6225
6226 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6229         (makeFontEntriesLayoutSpecific): temp var for par.size()
6230         (setLayout): temp var for ownerParagraphs().end()
6231         (fullRebreak): temp var for rows().end()
6232         (selectionAsString): temp var for boost::next(startpit), realize
6233         that the while really is a regular for loop.
6234         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6235         setCursor in one place.
6236         (setParagraph): temp vr for ownerParagraphs().end()
6237         (updateCounters): make the while loop a for loop
6238         (cutSelection): temp var for ownerParagraphs().end()
6239         (updateInset): make the do {} while() a regular for loop
6240         (getCursorX): use temp vars
6241         (setCurrentFont): use temp vars
6242         (getColumnNearX): use temp vars
6243
6244 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6245
6246         * text.C (transformChar): use temp var for getChar
6247         (computeBidiTables): use temp var for row->par()
6248         (fill): move temp vars for row->par() and pit->layout() earlier in
6249         the function.
6250         (labelFill): use temp var for row->par()
6251         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6252         asc and desc, realize that pit never changes and that firstpit is
6253         just a duplicate and not needed. Exchange rit->par() with pit in a
6254         lot of places.
6255         (breakAgain): use a temp var for boost::next(rit)
6256         (breakAgainOneRow): ditto
6257         (breakParagraph): use a temp var for rows().begin()
6258         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6259         (cursorRightOneWord): use temp var for cursor.par() and
6260         cursor.pos(), remove usage of tmpcursor.
6261         (cursorLeftOneWord): use temp var for cursor.par() and
6262         cursor.pos() only set cur at end of function.
6263
6264 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * text.C, text2.C: exchange all usage of Paragraph::next with
6267         boost::next(ParagraphList::iterator)
6268
6269         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6270
6271         * text2.C (cursorTop): simplify implementation
6272         (cursorBottom): ditto
6273         (setParagraph): use ParagraphList::iterator
6274         (setCurrentFont): adjust
6275         (getColumnNearX): adjust
6276         (cursorRight): adjust
6277         (cursorLeft): remove usage of Paragraph::previous
6278         (cursorUpParagraph): ditto
6279         (deleteEmptyParagraphMechanism): slight cleanup
6280
6281         * text.C (isBoundary): take a Paragraph const & instead of a
6282         pointer as arg.
6283         (addressBreakPoint): ditto
6284         (leftMargin): remove usage of Paragraph::previous.
6285         (setHeightOfRow): ditto
6286         (cursorLeftOneWord): ditto
6287         (selectNextWordToSpellcheck): ditto
6288         (Delete): ditto
6289         (backspace): ditto
6290         (breakParagraph): remove one usage of Paragraph::next
6291         (redoParagraph): ditto
6292         (acceptChange): ditto
6293         (insertChar): adjust
6294         (rowBreakPoint): adjust
6295
6296         * bufferview_funcs.C (toggleAndShow): adjust
6297
6298 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6299
6300         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6301         methods to access it.
6302         * lyxtext.h:
6303         * text.C: Added updateRowPositions to compute all row positions.
6304         Make top_y and getRowNearY() to use the cached y position
6305
6306 2003-04-11  John Levon  <levon@movementarian.org>
6307
6308         * text.C (rowBreakPoint): reintroduce the labelEnd
6309         checks, code copied from the row fill stuff. Deep voodoo.
6310
6311         * text.C (fill): add a comment and debugging for the
6312         next poor soul.
6313
6314 2003-04-11  John Levon  <levon@movementarian.org>
6315
6316         * text.C: make sure fullrow insets get wrapped to the next line,
6317         even when they're in a manual label
6318
6319 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * text2.C (insertParagraph): make it take ParagraphList::iterator
6322         as arg.
6323         (setLayout): make it return ParagraphList::iterator
6324         (redoParagraphs): ditto
6325         (setCounter): ditto
6326         (checkParagraph): ditto
6327
6328         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6329
6330         * text2.C: adjust several funcs.
6331         (realizeFont): take a ParagraphList::iterator as arg.
6332         (getLayoutFont): ditto
6333         (getLabelFont): ditto
6334         (setCharFont): ditto
6335
6336         * text.C: adjust several funcs.
6337
6338 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * text.C (selectNextWordToSpellcheck): don't accidentally
6341         skip insets
6342
6343 2003-04-10  John Levon  <levon@movementarian.org>
6344
6345         * ToolbarBackend.C (getIcon): special handling for
6346         LFUN_MATH_DELIM
6347
6348 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * text2.C (cursorRight): a getChar assert fixed
6351
6352 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * text2.C (getFont): change to take a ParagraphList::iterator
6355         instead of Paragraph*
6356         Adjust several functions.
6357
6358         * text.C (transformChar): change to take a ParagraphList::iterator
6359         instead of Paragraph*
6360         (singleWidth): ditto
6361         Adjust several functions.
6362
6363         * rowpainter.C: adjust several functions
6364         * rowpainter.h:store a ParagraphList::iterator and not a
6365         Paragraph&.
6366
6367
6368 2003-04-09  John Levon  <levon@movementarian.org>
6369
6370         * lyxfunc.C:
6371         * lfuns.h:
6372         * LyXAction.h:
6373         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6374         and the "help" bits as well
6375
6376 2003-04-09  John Levon  <levon@movementarian.org>
6377
6378         * ToolbarBackend.h:
6379         * ToolbarBackend.C: allow multiple toolbars
6380
6381 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * undo_funcs.C (setCursorParUndo): adjust
6384
6385         * text_funcs.C (transposeChars): adjust
6386
6387         * text3.C (gotoNextInset): adjust
6388         (dispatch): adjust
6389
6390         * text2.C (setLayout): adjust
6391         (changeDepth): adjust
6392         (setFont): adjust
6393         (redoParagraphs): adjust
6394         (selectionAsString): adjust
6395         (setParagraph): adjust
6396         (insertInset): adjust
6397         (cutSelection): adjust
6398         (copySelection): adjust
6399         (pasteSelection): adjust
6400         (insertStringAsLines): adjust
6401         (updateInset): adjust
6402         (setCursor): change to take a ParagraphList::iterator parameter
6403         (setCursorIntern): change to take a ParagraphList::iterator parameter
6404         (setCurrentFont): adjust
6405         (cursorLeft): adjust
6406         (cursorRight): adjust
6407         (deleteEmptyParagraphMechanism): adjust
6408
6409         * text.C (breakParagraph): adjust
6410         (insertChar): adjust
6411         (acceptChange): adjust
6412         (rejectChange): adjust
6413         (selectNextWordToSpellcheck): adjust
6414         (changeCase): adjust
6415         (Delete): adjust
6416         (backspace): adjust
6417
6418         * lyxfind.C (SearchForward): adjust
6419         (SearchBackward): adjust
6420         (nextChange): adjust
6421
6422         * lyxcursor.C (par): adjust
6423
6424         * lyxcursor.h: store a ParagraphList::iterator instead of a
6425         Paragraph*
6426
6427         * lyx_cb.C (getPossibleLabel): adjust
6428
6429         * bufferview_funcs.C (toggleAndShow): adjust
6430
6431         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6432         (dispatch): adjust
6433
6434         * BufferView.C (removeAutoInsets): adjust
6435         (lockedInsetStoreUndo): adjust
6436
6437 2003-04-09  John Levon  <levon@movementarian.org>
6438
6439         * ToolbarBackend.C: try icon without argument
6440         if with argument fails
6441
6442 2003-04-08  John Levon  <levon@movementarian.org>
6443
6444         * ToolbarBackend.h:
6445         * ToolbarBackend.C: add getIcon(), handle tooltip,
6446         and change from "Icon" to "Item".
6447
6448 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * BufferView.C (lockInset): another bad getchar crunched
6451
6452 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6455         again)
6456
6457 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * lyxfind.C (searchForward, searchBackwards): bug 782
6460
6461 2003-04-07  John Levon  <levon@movementarian.org>
6462
6463         * paragraph.C: remove dead comment
6464
6465         * text.C: remove troublesome depth-fiddling code
6466         in leftMargin() and rightMargin() (bug 1017)
6467
6468         * text.C: fix breaking of rows in nested lists
6469         (bug 1004)
6470
6471         * text2.C (updateCounters): fix up depth values
6472         (bug 1013)
6473
6474 2003-04-07  John Levon  <levon@movementarian.org>
6475
6476         * BufferView_pimpl.C: clear message when doc finishes resizing,
6477         and after a mouse event
6478
6479         * lyxfunc.C: clear message after exiting inset
6480
6481 2003-04-07  John Levon  <levon@movementarian.org>
6482
6483         * bufferview_funcs.C: show math status not outside
6484         status in the statusbar
6485
6486 2003-04-07  John Levon  <levon@movementarian.org>
6487
6488         * lyxfunc.C: note status changed after a depth change
6489
6490 2003-04-04  Angus Leeming  <leeming@lyx.org>
6491
6492         * LaTeX.h: move AuxInfo operator==, != out of line.
6493         Remove LaTeX virtual destructor; nothing derives from it.
6494         Move operator()() out of public area and rename it startscript().
6495         Change protected for private.
6496
6497 2003-04-04  Angus Leeming  <leeming@lyx.org>
6498
6499         * lyxfunc.C:
6500         * text2.C: remove unneeded #includes.
6501
6502 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * text2.C (dEPM): fix the heigth of the next row
6505
6506 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6507
6508         * text.C: squashed an invalid getChar requester + some ws changes
6509
6510 2003-04-03  John Levon  <levon@movementarian.org>
6511
6512         * bufferview_funcs.h:
6513         * bufferview_funcs.C:
6514         * lyxfunc.C:
6515         * lyxtext.h:
6516         * text2.C: make getStatus work for the env depth lfuns
6517
6518 2003-04-03  John Levon  <levon@movementarian.org>
6519
6520         * bufferview_funcs.h:
6521         * bufferview_funcs.C:
6522         * lyxfunc.C:
6523         * lyxtext.h:
6524         * text2.C: parlistize decDepth(), by merging it with incDepth()
6525
6526 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * lyxrow.h: store a ParagraphList::iterator instead of a
6529         Paragraph* and adjust other class functions to suit.
6530
6531         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6532         above.
6533
6534 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * text2.C (setCursor): do not anchor to cursor row for the time being
6537
6538 2003-04-02  John Levon  <levon@movementarian.org>
6539
6540         * LyXAction.C:
6541         * lfuns.h:
6542         * lyx_main.C:
6543         * lyxtext.h:
6544         * text.C:
6545         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6546
6547 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * paragraph.h: make ParagraphList and ParagraphList::iterator
6550         friends of Paragraph.
6551
6552         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6553
6554         * ParagraphList.C: Use the private next_ and previous_ from
6555         Paragraph.
6556
6557 2003-04-01  John Levon  <levon@movementarian.org>
6558
6559         * ToolbarBackend.h:
6560         * ToolbarBackend.C:
6561         * Makefile.am: rename, remove defaults gunk
6562
6563         * MenuBackend.h:
6564         * MenuBackend.C: remove defaults gunk
6565
6566         * Languages.h:
6567         * Languages.C: remove defaults gunk
6568
6569         * lyx_main.h:
6570         * lyx_main.C: error out if files couldn't be found.
6571
6572 2003-04-02  John Levon  <levon@movementarian.org>
6573
6574         * text2.C: make incDepth() use parlist
6575
6576 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * undo_funcs.C (firstUndoParagraph): adjust
6579
6580         * text3.C (gotoInset): adjust
6581         (dispatch): adjust, and rewrite loop.
6582
6583         * text2.C (init): adjust, and rewrite loop.
6584         (redoParagraphs): adjust
6585         (updateInset): adjust, and rewrite loop.
6586         (deleteEmptyParagraphMechanism): adjust
6587
6588         * tabular.C (LyXTabular): adjust
6589         (SetMultiColumn): adjust
6590         (TeXRow): adjust
6591
6592         * lyxtext.[Ch] (ownerParagraph): delete function
6593         (ownerParagraphs): new function returns a ParagraphList.
6594
6595         * BufferView.C (removeAutoInsets): adjust
6596         (insertErrors): adjust
6597         (setCursorFromRow): adjust
6598
6599 2003-04-01  Angus Leeming  <leeming@lyx.org>
6600
6601         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6602         in the frontends.
6603
6604 2003-04-02  John Levon  <levon@movementarian.org>
6605
6606         * lyxtext.h:
6607         * text.C:
6608         * Makefile.am:
6609         * text_funcs.h:
6610         * text_funcs.C: make transposeChars a free function
6611
6612         * lyxrow_funcs.C: remove wrong comment
6613
6614 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * lyxtext.h: adjust
6617         * rowpainter.C: adjust
6618         * text.C: adjust
6619         * text2.C: adjust
6620         * text3.C: adjust
6621
6622         * lyxrow_funcs. [Ch]: new files
6623
6624         * lyxrow.[Ch]: remove next and previous pointers
6625         (next,previous): remove accessor functions
6626         (isParEnd): move to lyxrow_funcs
6627         (lastPos): move to lyxrow_funcs
6628         (nextRowIsAllInset): move to lyxrow_funcs
6629         (lastPrintablePos): move to lyxrow_funcs
6630         (numberOfSeparators): move to lyxrow_funcs
6631         (numberOfHfills): move to lyxrow_funcs
6632         (numberOfLabelHfills): move to lyxrow_funcs
6633         (hfillExpansion): move to lyxrow_funcs
6634
6635         * lyxfunc.C: adjust
6636
6637         * bufferview_funcs.C (toggleAndShow): adjust
6638
6639         * RowList.h: Remove class RowList from file leave just a
6640         std::list<Row>.
6641
6642         * RowList.C: delete file
6643
6644         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6645         and lyxrow_funcs.h
6646
6647 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * text3.C (cursorPrevious): adjust
6650         (cursorNext): adjust
6651         (dispatch): adjust
6652
6653         * text2.C (redoHeightOfParagraph): adjust
6654         (redoDrawingOfParagraph): adjust
6655         (setCursor): adjust
6656
6657         * text.C (breakParagraph): adjust
6658         (insertChar): adjust
6659         (backspace): adjust
6660
6661         * rowpainter.C (RowPainter): adjust
6662         (leftMargin): simplify and adjust
6663         (most rowpainter functions): adjust.
6664
6665         * rowpainter.h: store the row as RowList::iterator not as Row*
6666
6667         * lyxcursor.C (row): taka RowList::iterator as arg
6668         (irow): ditto
6669
6670         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6671         of Row*.
6672
6673 2003-04-01  Angus Leeming  <leeming@lyx.org>
6674
6675         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6676         stuff like bool Bool.
6677
6678 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6681         rewrite a loop
6682
6683 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6686         RowList::iterator.
6687
6688         * lyxtext.h (rows): drop one version and leve a const variant that
6689         returns a RowList::iterator.
6690
6691 2003-03-31  Angus Leeming  <leeming@lyx.org>
6692
6693         * text.C (fill): ensure that the signature is the same as that in the
6694         header file.
6695
6696 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6697
6698         * text2.C (redoParagraphs): adjust
6699         (updateCounters): adjust
6700         (checkParagraph): adjust
6701         (getColumnNearX): adjust and reformat a bit.
6702
6703         * text.C (top_y): adjust
6704         (workWidth): adjust
6705         (leftMargin): adjust
6706         (prepareToPrint): adjust
6707         (getRow): adjust
6708         (getRowNearY): adjust
6709
6710         * lyxtext.h: make rowlist_ mutable.
6711
6712         * RowList.h: add const_iterator
6713         * RowList.C: adjust for RowList::const_iterator.
6714
6715         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6716         adjust.
6717
6718 2003-03-31  John Levon  <levon@movementarian.org>
6719
6720         * lyxrc.h:
6721         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6722
6723         * lyx_main.C: set default fonts from using lyx_gui funcs
6724
6725         * exporter.C: pdf_mode moved from lyxrc
6726
6727         * lyx_cb.C:
6728         * lyxfunc.C: changes from above
6729
6730 2003-03-31  John Levon  <levon@movementarian.org>
6731
6732         * lyx_main.C: fix to the last fix
6733
6734 2003-03-31  John Levon  <levon@movementarian.org>
6735
6736         * bufferlist.C: "Load original" -> "Load Original"
6737
6738         * converter.C:
6739         * exporter.C:
6740         * importer.C:
6741         * lyx_main.C:
6742         * format.C: more Alert cleanups
6743
6744 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * text2.C (removeParagraph): make it take a RowList::iterator as
6747         arg, adjust.
6748         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6749         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6750
6751         * text.C (anchor_row): make it take a RowList::iterator as arg,
6752         adjust.
6753         (computeBidiTables): make it take a const reference to Row instead
6754         of Row pointer, adjust.
6755         (leftMargin): make it take a RowList::iterator as arg, adjust.
6756         (rowBreakPoint): adjust
6757         (breakAgainOneRow): make it take a RowList::iterator as arg,
6758         adjust.
6759         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6760
6761         * bufferview_funcs.C (toggleAndShow): adjust
6762
6763 2003-03-30  John Levon  <levon@movementarian.org>
6764
6765         * Makefile.am:
6766         * BoostFormat.h:
6767         * boost-inst.C: moved to support
6768
6769         * several files: changes as a result
6770
6771 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * text2.C (LyXText): adjust.
6774         (init): adjust
6775         (removeRow): make it take a RowList::iterator as arg, adjust.
6776         (fullRebreak): adjust
6777         (deleteEmptyParagraphMechanism): adjust
6778         (clearPaint): adjust
6779         (postPaint): adjust
6780
6781         * text.C (top_y): adjust
6782         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6783         (breakAgain): make it take a RowList::iterator as arg, adjust.
6784         (breakParagraph): adjust
6785         (insertChar): adjust
6786         (backspace): adjust
6787
6788         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6789         need_break_row, and refresh_row.
6790
6791         * text3.C (dispatch): adjust
6792
6793         * text2.C (checkParagraph): adjust
6794         (setCursor): adjust
6795         (setCursorFromCoordinates): adjust
6796
6797         * text.C (top_y): adjust
6798         (workWidth): adjust
6799         (getRow): make it return a RowList::iterator, adjust
6800         (getRowNearY): make it return a RowList::iterator, adjust
6801
6802         * text2.C (init): adjust
6803         (insertRow): remove function
6804         (insertParagraph): adjust
6805         (redoParagraphs): adjust
6806         (fullRebreak): adjust
6807         (updateCounters): adjust
6808
6809         * text.C (top_y): rewrite to use RowList iterators.
6810         (top_y): adjust
6811         (setHeightOfRow): rewrite to sue RowList iterators.
6812         (appendParagraph): adjust
6813         (breakAgain): adjust
6814         (breakAgainOneRow): adjust
6815         (breakParagraph): adjust
6816         (getRow): adjust
6817         (getRowNearY): adjust, and remove commented code.
6818
6819         * lyxtext.h (firstRow): delete function
6820         (lastRow): delete function
6821         (rows): new function (const and non-const versions.)
6822         (insertRow): delete function
6823
6824         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6825
6826 2003-03-29  John Levon  <levon@movementarian.org>
6827
6828         * BufferView_pimpl.C: always update scrollbar top
6829         because pasting text when we're anchored could mean we
6830         miss an update altogether
6831
6832 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * text2.C (init): use rowlist_.end() and not 0.
6835         (insertRow): change to take a RowList::iterator as arg, adjust
6836         for this.
6837         (insertParagraph): change to take a RowList::iterator as arg,
6838         adjust for this.
6839         (redoParagraphs): remove some debug msgs.
6840
6841         * text.C (appendParagraph): change to take a RowList::iterator
6842         arg, adjust for this.
6843         (breakAgain): add an assert
6844         (breakAgainOneRow): ditto
6845
6846 2003-03-29  John Levon  <levon@movementarian.org>
6847
6848         * text2.C: do not clear selection after inc/decDepth
6849         (bug 550)
6850
6851 2003-03-29  John Levon  <levon@movementarian.org>
6852
6853         * BufferView.C:
6854         * buffer.C: fix broken strerrors according to Lars
6855
6856 2003-03-29  John Levon  <levon@movementarian.org>
6857
6858         * converters.C: more Alert cleanups
6859
6860 2003-03-29  John Levon  <levon@movementarian.org>
6861
6862         * bufferview_funcs.C: remove pointless Alert
6863
6864         * buffer.C: fix confusing error message when
6865         a template is chmoded 000
6866
6867 2003-03-29  John Levon  <levon@movementarian.org>
6868
6869         * BufferView.C:
6870         * BufferView.h:
6871         * BufferView_pimpl.C: Alert fixes
6872
6873         * Makefile.am:
6874         * tabular.C:
6875         * tabular-old.C: remove unused table compat reading
6876
6877 2003-03-29  John Levon  <levon@movementarian.org>
6878
6879         * BufferView.C:
6880         * buffer.C:
6881         * lyx_cb.h:
6882         * lyx_cb.C: more Alert cleanups
6883
6884         * lyxfunc.C: don't allow chktex if not latex document
6885
6886 2003-03-29  John Levon  <levon@movementarian.org>
6887
6888         * lyx_cb.C:
6889         * BufferView.C:
6890         * buffer.C: warnings pushed down from support/,
6891         kill err_alert
6892
6893 2003-03-29  John Levon  <levon@movementarian.org>
6894
6895         * lyxfunc.C: safety check for C-r (revert)
6896
6897 2003-03-29  John Levon  <levon@movementarian.org>
6898
6899         * bufferlist.h:
6900         * bufferlist.C: several UI fixes using Alert::prompt.
6901         Fix the pointless looping quit code. Fix stupid revert
6902         behaviour (bug 938)
6903
6904         * lyxvc.h:
6905         * lyxvc.C:
6906         * lyx_cb.C: use Alert::prompt
6907
6908         * lyx_main.C: remove a silly question
6909
6910         * lyxfunc.C: remove a couple of silly questions,
6911         use Alert::prompt
6912
6913 2003-03-28  John Levon  <levon@movementarian.org>
6914
6915         * text2.C: fix bug 974 (End on empty par)
6916
6917 2003-03-28  John Levon  <levon@movementarian.org>
6918
6919         * BufferView_pimpl.C:
6920         * LyXAction.C:
6921         * lfuns.h: remove do-nothing math greek lfuns
6922
6923 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * lyxgluelength.h (isValidGlueLength): add default arg on
6926         parameter 2. Remove default arg from friend in class.
6927
6928         * lyxlength.h (isValidLength): add default arg on parameter 2.
6929         Remove default arg from friend in class.
6930
6931         * text2.C (LyXText): adjust, initialize refresh_row.
6932         (init): adjust
6933         (removeRow): adjust
6934         (insertRow): adjust
6935         (insertParagraph): adjst
6936         (redoParagraphs): adjust
6937         (fullRebreak): adjust
6938         (updateCounters): adjust
6939         (deleteEmptyParagraphMechanism): first attempt at fixing a
6940         crashing bug.
6941
6942         * text.C (top_y): adjust
6943         (setHeightOfRow): adjust
6944         (getRow): adjust
6945         (getRowNearY): adjust
6946
6947         * lyxtext.h: include RowList.h
6948         (~LyXText): not needed anymore, deleted.
6949         (firstRow): modify for RowList
6950         (lastRow): new function
6951         Delete firstrow and lastrow class variables, add a Rowlist
6952         rowlist_ class variable.
6953
6954         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6955         paragraph is empty.
6956
6957         * RowList.C (insert): fix case where it == begin().
6958
6959 2003-03-26  Angus Leeming  <leeming@lyx.org>
6960
6961         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6962         the thesaurus dialog.
6963
6964 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6965
6966         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6967
6968         * RowList.[Ch]: new files
6969
6970         * ParagraphList.C (erase): handle the case where it == begin
6971         correctly.
6972
6973 2003-03-25  John Levon  <levon@movementarian.org>
6974
6975         * Makefile.am:
6976         * aspell_local.h:
6977         * aspell.C: add new aspell support
6978
6979         * lyxrc.h:
6980         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6981         have it accessible.
6982
6983 2003-03-25  Angus Leeming  <leeming@lyx.org>
6984
6985         * lfuns.h:
6986         * LyXAction.C (init): new LFUN_INSET_INSERT.
6987
6988         * BufferView_pimpl.C (dispatch): split out part of the
6989         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6990
6991         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6992         LFUN_INSET_APPLY.
6993
6994 2003-03-25  Angus Leeming  <leeming@lyx.org>
6995
6996         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6997
6998 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6999
7000         * text2.C:
7001         * text3.C: remove useless row->height(0)
7002
7003 2003-03-25  John Levon  <levon@movementarian.org>
7004
7005         * lyxtext.h:
7006         * text2.C:
7007         * text3.C: rename the refreshing stuff to better names
7008
7009 2003-03-24  John Levon  <levon@movementarian.org>
7010
7011         * BufferView_pimpl.h:
7012         * BufferView_pimpl.C: update layout choice on a mouse
7013         press/release
7014
7015 2003-03-23  John Levon  <levon@movementarian.org>
7016
7017         * Makefile.am: fix commandtags.h reference
7018
7019 2003-03-22  John Levon  <levon@movementarian.org>
7020
7021         * BufferView_pimpl.C:
7022         * lyxtext.h:
7023         * rowpainter.C:
7024         * rowpainter.h:
7025         * text.C:
7026         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7027
7028 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7029
7030         * lyxtext.h:
7031         * text.C: take the rtl methods out of line
7032
7033 2003-03-21 André Pönitz <poenitz@gmx.net>
7034
7035         * metricsinfo.[Ch]: new files containing structures to be passed around
7036         during the two-phase-drawing...
7037
7038 2003-03-21 André Pönitz <poenitz@gmx.net>
7039
7040         * lyxtextclass.C: read 'environment' tag.
7041
7042 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * text2.C (removeRow): fix bug 964
7045
7046 2003-03-20  John Levon  <levon@movementarian.org>
7047
7048         * rowpainter.C:
7049         * text.C:
7050         * text2.C: paint cleanups. Inset::update() dropped font
7051         parameter
7052
7053 2003-03-19  John Levon  <levon@movementarian.org>
7054
7055         * lyxfunc.C: only fitcursor/markDirty if available()
7056
7057 2003-03-19  John Levon  <levon@movementarian.org>
7058
7059         * commandtags.h: rename to ...
7060
7061         * lfuns.h: ... this, and renumber / cleanup
7062
7063 2003-03-19  John Levon  <levon@movementarian.org>
7064
7065         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7066         fit the cursor after an lfun
7067
7068         * BufferView.h:
7069         * BufferView.C:
7070         * BufferView_pimpl.h:
7071         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7072
7073         * LyXAction.C: layout-character should have ReadOnly
7074
7075         * ParagraphParameters.C:
7076         * buffer.C:
7077         * bufferview_funcs.C:
7078         * lyx_cb.C:
7079         * lyxfind.C:
7080         * lyxtext.h:
7081         * text.C:
7082         * text2.C:
7083         * text3.C:
7084         * undo_funcs.C: changes from above
7085
7086 2003-03-18  John Levon  <levon@movementarian.org>
7087
7088         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7089         remove it from update()
7090
7091         * lyxfunc.C: update layout choice after an lfun
7092
7093         * text3.C: remove extra updateLayoutChoice()s
7094
7095 2003-03-18  John Levon  <levon@movementarian.org>
7096
7097         * text.C: top_y change means full repaint, fix
7098         a drawing bug with cursor movement
7099
7100 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * lyxtext.h:
7103         * text.C:
7104         * text2.C: anchor row on setCursor
7105
7106 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7107
7108         * lyxtext.h: remove almost all mutable keywords
7109         * text.C:
7110         * text2.C:
7111         * text3.C: remove const keywords accordingly
7112
7113 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7116         anon namespace
7117         (TeXEnvironment): ditto
7118         (TeXOnePar): ditto
7119
7120 2003-03-17  John Levon  <levon@movementarian.org>
7121
7122         * text.C (rowBreakPoint): remove attempt to fix displayed
7123         math insets inside a manual label
7124
7125 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * lyxtext.h: remove BufferView* as first arg from almost all class
7128         functions.
7129         * other files: adjust.
7130
7131 2003-03-17  John Levon  <levon@movementarian.org>
7132
7133         * lyxtext.h:
7134         * undo_funcs.C:
7135         * text2.C: more paint cleanups
7136
7137         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7138
7139         * rowpainter.h:
7140         * rowpainter.C: remove "smart" background painting code
7141
7142 2003-03-16  John Levon  <levon@movementarian.org>
7143
7144         * lyxtext.h:
7145         * text.C:
7146         * text2.C:
7147         * text3.C: add helper functions for setting refresh_row/y
7148
7149 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7150
7151         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7152         newline inset which *can* get inserted in the pass_thru layouts.
7153         This is primarily for literate documents.
7154
7155 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7156
7157         * buffer.C: increment LYX_FORMAT to 223
7158
7159 2003-03-14 André Pönitz <poenitz@gmx.net>
7160
7161         * textclass.h: prepare for environment handling, ws changes
7162         * lyxlayout.C: read latexheader and latexfooter tags
7163
7164 2003-03-14  John Levon  <levon@movementarian.org>
7165
7166         * text2.C: rewrite ::status() a bit
7167
7168 2003-03-13  John Levon  <levon@movementarian.org>
7169
7170         * lyxtext.h: add some docs
7171
7172 2003-03-13  John Levon  <levon@movementarian.org>
7173
7174         * lyxtext.h:
7175         * text.C:
7176         * text2.C:
7177         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7178
7179 2003-03-13  John Levon  <levon@movementarian.org>
7180
7181         * text3.C: fix appendix redrawing
7182
7183 2003-03-13  John Levon  <levon@movementarian.org>
7184
7185         * text.C (setHeightOfRow):
7186         * rowpainter.h:
7187         * rowpainter.C: make appendix mark have the text
7188           "Appendix" so the user knows what it is
7189
7190         * LColor.h:
7191         * LColor.C: s/appendixline/appendix/ from above
7192
7193 2003-03-13  John Levon  <levon@movementarian.org>
7194
7195         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7196
7197         * text.C: fix a getChar(pos) bug properly
7198
7199 2003-03-13  Angus Leeming  <leeming@lyx.org>
7200
7201         * commandtags.h:
7202         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7203         Probably only temporary. Let's see how things pan out.
7204
7205         * BufferView.C (unlockInset):
7206         * BufferView_pimpl.C (fitCursor):
7207         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7208
7209         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7210         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7211
7212         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7213         new functions that convert ParagraphParameters to and from a string.
7214
7215         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7216         BufferView::Pimpl's dispatch.
7217         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7218
7219 2003-03-13 André Pönitz <poenitz@gmx.net>
7220
7221         * lyxfunc.C:
7222         * text3.C:
7223         * factory.C: make it aware of InsetEnv
7224
7225 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * text2.C (setCursor): never ask for one past last
7228         (setCursor): add some debugging messages.
7229
7230         * text.C (singleWidth): never ask for one past last
7231         (singleWidth): ditto
7232         (leftMargin): ditto
7233         (rightMargin): ditto
7234         (rowBreakPoint): ditto
7235         (setHeightOfRow): ditto
7236         (prepareToPrint): ditto
7237
7238         * rowpainter.C (paintBackground): never ask for one past last
7239         (paintText): never ask for one past last
7240
7241         * paragraph_pimpl.C (getChar): make the assert stricter, never
7242         allow the one past last pos to be taken
7243
7244         * paragraph.C (getChar): ws changes only
7245
7246         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7247         (numberOfSeparators): ditto
7248         (numberOfHfills): ditto
7249
7250 2003-03-12  John Levon  <levon@movementarian.org>
7251
7252         * author.h:
7253         * author.C:
7254         * bufferparams.h:
7255         * bufferparams.C:
7256         * paragraph_funcs.C: fix per-buffer authorlists
7257
7258 2003-03-12  John Levon  <levon@movementarian.org>
7259
7260         * text.C: fix newline in right address
7261
7262 2003-03-12  Angus Leeming  <leeming@lyx.org>
7263
7264         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7265         duplicate those in LyXFunc::dispatch.
7266
7267         * commandtags.h:
7268         * LyXAction.C:
7269         * ToolbarDefaults.C:
7270         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7271         Add LFUN_FONTFREE_UPDATE.
7272
7273         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7274         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7275
7276         * bufferview_func.[Ch]: several new functions to facilliate
7277         transfer of data to and from the character dialog.
7278
7279 2003-03-12  John Levon  <levon@movementarian.org>
7280
7281         * buffer.C:
7282         * paragraph.h:
7283         * paragraph.C:
7284         * paragraph_funcs.C:
7285         * paragraph_pimpl.C:
7286         * sgml.C:
7287         * tabular.C:
7288         * text.C:
7289         * text3.C: remove META_NEWLINE in favour of an inset
7290
7291         * rowpainter.h:
7292         * rowpainter.C: remove paintNewline (done by inset)
7293
7294 2003-03-12  John Levon  <levon@movementarian.org>
7295
7296         * paragraph_pimpl.C: complain about bad getChar()s
7297         for a while at least
7298
7299 2003-03-12  John Levon  <levon@movementarian.org>
7300
7301         * buffer.h:
7302         * buffer.C: move paragraph read into a separate function,
7303         a little renaming to reflect that.
7304
7305         * bufferparams.h:
7306         * bufferparams.C: remove the author_ids map, not necessary now
7307
7308         * factory.h:
7309         * factory.C: moved Buffer::readInset to here
7310
7311         * paragraph_funcs.h:
7312         * paragraph_funcs.C: readParagraph free function moved from
7313         buffer.C
7314
7315         * tabular.C: name change
7316
7317 2003-03-12  John Levon  <levon@movementarian.org>
7318
7319         * buffer.C:
7320         * ParagraphParameters.C: move par params input to
7321         a read() method
7322
7323         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7324         behave like a normal read from the stream wrt reading
7325         a line vs. a \\token
7326
7327 2003-03-12  John Levon  <levon@movementarian.org>
7328
7329         * paragraph.C:
7330         * ParagraphParameters.h:
7331         * ParagraphParameters.C: move output code to a
7332         ::write() method
7333
7334 2003-03-12  John Levon  <levon@movementarian.org>
7335
7336         * BufferView.C (insertLyXFile):
7337         * buffer.h:
7338         * buffer.C:
7339         * tabular.C: use a parlist iterator for creating the
7340           document.
7341
7342 2003-03-12  John Levon  <levon@movementarian.org>
7343
7344         * buffer.C: make current_change static local not
7345           static file-scope
7346
7347 2003-03-12  John Levon  <levon@movementarian.org>
7348
7349         * buffer.C: fix insertStringAsLines for change tracking
7350
7351 2003-03-12  John Levon  <levon@movementarian.org>
7352
7353         * BufferView.C:
7354         * tabular.C:
7355         * buffer.h:
7356         * buffer.C:
7357         * bufferparams.h:
7358         * bufferparams.C: move author list into params. Rename some
7359           functions. Move the header reading into a separate token
7360           loop. Move the header token reading into BufferParams.
7361
7362 2003-03-12  John Levon  <levon@movementarian.org>
7363
7364         * changes.C: put debug inside lyxerr.debugging() checks
7365
7366 2003-03-11 André Pönitz <poenitz@gmx.net>
7367
7368         * factory.C: make it aware of InsetHFill
7369
7370 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7371
7372         * buffer.C (latexParagraphs): move function from here...
7373         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7374         args.
7375
7376 2003-03-10  Angus Leeming  <leeming@lyx.org>
7377
7378         * LyXAction.C (init): fix bug in poplating array with multiple entries
7379         with the same LFUN (spotted by JMarc).
7380
7381 2003-03-10  John Levon  <levon@movementarian.org>
7382
7383         * text.C:
7384         * text2.C: move getColumnNearX() near its
7385         only call site
7386
7387 2003-03-10  John Levon  <levon@movementarian.org>
7388
7389         * text.C: fix break before a minipage
7390
7391 2003-03-10  John Levon  <levon@movementarian.org>
7392
7393         * text.C: fix the last commit
7394
7395 2003-03-09  John Levon  <levon@movementarian.org>
7396
7397         * lyxtext.h:
7398         * text.C:
7399         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7400         bug 365 (don't break before insets unless needed). Don't
7401         return a value > last under any circumstances.
7402
7403 2003-03-09  Angus Leeming  <leeming@lyx.org>
7404
7405         * BufferView_pimpl.C (trackChanges, dispatch): call
7406         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7407
7408 2003-03-09  Angus Leeming  <leeming@lyx.org>
7409
7410         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7411         than Dialogs::showAboutlyx().
7412
7413 2003-03-09  Angus Leeming  <leeming@lyx.org>
7414
7415         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7416         than Dialogs::showTabularCreate().
7417
7418 2003-03-09  John Levon  <levon@movementarian.org>
7419
7420         * lyxtext.h:
7421         * text.C:
7422         * text2.C: 3rd arg to nextBreakPoint was always the same.
7423           Use references.
7424
7425 2003-03-08  John Levon  <levon@movementarian.org>
7426
7427         * lyxrow.C:
7428         * paragraph.C:
7429         * paragraph.h:
7430         * rowpainter.C:
7431         * text.C:
7432         * text2.C: Remove the "main" bit from the "main body"
7433           notion.
7434
7435 2003-03-08  John Levon  <levon@movementarian.org>
7436
7437         * text.C (leftMargin): The left margin of an empty
7438         manual label paragraph should not include the label width
7439         string length.
7440
7441         * text.C (prepareToPrint): don't attempt to measure hfills
7442         for empty manual label paragraphs - the answer should be 0
7443
7444 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * CutAndPaste.C: remove commented code and reindent.
7447
7448 2003-03-08  John Levon  <levon@movementarian.org>
7449
7450         * lyxfunc.h:
7451         * lyxfunc.C: move reloadBuffer()
7452
7453         * BufferView.h:
7454         * BufferView.C: to here
7455
7456         * lyxvc.C: add comment
7457
7458         * vc-backend.h:
7459         * vc-backend.C: call bv->reload() to avoid
7460           getStatus() check on MENURELOAD
7461
7462 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7463
7464         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7465         to an old format .dep file.
7466
7467 2003-03-07  Angus Leeming  <leeming@lyx.org>
7468
7469         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7470         when the LFUN_MOUSE_RELEASE should have been handled by
7471         inset->localDispatch.
7472
7473 2003-03-07  Angus Leeming  <leeming@lyx.org>
7474
7475         * BufferView_pimpl.C (dispatch):
7476         * LyXAction.C (init):
7477         * ToolbarDefaults.C (init):
7478         * commandtags.h:
7479         * lyxfunc.C (getStatus):
7480         remove LFUN_INSET_GRAPHICS.
7481
7482         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7483
7484 2003-03-07  Angus Leeming  <leeming@lyx.org>
7485
7486         * commandtags.h:
7487         * LyXAction.C (init):
7488         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7489
7490         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7491
7492         * commandtags.h:
7493         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7494
7495         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7496         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7497
7498 2003-03-07  Angus Leeming  <leeming@lyx.org>
7499
7500         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7501         remove "ert".
7502
7503 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7504
7505         * ParagraphList.C (front): new function
7506         (back): implement
7507
7508 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7509
7510         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7511         and top_row_offset_. removed var first_y.
7512         * text.C (top_y):
7513         * text2.C (LyXText, removeRow):
7514         * text3.C:
7515         * BufferView_pimpl.C:
7516         use these methods instead of using first_y
7517
7518 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * text2.C (pasteSelection): adjust for checkPastePossible
7521
7522         * CutAndPaste.C: remove Paragraph * buf and replace with
7523         ParagraphList paragraphs.
7524         (DeleteBuffer): delete
7525         (cutSelection): change the tc type to textclass_type
7526         (copySelection): change the tc type to textclass_type
7527         (copySelection): adjust for ParagraphList
7528         (pasteSelection): change the tc type to textclass_type
7529         (pasteSelection): adjust for Paragraphlist
7530         (nrOfParagraphs): simplify for ParagraphList
7531         (checkPastePossible): simplify for ParagraphList
7532         (checkPastePossible): remove unused arg
7533
7534         * ParagraphList.C (insert): handle the case where there are no
7535         paragraphs yet.
7536
7537         * CutAndPaste.h: make CutAndPaste a namespace.
7538
7539         * text3.C (dispatch): adjust
7540
7541         * text.C (breakParagraph): add a ParagraphList as arg
7542
7543         * paragraph_funcs.C (breakParagraph): change to take a
7544         BufferParams and a ParagraphList as args.
7545         (breakParagraphConservative): ditto
7546         (mergeParagraph): ditto
7547         (TeXDeeper): add a ParagraphList arg
7548         (TeXEnvironment): ditto
7549         (TeXOnePar): ditto
7550
7551         * buffer.C (readLyXformat2): adjust
7552         (insertStringAsLines): adjust
7553         (latexParagraphs): adjust
7554
7555         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7556         (cutSelection): adjust
7557         (pasteSelection): adjust
7558
7559         * BufferView_pimpl.C (insertInset): adjust
7560
7561 2003-03-05  Angus Leeming  <leeming@lyx.org>
7562
7563         * commandtags.h:
7564         * LyXAction.C (init):
7565         * BufferView_pimpl.C (dispatch):
7566         * lyxfunc.C (getStatus):
7567         remove LFUN_CHILD_INSERT.
7568
7569         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7570
7571 2003-03-05  Angus Leeming  <leeming@lyx.org>
7572
7573         * commandtags.h:
7574         * LyXAction.C (init):
7575         * src/factory.C (createInset):
7576         * lyxfunc.C (getStatus):
7577         * text3.C (dispatch):
7578         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7579
7580         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7581
7582 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * ParagraphList.C (insert): handle insert right before end()
7585         (erase): fix cases where it can be first or last paragraph.
7586
7587 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7588
7589         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7590         Paragraph::next and Paragraph::previous
7591         (TeXOnePar): ditto
7592
7593         * text.C (breakParagraph): adjust
7594
7595         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7596         BufferParams& as arg.
7597         (breakParagraph): use ParagraphList::insert
7598         (breakParagraphConservative): take a Buffer* instead of a
7599         BufferParams& as arg.
7600         (breakParagraphConservative): use ParagraphList::insert.
7601
7602         * buffer.C (insertStringAsLines): un-const it
7603         (insertStringAsLines): adjust
7604
7605         * ParagraphList.C (insert): new function
7606
7607         * CutAndPaste.C (pasteSelection): adjust
7608
7609         * text.C (backspace): adjust
7610
7611         * tabular.C (SetMultiColumn): adjust
7612
7613         * CutAndPaste.C (cutSelection): adjust
7614         (pasteSelection): adjust
7615
7616         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7617         Buffer const * as arg
7618
7619         * ParagraphList.C (erase): new function
7620         * paragraph_funcs.C (mergeParagraph): use it
7621         (mergeParagraph): make it take a Buffer* instead of a
7622         BufferParams* as arg
7623
7624         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7625         as arg
7626         (breakParagraphConservative): ditto
7627
7628         * paragraph.h: remove the breakParagraph friend
7629
7630         * paragraph.C (eraseIntern): new function
7631         (setChange): new function
7632
7633         * paragraph_funcs.C (mergeParagraph): make it take a
7634         ParagraphList::iterator instead of a Paragraph *, adjust
7635         accordingly.
7636
7637         * paragraph.h: move an #endif so that the change tracking stuff
7638         also works in the NO_NEXT case.
7639
7640 2003-03-04  Angus Leeming  <leeming@lyx.org>
7641
7642         * commandtags.h:
7643         * LyXAction.C: new LFUN_INSET_MODIFY.
7644
7645         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7646         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7647
7648 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * several files: ws changes only
7651
7652         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7653         (TeXEnvironment): ditto
7654         (TeXDeeper): ditto
7655
7656         * buffer.C (makeLaTeXFile): adjust
7657         (latexParagraphs): make it take ParagraphList::iterator as args
7658
7659 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * buffer.C (latexParagraphs): adjust
7662
7663         * paragraph.C (TeXOnePar): move function...
7664         (optArgInset): move function...
7665         (TeXEnvironment): move function...
7666         * paragraph_pimpl.C (TeXDeeper): move function...
7667         * paragraph_funcs.C: ...here
7668
7669         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7670
7671 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * buffer.C (readInset): remove compability code for old Figure and
7674         InsetInfo insets
7675
7676 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * buffer.C: ws changes
7679         (readInset):
7680
7681         * BufferView_pimpl.C: ditto
7682         * author.C: ditto
7683         * buffer.h: ditto
7684         * bufferlist.h: ditto
7685         * changes.h: ditto
7686         * lyxfunc.C: ditto
7687
7688 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7689
7690         * converter.[Ch]: split into itself +
7691         * graph.[Ch]
7692         * format.[Ch]
7693         * Makefile.am: += graph.[Ch] + format.[Ch]
7694         * MenuBackend.C
7695         * buffer.C
7696         * exporter.C
7697         * importer.C
7698         * lyx_main.C
7699         * lyxfunc.C
7700         * lyxrc.C: added #include "format.h"
7701
7702 2003-02-27  Angus Leeming  <leeming@lyx.org>
7703
7704         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7705           a label.
7706
7707         * factory.C (createInset): add "label" to the factory.
7708
7709         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7710           string and do no more.
7711
7712 2003-02-27  Angus Leeming  <leeming@lyx.org>
7713
7714         * commandtags.h:
7715         * LyXAction.C (init):
7716         * factory.C (createInset):
7717         * BufferView_pimpl.C (dispatch):
7718           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7719
7720         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7721
7722         * lyxfunc.C (dispatch):
7723         * text3.C (dispatch): pass name to params2string.
7724
7725 2003-02-26  Angus Leeming  <leeming@lyx.org>
7726
7727         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7728           blocks together.
7729           Rearrange the ~includes. Strip out the unnecessary ones.
7730
7731         * factory.C (createInset): reformat.
7732           create new insets for the various LFUN_XYZ_APPLY lfuns.
7733
7734 2003-02-26  John Levon  <levon@movementarian.org>
7735
7736         * lyxrow.h:
7737         * lyxrow.C: add isParStart,isParEnd helpers
7738
7739         * paragraph.h: make isInserted/DeletedText take refs
7740
7741         * paragraph_funcs.h:
7742         * paragraph_funcs.C: remove #if 0'd code
7743
7744         * lyxtext.h:
7745         * text3.C:
7746         * text2.C:
7747         * text.C: use lyxrow helpers above.
7748           Move draw and paint routines to RowPainter.
7749           Make several methods use refs not pointers.
7750           Make backgroundColor() const.
7751           Add markChangeInDraw(), isInInset().
7752           Merge changeRegionCase into changeCase.
7753           Make workWidth() shouldn't-happen code into an Assert.
7754
7755         * rowpainter.h:
7756         * rowpainter.C: new class for painting a row.
7757
7758         * vspace.h:
7759         * vspace.C: make inPixels take a ref
7760
7761 2003-02-26  Angus Leeming  <leeming@lyx.org>
7762
7763         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7764         LFUN_REF_APPLY.
7765
7766 2003-02-25  John Levon  <levon@movementarian.org>
7767
7768         * ispell.C: give the forked command a more accurate name
7769
7770 2003-02-22  John Levon  <levon@movementarian.org>
7771
7772         * toc.h:
7773         * toc.C: make TocItem store an id not a Paragraph *
7774           (bug #913)
7775
7776 2003-02-21  Angus Leeming  <leeming@lyx.org>
7777
7778         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7779           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7780           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7781           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7782           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7783           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7784
7785         * BufferView_pimpl.C (dispatch):
7786         * LyXAction.C (init):
7787         * factory.C (createInset):
7788         * lyxfunc.C (getStatus, dispatch):
7789         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7790
7791 2003-02-21  Angus Leeming  <leeming@lyx.org>
7792
7793         * BufferView_pimpl.C (MenuInsertLyXFile):
7794         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7795         * lyxfunc.C (menuNew, open, doImport):
7796           no longer pass a LyXView & to fileDlg.
7797
7798 2003-02-21  Angus Leeming  <leeming@lyx.org>
7799
7800         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7801         * LyXAction.C: change, BIBKEY to BIBITEM.
7802         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7803         Change InsetBibKey to InsetBibitem.
7804         Change BIBKEY_CODE to BIBITEM_CODE.
7805         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7806         * factory.C: replace insetbib.h with insetbibitem.h.
7807         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7808         * paragraph.C: replace insetbib.h with insetbibitem.h.
7809         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7810         Change bibkey() to bibitem().
7811         * text.C: remove insetbib.h.
7812         * text2.C: replace insetbib.h with insetbibitem.h.
7813         change bibkey() to bibitem().
7814         * text3.C: remove insetbib.h.
7815         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7816
7817 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7818
7819         * lyxrc.C (output): enclose user email in quotes (in case there are
7820         several words)
7821
7822 2003-02-18  John Levon  <levon@movementarian.org>
7823
7824         * buffer.h: add std::
7825
7826 2003-02-17  John Levon  <levon@movementarian.org>
7827
7828         * SpellBase.h:
7829         * ispell.h:
7830         * ispell.C:
7831         * pspell.h:
7832         * pspell.C: reworking. Especially in ispell, a large
7833           number of clean ups and bug fixes.
7834
7835         * lyxfunc.C: fix revert to behave sensibly
7836
7837 2003-02-17 André Pönitz <poenitz@gmx.net>
7838
7839         * LyXAction.C:
7840         * commandtags.h: new LFUN_INSERT_BIBKEY
7841
7842         * layout.h:
7843         * lyxlayout.C:
7844         * buffer.C:
7845         * factory.C:
7846         * text.C:
7847         * text2.C:
7848         * text3.C:
7849         * paragraph.[Ch]:
7850         * paragraph_func.C: remove special bibkey handling
7851
7852 2003-02-17  John Levon  <levon@movementarian.org>
7853
7854         * text.C (Delete): fix case where delete at the end of
7855           the very first paragraph would not merge the pars
7856
7857 2003-02-17  John Levon  <levon@movementarian.org>
7858
7859         * lyxrow.C: fix lastPrintablePos()
7860
7861 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7862
7863         * bufferparams.C (writeLaTeX): add a std:here
7864
7865         * buffer.C: and remove a using directive there
7866
7867 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7868
7869         * buffer.C (makeLaTeXFile): move the code that generates the
7870           preamble...
7871
7872         * bufferparams.C (writeLaTeX): ... in this new method
7873
7874         * LaTeXFeatures.C (getEncodingSet): make const
7875           (getLanguages): make const
7876
7877         * MenuBackend.C (binding): returns the binding associated to this
7878           action
7879           (add): sets the status of each item by calling getStatus. Adds
7880           some intelligence.
7881           (read): add support for OptSubMenu
7882           (expand): remove extra separator at the end of expanded menu
7883
7884 2003-02-15  John Levon  <levon@movementarian.org>
7885
7886         * BufferView.C:
7887         * BufferView_pimpl.C:
7888         * bufferlist.h:
7889         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7890           inset code that had no actual effect. Remove unneeded status
7891           code.
7892
7893 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7894
7895         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7896           in preamble
7897
7898 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7899
7900         * text.C (drawLengthMarker): also draw an arrow marker for
7901           symbolic lengths (medskip...)
7902
7903 2003-02-14  John Levon  <levon@movementarian.org>
7904
7905         * tabular.h:
7906         * tabular.C: better method names
7907
7908 2003-02-14  John Levon  <levon@movementarian.org>
7909
7910         * BufferView_pimpl.C:
7911         * bufferlist.C:
7912         * buffer.C:
7913         * converter.C:
7914         * lyx_cb.C:
7915         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7916           it's a more accurate name. Remove some pointless uses.
7917
7918 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7919
7920         * text2.C (LyXText): change order of initilizers to shut off
7921           warnings
7922
7923 2003-02-14  John Levon  <levon@movementarian.org>
7924
7925         * buffer.C: use ParIterator for getParFromID()
7926
7927         * paragraph.h:
7928         * paragraph.C:
7929         * paragraph_pimpl.h:
7930         * paragraph_pimpl.C: remove unused getParFromID()
7931
7932 2003-02-14  John Levon  <levon@movementarian.org>
7933
7934         * buffer.C: remove some very old #if 0'd parse code
7935
7936 2003-02-13  John Levon  <levon@movementarian.org>
7937
7938         * text.h:
7939         * text.C:
7940         * text2.C: move hfillExpansion(), numberOfSeparators(),
7941           rowLast(), rowLastPrintable(), numberofHfills(),
7942           numberOfLabelHfills() ...
7943
7944         * lyxrow.h:
7945         * lyxrow.C: ... to member functions here.
7946
7947         * paragraph.h:
7948         * paragraph.C:
7949         * lyxtext.h:
7950         * text.C: remove LyXText::beginningOfMainBody(), and call
7951           p->beginningOfMainBody() directly. Move the check for
7952           LABEL_MANUAL into the latter.
7953
7954         * text.h:
7955         * text.C:
7956         * text2.C:
7957         * vspace.C:
7958         * BufferView.h:
7959         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7960
7961         * text.h:
7962         * text.C:
7963         * text2.C:
7964         * text3.C:
7965         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7966           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7967
7968 2003-02-13  John Levon  <levon@movementarian.org>
7969
7970         * CutAndPaste.C: remove debug
7971
7972 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7973
7974         * paragraph.C (asString): remove two unused variables
7975
7976         * lyxtextclass.C (readTitleType):
7977           (Read):
7978           (LyXTextClass): handle new members titletype_ and titlename_
7979
7980         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7981
7982 2003-02-09  John Levon  <levon@movementarian.org>
7983
7984         * buffer.h:
7985         * buffer.C: replace hand-coded list with a map for the dep clean
7986
7987 2003-02-08  John Levon  <levon@movementarian.org>
7988
7989         * LaTeX.C: consolidate code into showRunMessage() helper
7990
7991 2003-02-08  John Levon  <levon@movementarian.org>
7992
7993         * lyxfind.C:
7994         * lyxtext.h:
7995         * text2.C:
7996         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7997           and pass the size in explicitly
7998
7999         * BufferView_pimpl.h:
8000         * BufferView_pimpl.C:
8001         * BufferView.h:
8002         * BufferView.C: add getCurrentChange()
8003
8004         * BufferView_pimpl.h:
8005         * BufferView_pimpl.C: handle change lfuns
8006
8007         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8008           for changes. Mark pasted paragraphs as new.
8009
8010         * support/lyxtime.h:
8011         * support/lyxtime.C:
8012         * DepTable.C: abstract time_t as lyx::time_type
8013
8014         * LColor.h:
8015         * LColor.C: add colours for new text, deleted text, changebars
8016
8017         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8018           package use "usenames" option.
8019
8020         * commandtags.h:
8021         * lyxfunc.C:
8022         * LyXAction.C: add change lfuns
8023
8024         * Makefile.am:
8025         * author.h:
8026         * author.C: author handling
8027
8028         * buffer.h:
8029         * buffer.C: add a per-buffer author list, with first entry as
8030           current author. Handle new .lyx tokens for change tracking. Output
8031           author list to .lyx file. Output dvipost stuff to .tex preamble.
8032           Bump lyx format to 222.
8033
8034         * bufferlist.h:
8035         * bufferlist.C: add setCurrentAuthor() to reset current author details
8036           in all buffers.
8037
8038         * bufferparams.h:
8039         * bufferparams.C: add param for tracking
8040
8041         * bufferview_funcs.C: output change info in minibuffer
8042
8043         * Makefile.am:
8044         * changes.h:
8045         * changes.C: add change-tracking structure
8046
8047         * debug.h:
8048         * debug.C: add CHANGES debug flag
8049
8050         * lyxfind.h:
8051         * lyxfind.C: add code for finding the next change piece
8052
8053         * lyxrc.h:
8054         * lyxrc.C: add user_name and user_email
8055
8056         * lyxrow.h:
8057         * lyxrow.C: add a metric for the top of the text line
8058
8059         * lyxtext.h:
8060         * text.C: implement accept/rejectChange()
8061
8062         * lyxtext.h:
8063         * text.C: paint changebars. Paint new/deleted text in the chosen
8064         colours. Strike through deleted text.
8065
8066         * paragraph.h:
8067         * paragraph.C:
8068         * paragraph_pimpl.h:
8069         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8070           in the current change to the insert functions. Rework erase to
8071           mark text as deleted, adding an eraseIntern() and a range-based
8072           erase(). Implement per-paragraph change lookup and
8073           accept/reject.
8074
8075         * paragraph_funcs.C: Fixup paste for change tracking.
8076
8077         * tabular.C: mark added row/columns as new.
8078
8079         * text.C: fix rowLast() to never return -1. Don't allow
8080           spellchecking of deleted text. Track transpose changes. Don't
8081           allow paragraph break or merge where appropriate.
8082
8083         * text2.C: leave cursor at end of selection after a cut.
8084
8085 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8086
8087         * text.C (getLengthMarkerHeight):
8088         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8089         visible on screen too.
8090
8091 2003-02-07  John Levon  <levon@movementarian.org>
8092
8093         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8094
8095 2003-02-05  Angus Leeming  <leeming@lyx.org>
8096
8097         * lyxserver.C (read_ready): revert my patch of 11 September last year
8098         as it sends PC cpu through the roof. Presumably this means that
8099         the lyxserver will no longer run on an Alpha...
8100
8101 2003-01-30  Angus Leeming  <leeming@lyx.org>
8102
8103         * factory.C (createInset): create an InsetCommandParam of type "index"
8104         and use it to 'do the right thing'.
8105
8106         * text2.C (getStringToIndex): ensure that cursor position is always
8107         reset to the reset_cursor position.
8108
8109 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8110
8111         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8112         disabled.
8113
8114 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8115
8116         * bufferview.C:
8117         * lyxcb.C:
8118         * lyxfunc.C: Output messages with identical spelling, punctuation,
8119         and spaces
8120
8121 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8122
8123         * MenuBackend.C (expandFormats): List only viewable export formats
8124         in "View" menu
8125
8126         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8127         message
8128
8129         * lyxfunc.C (getStatus): Make sure that formats other than
8130         "fax" can also be disabled
8131
8132 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8133
8134         * text3.C (dispatch): put the lfuns that insert insets in 3
8135         groups, and call doInsertInset with appropriate arguments.
8136         (doInsertInset): new function, that creates an inset and inserts
8137         it according to some boolean parameters.
8138
8139 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8140
8141         * buffer.C (readFile): remember to pass on 'par' when calling
8142         readFile recursively.
8143
8144 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8145
8146         * MenuBackend.C (expandFormats): add "..." to import formats.
8147
8148 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8149
8150         * paragraph.C (asString): Remove XForms RTL hacks.
8151
8152 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8153         * buffer.C: fix typo
8154
8155 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * Makefile.am (LIBS): delete var
8158         (lyx_LDADD): add @LIBS@ here instead.
8159
8160 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8161
8162         * Clarify the meaning of "wheel mouse jump"
8163
8164 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8165
8166         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8167         tabular in a float
8168
8169 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8170
8171         * importer.C (Loaders): do not preallocate 3 elements in the
8172         vector, since one ends up with 6 elements otherwise
8173
8174 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8175
8176         * DepTable.C (write): write the file name as last element of the
8177         .dep file (because it may contain spaces)
8178         (read): read info in the right order
8179
8180 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8181
8182         * paragraph_pimpl.C (simpleTeXBlanks):
8183         (simpleTeXSpecialChars):
8184         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8185
8186         * tabular.C (latex): add some missing case statements. Reindent.
8187
8188         * MenuBackend.C (expandToc): remove unused variable.
8189
8190 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8191
8192         * LColor.C:
8193         * LaTeX.C:
8194         * LyXAction.C:
8195         * MenuBackend.C:
8196         * buffer.C:
8197         * exporter.C:
8198         * lyxfunc.C:
8199         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8200         and the like.
8201
8202 2003-01-05  John Levon  <levon@movementarian.org>
8203
8204         * BufferView.h:
8205         * BufferView.C: add getEncoding()
8206
8207         * kbsequence.h:
8208         * kbsequence.C: do not store last keypress
8209
8210         * lyxfunc.h:
8211         * lyxfunc.C: store last keypress here instead. Pass encoding
8212           to getISOEncoded()
8213
8214 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8215
8216         * lyx_main.C (init): remove annoying error message when following
8217         symbolic links (bug #780)
8218
8219 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8220
8221         * text.C (insertChar):
8222         * lyxrc.C (getDescription): remove extra spaces
8223
8224 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8225
8226         * lyxrc.C (getDescription): remove extra spaces
8227
8228 2002-12-20  John Levon  <levon@movementarian.org>
8229
8230         * text3.C: hack fix for page up/down across tall rows
8231
8232 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8233
8234         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8235         not been invoked
8236
8237 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8238
8239         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8240         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8241         thesaurus is not compiled in
8242
8243 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8244
8245         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8246
8247 2002-12-16  Angus Leeming  <leeming@lyx.org>
8248
8249         * lyxrc.[Ch]:
8250         * lyx_main.C (init): remove override_x_deadkeys stuff.
8251
8252 2002-12-12  John Levon  <levon@movementarian.org>
8253
8254         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8255           insert. Only remove shift modifier under strict
8256           circumstances.
8257
8258 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * MenuBackend.C (expandToc): fix crash.
8261
8262 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8263
8264         * MenuBackend.C (expandToc): gettext on float names.
8265
8266 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8267
8268         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8269         implement bool empty() [bug 490]
8270
8271 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8272
8273         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8274
8275 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * several files: ws changes
8278
8279 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8280
8281         * text2.C (setCounter): clean up a bit, use boost.format.
8282         (updateCounters): initialize par upon declaration.
8283
8284         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8285         if the layout exists. We do not just store the layout any more.
8286         (SwitchLayoutsBetweenClasses): use boost.format
8287
8288 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8289
8290         * converter.C (convert): if from and to files are the same, use a
8291         temporary files as intermediary
8292
8293 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8294
8295         * commandtags.h:
8296         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8297
8298 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8299
8300         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8301
8302 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * tabular.C (asciiPrintCell): use string(size, char) instead of
8305         explicit loop.
8306
8307         * sgml.C (openTag): fix order of arguments to string constructor
8308         (closeTag): ditto
8309
8310         * lyxfunc.C (dispatch): use boost.format
8311
8312         * lots of files: change "c" -> 'c'
8313
8314 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8315
8316         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8317
8318 2002-11-25  Angus Leeming  <leeming@lyx.org>
8319
8320         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8321
8322         * lyx_main.C (init): compile fix.
8323
8324 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8325
8326         * lyx_cb.C (start): boost.formatify
8327         do not include <iostream>
8328
8329         * lengthcommon.C: ws only
8330
8331         * boost-inst.C,BoostFormat.h: add more explict instantations
8332
8333 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * lots of files: handle USE_BOOST_FORMAT
8336
8337 2002-11-21  John Levon  <levon@movementarian.org>
8338
8339         * pspell.C: fix compile
8340
8341 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8342
8343         * lyxfunc.C (dispatch): use boost::format
8344         (open): ditto
8345         (doImport): ditto
8346
8347         * lyxfont.C (stateText): use boost::format
8348
8349         * lyx_main.C (LyX): use boost::format
8350         (init): ditto
8351         (queryUserLyXDir): ditto
8352         (readRcFile): ditto
8353         (parse_dbg): ditto
8354         (typedef boost::function): use the recommened syntax.
8355
8356         * importer.C (Import): use boost::format
8357
8358         * debug.C (showLevel): use boost::format
8359
8360         * converter.C (view): use boost::format
8361         (convert): ditto
8362         (move): ditto
8363         (scanLog): ditto
8364
8365         * bufferview_funcs.C (currentState): use boost::format
8366
8367         * bufferlist.C (emergencyWrite): use boost::format
8368
8369         * buffer.C (readLyXformat2): use boost::format
8370         (parseSingleLyXformat2Token): ditto
8371
8372         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8373
8374         * LaTeX.C (run): use boost::format
8375
8376         * Chktex.C (scanLogFile): use boost::format
8377
8378         * BufferView_pimpl.C (savePosition): use boost::format
8379         (restorePosition): ditto
8380         (MenuInsertLyXFile): ditto
8381
8382         * BoostFormat.h: help file for explicit instation.
8383
8384 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8385
8386         * tabular.C (latex): Support for block alignment in fixed width
8387         columns.
8388
8389 2002-11-17  John Levon  <levon@movementarian.org>
8390
8391         * BufferView_pimpl.C:
8392         * lyx_cb.C:
8393         * lyxfunc.C: split filedialog into open/save
8394
8395 2002-11-08  Juergen Vigna  <jug@sad.it>
8396
8397         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8398         by my last patch (hopefully).
8399
8400 2002-11-08  John Levon  <levon@movementarian.org>
8401
8402         * iterators.h:
8403         * iterators.C:
8404         * buffer.h:
8405         * buffer.C:
8406         * paragraph.h:
8407         * paragraph.C:
8408         * toc.h:
8409         * toc.C: ParConstIterator, and use it (from Lars)
8410
8411 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8412
8413         * lyxtextclass.[Ch]: revise and add doxygen comments
8414
8415 2002-11-07  John Levon  <levon@movementarian.org>
8416
8417         * text.C: fix progress value for spellchecker
8418
8419         * toc.C: fix navigate menu for insetwrap inside minipage
8420
8421         * paragraph_funcs.C: added FIXME for suspect code
8422
8423 2002-11-07  John Levon  <levon@movementarian.org>
8424
8425         * BufferView_pimpl.C: fix redrawing of insets
8426           on buffer switch
8427
8428 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8429
8430         * text2.C (updateCounters): fix bug 668
8431
8432 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8433
8434         * text3.C (dispatch): Do not make the buffer dirty when moving the
8435         cursor.
8436
8437 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * vc-backend.C: STRCONV
8440         (scanMaster): ditto
8441
8442         * text2.C (setCounter): STRCONV
8443
8444         * paragraph.C (asString): STRCONV
8445
8446         * lyxlength.C (asString): STRCONV
8447         (asLatexString): ditto
8448
8449         * lyxgluelength.C (asString): STRCONV
8450         (asLatexString): ditto
8451
8452         * lyxfunc.C (dispatch): STRCONV
8453         (open): ditto
8454
8455         * lyxfont.C (stateText): STRCONV
8456
8457         * importer.C (Import): STRCONV
8458
8459         * counters.C (labelItem): STRCONV
8460         (numberLabel): ditto
8461         (numberLabel): remove unused ostringstream o
8462
8463         * chset.C: STRCONV
8464         (loadFile): ditto
8465
8466         * bufferview_funcs.C (currentState): STRCONV
8467
8468         * buffer.C (readFile): STRCONV
8469         (asciiParagraph): ditto
8470         (makeLaTeXFile): ditto
8471
8472         * Spacing.C (writeEnvirBegin): STRCONV
8473
8474         * LaTeXFeatures.C (getLanguages): STRCONV
8475         (getPackages): ditto
8476         (getMacros): ditto
8477         (getBabelOptions): ditto
8478         (getTClassPreamble): ditto
8479         (getLyXSGMLEntities): ditto
8480         (getIncludedFiles): ditto
8481
8482         * LaTeX.C: STRCONV
8483         (run): ditto
8484         (scanAuxFile): ditto
8485         (deplog): ditto
8486
8487         * LString.h: add the STRCONV macros
8488
8489         * BufferView_pimpl.C (savePosition): STRCONV
8490         (restorePosition): ditto
8491         (MenuInsertLyXFile): ditto
8492
8493         * vc-backend.C (scanMaster): change from submatch[...] to
8494         submatch.str(...)
8495
8496         * funcrequest.C: include config.h
8497
8498         * factory.C: include config.h
8499
8500         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8501
8502         * box.C: include config.h
8503
8504         * LaTeX.C (scanAuxFile): change from submatch[...] to
8505         submatch.str(...)
8506         (deplog): ditto
8507
8508 2002-10-25  Angus Leeming  <leeming@lyx.org>
8509
8510         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8511
8512         * ispell.[Ch] (setError): new method.
8513         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8514         Use setError() insetead of goto END.
8515
8516         * lyx_cb.C (AutoSave): move out child process into new class
8517         AutoSaveBuffer.
8518
8519 2002-10-30  John Levon  <levon@movementarian.org>
8520
8521         * text3.C: make start appendix undoable
8522
8523 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8524
8525         * lyxlength.C (inPixels): Fix returned value.
8526
8527         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8528         environment.
8529
8530 2002-10-24  Angus Leeming  <leeming@lyx.org>
8531
8532         * lyxgluelength.h: no need to forward declare BufferParams
8533         or BufferView, so don't.
8534
8535 2002-10-21  John Levon  <levon@movementarian.org>
8536
8537         * BufferView.C: menuUndo ->undo, redo
8538
8539         * BufferView.h: document, remove dead, make some methods private
8540
8541         * paragraph_funcs.h:
8542         * paragraph_funcs.C:
8543         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8544
8545         * buffer.h:
8546         * buffer.C:
8547         * sgml.h:
8548         * sgml.C: move sgml open/close tag into sgml.C
8549
8550         * bufferview_funcs.h: unused prototype
8551
8552         * lyxfunc.h:
8553         * lyxfunc.C: remove unused
8554
8555         * lyxtext.h:
8556         * text.C: remove unused
8557
8558 2002-10-21  John Levon  <levon@movementarian.org>
8559
8560         * BufferView.h:
8561         * BufferView.C:
8562         * BufferView_pimpl.h:
8563         * BufferView_pimpl.C: fix mouse wheel handling based on
8564           patch from Darren Freeman
8565
8566 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8567
8568         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8569
8570 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * lyxlength.C (inPixels): Fix hanfling of negative length.
8573         Fix LyXLength::MU case.
8574
8575 2002-10-16  John Levon  <levon@movementarian.org>
8576
8577         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8578
8579 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8580
8581         * converter.C (view): add support for $$i (file name) and $$p
8582         (file path) for the viewer command. If $$i is not specified, then
8583         it is appended to the command (for compatibility with old syntax)
8584
8585 2002-10-14  Juergen Vigna  <jug@sad.it>
8586
8587         * undo_funcs.C (textHandleUndo): alter the order in which the
8588         new undopar is added to the LyXText, as we have to set first
8589         the right prev/next and then add it as otherwise the rebuild of
8590         LyXText is not correct. Also reset the cursor to the right paragraph,
8591         with this IMO we could remove the hack in "redoParagraphs()".
8592
8593 2002-10-09  Angus Leeming  <leeming@lyx.org>
8594
8595         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8596         to turn off an optimisation if a new inset is to be inserted.
8597
8598 2002-10-11 André Pönitz <poenitz@gmx.net>
8599
8600         * lyxtext.h: make some functions public to allow access
8601         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8602
8603 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8604
8605         * text3.C (dispatch): when changing layout, avoid an infinite loop
8606         [bug #652]
8607
8608 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8609
8610         * lyxrc.C (read): treat a viewer or converter command of "none" as
8611         if it were empty.
8612
8613         * MenuBackend.C (expandFormats): for an update, also allow the
8614         formats that are not viewable
8615
8616         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8617         script if it is newer than the lyxrc.defaults in user directory
8618
8619 2002-10-07 André Pönitz <poenitz@gmx.net>
8620
8621         * text.C: Vitaly Lipatov's small i18n fix
8622
8623 2002-09-25  Angus Leeming  <leeming@lyx.org>
8624
8625         * ispell.h: doxygen fix.
8626
8627 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8628
8629         * buffer.h (readFile): Add a new argument to the method, to allow
8630         reading of old-format templates.
8631
8632 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8633
8634         * toc.C (getTocList): Get TOC from InsetWrap.
8635
8636 2002-09-16  John Levon  <levon@movementarian.org>
8637
8638         * lyxfunc.C: check tabular for cut/copy too
8639
8640 2002-09-12  John Levon  <levon@movementarian.org>
8641
8642         * LyXAction.C: tidy
8643
8644         * factory.h:
8645         * factory.C: add header
8646
8647         * paragraph_funcs.h:
8648         * paragraph_funcs.C: cleanup
8649
8650 2002-09-11  John Levon  <levon@movementarian.org>
8651
8652         * PrinterParams.h: odd/even default to true
8653
8654 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8655
8656         * PrinterParams.h: update printer parameters for new xforms dialog
8657
8658 2002-09-11  Angus Leeming  <leeming@lyx.org>
8659
8660         * lyxserver.C (read_ready): re-write to make it more transparent
8661         and to make it work in coherent fashion under Tru64 Unix.
8662
8663 2002-09-11  André Pönitz <poenitz@gmx.net>
8664
8665         * commandtags.h:
8666         * LyXAction.C:
8667         * text3.C: implement LFUN_WORDSEL
8668
8669 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8672         make floatlist_ a boost::shared_ptr<FloatList>
8673
8674         * lyxtextclass.C: include FloatList.h
8675         (LyXTextClass): initialize floatlist_
8676         (TextClassTags): add TC_NOFLOAT
8677         (Read): match "nofloat" to TC_NOFLOAT and use it.
8678         (readFloat): modify call to floatlist_
8679         (floats): ditto
8680         (floats): ditto
8681
8682         * FloatList.[Ch] (FloatList): remove commented out float
8683         initialization.
8684         (erase): new function
8685
8686 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8687
8688         * MenuBackend.C (expandToc): fix crash when there is no document
8689         open
8690
8691 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8692
8693         * many files: Add insetwrap.
8694
8695 2002-09-09  John Levon  <levon@movementarian.org>
8696
8697         * text2.C: remove confusing and awkward depth wraparound
8698
8699 2002-09-09  John Levon  <levon@movementarian.org>
8700
8701         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8702
8703         * buffer.h:
8704         * buffer.C: remove getIncludeonlyList()
8705
8706         * paragraph.C:
8707         * lyxfunc.C: remove headers
8708
8709 2002-09-09  Juergen Vigna  <jug@sad.it>
8710
8711         * text.C (getColumnNearX): fix form Michael this is most
8712         probably a cut&paste bug.
8713
8714 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8717
8718         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8719         references, ws changes.
8720
8721         * text2.C (init): update counters after init
8722         (insertParagraph): no need to set counter on idividual paragraphs.
8723         (setCounter): access the counters object in the textclass object
8724         on in the buffer object.
8725         (updateCounters): ditto
8726
8727         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8728         shared_ptr<Counters> to avoid loading counters.h in all
8729         compilation units.
8730         (LyXTextClass): initialize ctrs_
8731         (TextClassTags): add TC_COUNTER, and ...
8732         (Read): use it here.
8733         (CounterTags): new tags
8734         (readCounter): new function
8735         (counters): new funtion
8736         (defaultLayoutName): return a const reference
8737
8738         * counters.C (Counters): remove contructor
8739         (newCounter): remove a couple of unneeded statements.
8740         (newCounter): simplify a bit.
8741         (numberLabel): some small formatting changes.
8742
8743         * buffer.[Ch]: remove all traces of counters, move the Counters
8744         object to the LyXTextClass.
8745
8746 2002-09-06  Alain Castera  <castera@in2p3.fr>
8747
8748         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8749         package to set the horizontal alignment on fixed width columns.
8750
8751         * lyx_sty.C:
8752         * lyx_sty.h: added tabularnewline macro def.
8753
8754         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8755
8756 2002-09-06  John Levon  <levon@movementarian.org>
8757
8758         * LyXAction.C: tooltips for sub/superscript
8759
8760         * MenuBackend.C: a bit more verbose
8761
8762         * lyxfunc.C: tiny clean
8763
8764         * undo_funcs.C: document undo_frozen
8765
8766 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * counters.C (Counters): add missing algorithm counter.
8769
8770         * text2.C (setCounter): lookup the counter with layouts latexname
8771         instead of by section number.
8772         (setCounter): use a hackish way to lookup the correct enum
8773         counter.
8774         a float name->type change
8775         reset enum couners with counter name directly instead of depth value.
8776
8777         * counters.C (Counters): remove the push_backs, change to use the
8778         float type not the float name.
8779         (labelItem): remove unused string, float name->type change
8780
8781         * counters.h: don't include vector, loose the enums and sects vectors
8782
8783 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8786         (Read): add float->TC_FLOAT to textclassTags
8787         (Read): and handle it in the switch
8788         (readFloat): new function
8789
8790         * FloatList.C (FloatList): comment out the hardcoded float
8791         definitions.
8792
8793         * lyxlayout.h: ws change.
8794
8795 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8796
8797         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8798
8799 2002-09-03  Angus Leeming  <leeming@lyx.org>
8800
8801         * BufferView_pimpl.h: qualified name is not allowed in member
8802         declaration: WorkArea & Pimpl::workarea() const;
8803
8804         * factory.C: added using std::endl directive.
8805
8806         * text3.C: added using std::find and std::vector directives.
8807
8808 2002-08-29  André Pönitz <poenitz@gmx.net>
8809
8810         * lyxtext.h:
8811         * text2.C: remove unused member number_of_rows
8812
8813         * Makefile.am:
8814         * BufferView2.C: remove file, move contents to...
8815         * BufferView.C: ... here
8816
8817         * BufferView_pimpl.C:
8818         * factory.C: move more inset creation to factory
8819
8820         * vspace.C: avoid direct usage of LyXText, ws changes
8821
8822         * BufferView.[Ch]:
8823                 don't provide direct access to WorkArea, use two simple
8824                 acessors haveSelction() and workHeight() instead
8825
8826
8827 2002-08-29  John Levon  <levon@movementarian.org>
8828
8829         * BufferView_pimpl.C (dispatch): do not continue when
8830           no buffer
8831
8832 2002-08-28  André Pönitz <poenitz@gmx.net>
8833
8834         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8835
8836         * BufferView.h:
8837         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8838
8839 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8840
8841         * buffer.C: increment LYX_FORMAT to 221
8842
8843         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8844         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8845
8846         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8847
8848         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8849
8850 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8851
8852         * factory.C (createInset): use LyXTextClass::floats
8853
8854         * MenuBackend.C (expandFloatListInsert):
8855         (expandFloatInsert):
8856         (expandToc):
8857
8858         * text2.C (setCounter):
8859
8860         * LaTeXFeatures.C (useFloat):
8861         (getFloatDefinitions):
8862
8863         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8864
8865         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8866         floatlist_, with accessor floats().
8867
8868         * FloatList.h: remove global FloatList
8869
8870 2002-08-26  André Pönitz <poenitz@gmx.net>
8871
8872         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8873
8874         * BufferView.h:
8875         * BufferView2.C:
8876         * BufferView_pimpl.C:
8877         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8878
8879 2002-08-25  John Levon  <levon@movementarian.org>
8880
8881         * LyXAction.C: fix margin note description
8882
8883 2002-08-24  John Levon  <levon@movementarian.org>
8884
8885         * buffer.C:
8886         * bufferlist.C:
8887         * bufferview_funcs.C:
8888         * lyxfont.C:
8889         * undo_funcs.C: cleanups
8890
8891         * lyxfunc.C: disable CUT/COPY when no selection
8892
8893 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8894
8895         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8896         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8897
8898         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8899         Add backward compatibility to "mono", "gray" and "no".
8900
8901 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8904         (and file_format >= 200).
8905
8906 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8909
8910 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8913
8914 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8915
8916         * BufferView_pimpl.C:
8917         * LyXAction.C:
8918         * buffer.C:
8919         * commandtags.h:
8920         * lyxfunc.C:
8921         * paragraph.[Ch]:
8922         * text2.C:
8923         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8924         inset and code to make it  work with the paragraph code. The inset
8925         can be anywhere in the paragraph, but will only do the expected
8926         thing in LaTeX if the layout file contains the parameter line
8927                         OptionalArgs    1
8928         (or more generally, a nonzero value) for that layout.
8929
8930 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8931
8932         * paragraph.h: remove the declaration of undefined counters class
8933         function.
8934
8935 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8936
8937         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8938         Dr. Richard Hawkins.
8939
8940 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8941
8942         * paragraph_funcs.h: remove some unneeded includes
8943
8944         * text.C (backspace): pasteParagraph now in global scipe
8945
8946         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8947         (pasteSelection): ditto
8948
8949         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8950         * paragraph_funcs.C (pasteParagraph): ... here
8951
8952 2002-08-20  André Pönitz <poenitz@gmx.net>
8953
8954         * commandtags.h: new LFUNs for swapping/copying table row/colums
8955
8956         * LyXAction.C:
8957         * lyxfunc.C: support for new lfuns
8958
8959 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8960
8961         * tabular.C:
8962         * buffer.[Ch]: remove NO_COMPABILITY stuff
8963
8964 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * boost.C (throw_exception): new file, with helper function for
8967         boost compiled without exceptions.
8968
8969         * paragraph.h:
8970         * lyxlength.C:
8971         * buffer.C:
8972         * ParameterStruct.h:
8973         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8974
8975         * bufferlist.C (emergencyWriteAll): use boost bind
8976
8977         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8978
8979         * text.C: include paragraph_funcs.h
8980         (breakParagraph): breakParagraph is now in global scope
8981
8982         * paragraph_funcs.[Ch]: new files
8983
8984         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8985         global scope
8986
8987         * buffer.C: include paragraph_funcs.h
8988         (insertStringAsLines): breakParagraph is now in global scope
8989
8990         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8991         paragraph_funcs.C
8992
8993         * CutAndPaste.C: include paragraph_funcs.h
8994         (cutSelection): breakParagraphConservative is now in global scope
8995         (pasteSelection): ditto
8996
8997         * buffer.h: declare oprator== and operator!= for
8998         Buffer::inset_iterator
8999
9000         * bufferlist.C (emergencyWrite): don't use fmt(...)
9001
9002         * text3.C: add using std::endl
9003
9004         * BufferView.C (moveCursorUpdate): remove default arg
9005
9006 2002-08-20  André Pönitz <poenitz@gmx.net>
9007
9008         * buffer.[Ch]: move inline functions to .C
9009
9010         * BufferView2.C:
9011         * BufferView_pimpl.C:
9012         * text.C:
9013         * buffer.[Ch]: use improved inset_iterator
9014
9015         * buffer.C:
9016         * paragraph.[Ch]: write one paragraph at a time
9017
9018 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9019
9020         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9021         style if style is not specified.
9022
9023 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * text2.C (setCounter): when searching for right label for a
9026         caption, make sure to recurse to parent insets (so that a caption
9027         in a minipage in a figure float works) (bug #568)
9028
9029 2002-08-20  André Pönitz <poenitz@gmx.net>
9030
9031         * text3.C: new file for LyXText::dispatch() and helpers
9032
9033         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9034
9035         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9036
9037 2002-08-19  André Pönitz <poenitz@gmx.net>
9038
9039         * lyxtext.h:
9040         * text.C: new LyXText::dispatch()
9041
9042         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9043
9044 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9045
9046         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9047
9048         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9049         Hebrew text.
9050
9051 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9052
9053         * Makefile.am: use $(variables) instead of @substitutions@
9054
9055 2002-08-15  André Pönitz <poenitz@gmx.net>
9056
9057         * lyxfunc.C:
9058         * BufferView_pimpl.C: streamlining mathed <-> outer world
9059         interaction
9060
9061         * commandtags.h:
9062         * LyXAction.C: remove unused LFUN_MATH
9063
9064 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9065
9066         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9067
9068 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9069
9070         * paragraph.C (Paragraph): reformat a bit
9071         (cutIntoMinibuffer): use builtin InsetList function instad of
9072         doing it manually.
9073         (getInset): ditto
9074
9075         * buffer.C: include boost/bind.hpp, add using std::for_each
9076         (writeFileAscii): use ParagraphList iterators
9077         (validate): use for_each for validate traversal of paragraphs
9078         (getBibkeyList): use ParagraphList iterators
9079         (resizeInsets): use for_each to resizeInsetsLyXText for all
9080         paragraphs.
9081         (getParFromID): use ParagraphList iterators
9082
9083         * BufferView2.C (lockInset): use paragraph list and iterators
9084
9085 2002-08-14  John Levon  <levon@movementarian.org>
9086
9087         * lyxserver.C: remove spurious xforms include
9088
9089 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9090
9091         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9092
9093 2002-08-13  André Pönitz <poenitz@gmx.net>
9094
9095         * LyXAction.[Ch]:
9096         * lyxfunc.C: further cleaning
9097
9098 2002-08-13  André Pönitz <poenitz@gmx.net>
9099
9100         * funcrequest.h: new constructor
9101
9102         * funcrequest.C: move stuff here from .h
9103
9104         * Makefile.am:
9105         * BufferView_pimpl.C:
9106         * LyXAction.C:
9107         * toc.C:
9108         * lyxfunc.C: subsequent changes
9109
9110         * lyxfunc.h: new view() member function
9111
9112         * lyxfunc.C: subsequent changes
9113
9114 2002-08-13  Angus Leeming  <leeming@lyx.org>
9115
9116         * BufferView2.C:
9117         * BufferView_pimpl.C:
9118         * buffer.C:
9119         * converter.C:
9120         * importer.C:
9121         * lyxfunc.C:
9122         * lyxvc.C:
9123         * toc.C:
9124         * vc-backend.C:
9125         changes due to the changed LyXView interface that now returns references
9126         to member variables not pointers.
9127
9128 2002-08-13  Angus Leeming  <leeming@lyx.org>
9129
9130         * WordLangTuple (word, lang_code): return references to strings,
9131         not strings.
9132
9133         * BufferView.h:
9134         * SpellBase.h:
9135         * lyxtext.h: forward-declare WordLangTuple.
9136
9137         * BufferView2.C:
9138         * ispell.C:
9139         * pspell.C:
9140         * text.C: #include "WordLangTuple.h".
9141
9142         * lyxtext.h:
9143         * text.C: (selectNextWordToSpellcheck): constify return type.
9144
9145 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9146
9147         * buffer.C:
9148         * buffer.h:
9149         * lyxtext.h:
9150         * paragraph.C:
9151         * paragraph_pimpl.h:
9152         * text.C:
9153         * text2.C:
9154         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9155         suggested by Angus.
9156         Made updateCounter always count from start of buffer, and removed
9157         second argument (par).
9158         Reverted floats number display to '#'. Perhaps I'll try again when the
9159         code base is sanitized a bit.
9160
9161 2002-08-12  Angus Leeming  <leeming@lyx.org>
9162
9163         * buffer.[Ch] (getLabelList): constify.
9164
9165 2002-08-07  André Pönitz <poenitz@gmx.net>
9166
9167         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9168
9169         * funcrequest.h: extension to keep mouse (x,y) position
9170
9171 2002-08-12  Juergen Vigna  <jug@sad.it>
9172
9173         * BufferView2.C (insertErrors): forbid undo when inserting error
9174         insets.
9175
9176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9177
9178 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9179
9180         * ParagraphList.[Ch]: new files
9181
9182         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9183
9184         * BufferView2.C (lockInset): ParagraphList changes
9185         * toc.C: ditto
9186         * text2.C: ditto
9187         * bufferlist.C: ditto
9188         * buffer.h: ditto
9189         * buffer.C: ditto
9190
9191 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9192
9193         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9194         unused class variable counter_,
9195
9196         * paragraph.[Ch] (getFirstCounter): delete unused function
9197
9198         * counters.C: include LAssert.h
9199         (reset): add a new function with no arg, change other version to
9200         not have def. arg and to not allow empty arg.
9201
9202         * text2.C (setCounter): remove empty arg from call to Counters::reset
9203
9204 2002-08-11  John Levon  <levon@movementarian.org>
9205
9206         * Makefile.am: add WordLangTuple.h
9207
9208 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9209
9210         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9211         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9212
9213         * insets/insettext.C: InsetList changes
9214
9215         * graphics/GraphicsSupport.C (operator()): InsetList changes
9216
9217         * toc.C (getTocList): InsetList changes
9218
9219         * paragraph_pimpl.[Ch]: InsetList changes
9220
9221         * paragraph.[Ch]: InsetList changes
9222
9223         * buffer.C (inset_iterator): InsetList changes
9224         (setParagraph): ditto
9225         * buffer.h (inset_iterator): ditto
9226         * iterators.C (operator++): ditto
9227         * iterators.h: ditto
9228
9229         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9230
9231         * InsetList.[Ch]: new files, most InsetList handling moved out of
9232         paragraph.C.
9233
9234         * BufferView2.C (removeAutoInsets): InsetList changes
9235         (lockInset): ditto
9236         (ChangeInsets): ditto
9237
9238 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * paragraph_pimpl.h (empty): new function
9241
9242         * paragraph.[Ch] (empty): new function
9243
9244         * other files: use the new Paragraph::empty function
9245
9246 2002-08-09  John Levon  <levon@movementarian.org>
9247
9248         * lyxtext.h: remove unused refresh_height
9249
9250 2002-08-09  John Levon  <levon@movementarian.org>
9251
9252         * Makefile.am:
9253         * sgml.h:
9254         * sgml.C:
9255         * buffer.C:
9256         * paragraph.h:
9257         * paragraph.C: move sgml char escaping out of paragraph
9258
9259         * paragraph.h:
9260         * paragraph.C: remove id setter
9261
9262         * buffer.C:
9263         * paragraph.C:
9264         * paragraph_pimpl.C: remove dead tex_code_break_column
9265
9266         * bufferview_funcs.C: small cleanup
9267
9268         * lyxfunc.C: remove dead proto
9269
9270         * lyxtext.h: make some stuff private. Remove some dead stuff.
9271
9272         * lyxgluelength.C: make as[LyX]String() readable
9273
9274 2002-08-08  John Levon  <levon@movementarian.org>
9275
9276         * LyXAction.h:
9277         * LyXAction.C:
9278         * MenuBackend.C:
9279         * ToolbarDefaults.C:
9280         * lyxfunc.C:
9281         * lyxrc.C:
9282         * toc.C: lyxaction cleanup
9283
9284 2002-08-08  John Levon  <levon@movementarian.org>
9285
9286         * BufferView2.C: small cleanup
9287
9288         * lyxfind.h:
9289         * lyxfind.C: move unnecessary header into the .C
9290
9291 2002-08-08  John Levon  <levon@movementarian.org>
9292
9293         * funcrequest.h: just tedious nonsense
9294
9295         * lyx_main.h:
9296         * lyx_main.C: cleanups
9297
9298         * buffer.C:
9299         * vspace.C: remove dead header lyx_main.h
9300
9301 2002-08-07  Angus Leeming  <leeming@lyx.org>
9302
9303         * Paragraph.[Ch]:
9304         * paragraph_pimpl.h:
9305         Forward declare class Counters in paragraph.h by moving the ctrs member
9306         variable into Paragraph::Pimpl.
9307         (counters): new method, returning a reference to pimpl_->ctrs.
9308
9309         * text2.C: ensuing changes.
9310
9311 2002-08-07  John Levon  <levon@movementarian.org>
9312
9313         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9314
9315         * BufferView_pimpl.C: announce X selection on double/triple
9316           click
9317
9318         * lyx_main.C: use correct bool in batch dispatch
9319
9320         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9321
9322 2002-08-07  André Pönitz <poenitz@gmx.net>
9323
9324         * funcrequest.h: new class to wrap a kb_action and its argument
9325
9326         * BufferView.[Ch]:
9327         * BufferView_pimpl[Ch]:
9328         * LaTeX.C:
9329         * LyXAction.[Ch]:
9330         * lyxfunc.[Ch]:
9331         * lyxrc.C: subsequent changes
9332
9333
9334 2002-08-07  John Levon  <levon@movementarian.org>
9335
9336         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9337           document options change.
9338
9339 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9340
9341         * counters.[Ch]
9342         * text2.C
9343         * paragraph.[Ch]
9344         * makefile.am: move counters functionality over from
9345         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9346
9347 2002-08-06  John Levon  <levon@movementarian.org>
9348
9349         * WordLangTuple.h: new file for word + language code tuple
9350
9351         * SpellBase.h:
9352         * pspell.h:
9353         * pspell.C:
9354         * ispell.h:
9355         * ispell.C:
9356         * lyxtext.h:
9357         * text.C:
9358         * text2.C:
9359         * BufferView.h:
9360         * BufferView2.C: use WordLangTuple
9361
9362         * layout.h:
9363         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9364
9365 2002-08-06  John Levon  <levon@movementarian.org>
9366
9367         * lyx_main.C: fix cmdline batch handling
9368
9369 2002-08-06  André Pönitz <poenitz@gmx.net>
9370
9371         * lyxrc.C: set default for show_banner to true
9372
9373 2002-08-06  John Levon  <levon@movementarian.org>
9374
9375         * pspell.C: fix a crash, and allow new aspell to work
9376
9377 2002-08-06  John Levon  <levon@movementarian.org>
9378
9379         * lyxfunc.C:
9380         * kbmap.C: small cleanup
9381
9382         * vspace.h:
9383         * vspace.C: add const
9384
9385 2002-08-05  John Levon  <levon@movementarian.org>
9386
9387         * LyXAction.C: back to tabular-insert
9388
9389 2002-08-04  John Levon  <levon@movementarian.org>
9390
9391         * BufferView.h:
9392         * BufferView.C: cosmetic change
9393
9394         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9395
9396         * bufferlist.C:
9397         * buffer.h:
9398         * buffer.C:
9399         * lyxcb.h:
9400         * lyxcb.C:
9401         * lyxserver.C:
9402         * lyxvc.C:
9403         * vc-backend.C:
9404         * BufferView2.C: purge all "Lyx" not "LyX" strings
9405
9406         * lyxcursor.h:
9407         * lyxcursor.C: attempt to add some documentation
9408
9409         * lyxfunc.C:
9410         * commandtags.h:
9411         * LyXAction.C:
9412         * ToolbarDefaults.C:
9413         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9414           merge with LFUN_TABULAR_INSERT
9415
9416         * Makefile.am:
9417         * SpellBase.h:
9418         * ispell.h:
9419         * ispell.C:
9420         * pspell.h:
9421         * pspell.C: split up i/pspell implementations into separate
9422           files, many cleanups
9423
9424         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9425
9426         * text2.C: some cleanup
9427
9428         * lyxfunc.C: don't check for isp_command == "none" any more, it
9429           didn't make any sense
9430
9431 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9432
9433         * counters.[Ch]
9434         * text2.C
9435         * paragraph.[Ch]
9436         * makefile.am: move counters functionality over
9437         from text2.C/paragraph.[Ch] to counters.[Ch], and
9438         make proper C++.
9439 2002-08-02  John Levon  <levon@movementarian.org>
9440
9441         * buffer.C: s/lyxconvert/lyx2lyx/
9442
9443 2002-08-02  Angus Leeming  <leeming@lyx.org>
9444
9445         * lyxlex.C: revert John's change as it breaks reading of the user
9446         preamble.
9447
9448 2002-08-02  Angus Leeming  <leeming@lyx.org>
9449
9450         * importer.C (Import):
9451         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9452         changes due to LyXView::view() now returning a boost::shared_ptr.
9453
9454 2002-08-02  John Levon  <levon@movementarian.org>
9455
9456         * lyxlex.C: small cleanup
9457
9458 2002-08-02  John Levon  <levon@movementarian.org>
9459
9460         * text2.C (status): small cleanup, no logic change
9461
9462 2002-08-01  John Levon  <levon@movementarian.org>
9463
9464         * buffer.h:
9465         * buffer.C (writeFile): don't output alerts, caller
9466           handles this
9467
9468         * bufferlist.C:
9469         * lyx_cb.C: from above
9470
9471         * lyxfunc.C: allow to open non-existent files
9472
9473 2002-07-31  John Levon  <levon@movementarian.org>
9474
9475         * lyxserver.C: don't let incidental errors get
9476           in the way (errno)
9477
9478 2002-07-30  John Levon  <levon@movementarian.org>
9479
9480         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9481
9482 2002-07-30  John Levon  <levon@movementarian.org>
9483
9484         * lyxserver.h:
9485         * lyxserver.C: remove I/O callback too
9486
9487 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9490         log.
9491
9492 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9493
9494         * many files: strip,frontStrip -> trim,ltrim,rtrim
9495
9496 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9497
9498         * PrinterParams.h: remove extern containsOnly, and include
9499         support/lstrings.h instead.
9500
9501         * LaTeX.C (scanAuxFile): modify because of strip changes
9502         (deplog): ditto
9503         * buffer.C (makeLaTeXFile): ditto
9504         * bufferparams.C (writeFile): ditt
9505         * lyxfont.C (stateText): ditto
9506         * lyxserver.C (read_ready): ditto
9507         * vc-backend.C (scanMaster): ditto
9508
9509         * BufferView_pimpl.h: ws changes
9510
9511         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9512
9513 2002-07-26  André Pönitz <poenitz@gmx.net>
9514
9515         * kb_sequence.C: remove unnedred usings
9516
9517 2002-07-26  Juergen Vigna  <jug@sad.it>
9518
9519         * lyxfind.C (LyXReplace): we have to check better if the returned
9520         text is not of theLockingInset()->getLockingInset().
9521
9522 2002-07-25  Juergen Vigna  <jug@sad.it>
9523
9524         * lyxfind.C (LyXReplace): don't replace if we don't get the
9525         right LyXText.
9526
9527         * undo_funcs.C (createUndo): remove debugging code.
9528
9529 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9530
9531         * buffer.C (parseSingleLyXformat2Token): Use default placement
9532         when reading old floats.
9533
9534         * FloatList.C (FloatList): Change the default placement of figure
9535         and tables to "tbp".
9536
9537 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9538
9539         * MenuBackend.C: using std::max
9540
9541 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * MenuBackend.C (expandToc):
9544         (expandToc2): code moved from xforms menu frontend. It is now
9545         generic and TOCs are transparent to menu frontends.
9546
9547 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * toc.C (getTocList): protect against buf=0
9550
9551         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9552         Menu as first parameter. Now, this calls itself recursively to
9553         expand a whole tree (this will be useful for TOC handling)
9554         (expandFloatInsert): remove 'wide' version of floats
9555
9556         * MenuBackend.h (submenuname): returns the name of the submenu.
9557         (submenu): returns the submenu itself, provided it has been
9558         created by MenuBackend::expand
9559
9560 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9563         insets which have noFontChange == true. (bug #172)
9564
9565 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * BufferView_pimpl.C: add connection objects and use them...
9568         (Pimpl): here.
9569
9570 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * MenuBackend.C (expandLastfiles):
9573         (expandDocuments):
9574         (expandFormats):
9575         (expandFloatListInsert):
9576         (expandFloatInsert):
9577         (expand): split expand in parts
9578
9579 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * lyx_gui.C: use lyx_gui::exit()
9582
9583 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * LyXAction.C: show the failing pseudo action
9586
9587 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9588
9589         * buffer.C (readFile): Run the lyxconvert script in order to read
9590         old files.
9591
9592 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * LyXAction.C:
9595         * commandtags.h:
9596         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9597
9598 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9599
9600         * LyXAction.C:
9601         * commandtags.h:
9602         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9603
9604 2002-07-22  Herbert Voss  <voss@lyx.org>
9605
9606         * lengthcommon.C:
9607         * lyxlength.[Ch]: add support for the vertical lengths
9608
9609 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * toc.[Ch]: std:: fixes
9612
9613 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * lyxrc.C: do not include lyx_main.h
9616
9617         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9618         for layouts
9619
9620         * lyxrc.C:
9621         * encoding.C:
9622         * bufferlist.C:
9623         * BufferView2.C: include "lyxlex.h"
9624
9625         * tabular.h:
9626         * bufferparams.h: do not #include "lyxlex.h"
9627
9628         * lyxtextclasslist.C (Add): remove method
9629         (classlist): renamed to classlist_
9630
9631         * paragraph_pimpl.C:
9632         * paragraph.C:
9633         * text2.C:
9634         * CutAndPaste.C:
9635         * bufferview_funcs.C:
9636         * bufferlist.C:
9637         * text.C:
9638         * LaTeXFeatures.C:
9639         * buffer.C:
9640         * toc.C (getTocList): use BufferParams::getLyXTextClass
9641
9642         * toc.C (getTocList): use InsetFloat::addToToc
9643
9644         * toc.[Ch]: new files, containing helper functions to handle table
9645         of contents
9646
9647         * lyxfunc.C (dispatch): no need to remove spaces around command
9648         given as a string
9649         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9650         first command of the sequence; it is not very clever, but I do not
9651         have a better idea, actually
9652
9653         * LyXAction.C (LookupFunc): make sure to remove space at the
9654         beginning and end of the command
9655
9656 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * MenuBackend.C (getMenubar): new method: return the menubar of
9659         this menu set
9660         (read): treat differently reading of menu and menubar (in
9661         particular, the menubar has no name now)
9662         (Menu::menubar): remove
9663
9664         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9665         saving is finished
9666
9667 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9668
9669         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9670         a bibitem inset in a RTL paragraph.
9671
9672 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * paragraph_pimpl.C: constify
9675
9676         * BufferView_pimpl.C:
9677         * LaTeX.C:
9678         * lyxfunc.C: fix dispatch in a nicer way
9679
9680 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * lyxfunc.C (dispatch):
9683         * BufferView_pimpl.C:
9684         * BufferView_pimpl.h:
9685         * BufferView.C:
9686         * BufferView.h: rename Dispatch() to dispatch()
9687
9688         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9689
9690         * lyxlayout.C (Read): honor DependsOn tag
9691
9692         * lyxlayout.[Ch] (depends_on): new method
9693
9694         * version.C.in: update lyx_docversion
9695
9696         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9697
9698         * paragraph.C (validate): remove from here...
9699         * paragraph_pimpl.C (validate): ... and move here
9700         (isTextAt): make it const
9701
9702         * buffer.C (getLists): ws cleanup
9703
9704 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9705
9706         * language.C (read): Use iso8859-1 encoding in latex_lang
9707         (this prevents LyX from crashing when using iso10646-1 encoding).
9708
9709 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9710
9711         * text2.C (toggleInset): if cursor is inside an inset, close the
9712         inset and leave cursor _after_ it
9713
9714 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * lyxfunc.C: move minibuffer completion handling out of here
9717
9718 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * BufferView_pimpl.C:
9721         * LaTeX.C: fix dispatch calls
9722
9723 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9724
9725         * text.C (drawChars): Fix Arabic text rendering.
9726
9727 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * LyXAction.C:
9730         * commandtags.h:
9731         * lyxfunc.C: remove message-push/pop
9732
9733         * lyxserver.C:
9734         * lyxfunc.h:
9735         * lyxfunc.C: rationalise some code by removing verboseDispatch
9736           in favour of a bool argument to dispatch()
9737
9738 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9739
9740         * lyx_main.C (init): make sure to read symlinks as absolute paths
9741
9742 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * lyxfunc.h:
9745         * lyxfunc.C: no need for commandshortcut to be a member
9746
9747 2002-07-15  André Pönitz <poenitz@gmx.net>
9748
9749         * converter.C: add support for $$s (scripts from lib/scripts dir)
9750         * lyx_main.C: white space
9751
9752 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * bufferlist.C:
9755         * lyxrc.h:
9756         * lyxrc.C: remove second exit confirmation
9757
9758 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * BufferView.h:
9761         * BufferView.C:
9762         * BufferView2.C:
9763         * BufferView_pimpl.h:
9764         * BufferView_pimpl.C:
9765         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9766
9767 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * MenuBackend.C (expand): add numeric shortcuts to document menu
9770
9771         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9772
9773 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * lyxfont.C (setLyXFamily):
9776         (setLyXSeries):
9777         (setLyXShape):
9778         (setLyXSize):
9779         (setLyXMisc):
9780         (lyxRead):
9781         * debug.C (value):
9782         * buffer.C (asciiParagraph): use ascii_lowercase
9783
9784 2002-07-15  Mike Fabian  <mfabian@suse.de>
9785
9786         * lyxlex_pimpl.C (search_kw):
9787         * lyxlex.C (getLongString):
9788         * converter.h (operator<):
9789         * converter.C (operator<):
9790         * buffer.C (parseSingleLyXformat2Token):
9791         (asciiParagraph):
9792         * ToolbarDefaults.C (read):
9793         * MenuBackend.C (checkShortcuts):
9794         (read):
9795         * LColor.C (getFromGUIName):
9796         (getFromLyXName): use the compare_ascii_no_case instead of
9797         compare_no_case, because in turkish, 'i' is not the lowercase
9798         version of 'I', and thus turkish locale breaks parsing of tags.
9799
9800 2002-07-16  Angus Leeming  <leeming@lyx.org>
9801
9802         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9803         now takes a Buffer const & argument.
9804
9805 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * BufferView.C (resize): check there's a buffer to resize
9808
9809 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * lyxfunc.C: remove dead code
9812
9813         * lyxserver.h:
9814         * lyxserver.C: use lyx_guii::set_read_callback
9815
9816 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9817
9818         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9819         an inset in a RTL paragraph.
9820
9821 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9822
9823         * lyxfunc.C: repaint after a font size update
9824
9825 2002-07-15  André Pönitz <poenitz@gmx.net>
9826
9827         * lyxlength.C: inBP should be able to return negative values
9828
9829 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * lyxfunc.C: use lyx_gui::update_fonts()
9832
9833 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * lyxfunc.C: use lyx_gui::update_color()
9836
9837 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9838
9839         * bufferlist.C:
9840         * lyxfunc.h:
9841         * lyxfunc.C:
9842         * lyxrc.h:
9843         * lyxrc.C: remove file->new asks for name option, and let
9844           buffer-new take an argument
9845
9846 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9847
9848         * BufferView_pimpl.C: remove unneeded extra repaint()
9849
9850 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * LyXAction.C: allow command-sequence with NoBuffer
9853
9854         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9855
9856 2002-07-10  Angus Leeming  <leeming@lyx.org>
9857
9858         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9859
9860 2002-07-09  Angus Leeming  <leeming@lyx.org>
9861
9862         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9863
9864 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * lengthcommon.h: whitespace
9867
9868         * lyxfunc.C: update scrollbar after goto paragraph
9869
9870         * lyxtext.h: factor out page break drawing, and fix it so
9871           page break/added space paints as selected nicely
9872
9873 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * BufferView_pimpl.C: add FIXMEs, clean up a little
9876
9877 2002-07-09  André Pönitz <poenitz@gmx.net>
9878
9879         * lyxfont.[Ch]: support for wasy symbols
9880
9881 2002-07-08  André Pönitz <poenitz@gmx.net>
9882
9883         * BufferView_pimpl.C: apply John's patch for #93.
9884
9885 2002-07-05  Angus Leeming  <leeming@lyx.org>
9886
9887         * BufferView_pimpl.C (buffer): generate previews if desired.
9888
9889         * LColor.h: add "preview" to the color enum.
9890
9891         * LColor.C (LColor): add a corresponding entry to the items array.
9892
9893         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9894         with this buffer.
9895
9896 2002-07-05  Angus Leeming  <leeming@lyx.org>
9897
9898         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9899         The body of the code is now in the method that is passed an ostream &
9900         rather than a file name.
9901         Pass an additional only_preamble parameter, useful for the forthcoming
9902         preview stuff.
9903
9904 2002-07-03  André Pönitz <poenitz@gmx.net>
9905
9906         * lyxfunc.C: simplify getStatus() a bit for math stuff
9907
9908 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9911
9912 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * text.C (changeRegionCase): do not change case of all the
9915         document when region ends at paragraph end (bug #461)
9916
9917 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * paragraph.C (startTeXParParams):
9920         (endTeXParParams): add \protect when necessary
9921
9922 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9923
9924         * BufferView_pimpl.C (workAreaExpose): remove warning
9925
9926 2002-06-27  Angus Leeming  <leeming@lyx.org>
9927
9928         * Makefile.am: add lyxlayout_ptr_fwd.h.
9929
9930 2002-06-26  André Pönitz <poenitz@gmx.net>
9931
9932         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9933
9934 2002-06-25  Angus Leeming  <leeming@lyx.org>
9935
9936         * lyxfunc.C (dispatch): Comment out the call to
9937         grfx::GCache::changeDisplay. The method no longer exists now that the
9938         pixmap generation part of the graphics loader has been moved into
9939         InsetGraphics.
9940
9941 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * text2.C: layout as layout
9944
9945         * text.C: layout as layout
9946
9947         * tabular.C (OldFormatRead): layout as layout
9948
9949         * paragraph_pimpl.C (TeXDeeper): layout as layout
9950         (realizeFont): layout as layout
9951
9952         * paragraph.C (writeFile): layout as layout
9953         (validate): layout as layout
9954         (getFont): layout as layout
9955         (getLabelFont): layout as layout
9956         (getLayoutFont): layout as layout
9957         (breakParagraph): layout as layout
9958         (stripLeadingSpaces): layout as layout
9959         (getEndLabel): layout as layout
9960         (getMaxDepthAfter): layout as layout
9961         (applyLayout): layout as layout
9962         (TeXOnePar): layout as layout
9963         (simpleTeXOnePar): layout as layout
9964         (TeXEnvironment): layout as layout
9965         (layout): layout as layout
9966         (layout): layout as layout
9967
9968         * lyxtextclass.C (compare_name): new functor to work with
9969         shared_ptr, layout as layout
9970         (Read): layout as layout
9971         (hasLayout): layout as layout
9972         (operator): layout as layout
9973         (delete_layout): layout as layout
9974         (defaultLayout): layout as layout
9975
9976         * lyxlayout_ptr_fwd.h: new file
9977
9978         * lyxlayout.C (Read): layout as layout
9979
9980         * lyx_cb.C (MenuInsertLabel): layout as layout
9981
9982         * bufferlist.C (newFile): layout as layout
9983
9984         * buffer.C (readLyXformat2): layout as layout
9985         (parseSingleLyXformat2Token): layout as layout
9986         (insertStringAsLines): layout as layout
9987         (asciiParagraph): layout as layout
9988         (latexParagraphs): layout as layout
9989         (makeLinuxDocFile): layout as layout
9990         (simpleLinuxDocOnePar): layout as layout
9991         (makeDocBookFile): layout as layout
9992         (simpleDocBookOnePar): layout as layout
9993         (getLists): layout as layout
9994
9995         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9996
9997         * CutAndPaste.C (cutSelection): layout as layout
9998         (pasteSelection): layout as layout
9999         (SwitchLayoutsBetweenClasses): layout as layout
10000
10001         * BufferView_pimpl.C (Dispatch): layout as layout
10002         (smartQuote): layout as layout
10003
10004         * BufferView2.C (unlockInset): layout as layout
10005
10006 2002-06-24  André Pönitz <poenitz@gmx.net>
10007
10008         * lyxfunc.C: fix #487
10009
10010 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * lyxrc.h:
10013         * lyxrc.C:
10014         * lyxfunc.C: remove display_shortcuts, show_banner
10015
10016 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * Buffer_pimpl.C: oops, update on resize
10019
10020 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * buffer.C:
10023         * converter.C:
10024         * exporter.C:
10025         * lyxfunc.C:
10026         * BufferView.h:
10027         * BufferView.C: use repaint()
10028
10029         * BufferView_pimpl.h:
10030         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10031           as it's a clearer description. Remove superfluous
10032           redraws.
10033
10034 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * text.C: fix bug 488. Not ideal, but getting
10037           getWord() to work properly for the insets that
10038           matter is more difficult ...
10039
10040 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * BufferView_pimpl.C:
10043         * LyXAction.C:
10044         * commandtags.h:
10045         * lyxfunc.C: remove the six million index lyxfuncs to just
10046           one, and DTRT (bug 458)
10047
10048 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView.h:
10051         * BufferView.C:
10052         * BufferView_pimpl.h:
10053         * BufferView_pimpl.C: clean up resize() stuff,
10054           and unnecessary updateScreen()s
10055
10056 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * BufferView.h:
10059         * BufferView.C:
10060         * BufferView_pimpl.h:
10061         * BufferView_pimpl.C:
10062         * lyxfind.h:
10063         * lyxfind.C:
10064         * minibuffer.C: remove focus management of workarea,
10065           not needed. Use screen's greyOut()
10066
10067 2002-06-17  Herbert Voss  <voss@lyx.org>
10068
10069         * converter.C: (convert) do not post a message, when converting
10070         fails, let the calling function decide what to do in this case
10071
10072 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * lyxfunc.C: tidy up a little
10075
10076 2002-06-16    <alstrup@diku.dk>
10077
10078         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10079         Got rid of FORMS_H_LOCATION include. Now we are
10080         GUII.
10081
10082 2002-06-15  LyX Development team  <lyx@rilke>
10083
10084         * buffer.[Ch] (sgmlOpenTag):
10085         (sgmlCloseTag): Added support for avoiding pernicious mixed
10086         content. Return number of lines written.
10087
10088         (makeLinuxDocFile):
10089         (makeDocBookFile): Fixed calls to sgml*Tag.
10090         Simple white space clean.
10091
10092         (simpleDocBookOnePar): Simple white space clean.
10093
10094         * tabular.[Ch] (docBook): Renamed to docbook and got another
10095         argument to related with the pernicious mixed content.
10096
10097         (docbookRow): Fixed calls for docbook inset method.
10098
10099 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10100
10101         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10102         so it's X11 independent.
10103
10104         * kb*.[Ch]: ditto.
10105
10106         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10107
10108 2002-06-15  Lyx Development team  <lyx@electronia>
10109
10110         * intl.h: Renamed getTrans to getTransManager.
10111
10112 2002-06-14  Angus Leeming  <leeming@lyx.org>
10113
10114         * Makefile.am: nuke forgotten stl_string_fwd.h.
10115
10116 2002-06-12  Angus Leeming  <leeming@lyx.org>
10117
10118         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10119
10120 2002-06-13  Angus Leeming  <leeming@lyx.org>
10121
10122         * LaTeX.C:
10123         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10124
10125 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10126
10127         * kbmap.C (getiso): add support for cyrillic and greek
10128
10129 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * BufferView.h:
10132         * BufferView.C:
10133         * BufferView_pimpl.h:
10134         * BufferView_pimpl.C: move bogus scrolling logic
10135           to xforms
10136
10137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxfunc.C:
10140         * BufferView_pimpl.C: view->resize() change
10141
10142 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * BufferView_pimpl.C: topCursorVisible
10145           prototype change
10146
10147 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * Makefile.am:
10150         * lyx_gui.h:
10151         * lyx_gui.C: move to frontends/
10152
10153         * main.C:
10154         * lyx_main.h:
10155         * lyx_main.C: changes from above
10156
10157 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * intl.C:
10160         * intl.h:
10161         * kbmap.C:
10162         * kbsequence.C:
10163         * lyx_cb.C:
10164         * lyx_main.C: minor tidy
10165
10166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10167
10168         * BufferView_pimpl.h:
10169         * BufferView_pimpl.C:
10170         * BufferView.h:
10171         * BufferView.C: make painter() const,
10172           remove dead code
10173
10174         * BufferView2.C: use screen() accessor
10175
10176         * lyx_main.h:
10177         * lyx_main.C: some minor cleanup
10178
10179 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * BufferView_pimpl.h:
10182         * BufferView_pimpl.C: remove enter/leaveView,
10183           use workHeight()
10184
10185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * BufferView.h:
10188         * BufferView.C:
10189         * BufferView2.C:
10190         * BufferView_pimpl.h:
10191         * BufferView_pimpl.C: only construct screen once,
10192           rename
10193
10194         * lyxrc.C: remove pointless comment
10195
10196 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10197
10198         * BufferView.h:
10199         * BufferView.C: remove active() and belowMouse()
10200
10201         * BufferView_pimpl.h:
10202         * BufferView_pimpl.C: use workarea() not workarea_,
10203           and make it use a scoped_ptr instead
10204
10205 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * lyx_gui.C: add debug message on BadWindow
10208
10209 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10210
10211         * sp_spell.C: fdopen is not part of the C++ standard.
10212
10213         * paragraph.C (InsetIterator): use >= instead of ==
10214
10215 2002-06-07  Angus Leeming  <leeming@lyx.org>
10216
10217         Fixes needed to compile with Compaq cxx 6.5.
10218         * BufferView_pimpl.C:
10219         * DepTable.C:
10220         * buffer.C:
10221         * converter.C:
10222         * encoding.C:
10223         * lyx_gui.C:
10224         * lyx_main.C:
10225         * lyxtextclasslist.C:
10226         * minibuffer.C:
10227         * sp_spell.C:
10228         * tabular_funcs.C:
10229         * vc-backend.C:
10230         all c-library variables have been moved into namespace std. Wrap
10231         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10232
10233         * lyxlength.C:
10234         * tabular-old.C:
10235         * tabular.C:
10236         Add a using std::abs declaration.
10237
10238         * kbmap.h (modifier_pair):
10239         * paragraph.h (InsetTable, InsetList):
10240         * lyxfont.h (FontBits):
10241         type definition made public.
10242
10243         * bufferlist.C (emergencyWriteAll): the compiler complains that
10244         there is more than one possible lyx::class_fun template to choose from.
10245         I re-named the void specialisation as lyx::void_class_fun.
10246
10247         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10248
10249         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10250         the compiler is is unable to find tostr in write_attribute.
10251
10252 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * buffer.C (sgmlError): hide #warning
10255
10256 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * xtl/*: get rid of xtl, which is not in use anyway
10259
10260         * LyXAction.C (init):
10261         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10262         were unimplemented xtl experimentation
10263
10264 2002-06-04  André Pönitz <poenitz@gmx.net>
10265
10266         * lyxfunc.C: disable array operation on simple formulae
10267
10268 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * converter.C: constify a bit
10271
10272 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyx_gui.C: check xforms version correctly
10275
10276 2002-04-30  Herbert Voss  <voss@lyx.org>
10277
10278         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10279         "keep" option
10280
10281 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10284           attempt to register it with a VCS)
10285
10286 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10287
10288         * lyx_main.C (init): honor variables LYX_DIR_13x and
10289         LYX_USERDIR_13x
10290
10291 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * buffer.h:
10294         * buffer.C:
10295         * lyx_main.C: fix a crash on bad command line,
10296           and give a useful exit status on error
10297
10298         * lyxfunc.C (doImport): allow -i lyx to work
10299
10300 2002-03-30  André Pönitz <poenitz@gmx.net>
10301
10302         * lyxfunc.C: mathed font changes
10303
10304 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * LaTeX.C:
10307         * importer.h:
10308         * importer.C:
10309         * lyx_sty.h:
10310         * lyx_sty.C:
10311         * lyxlex.C:
10312         * lyxrow.h:
10313         * lyxtext.h:
10314         * paragraph.h:
10315         * paragraph.C:
10316         * texrow.h:
10317         * texrow.C:
10318         * text.C:
10319         * trans_mgr.h: srcdocs, and some minor cleanups
10320
10321 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10324         call getFont all the time)
10325
10326 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * switch from SigC signals to boost::signals
10329
10330 2002-05-29  André Pönitz <poenitz@gmx.net>
10331
10332         * paragraph_pimpl.C (getChar): don't call size() too often...
10333
10334 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * paragraph_pimpl.C (insertChar): do not try to update tables when
10337         appending (pos == size())
10338
10339         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10340         in order to reduce drastically the number of comparisons needed to
10341         parse a large document
10342
10343 2002-05-29  André Pönitz <poenitz@gmx.net>
10344
10345         * text.C:
10346         * text2.C:
10347         * lyxtextclass.C:
10348         * sp_pspell.h:
10349         * textclasslist.[Ch]:
10350         * sp_ispell.h: whitespace change
10351
10352 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10353
10354         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10355         lyxaction directly now.
10356
10357 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * trans.C:
10360         * lyxfont.C:
10361         * lyxvc.C: remove unused headers
10362
10363 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * Makefile.am:
10366         * buffer.h:
10367         * undostack.h:
10368         * undostack.C:
10369         * undo_funcs.h:
10370         * undo_funcs.C: some cleanups. Use shared_ptr
10371           and a template for the undo stacks.
10372
10373 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * BufferView_pimpl.h:
10376         * BufferView_pimpl.C:
10377         * kbmap.h:
10378         * kbmap.C:
10379         * kbsequence.h:
10380         * kbsequence.C:
10381         * lyxfunc.h:
10382         * lyxfunc.C:
10383         * text2.C: use key_state/mouse_state
10384
10385 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10388         and LSubstring
10389
10390         * chset.C: change include order
10391         (loadFile): use boost regex and get rid of LRegex and LSubstring
10392
10393         * Makefile.am (BOOST_LIBS): new variable
10394         (lyx_LDADD): use it
10395
10396         * LaTeX.C: change include order.
10397         (scanAuxFile): use boost regex and get rid of LRegex and
10398         LSubstring
10399         (deplog): ditto
10400
10401 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * ColorHandler.h:
10404         * ColorHandler.C:
10405         * FontInfo.h:
10406         * FontInfo.C: moved to frontends/xforms/
10407
10408         * FontLoader.h:
10409         * FontLoader.C: moved into frontends for GUIIzation
10410
10411         * Makefile.am:
10412         * lyx_gui.C:
10413         * lyxfont.C:
10414         * lyxfunc.C: changes from above
10415
10416 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * LColor.C: remove spurious X include
10419
10420         * BufferView_pimpl.C:
10421         * Makefile.am:
10422         * font.h:
10423         * font.C:
10424         * text.C:
10425         * text2.C: move font metrics to frontends/
10426
10427 2002-05-24  Juergen Vigna  <jug@sad.it>
10428
10429         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10430         setting the undo_cursor.
10431
10432         * ParagraphParameters.h: include local includes first.
10433
10434 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10435
10436         * BufferView_pimpl.C:
10437         * BufferView_pimpl.h:
10438         * Makefile.am:
10439         * WorkArea.h:
10440         * WorkArea.C:
10441         * screen.C: move WorkArea into frontends/
10442
10443         * lyxscreen.h:
10444         * screen.C:
10445         * text.C:
10446         * BufferView.C:
10447         * BufferView2.C: move LyXScreen into frontends/
10448
10449         * lyxlookup.h:
10450         * lyxlookup.C:
10451         * lyx_gui.C: move lyxlookup into frontends/xforms/
10452
10453 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * BufferView2.C:
10456         * BufferView_pimpl.C:
10457         * FontLoader.C:
10458         * LyXView.h:
10459         * LyXView.C:
10460         * Makefile.am:
10461         * WorkArea.C:
10462         * XFormsView.h:
10463         * XFormsView.C:
10464         * buffer.C:
10465         * bufferlist.C:
10466         * bufferview_funcs.C:
10467         * converter.C:
10468         * importer.C:
10469         * lyx_cb.C:
10470         * lyx_gui.C:
10471         * lyx_main.C:
10472         * lyx_find.C:
10473         * lyxfunc.C:
10474         * lyxvc.C:
10475         * minibuffer.C:
10476         * text.C:
10477         * text2.C:
10478         * trans.C:
10479         * vc-backend.C: move LyX/XFormsView into frontends/
10480
10481 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * Makefile.am:
10484         * PainterBase.C:
10485         * PainterBase.h:
10486         * Painter.C:
10487         * Painter.h:
10488         * WorkArea.C:
10489         * WorkArea.h:
10490         * screen.C:
10491         * tabular.C:
10492         * text.C:
10493         * text2.C: move Painter to frontends/
10494
10495 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10496
10497         * buffer.C: comment out some some code that depend upon lyx_format
10498         < 220
10499
10500         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10501         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10502
10503         * buffer.h (NO_COMPABILITY): turn off compability
10504
10505         * ColorHandler.C: include scoped_array.hpp
10506
10507         * font.C: Use more specific smart_ptr header.
10508         * Painter.C: ditto
10509         * gettext.C: ditto
10510         * ShareContainer.h: ditto
10511         * lyx_main.h: ditto
10512         * kbmap.h: ditto
10513         * FontInfo.h: ditto
10514         * BufferView_pimpl.h: ditto
10515         * ColorHandler.h: ditto
10516
10517         * kbmap.C (defkey): change call to shared_ptr::reset
10518
10519 2002-05-21  Juergen Vigna  <jug@sad.it>
10520
10521         * buffer.C (insertErtContents): fix to insert ert asis if it is
10522         non empty. Skip it completely if it contains only whitespaces.
10523
10524 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView_pimpl.C:
10527         * BufferView2.C: clear selection on paste (bug 393)
10528
10529 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * DepTable.C: include ctime
10532
10533 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10534
10535         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10536
10537 2002-05-14  Juergen Vigna  <jug@sad.it>
10538
10539         * text.C (breakParagraph): fixed function to honor the keepempty
10540         layout in the right maner and also to permit the right breaking
10541         algorithm on empty or non empyt keepempty paragraphs.
10542
10543         * paragraph.C (breakParagraph): we have to check also if the par
10544         is really empty (!size()) for isempty otherwise we do the wrong
10545         paragraph break.
10546
10547 2002-05-10  Juergen Vigna  <jug@sad.it>
10548
10549         * buffer.[Ch] : The following are only changes to the ert
10550         compatibility read reading old LaTeX layout and font stuff and
10551         convert it to ERTInsets.
10552
10553         * buffer.h: added isErtInset().
10554
10555         * buffer.C (struct ErtComp): add a fromlayout bool to check
10556         if we're inside a LaTeX layout.
10557         (isErtInset): new helper function.
10558         (insertErtContents): look for other ert insets before this one
10559         and insert the contents there, so that we don't have subsequent
10560         ERT insets with nothing between them. This way we create only one
10561         inset with multiple paragraphs. Also check if we don't insert only
10562         spaces ' ' as they are ignored anyway afterwards in the .tex file
10563         so if we have only spaces we will ignore this latex part in the
10564         new file.
10565         (parseSingleLyXformat2Token \\layout): better compatibility when
10566         reading layout-latex stuff.
10567         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10568         language tag.
10569         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10570         stuff after reading the inset only get the information back from
10571         the stack.
10572
10573 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10576
10577         * LaTeXFeatures.C (getBabelOptions): New method.
10578
10579 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * BufferView_pimpl.C (Dispatch): work around missing argument for
10582         'layout'
10583
10584 2002-05-08  Juergen Vigna  <jug@sad.it>
10585
10586         * text.C (leftMargin): handle paragraph leftindent.
10587
10588         * paragraph.C (writeFile): write the new \\leftindent tag.
10589         (validate): handle leftindent code.
10590         (TeXEnvironment): handle paragraphleftindent code again.
10591
10592         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10593
10594         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10595         for paragrap_extra indent code and new token \\leftindent.
10596         (latexParagraphs): handle the leftindent as environment.
10597
10598         * ParameterStruct.h: added leftindent support.
10599
10600         * ParagraphParameters.C (leftIndent): added support functions for
10601         the paragraph left indent.
10602
10603         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10604         more appropriate.
10605
10606 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10609         inside insetERT.
10610
10611         * text.C (computeBidiTables): No bidi in insetERT.
10612
10613         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10614         in RTL documents.
10615
10616 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * version.C.in: pre 5
10619
10620 2002-05-02  José Matos  <jamatos@fep.up.pt>
10621         * buffer.C (makeDocBookFile): white space changes, add newline to
10622         command styles.
10623         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10624
10625         * tabular.C (docBook): fix typo.
10626
10627 2002-05-03  Juergen Vigna  <jug@sad.it>
10628
10629         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10630         change in LyXText as we can not be sure it was not freed.
10631         (drawOneRow): remove unused code.
10632
10633         * text.C (drawInset): redo the calculation of the need_break_row as
10634         it could have a row which was already freed.
10635         (draw): look at the return value of drawInset and return false if
10636         it also returned false.
10637         (paintRowText): look at the return value of draw and return false if
10638         it also returned false.
10639
10640         * lyxtext.h: added bool return type to drawInset() and draw() so that
10641         if we have a change in the row so that the rowbreak has to be redone
10642         we abort drawing as it will be called again.
10643
10644 2002-05-02  Juergen Vigna  <jug@sad.it>
10645
10646         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10647         a change in the maintext also if we're inside an inset.
10648         (Dispatch): set the cursor again after a break line and after the
10649         screen has been updated as it could be we're in a different row.
10650
10651         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10652         to set the cursor behind the pargraph with > size().
10653         (setCursor): check also for the same paragraph when checking where
10654         to put the cursor if we have a NFR inset.
10655
10656         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10657         parts of layout read further up as it still was in the wrong
10658         position.
10659
10660 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * screen.C (drawFromTo): change sine fullRebreak always return
10663         true.
10664
10665         * buffer.C (parseSingleLyXformat2Token): reindent some
10666
10667         * BufferView_pimpl.C (update): change since fullRebreak always
10668         return true.
10669         (Dispatch): git rid of the last hardcoded "Standard"s.
10670
10671 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * text2.[Ch] (fullRebreak): make it return void now that we always
10674         returned true.
10675
10676 2002-04-30  Juergen Vigna  <jug@sad.it>
10677
10678         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10679         ert compatibility check for "latex" layout.
10680
10681 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10682
10683         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10684         minipages: use col% instead of p%, and also use the current font.
10685         (makeLaTeXFile): Fix use babel condition.
10686         (parseSingleLyXformat2Token): Correct font when reading old floats.
10687
10688 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10691         inserting list of floats.
10692
10693 2002-04-25  Herbert Voss  <voss@lyx.org>
10694
10695         * MenuBackend.C (expand): don't add the graphics extensions to the
10696         export menu
10697
10698 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10699
10700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10701         non-existing layout, do not complain if it was the default layout
10702         of the original class (bug #342)
10703
10704 2002-04-24  Juergen Vigna  <jug@sad.it>
10705
10706         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10707         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10708
10709 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10710
10711         * buffer.C (getBibkeyList): If using \bibliography, return the
10712         option field with the reference itself. Enables us to provide natbib
10713         support when using \bibliography.
10714
10715 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10716
10717         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10718
10719         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10720         natbib is provided by the LaTeX class.
10721
10722 2002-04-23  Juergen Vigna  <jug@sad.it>
10723
10724         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10725         Wakeup functions.
10726
10727         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10728
10729 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10732
10733         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10734         ensuremath around textordmasculine, textordfeminine and
10735         textdegree.
10736
10737 2002-04-19  Juergen Vigna  <jug@sad.it>
10738
10739         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10740         reinitializing the buffer otherwise row-dimensions may be wrong.
10741         (update): reset also the selection cursors if they do exits otherwise
10742         their x/y positions may be wrong.
10743
10744         * text2.C (cursorDown): don't enter the inset if we came from a row
10745         above and are one row over the inset.
10746
10747         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10748         really leaving an inset.
10749
10750 2002-04-18  Juergen Vigna  <jug@sad.it>
10751
10752         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10753         of the selected paragraph does not have the selected layout also if
10754         the last one had!
10755
10756         * text2.C (setLayout): fixed bug which did not change last selected
10757         paragraph.
10758
10759         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10760         changed the read and substituted \\end_float with \\end_inset!
10761
10762         * BufferView_pimpl.C (cursorPrevious):
10763         (cursorNext): fixed to make it work with rows heigher than the work
10764         area without moving the cursor only the draw of the row.
10765         (workAreaMotionNotify): fix jumping over high rows.
10766
10767 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10770         Ressler.
10771
10772 2002-04-16  Juergen Vigna  <jug@sad.it>
10773
10774         * text2.C (setCursor): set also the irow().
10775         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10776         (cursorUp):
10777         (cursorDown): support for locking an inset if the x_fix value goes
10778         inside it. That way I can transverse insets too with cursor up/down.
10779
10780         * lyxrow.h: added irow helper function same as other (i) functions.
10781
10782         * BufferView_pimpl.C (cursorPrevious):
10783         (cursorNext): fixed for insets!
10784
10785 2002-04-15  Juergen Vigna  <jug@sad.it>
10786
10787         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10788         position otherwise it is wrong in some cases.
10789
10790         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10791         inside the inset before the call.
10792
10793 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10794
10795         * buffer.[Ch] (getBibkeyList): make it const.
10796
10797 2002-04-12  Juergen Vigna  <jug@sad.it>
10798
10799         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10800
10801         * text2.C (getCursorX): new helper function
10802         (setCursor): compute also ix_
10803         (setCursorFromCoordinates): set also ix.
10804
10805         * lyxcursor.h: added ix_ and helper functions.
10806
10807         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10808
10809         * buffer.C (insertStringAsLines): dont break paragraph if the this
10810         paragraph is inside an inset which does not permit it!
10811
10812         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10813         also with no chars on this paragraph.
10814         (paintRowText): only paint stuff if it's inside the workarea!
10815
10816         * paragraph.C (breakParagraph): honor keepempty flag and break the
10817         paragraph always below not above.
10818
10819         * BufferView2.C (unlockInset): update the paragraph layout on inset
10820         unlock as we changed paragraph in such a case.
10821
10822         * lyxfind.C (LyXFind): clear the former selection if not found!
10823
10824         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10825         again called in insertChar().
10826
10827         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10828         an inset which uses the whole row!
10829         (rightMargin): ditto.
10830         (insertChar): force a rebreak if we inserted an inset!
10831
10832 2002-03-28  Herbert Voss  <voss@lyx.org>
10833
10834         * lyxlength.[Ch]: add inBP() to get the right PS-point
10835         units (BigPoint). With inPixels we have rounding errors
10836
10837 2002-04-11  Juergen Vigna  <jug@sad.it>
10838
10839         * text2.C (setCursorFromCoordinates): set iy to the right value.
10840         (setCursor): add check if row->previous exists!
10841
10842         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10843         an old float_type as this was the case in the old code!
10844
10845         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10846
10847         * BufferView2.C (showLockedInsetCursor): use iy
10848         (fitLockedInsetCursor): ditto
10849
10850         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10851         locked insets as there we have the right value now.
10852
10853         * lyxcursor.C: added iy_ variable and iy functions to set to the
10854         baseline of cursor-y of the locked inset.
10855
10856         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10857         (setCursor): fixed for insets which need a full row.
10858
10859         * text.C (rowLastPrintable): don't ignore the last space when before
10860         an inset which needs a full row.
10861         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10862         as last character of a row when before a inset which needs a full row.
10863
10864 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * version.C.in: update date
10867
10868         * text2.C (fullRebreak): try to always return true and see what
10869         happens...
10870
10871 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * MenuBackend.C (expand): use Floating::listName
10874
10875         * FloatList.C (FloatList): add listName argument to the built-in
10876         floats
10877
10878         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10879         text associated with the float.
10880
10881 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10882
10883         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10884
10885 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * ShareContainer.h: add a couple of missing typenames.
10888
10889 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10890
10891         * lyxrc.C (getDescription): use _() correctly rather than N_().
10892
10893 2002-03-28  Herbert Voss  <voss@lyx.org>
10894
10895         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10896         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10897
10898 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10901         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10902
10903 2002-03-29  Juergen Vigna  <jug@sad.it>
10904
10905         * lyxfunc.C (dispatch): add a missing fitCursor call.
10906
10907         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10908         it was scrolled by a cursor move, so return the bool status.
10909
10910         * BufferView.C (fitCursor): return the bool flag also to the outside
10911         world as this is needed.
10912
10913         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10914
10915         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10916         call the edit() as it is not needed (and wrong) IMO.
10917         (workAreaButtonPress): set the screen_first variable before evt.
10918         unlock the inset as this may change screen_first and then we have
10919         a wrong y position for the click!
10920
10921 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10922
10923         * MenuBackend.C (expand): another translation that I missed
10924
10925 2002-03-28  Juergen Vigna  <jug@sad.it>
10926
10927         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10928
10929         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10930
10931 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10934
10935         * MenuBackend.C (expand): fix export/view/update when there is no
10936         document open.
10937
10938 2002-03-27  Herbert Voss  <voss@lyx.org>
10939
10940         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10941         and text%
10942
10943 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * bufferview_funcs.C (currentState): only show paragraph number
10946         for is DEVEL_VERSION is set.
10947
10948         * lyxfunc.C (dispatch): put warning in INFO channel
10949
10950         * MenuBackend.C (expand): translate the name of floats
10951
10952         * FloatList.C (FloatList): mark the float names for translation
10953
10954         * converter.C (convert): use LibScriptSearch
10955
10956 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * MenuBackend.C (defaults): fix default menu (we might as well get
10959         rid of it...)
10960
10961 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10962
10963         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10964         directory.
10965
10966 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * lyxvc.C: reorder includes.
10969
10970 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10973           properly
10974
10975 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * CutAndPaste.C: change layouts earlier on paste
10978           to avoid crashing when calling getFont()
10979
10980 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10983         irritating #error.
10984
10985 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * WorkArea.C: remove 'Pending' debug message.
10988
10989         * most files: ws cleanup
10990
10991         * buffer.[Ch]: ws changes
10992
10993         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10994
10995 2002-03-21  Juergen Vigna  <jug@sad.it>
10996
10997         * tabular.C (SetMultiColumn): collapse also the contents of the
10998         cells and set the last border right. Added a Buffer const * param.
10999
11000 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11001
11002         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11003         linking or not.
11004
11005 2002-03-19  Juergen Vigna  <jug@sad.it>
11006
11007         * text2.C (clearSelection): reset also xsel_cache.
11008
11009         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11010         where it needs to be called (John tells us to do so too :)
11011         (selectionLost): reset sel_cache.
11012
11013         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11014
11015 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * text2.C (setCursorIntern): put debuging code in INSETS channel
11018
11019 2002-03-19  André Pönitz <poenitz@gmx.net>
11020
11021         * lyxfunc.C: tiny whitespace change
11022
11023 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11024
11025         * ToolbarDefaults.C (init):
11026         * LyXAction.C (init):
11027         * commandtags.h:
11028         * BufferView_pimpl.C (Dispatch):
11029         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11030
11031 2002-03-19  Allan Rae  <rae@lyx.org>
11032
11033         * exporter.C (Export): removeAutoInsets before doing anything else.
11034         While I've just introduced a dependency on BufferView this really is
11035         the best place to clean the buffer otherwise you need to cleanup in
11036         a dozen places before calling export or cleanup in a dozen functions
11037         that export calls.
11038
11039         * converter.C (runLaTeX):
11040         (scanLog): Better handling of removeAutoInsets and screen updates.
11041
11042         * lyxfunc.C (dispatch): small whitespace changes
11043
11044 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * WorkArea.C (C_WorkAreaEvent): return a value.
11047         (event_cb): return 1 if we handled the event, 0 otherwise.
11048
11049         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11050
11051 2002-03-18  Juergen Vigna  <jug@sad.it>
11052
11053         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11054         (GetAdditionalWidth): ditto.
11055         (RightLine): ditto.
11056         (LeftLine): ditto.
11057
11058         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11059         inset if we're there actually (probably not used right now but this
11060         is the direction to go for unifying code).
11061         (paste): disable code to clear the selection.
11062
11063         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11064         inside an InsetText and move the check further up as it is in the
11065         wrong place.
11066
11067         * text2.C (pasteSelection): set a selection over the pasted text.
11068
11069 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11070
11071         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11072         and libgraphics to build on Cygwin.
11073
11074 2002-03-15  Juergen Vigna  <jug@sad.it>
11075
11076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11077         inserting an Inset into the paragraph. I know this is not the best
11078         fix but we already use current_view in CutAndPaste so we will remove
11079         all of it's using at the same time.
11080
11081         * buffer.C (sgmlError): deactivated function till it is rewritten in
11082         the right mode, now it can create problems.
11083
11084         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11085         before accessing it.
11086
11087 2002-03-14  Juergen Vigna  <jug@sad.it>
11088
11089         * undo_funcs.C (textHandleUndo): do the right thing when updating
11090         the inset after the undo/redo.
11091
11092         * text2.C (setCursor): just some testcode for #44 not ready yet.
11093
11094         * undo_funcs.C (textHandleUndo): set the next() and previous()
11095         pointers of the paragraph to 0 before deleting otherwise we have
11096         problems with the Paragraph::[destructor].
11097
11098         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11099         on a paragraph insertion.
11100
11101 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * buffer.C (asciiParagraph): use += operator for char append to
11104         string.
11105
11106         * paragraph.C (getFontSettings): compare >= not just >
11107         (highestFontInRange): ditto
11108         (setFont): ditto
11109
11110 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * paragraph.C: change several algorithm to be more appripriate for
11113         the problem domain. This is lookip in FontList and in the InsetList.
11114
11115 2002-03-13  André Pönitz <poenitz@gmx.net>
11116
11117         * commandtags.h:
11118         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11119
11120 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * commandtags.h:
11123         * LyXAction.C:
11124         * lyxfunc.C:
11125         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11126
11127 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11128
11129         * Painter.C (display): anon helper function, adjust code for this
11130         change.
11131         (pixmap): remove function.
11132
11133         * Painter.h: remove private display variable.
11134
11135         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11136
11137 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * WorkArea.[Ch]: remove figinset_canvas cruft.
11140
11141 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11142
11143         * lyxtextclass.C (operator): add one item cache optimization.
11144
11145         * bufferlist.h: doxy changes
11146
11147         * bufferlist.C: ws changes
11148
11149         * DepTable.[Ch] (ext_exist): place const in the right spot.
11150
11151         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11152         call resizeInsets.
11153         (workAreaExpose): call resizeInsets when the with BufferView changes.
11154         (Dispatch): adjust for protectedBlank removal
11155         (specialChar): call updateInset if the insert went ok.
11156
11157         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11158         specialChar instead.
11159
11160         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11161
11162         * BufferView.h: doxy change
11163
11164         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11165
11166         * lyxtextclass.C (operator[]): remove non-const version
11167         (defaultLayout): remove non-const version
11168
11169 2002-03-12  Juergen Vigna  <jug@sad.it>
11170
11171         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11172         did resize the LyXText too.
11173
11174         * buffer.C (readLyXformat2): set layout information on newly allocated
11175         paragraphs.
11176
11177         * tabular.C (OldFormatRead): set layout information on the paragraph.
11178
11179 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11180
11181         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11182
11183 2002-03-11  Juergen Vigna  <jug@sad.it>
11184
11185         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11186         plainly wrong.
11187         (resizeCurrentBuffer): force also the insets to resize themselfes.
11188         (moveCursorUpdate): fixed up for InsetText.
11189
11190 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * commandtags.h:
11193         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11194         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11195         value of Dialogs::tooltipsEnabled().
11196         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11197
11198 2002-03-08  Juergen Vigna  <jug@sad.it>
11199
11200         * BufferView_pimpl.C (updateInset): update inset inside inset also
11201         if it isn't inside theLockingInset().
11202
11203 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * buffer.C (asciiParagraph): redo some of the word and line length
11206         handling.
11207         (getLists): look for Caption instead of caption.
11208
11209 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11210
11211         * buffer.C (Buffer): initialize niceFile to true
11212         (makeLaTeXFile):
11213         (makeLinuxDocFile):
11214         (makeDocBookFile): make sure niceFile is true on exit
11215
11216 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11219
11220 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11221
11222         * LyXSendto.C: remove.
11223         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11224         * lyx_gui.C: remove now-redundant comment.
11225         * ColorHandler.h: remove forward declaration of class WorkArea.
11226         * lyxfunc.C: remove #include "WorkArea.h".
11227
11228 2002-03-07  Juergen Vigna  <jug@sad.it>
11229
11230         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11231         got moved away with the DEPM and also set the inset_owner always
11232         right which before could have been omitted.
11233
11234 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11235
11236         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11237         wanted layout is not found.
11238
11239 2002-03-07  Juergen Vigna  <jug@sad.it>
11240
11241         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11242
11243 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11244
11245         * paragraph.C (breakParagraph): use default layout not layout of
11246         prev paragraph.
11247         (Paragraph): clear ParagraphParameters.
11248
11249 2002-03-06  Juergen Vigna  <jug@sad.it>
11250
11251         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11252         otherwise it would not be a valid lenght. Fixed a special case in
11253         the minipage compatibility read where we end the document with a
11254         minipage.
11255
11256         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11257         was set as it could be 0 for InsetTexts first entry.
11258
11259 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11260
11261         * paragraph.C (writeFile): if layout is empty write out
11262         defaultLayoutName().
11263
11264         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11265         file without named layout we set layout to defaultLayoutName().
11266
11267 2002-03-06  Juergen Vigna  <jug@sad.it>
11268
11269         * CutAndPaste.C (copySelection): set layout for new paragraph.
11270
11271         * text.C (prepareToPrint): leave ERT inset left aligned
11272         (leftMargin): don't indent paragraphs inside ERT insets
11273
11274 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * paragraph.C (breakParagraph): dont call clear do the work manually
11277
11278         * paragraph.[Ch] (clear): remove function
11279
11280 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11281
11282         * paragraph.C (Paragraph): dont call clear, the work has already
11283         been done.
11284
11285         * lyxtextclass.C (operator): assert if n is empty
11286
11287         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11288         work manually instead.
11289
11290 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * BufferView_pimpl.C: protect selectionLost against text == 0
11293
11294 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * text.C (breakParagraph): fix a setting layout to '0' problem.
11297
11298 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11299
11300         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11301         final location of file, for the included files, and graphics.
11302
11303 2002-03-05  Juergen Vigna  <jug@sad.it>
11304
11305         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11306
11307 2002-03-04  Juergen Vigna  <jug@sad.it>
11308
11309         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11310
11311         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11312         last column of multicolumn cells.
11313         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11314
11315 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11316
11317         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11318         file if it doesn't go to a temporary file.
11319
11320         * buffer.C (sgmlOpenTag):
11321         (sgmlCloseTag):  remove extra newline insertion.
11322
11323 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11324
11325         * text.C (getRowNearY): comment out debug msg
11326
11327 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * text2.C: first -> first_y
11330
11331         * text.C (getRowNearY): add some attemts at a possible
11332         optimization, not working.
11333
11334         * tabular.[Ch]: add BufferParams to several function so that newly
11335         created paragraph can be initialized to he default layotu for the
11336         buffers textclass.
11337
11338         * tabular-old.C (ReadOld): add buf->params to call of Init
11339
11340         * screen.C: rename text->first to text->first_y
11341
11342         * paragraph.C (breakParagraph): always set layout in the broken
11343         paragraph
11344
11345         * lyxtextclass.C (Read): remove lowercase
11346         (hasLayout): ditto
11347         (operator): ditto
11348         (delete_layout): ditto
11349
11350         * lyxtext.h: rename first -> first_y
11351
11352         * lyxlayout.C (Read): remove lowercase
11353         (name): ditto
11354         (setName): ditto
11355         (obsoleted_by): ditto
11356
11357         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11358
11359         * buffer.C (insertErtContents): add params are to InsetERT
11360         (parseSingleLyXformat2Token): add code to check if a paragraphs
11361         layout really exist.
11362         (parseSingleLyXformat2Token): add params to several inset
11363         constructors
11364         (asciiParagraph): remove lowercase, do the layout comparisons with
11365         no_case
11366
11367         * BufferView_pimpl.C (cursorNext): first -> first_y
11368         (resizeCurrentBuffer): first -> first_y
11369         (updateScrollbar): first -> first_y
11370         (scrollCB): first -> first_y
11371         (workAreaMotionNotify): first -> first_y
11372         (workAreaButtonPress): first -> first_y
11373         (checkInsetHit): first -> first_y
11374         (cursorPrevious): first -> first_y
11375         (cursorNext): first -> first_y
11376         (Dispatch): add buffer_->params to severl inset contructors
11377
11378 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11379
11380         * lyxlayout.C (Read): remove some debug info that I forgot.
11381
11382         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11383         clean up the code slightly.
11384         (makeLinuxDocFile): ditto
11385         (makeDocBookFile): ditto
11386
11387         * text2.C: layout as string
11388
11389         * text.C: layout as string
11390
11391         * paragraph_pimpl.C: layout as string
11392
11393         * paragraph.[Ch]: layout as string
11394
11395         * lyxtextclasslist.[Ch]: layout as string
11396
11397         * lyxtextclass.[Ch]: layout as string
11398
11399         * lyxtext.h: layout as string
11400
11401         * lyxlayout.[Ch]: layout as string
11402
11403         * lyx_cb.C: layout as string
11404
11405         * bufferview_funcs.C: layout as string
11406
11407         * bufferparams.C: layout as string
11408
11409         * buffer.C: layout as string
11410
11411         * LyXView.[Ch]: layout as string
11412
11413         * LaTeXFeatures.[Ch]: layout as string
11414
11415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11416
11417         * BufferView_pimpl.C: change current_layout to string, remove
11418         lyx::layout_type.
11419         (Dispatch):
11420         (smartQuote):
11421         (insertInset):
11422         (workAreaButtonRelease): layout as string
11423
11424         * BufferView2.C (unlockInset): adjust
11425
11426         * vspace.C (asLatexCommand): use an explict temp variable.
11427
11428 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * Makefile.am: use FRONTEND_*
11431
11432 2002-03-01  Juergen Vigna  <jug@sad.it>
11433
11434         * tabular.C (SetWidthOfMulticolCell): changed to something better
11435         I hope but still work in progress.
11436         (recalculateMulticolumnsOfColumn): renamed function from
11437         recalculateMulticolCells as it is more appropriate now.
11438         (SetWidthOfCell): calculate multicols better.
11439
11440 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11441
11442         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11443
11444         * lyxfunc.C (processKeySym): print sequence also if it is
11445         `deleted' (complete)
11446
11447         * kbsequence.C (print): print sequence even if it is deleted
11448         (complete would be a better word, actually).
11449
11450         * lyxfunc.C (dispatch): print complete options after a prefix key
11451
11452         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11453
11454 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11455
11456         * text2.C (setCharFont): eliminate setCharFont code duplication.
11457
11458 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11461         LFUN_TABULAR_FEATURE (bug #177)
11462
11463 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11464
11465         * Makefile.am: remove figure.h
11466
11467 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11468
11469         * Bufferview_pimpl.C:
11470         * CutAndPasteC:
11471         * LaTeX.C:
11472         * LyXSendto.C:
11473         * buffer.C:
11474         * bufferlist.C:
11475         * converter.C:
11476         * language.C:
11477         * lyxfunc.C:
11478         * lyxvc.C:
11479         * paragraph.C:
11480         * text.C:
11481         * text2.C: remove #include "lyx_gui_misc.h".
11482
11483         * LaTeX.C: added #include <cstdio>
11484
11485 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11486
11487         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11488         that the paragraph following this one can have.
11489
11490         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11491
11492         * vspace.C (asLatexCommand): fix bogus gcc warning
11493
11494         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11495
11496 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11497
11498         * text2.C (setLayout): get rid of redundant code
11499
11500 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11501
11502         * text2.C (incDepth): make sure depth cannot be increased beyond
11503         reasonable values.
11504
11505 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11506
11507         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11508         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11509
11510         * PainterBase.h (image):
11511         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11512         a LyXImage const *.
11513
11514 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * BufferView.C:
11517         * BufferView.h:
11518         * BufferView_pimpl.C:
11519         * BufferView_pimpl.h:
11520         * LaTeXFeatures.C:
11521         * LyXAction.C:
11522         * LyXView.C:
11523         * Makefile.am:
11524         * UpdateList.h:
11525         * UpdateList.C:
11526         * buffer.C:
11527         * figure.h:
11528         * figureForm.C:
11529         * figureForm.h:
11530         * figure_form.C:
11531         * figure_form.h:
11532         * lyx_cb.C:
11533         * lyx_gui.C:
11534         * lyx_gui_misc.C:
11535         * lyxfunc.C:
11536         * sp_base.h:
11537         * sp_ispell.h:
11538         * sp_pspell.h:
11539         * sp_spell.C: remove fig inset, and the crap house of
11540           cards that follows it
11541
11542 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * Makefile.am:
11545         * lyxserver.C:
11546         * os2_defines.h:
11547         * os2_errortable.h:
11548         * nt_defines.h: move .h into support/
11549
11550         * vms_defines.h: remove
11551
11552         * WorkArea.C: add space in debug output
11553
11554         * text2.C:
11555         * paragraph.C:
11556         * buffer.C: add WITH_WARNINGS
11557
11558         * vc-backend.h:
11559         * vc-backend.C:
11560         * bufferlist.C: s/retrive/retrieve/, add docs
11561
11562         * vspace.h:
11563         * vspace.C:
11564         * kbmap.h:
11565         * lyxlength.h:
11566         * lyxgluelength.h:
11567         * length_common.h:
11568         * chset.h:
11569         * chset.C: add docs
11570
11571         * lyxgui.C: add ID to X error handler
11572
11573         * lyxtestclass.c: fix typo
11574
11575 2002-02-26  Juergen Vigna  <jug@sad.it>
11576
11577         * tabular_funcs.C (write_attribute): changed so that some default
11578         attributes are not written at all.
11579         (getTokenValue): set default values before trying to read the
11580         value so we have the return value always set as default if we don't
11581         find the token we search for.
11582
11583         * tabular.C (Write): write bools as bools not as strings!
11584
11585 2002-02-22  Juergen Vigna  <jug@sad.it>
11586
11587         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11588         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11589
11590         * text.C (leftMargin): don't add an indent for paragraphs inside
11591         tabular cells (fix #208).
11592
11593 2002-02-21  José Matos  <jamatos@fep.up.pt>
11594
11595         * tabular.C (docBook): fixed support for long tables.
11596
11597 2002-02-20  Juergen Vigna  <jug@sad.it>
11598
11599         * text2.C (getFont): get the drawing font of the Inset if this
11600         paragraph is inside an inset (only important for InsetERT for now).
11601
11602         * buffer.C (insertErtContents): use new lanugage params in ERT
11603         constructor.
11604
11605         * CutAndPaste.C: commenting out seemingly uneeded code.
11606
11607 2002-02-19  Allan Rae  <rae@lyx.org>
11608
11609         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11610         Iterators might be simple to use but they also get invalidated.
11611         (removeAutoInsets): renamed saved cursor tracking variables and added
11612         some comments to clarify what everything does.
11613
11614 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11615
11616         * Chktex.C:
11617         * LaTeX.C:
11618         * LyXSendto.C:
11619         * converter.C:
11620         * lyx_cb.C:
11621         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11622         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11623
11624         * lyxfunc.C:
11625         * vc-backend.h: remove #include "support/syscall.h"
11626
11627         * LaTeX.C:
11628         * LyXSendto.C:
11629         * converter.C: rearrange #includes in Lars' approved fashion.
11630
11631         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11632         forward declare class Timeout in the header file.
11633
11634         * XFormsView.C: changes due to the above.
11635
11636         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11637         similar to LyXView.
11638
11639         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11640         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11641
11642 2002-02-18  José Matos  <jamatos@fep.up.pt>
11643
11644         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11645         insets contents.
11646
11647 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11648
11649         * a lot of small ws changes
11650         * add a lot of using std::XXX
11651         * use std construcs some places where approp.
11652         * use some exisint stuff from lyxfunctional where approp.
11653         * Make file changes to use partial linking (lets test this now...)
11654
11655 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11656
11657         * Chktex.C:
11658         * buffer.C:
11659         remove #include "support/syscontr.h" as it's redundant. Always has been.
11660
11661         * Chktex.C:
11662         * LaTeX.C:
11663         * LyXSendto.C:
11664         * converter.C:
11665         * lyx_cb.C:
11666         * vc-backend.C:
11667         change Systemcalls::System to Systemcalls::Wait and
11668         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11669         No change of functionality, just reflects the stripped down Systemcalls
11670         class.
11671
11672 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11673
11674         * debug.[Ch]: add a GRAPHICS type to the enum.
11675
11676 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11679
11680         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11681         there is an inset.
11682
11683 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11686         match the changes below.
11687
11688         * text2.C (toggleInset): if there is not editable inset at cursor
11689         position, try to see if cursor is _inside_ a collapsable inset
11690         and close it.
11691
11692 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11693
11694         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11695         document menu has a nice checkbox
11696
11697 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11698
11699         * lyxlength.C (asLatexString): change PW to output as percent of
11700         \textwidth.
11701
11702         * lengthcommon.C: change '%' to 't%'
11703
11704         * lyxfunc.C (dispatch): a few comments from Martin
11705
11706 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * WorkArea.h:
11709         * WorkArea.C:
11710         * BufferView_pimpl.h:
11711         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11712           the X selection.
11713
11714 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11715
11716         * vspace.C (inPixels): fix compiler warning
11717
11718 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11719
11720         * lyxfunc.C (getStatus): fix status message for disabled commands.
11721
11722 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * BufferView_pimpl.C: fix crash on close buffer
11725         during selection (#227)
11726
11727 2002-01-27  Herbert Voss  <voss@lyx.org>
11728
11729         * buffer.C: link old Figure to new graphic inset
11730
11731 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11732
11733         * FontLoader.C (getFontinfo): Change the latex font names in order
11734         to match the names of type1inst.
11735
11736 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11739
11740         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11741         (extchanged): ditto
11742         (ext_exist): ditto
11743         (remove_files_with_extension): ditto
11744         (remove_file): ditto
11745         (write): ditto
11746
11747         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11748         document is smaller than the work area height. Do not initialize
11749         static variables to 0.
11750
11751 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11754
11755         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11756         LFUN_LAYOUT_PARAGRAPHS.
11757
11758         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11759         tabular. It is possible to provide a possible cell, which will
11760         typically be the actcell from the corresponding insettabular
11761
11762         * lyxfunc.C (getStatus): small cleanup; disable
11763         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11764         true
11765
11766 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11769
11770         * paragraph.C (startTeXParParams):
11771         (endTeXParParams): new methods. The LaTeX code to
11772         start/end paragraph formatting
11773         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11774         empty (fixes bug #200)
11775
11776         * vspace.C (inPixels): adapt to the change below
11777         (inPixels): [later] more cleanups (remove unused variables)
11778
11779         * lyxlength.C (inPixels): change to use a width and a height as
11780         parameter.
11781
11782 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11785         Replaced with \paperwidth
11786
11787         * DepTable.C (insert): add std:: qualifier
11788
11789 2002-01-18  Allan Rae  <rae@lyx.org>
11790
11791         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11792         updated also?
11793
11794         * text.C (drawInset): Turned out I didn't know enough about how
11795         rebreaking worked.  This fixes most of the redraw problems.  I see
11796         an occasional cursor trail when a line is broken now and the cursor
11797         placement can seem out by a few pixels also after a rebreak.
11798
11799 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * buffer.C (parseSingleLyXformat2Token): update because minipage
11802         width is now a LyXLength
11803
11804         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11805
11806         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11807         math insets
11808
11809 2002-01-17  Juergen Vigna  <jug@sad.it>
11810
11811         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11812
11813         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11814         is set correctly and the inset is updated correctly.
11815
11816 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11817
11818         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11819         the beginning of the loop.
11820
11821 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyxrc.C: improve help for use_scalable_fonts
11824
11825 2002-01-17  Allan Rae  <rae@lyx.org>
11826
11827         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11828
11829 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11830
11831         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11832         make sure to set their inset_owner to the right value (bug #171)
11833
11834 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11835
11836         * DepTable.h
11837         * DepTable.C: Implement mtime checking to reduce time spent doing
11838         CRCs.
11839
11840 2002-01-16  Juergen Vigna  <jug@sad.it>
11841
11842         * tabular.C (GetAdditionalHeight): one of error fixed.
11843
11844         * lyxrc.C (output): small fix in writing use_pspell.
11845
11846 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11847
11848         * sp_base.h: #include LString.h
11849
11850 2002-01-16  Allan Rae  <rae@lyx.org>
11851
11852         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11853         Can someone check this please?
11854
11855         * text.C (drawInset): It was possible that p.row would be removed by
11856         breakAgainOneRow upsetting a few other settings.  There may be another
11857         small tweak possible by setting need_break_row = 0 when p.row has been
11858         removed but I don't know enough about the logic here.
11859
11860 2002-01-15  Allan Rae  <rae@lyx.org>
11861
11862         * text.C (insertChar): removed conditional truism.
11863
11864         * BufferView2.C (removeAutoInsets): More tweaks.
11865         cur_par_prev could be a stray pointer.  Check for trailing empty line
11866         in case last line was cur_par and only had an error inset on it.
11867
11868 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11869
11870         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11871         absolute
11872
11873         * vc-backend.C (most methods):
11874         * exporter.C (Export):
11875         * converter.C (convert):
11876         (runLaTeX):
11877         * LyXSendto.C (SendtoApplyCB):
11878         * lyxfunc.C (dispatch):
11879         (menuNew):
11880         (open):
11881         (doImport):
11882         * lyx_cb.C (AutoSave):
11883         (InsertAsciiFile):
11884         * BufferView_pimpl.C (MenuInsertLyXFile):
11885         * buffer.C (runChktex): use Buffer::filePath().
11886
11887         * buffer.h: rename filename to filename_; rename filepath to
11888         filepath_ and make it private
11889         (filePath): new method
11890
11891         * buffer.C (writeFile): use fileName()
11892         (getLatexName):
11893
11894         * lyx_main.C (init): fix starting  of LyX when the binary is a
11895         link from so,ewhere else.
11896
11897         * minibuffer.C: include <cctype> for isprint
11898
11899 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11902         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11903         name clash with InsetCollapsable's width function.
11904
11905 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * lastfiles.C: include <iterator>
11908
11909 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11910
11911         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11912         std::count.
11913
11914         * buffer.C (makeLaTeXFile): ditto.
11915         Also make loop operation more transparent.
11916
11917 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11918
11919         * ToolbarDefaults.C: remove trailing comma closing namespace.
11920
11921         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11922
11923         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11924         as in WorkArea.
11925
11926         * trans.C (Load): comment out unused variable, allowed.
11927
11928 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11929
11930         * minibuffer.[Ch] (append_char): new method to recieve input from the
11931         drop-down completion browser. If a key was pressed, then recieve this
11932         char and append it to the existing string.
11933         (peek_event): modify the positioning data passed to the completion
11934         browser so that it can be placed above the minibuffer rather than below.
11935 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * LyXAction.C (init): alloe error-next for readonly documents.
11938
11939         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11940         count.
11941
11942 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * bufferlist.C (readFile): create the buffer _after_ checking that
11945         the file exists.
11946
11947         * lyxfunc.C (verboseDispatch): fix handling of arguments
11948
11949         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11950
11951         * lyxrc.C: use string::erase() instead of initializing to "".
11952
11953
11954 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * BufferView_pimpl.h:
11957         * BufferView_pimpl.C:
11958         * WorkArea.h:
11959         * WorkArea.C:
11960         * text2.C: tell X when we have made a selection for copying
11961
11962 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * BufferView_pimpl.C (MenuInsertLyXFile):
11965         * lyxfunc.C (menuNew):
11966         (open):
11967         (doImport): add shortcuts to directory buttons
11968
11969         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11970         open a float)
11971
11972         * lyxfunc.C (setStatusMessage):
11973         (getStatusMessage): new methods
11974         (getStatus):use setStatusMessage instead of setErrorMessage
11975         (dispatch): when function is disabled, set error message here
11976         [instead of in getStatus previously]
11977
11978         * BufferView_pimpl.C (workAreaButtonRelease): update
11979         toolbar/menubar here too.
11980
11981 2002-01-13  Allan Rae  <rae@lyx.org>
11982
11983         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11984         Now seems indestructible.  Remaining task is to audit all other
11985         code affected by deleteEmptyParagraphMechanism.  One small quirk
11986         left is that an empty document with an error in the preamble can
11987         be made to report an error but no error box appears.  I don't know
11988         where it goes.
11989         (removeAutoInsets): Improved comments.
11990
11991 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * Thesaurus.h:
11994         * Thesaurus.C: update for Aiksaurus 0.14
11995
11996 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * text2.C (firstParagraph): removed member function, all uses
11999         replaces with ownerParagraph
12000         (redoParagraphs): here
12001         (updateInset): here
12002         (toggleAppendix): here
12003         * BufferView2.C (insertErrors): here
12004         (setCursorFromRow): here
12005
12006 2002-01-13  Allan Rae  <rae@lyx.org>
12007
12008         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12009         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12010         There is still a way to segfault this although you may have to do this
12011         multiple times: Have an InsetERT with an unknown command in it.
12012         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12013         <down-arrow>, <Enter> again, View->DVI, BANG!
12014
12015         * text2.C (setCursor):
12016         (deleteEmptyParagraphMechanism):
12017         * lyxtext.h (setCursor):
12018         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12019         Making use of the return value may help fix other bugs.
12020
12021 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12024
12025         * LyXView.C (updateMenubar): call MenuBar::update here
12026         (updateToolbar): but not here
12027         (showState): do not update toolbar/menubar
12028
12029         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12030         should need to care about that.
12031
12032         * lyxfunc.C (verboseDispatch): simplify a bit
12033         (getStatus): have a version which takes a pseudoaction, and
12034         another which requires a (kb_action,string).
12035
12036         * LyXAction.C (retrieveActionArg): make it work also when action
12037         is not a pseudo-action.
12038         (getActionName): simplify a bit
12039         (helpText):
12040
12041 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12042
12043         * lyxfunc.C (verboseDispatch): new families of methods with
12044         several ways to specify a command and a bool to indicate whether
12045         the command name and shortcut should be displayed in minibuffer
12046         (eventually, we could extend that to a finer bitmask like
12047         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12048         (dispatch): the pristine dispatch command which just, well,
12049         dispatchs! Note it still sets its result to minibuffer; I'm not
12050         sure we want that.
12051
12052         * lyxfunc.h: remove setHintMessage
12053
12054         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12055
12056 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12057
12058         * BufferView_pimpl.C (specialChar): delete new inset if we have
12059         not been able to insert it.
12060
12061         * kbmap.C: revert to using int instead of kb_action, since all we
12062         are dealing with is pseudo-actions.
12063
12064         * LyXAction.C (searchActionArg): change to return int instead of
12065         kb_action, since the result is a pseudoaction.
12066
12067 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12068
12069         * buffer.C (insertErtContents): Fix (partially) the font bug.
12070
12071 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12074         as the other one is broken on my machine!
12075
12076 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12077
12078         * commandtags.h:
12079         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12080
12081 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12082
12083         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12084         reflect their actual use. Provide compatibility code for older lyxrc
12085         files.
12086
12087         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12088         FL_NORMAL_STYLE.
12089         change names of popup font variables in line with the changes to lyxrc.C
12090
12091 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12092
12093         * buffer.C (asciiParagraph): avoid outputing a word twice after
12094         an inset.
12095
12096         * lyxrc.C (getDescription): document that document_path and
12097         template_path can be empty.
12098
12099 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12100
12101         * LaTeXFeatures.C (getMacros):
12102         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12103
12104         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12105
12106         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12107         getPackages.
12108         (getPackages): rename feature "floats" to "float". Use an array to
12109         iterate over 'simple' features (i.e. just a \usepackage). Add
12110         handling of "amsmath" (renamed from "amsstyle").
12111
12112 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12113
12114         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12115         features list.
12116
12117 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12120         FuncStaus::FuncStatus & FuncStaus::some_method().
12121
12122 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12123
12124         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12125         of the func_satus stuff. Edited and massaged in various ways by
12126         JMarc.
12127
12128         * lyxfunc.C (getStatus): use FuncStatus
12129
12130 2002-01-08  Juergen Vigna  <jug@sad.it>
12131
12132         * text.C (nextBreakPoint): use function Inset::isChar().
12133
12134         * paragraph.C (TeXOnePar): use function
12135         Inset::forceDefaultParagraphs.
12136
12137         * buffer.C (latexParagraphs): use function
12138         Inset::forceDefaultParagraphs.
12139
12140 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12141
12142         * lyx_gui.C (init): set the style of the menu popups to
12143         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12144
12145 2002-01-07  Juergen Vigna  <jug@sad.it>
12146
12147         * text.C (setHeightOfRow): small fix
12148         (prepareToPrint): don't look at alignment if we don't have the place
12149         for doing it.
12150
12151 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12152
12153         * box.C: New file. Move the Box methods and functions out of box.h,
12154         following Lars' suggestion.
12155
12156 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12157
12158         * box.h: #include "support/LOstream.h", needed for inlined function.
12159
12160         * lyxtextclass.C:
12161         * lyxtextclasslist.C: added some using std declarations.
12162
12163 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * box.h: make signed dimensions to allow insets wider than
12166           the screen (bug #162)
12167
12168         * BufferView_pimpl.C: add some insetHit debug
12169
12170 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * vc-backend.C: add FIXME
12173
12174 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12175
12176         * lyxfunc.C (getStatus): enable code for showing math font status
12177         in toolbar/menu.
12178
12179 2002-01-07  Juergen Vigna  <jug@sad.it>
12180
12181         * text.C (nextBreakPoint): removed debug output not needed anymore.
12182
12183 2002-01-06  Juergen Vigna  <jug@sad.it>
12184
12185         * text.C (nextBreakPoint): fixed up this function we had this bug
12186         since ever but now hopefully we break row better.
12187         (insertChar): we have to check if an inset is the next char as it
12188         could now happen that a large inset is causing a break.
12189
12190 2002-01-05  Juergen Vigna  <jug@sad.it>
12191
12192         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12193         if it doesn't like to be drawed.
12194
12195 2002-01-04  Juergen Vigna  <jug@sad.it>
12196
12197         * BufferView2.C (lockInset): forgot to set a cursor.
12198
12199         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12200
12201 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12202
12203         * FormMathsPanel.C:
12204         * FormMathsPanel.h
12205         * MathsSymbols.C:
12206         * form_maths_panel.C:
12207         * form_maths_panel.h:
12208         * form_maths_panel.fd: implemented sub- and super- buttons in math
12209         panel.
12210
12211         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12212         (or ^ space) to be used as in TeX (req'd by André).
12213
12214         * lyxfunc.C: Allow ^ and _ again to be used both as
12215         super/subscript (mathed) and as themselves (in text).
12216
12217 2002-01-03  Allan Rae  <rae@lyx.org>
12218
12219         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12220         "LyX" or the filename of the current buffer if it has one.  This is a
12221         modified form of John Levon's patch.
12222
12223         * XFormsView.C (setWindowTitle): also set icon title.
12224
12225         * LyXView.h (setWindowTitle): signature changed.
12226         * XFormsView.h (setWindowTitle): ditto.
12227
12228 2002-01-02  Juergen Vigna  <jug@sad.it>
12229
12230         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12231
12232 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * screen.C (topCursorVisible): introduce a temp var for
12235         text->cursor.row(), handle the case where this row is null. (kindo
12236         hachish)
12237
12238         * text2.C (setCursor): add a couple of asserts.
12239
12240         * paragraph.h (inset_iterator): add -> operator
12241
12242         * paragraph.[Ch] (autoDeleteInsets): remove member function
12243
12244         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12245         cursor pos correctly and handle inset deletion by itself.
12246         (insertErrors): move iterator declaration out of for expression
12247
12248         * lyxtextclass.C: add <algorithm>
12249
12250         * Makefile.am: added the new files to sources, removed layout.C
12251
12252         * layout.C: removed file
12253
12254         * layout.h: remove LYX_DUMMY_LAYOUT
12255
12256         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12257         layout.
12258
12259         * lyxlayout.[Ch]:
12260         * lyxtextclass.[Ch]:
12261         * lyxtextclasslist.[Ch]: new files
12262
12263         * include order changes to a lot of files, also changes because of
12264         the six new files.
12265
12266 2001-12-27  Juergen Vigna  <jug@sad.it>
12267
12268         * buffer.C (asciiParagraph): more fixes.
12269
12270         * tabular.C (ascii): make ascii export support export of only the
12271         data separated by a column-delimiter.
12272         (ascii): better support for ascii export.
12273
12274         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12275
12276 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12277
12278         * tabular_funcs.C: use a "using std::getline" instead of the
12279         previous fix from Angus (necessary for cxx + lyxstring)
12280
12281 2001-12-24  Juergen Vigna  <jug@sad.it>
12282
12283         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12284
12285         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12286         problems. First check a minipage also if we have some ert-contents
12287         (not only on par->size(), second set the right depth of the paragraph
12288         on the relink to the root-paragraph-list!
12289
12290         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12291         which then did not anymore update the main paragraphs on undo/redo!
12292
12293 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12294
12295         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12296         code. Support all font-changing funcs (even those which are not in
12297         menu currently). Support for reporting font settings in
12298         mathed (disabled until Andre provides a function on mathed's side).
12299
12300         * func_status.h (toggle): small helper function to set toggle
12301         state on a flag.
12302
12303 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12304
12305         * tabular_funcs.C: getline -> std::getline
12306
12307 2001-12-21  Juergen Vigna  <jug@sad.it>
12308
12309         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12310         accessed and could be 0 (I couldn't generate this but it seems
12311         Michael could!).
12312
12313 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12314
12315         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12316         * tabular_funcs.h: here and include iosfwd
12317
12318 2001-12-20  Juergen Vigna  <jug@sad.it>
12319
12320         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12321         inside inset but undo_par was.
12322
12323 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12324
12325         * Thesaurus.C: always include <config.h> in sources.
12326
12327         * Painter.h:
12328         * lyxlookup.h:
12329         * box.h: do not include <config.h> in header files
12330
12331         * text.C (paintLastRow): remove unused variable
12332
12333         * text.C (transformChar):
12334         (insertChar):
12335         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12336
12337         * Painter.C (text):
12338         * font.C (width): rewrite to use uppercase() instead of
12339         islower/toupper.
12340
12341         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12342
12343 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12344
12345         * lyxfind.C: clean up of find failure position change
12346
12347 2001-12-20  Juergen Vigna  <jug@sad.it>
12348
12349         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12350
12351         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12352         (TeXRow): added to LaTeX a single tabular row.
12353         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12354         (Latex): simplified and finally good LT-h/f support.
12355         (various_functions): just small adaptions for LT-h/f support.
12356
12357         * tabular_funcs.[hC]: added and moved here all not classfunctions
12358         of LyXTabular.
12359
12360 2001-12-19  Juergen Vigna  <jug@sad.it>
12361
12362         * tabular.[Ch]: better support for longtabular options (not finished
12363         yet!)
12364
12365 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * text.C (paintLastRow): use the label font instead of the font of
12368         the last character to compute the size of *_BOX. This makes more
12369         sense and avoids a crash with empty paragraphs.
12370         Use Painter::rectangle to draw EMPTY_BOX.
12371
12372 2001-12-19  Juergen Vigna  <jug@sad.it>
12373
12374         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12375         the paragraphs if the replaced paragraph is not the first one!
12376         Tried to delete not used paragraphs but does not work yet so for
12377         now it's inside #ifdef's and by default off!
12378
12379 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * MenuBackend.C: include "lyx_main.h" instead of declaring
12382         lastfiles (actually was declared as LastFiles* instead of a
12383         scoped_ptr).
12384
12385 2001-12-17  Juergen Vigna  <jug@sad.it>
12386
12387         * tabular.C (AppendColumn): applied John's fix
12388
12389 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * BufferView.h:
12392         * BufferView.C:
12393         * BufferView_pimpl.h:
12394         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12395
12396         * Makefile.am:
12397         * box.h: new start of class for above
12398
12399         * lyxfunc.C: ignore space-only minibuffer dispatches.
12400           Show the command name when it doesn't exist
12401
12402         * minibuffer.C: don't add empty lines to the history
12403
12404         * minibuffer.C: add a space on dropdown completion
12405
12406 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * text.C: fix line above/below drawing in insets
12409
12410 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * lyxlength.C (LyXLength): Initialize private variables.
12413
12414 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12415
12416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12417         when inserting error insets.
12418
12419 2001-12-13  Juergen Vigna  <jug@sad.it>
12420
12421         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12422         actually sometimes the before-paragraph.
12423         (setUndo): don't clear the redostack if we're not actually undoing!
12424
12425 2001-12-06  Juergen Vigna  <jug@sad.it>
12426
12427         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12428         and fixed redoing of main paragraph, so we can use it now ;)
12429
12430         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12431
12432 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12433
12434         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12435         Juergen's request
12436
12437 2001-12-13  André Pönitz <poenitz@gmx.net>
12438
12439         * undostack.[Ch]:
12440         * undo_func.C: minor cleanup
12441
12442 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12445         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12446         font in urw-fonts package which is marked as -urw-fontspecific and
12447         does not work (incidentally, changing the encoding in the
12448         fonts.dir of this package to -adobe-fontspecific fixes the
12449         problem).
12450
12451         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12452         is a crash when undoing first paragraph (Juergen, please take a
12453         look). THis does not mean the undo fix is wrong, just that it
12454         uncovers problems.
12455
12456         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12457         the (Paragraph*) version when needed instead of duplicating the
12458         code.
12459
12460         * text.C (workWidth): use Inset::parOwner to find out where the
12461         inset has been inserted. This is a huge performance gain for large
12462         documents with lots of insets. If Inset::parOwner is not set, fall
12463         back on the brute force method
12464
12465         * paragraph_pimpl.C (insertInset):
12466         * paragraph.C (Paragraph):
12467         (cutIntoMinibuffer): set parOwner of insets when
12468         inserting/removing them
12469
12470         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12471
12472 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12473
12474         * commandtags.h:
12475         * LyXAction.C:
12476         * lyx_main.C:
12477         * lyxfunc.C:
12478         * mathed/formulabase.C:
12479         * mathed/math_cursor.[Ch]:
12480         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12481
12482
12483 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * lyxlength.[Ch] (operator!=): new function
12486
12487 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12488
12489         * text.C (workWidth): use Inset::parOwner to find out where the
12490         inset has been inserted. This is a huge performance gain for large
12491         documents with lots of insets. If Inset::parOwner is not set, fall
12492         back on the brute force method
12493
12494         * paragraph_pimpl.C (insertInset):
12495         * paragraph.C (Paragraph):
12496         (cutIntoMinibuffer): set parOwner of insets when
12497         inserting/removing them
12498
12499         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12500
12501 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12502
12503         * tabular-old.C (getTokenValue):
12504         * tabular.C (getTokenValue):
12505         (write_attribute): new versions for LyXLength
12506         (everywhere): adjust the use of widths
12507
12508         * tabular.h: change the type of widths from string to LyXLength
12509
12510 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12511
12512         * paragraph.C: fixed missing line number count when exporting
12513         Environments to LaTeX file
12514
12515         * buffer.C: added informational message for checking line numbers.
12516
12517 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12518
12519         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12520         paragraph, do the 'double space' part, but not the 'empty
12521         paragraph' one.
12522
12523         * text.C (workWidth): small optimization
12524         (getLengthMarkerHeight): use minimal size for negative lengths.
12525
12526 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12527
12528         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12529
12530         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12531
12532 2001-12-11  André Pönitz <poenitz@gmx.net>
12533
12534         * FontLoader.C:
12535         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12536
12537 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12538
12539         * text2.C: keep selection on a setFont()
12540
12541 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * lyx_cb.C: another bv->text misuse, from insert label
12544
12545 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * kbsequence.h:
12548         * kbsequence.C: re-instate nmodifier mask
12549
12550 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * lyx_main.h: make lyxGUI private.
12553
12554 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * lyxfind.C: place the cursor correctly on failed search
12557
12558 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * text.C (getLengthMarkerHeight): for small heights, the arrows
12561         are not always on top/bottom of the text
12562         (drawLengthMarker): smaller arrows; take the left margin in
12563         account; draw also vfills.
12564         (paintFirstRow):
12565         (paintLastRow): remove special code for vfill and standard spaces,
12566         since everything is handled in drawLengthMarker now.
12567
12568 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * buffer.C (insertErtContents): try to handle font and language
12571         interaction a bit better.g
12572
12573         * ColorHandler.C (updateColor): change the hash to cover the whole
12574         LColor enum, ws cleanup
12575         (getGCLinepars): ditto
12576         (getGCLinepars): only lookup in the linecache once.
12577
12578 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12579
12580         * iterators.C (operator++): Make the iterator more robust
12581
12582         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12583         (John's patch)
12584         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12585
12586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * lyxtext.h:
12589         * text.C: better added space drawing
12590
12591 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12592
12593         * LyXView.C:
12594         * BufferView2.C: fix layout combo update on inset unlock
12595
12596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * Makefile.am: don't compile unused files
12599
12600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * lyxfunc.C:
12603         * commandtags.h:
12604         * LyXAction.C: remove old LFUN_LAYOUTNO
12605
12606 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * paragraph_pimpl.h:
12609         * paragraph_pimpl.C: isTextAt() doesn't need font param
12610
12611 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * lyxlex.h:
12614         * lyxlex.C: little cleanup
12615
12616 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * BufferView_pimpl.C: fix insertAscii for insets
12619
12620 2001-12-05  Juergen Vigna  <jug@sad.it>
12621
12622         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12623         set the right font on the "multi" paragraph paste!
12624
12625 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * trans_decl.h:
12628         * trans_mgr.[Ch]:
12629         * trans.[Ch]:
12630         * lyxgluelength.C:
12631         * lyxlength.C: remove out-commented code.
12632
12633         * BufferView_pimpl:
12634         * CutAndPaste.C:
12635         * DepTable.C:
12636         * buffer.C:
12637         * chset.C:
12638         * lastfiles.C:
12639         * lyxlex.C:
12640         * lyxlex_pimpl.C:
12641         * lyxserver.C:
12642         * screen.C:
12643         * tabular-old.C:
12644         * tabular.C:
12645         * text.C:
12646         * trans_mgr.C:
12647         * vc-backend.C: change "while(" to "while ("
12648
12649         * lyxlength.[Ch]: add zero function to check if length is zero or
12650         not
12651         * lyxgluelength.C: use it
12652
12653 2001-12-05  Allan Rae  <rae@lyx.org>
12654
12655         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12656         Works for 2.95.3, from what I understand of Garst's reports this should
12657         work for other g++ versions.  We're screwed if the abs(int) definition
12658         changed between bugfix releases of gcc.
12659
12660 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * text.C: fix chapter label offset !
12663
12664 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12665
12666         * lyxtext.h:
12667         * text.C: fix hfill at end of line, clean up
12668
12669 2001-12-04  Juergen Vigna  <jug@sad.it>
12670
12671         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12672         that we force an update of the inset and it's owners if neccessary.
12673
12674 2001-12-03  Juergen Vigna  <jug@sad.it>
12675
12676         * text.C (rowLast): simplified code
12677
12678 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * lyxfunc.C: fix show options on timeout
12681
12682 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * screen.C (topCursorVisible): scroll half a page when the cursor
12685         reached top of bottom of screen
12686
12687 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * minibuffer.C: deactivate on loss of focus
12690
12691 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * vspace.[Ch] (operator!=): add operator.
12694
12695 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * BufferView_pimpl.C: refuse to open an inset when
12698         there's a selection.
12699
12700 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * BufferView_pimpl.C: allow to click on RHS of full row insets
12703
12704 2001-11-30  Juergen Vigna  <jug@sad.it>
12705
12706         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12707         insets for undo reasons.
12708
12709 2001-11-28  André Pönitz <poenitz@gmx.net>
12710
12711         * vspace.[Ch]: cosmetical changes
12712
12713 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * LyXAction.h:
12716         * LyXAction.C:
12717         * lyxfunc.h:
12718         * lyxfunc.C:
12719         * kbmap.h:
12720         * kbmap.C:
12721         * lyxrc.C:
12722         * kbsequence.h:
12723         * kbsequence.C: part re-write of old kb code
12724
12725         * Painter.C:
12726         * WorkArea.C: remove Lgb_bug_find_hack
12727
12728 2001-11-30  José Matos <jamatos@fep.up.pt>
12729
12730         * buffer.C (makeDocBookFile): add a comment to point a hack.
12731         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12732         Fixed a double write of labels.
12733
12734 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12735
12736         * LaTeX.C:
12737         * LaTeX.h Fixed bug in LaTeX class where it would not
12738         re-run latex if no depfiles were changed, but the .dvi was removed.
12739
12740 2001-11-28  André Pönitz <poenitz@gmx.net>
12741
12742         * all the files from the change on 2001/11/26:
12743         use lyx::layout_type instead of LyXTextClass::size_type
12744         use lyx::textclass_type instead of LyXTextClassList::size_type
12745
12746 2001-11-29  Juergen Vigna  <jug@sad.it>
12747
12748         * text.C: added support for paragraph::isFreeSpacing()
12749
12750         * buffer.C: same as above
12751
12752         * paragraph.h: inserted isFreeSpacing() function to enable
12753         FreeSpacing inside InsetERT.
12754
12755         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12756         of the paragraph's in the cut/copy buffer to 0!
12757
12758         * text2.C (removeRow): remove the assert as it can!
12759
12760         * lyxtext.h: added helper function firstRow returning firstrow and
12761         made firstrow private again.
12762
12763         * BufferView2.C (lockInset): don't relock if we're already locked!
12764
12765         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12766         the only paragraph.
12767         (removeRow): added Assert::(firstrow)
12768
12769         * debug.C: forgot to add INSETTEXT here.
12770
12771 2001-11-28  Juergen Vigna  <jug@sad.it>
12772
12773         * sp_spell.C (initialize): changed error text to more general
12774         spellchecker command use (not only ispell!)
12775
12776         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12777
12778         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12779
12780 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * vspace.C: initialise lyxgluelength on failure
12783
12784 2001-11-28  Allan Rae  <rae@lyx.org>
12785
12786         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12787         declaration & definition that looks like a function declaration.
12788
12789 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12790
12791         * BufferView2.C (copy):
12792         (copyEnvironment): do not clear the selection when doing a copy.
12793
12794         * text.C (paintFirstRow): compilation fix
12795
12796 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12797
12798         * tabular.C (Latex): correct line count when writing latex.
12799
12800 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * paragraph_pimpl.h:
12803         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12804           bug a bit
12805
12806 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * text.C:
12809         * LColor.h:
12810         * LColor.C: change vfillline->added_space
12811
12812         * text.C: add markers and text for added space
12813
12814         * vspace.C: fix comment
12815
12816 2001-11-28  André Pönitz <poenitz@gmx.net>
12817
12818         * paragraph.C: whitespace changes
12819         * all the other files from the change on 2001/11/26:
12820         change *::pos_type into lyx::pos_type
12821
12822 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12825         language of the document when inserting error insets.
12826
12827 2001-11-26  André Pönitz <poenitz@gmx.net>
12828
12829         * BufferView_pimpl.[Ch]:
12830         *       CutAndPaste.C:
12831         * buffer.[Ch]:
12832         * lyxcursor.[Ch]:
12833         * lyxfind.C:
12834         * lyxfunc.C:
12835         * lyxrow.[Ch]:
12836         * paragraph.[Ch]:
12837         * paragraph_pimpl.[Ch]:
12838         * sp_spell.C:
12839         * text.C:
12840         * text2.C: reduce header dependencies, introduce type for positions
12841
12842 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * <various>: change to use Alert.h
12845
12846 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12847
12848         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12849         when encountering an unknown token.
12850         (readLyXformat2): Show an error message if there were unknown tokens.
12851
12852 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * BufferView2.C:
12855         * BufferView_pimpl.C:
12856         * buffer.C:
12857         * paragraph.h:
12858         * text.C:
12859         * text2.C: use par->isInset()
12860
12861 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * paragraph_pimpl.h:
12864         * paragraph_pimpl.C: cleanup
12865
12866 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * text2.C (removeRow):
12869         * text.C (setHeightOfRow): remove useless (and costly) call to
12870         getRow.
12871
12872 2001-11-20  Allan Rae  <rae@lyx.org>
12873
12874         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12875         Now need Inset*::checkInsertChar() to return true for appropriate
12876         cases so that the characters in the minibuffer will actually be
12877         inserted.
12878
12879 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * text.C: change the order of the includes.
12882         (workWidth): initialize it at once.
12883         (workWidth): make maxw unsigned
12884         (setHeightOfRow): remove unused variable (inset)
12885         (selectSelectedWord): remove unused variable (inset)
12886         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12887
12888 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12889
12890         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12891         server is not running.
12892         (openConnection):
12893         (closeConnection): add debug info when server is disabled.
12894
12895         * ColorHandler.C (getGCForeground): send debug message to GUI
12896         channel.
12897
12898         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12899
12900         * kbmap.C (bind): modify because return conventions of
12901         kb_sequence::parse have changed.
12902
12903         * kbsequence.C (parse): only ignore spaces and not any stupid
12904         control character. This avoids tests like s[i] <= ' ', which are
12905         guaranteed to fail with 8bit characters and signed chars.
12906         Change return code to string::npos when there have been no error
12907         (0 was a bad idea when error is at first character)
12908
12909 2001-11-14  José Matos  <jamatos@fep.up.pt>
12910
12911         * buffer.h:
12912         * buffer.C (simpleDocBookOnePar): removed unused argument.
12913
12914 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12917         insets which are part of a word. Paragraph::isLetter takes care of
12918         that now. Use Paragraph::isInset to identify insets.
12919         (selectSelectedWord): do not test for hyphenation break.
12920
12921         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12922         that protected spaces are considered as spaces.
12923
12924         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12925         Inset::isLetter.
12926
12927 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * lyxserver.h:
12930         * lyxserver.C: fix it. and small cleanup.
12931
12932 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * BufferView_pimpl.C: use inline helpers
12935
12936         * LaTeXFeatures.h:
12937         * LaTeXFeatures.C: fix typos
12938
12939         * Spacing.h:
12940         * Spacing.C: move spacing_string into class
12941
12942         * ToolbarDefaults.C: move stuff into namespace anon
12943
12944         * layout.h: update enum
12945
12946         * lyxfunc.C: use better debug
12947
12948         * minibuffer.h: fix typo
12949
12950         * debug.h:
12951         * debug.C:
12952         * WorkArea.C: add and use Debug::WORKAREA
12953
12954         * lyxtext.h:
12955         * text.C:
12956         * text2.C: code re-organisation, inline helpers
12957
12958 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12959
12960         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12961         std::vector.empty().
12962
12963 2001-11-09  Allan Rae  <rae@lyx.org>
12964
12965         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12966         '\n's after tables.  Tabular and ERT inset work now makes this no
12967         longer necessary.
12968
12969 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * minibuffer.h:
12972         * minibuffer.C: fix crash, improve drop-down completion
12973
12974 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * lyxserver.h:
12977         * lyxserver.C: invalidate fd's when doing endPipe()
12978
12979 2001-11-08  José Matos  <jamatos@fep.up.pt>
12980
12981         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12982         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12983
12984         * paragraph.h:
12985         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12986
12987 2001-11-07  José Matos  <jamatos@fep.up.pt>
12988
12989         * buffer.h:
12990         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12991         const qualifier.
12992
12993         * buffer.C (sgmlOpenTag):
12994         * buffer.C (sgmlCloseTag): removed debug info.
12995
12996         * buffer.h (sgmlOpenTag):
12997         * buffer.h (sgmlCloseTag): made public.
12998
12999 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * buffer.C (saveParamsAsDefaults):
13002         * lyx_cb.C (MenuLayoutSave): remove
13003
13004         * LyXAction.C (init):
13005         * commandtags.h:
13006         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13007
13008 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * buffer.C (setPaperStuff): removed from here...
13011
13012         * bufferparams.C (setPaperStuff): ... and moved there.
13013
13014 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * minibuffer.h:
13017         * minibuffer.C:
13018         * XFormsView.C: add support for drop-down completion
13019
13020 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13021
13022         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13023         commands.
13024
13025 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13026
13027         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13028         disabled.
13029
13030 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13031
13032         * lyx_main.C: change ref to known bugs
13033
13034 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13035
13036         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13037         to work around older babel problems.
13038
13039 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13040
13041         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13042
13043 2001-10-24  Juergen Vigna  <jug@sad.it>
13044
13045         * tabular-old.C (ReadOld): below variable changes reflected.
13046
13047         * tabular.[Ch]: added ltType struct for longtable header/footer
13048         defines and changed all instances where they are used. Added
13049         future support for double top/bottom rows.
13050
13051 2001-10-24  José Matos  <jamatos@fep.up.pt>
13052
13053         * buffer.h (docbookHandleCaption):
13054         * buffer.C (docbookHandleCaption): removed unused function.
13055         (makeDocBookFile): moved docbook supported version to v4.1.
13056
13057 2001-10-24  José Matos  <jamatos@fep.up.pt>
13058
13059         * tabular.h:
13060         * tabular.C (docbookRow): new function to export docbook code of a row.
13061         (DocBook): now honors the longtable flags.
13062
13063 2001-10-23  José Matos  <jamatos@fep.up.pt>
13064
13065         * LaTeXFeatures.h:
13066         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13067         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13068
13069         * buffer.C (makeLinuxDocFile):
13070         (makeDocBookFile): reworked the preamble, more clean, and with
13071         support for lyx defined entities. Changed the document declaration
13072         to be more XML friendly.
13073
13074         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13075         if we need to output XML that should be done with a filter.
13076
13077 2001-10-22  Juergen Vigna  <jug@sad.it>
13078
13079         * sp_pspell.h (class PSpell): add alive function needed in the
13080         controller to see if the spellchecker could be started.
13081
13082 2001-10-22  Juergen Vigna  <jug@sad.it>
13083
13084         * buffer.C (insertStringAsLines): modify the font for inserting
13085         chars in certain conditions by calling checkInsertChar(font).
13086
13087 2001-10-19  Juergen Vigna  <jug@sad.it>
13088
13089         * text.C (workWidth): use getRow instead of wrong algorithm.
13090         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13091
13092 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * lyxserver.h:
13095         * lyxserver.C:
13096         * lyx_main.h:
13097         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13098
13099 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * text.C (workWidth): do not search for the exact row when
13102         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13103         optimization for big documents.
13104
13105 2001-10-18  Juergen Vigna  <jug@sad.it>
13106
13107         * text.C (workWidth): new function with added Inset * parameter.
13108
13109 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13110
13111         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13112
13113         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13114         change return type of getColumnNearX.
13115
13116
13117         * text.C (changeRegionCase): use uppercase/lowercase instead of
13118         toupper/tolower.
13119         (leftMargin):
13120         (rightMargin): simplify code by factoring out the uses of
13121         textclasslist.
13122         (labelFill):
13123         (numberOfHfills):
13124         (setHeightOfRow):
13125         (appendParagraph): use Paragraph::size_type
13126
13127 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * vspace.C (asLatexString): add a missing break
13130
13131 2001-10-15  Herbert Voss  <voss@perce.de>
13132
13133         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13134
13135 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13138         is not available.
13139
13140 2001-10-10  André Pönitz <poenitz@gmx.net>
13141
13142         * lyxfunc.C: removed greek_kb_flag.
13143
13144 2001-10-10  Herbert Voss  <voss@perce.de>
13145
13146         * lyx_main.C: delete global string help_lyxdir.
13147
13148 2001-10-09  Herbert Voss  <voss@perce.de>
13149
13150         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13151
13152         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13153
13154         * lyx_main.C: added global string help_lyxdir.
13155
13156         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13157
13158 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13159
13160         * lyxrc.C (set_font_norm_type): support iso8859-4
13161
13162 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13163
13164         * LaTeX.C (deplog): add another regex for MikTeX
13165
13166 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13167
13168         * lyxrc.C (set_font_norm_type): support iso8859-3
13169
13170 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13173
13174         * LaTeXFeatures.C: remove special case of french and index
13175
13176         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13177         before \begin{document}). This solves several incompatibilities.
13178
13179 2001-10-03  Garst Reese  <reese@isn.net>
13180
13181         * lyx_cb.C: change CheckTex error msg.
13182
13183 2001-10-03  José Matos  <jamatos@fep.up.pt>
13184
13185         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13186
13187 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * .cvsignore: update
13190
13191         * lyx_main.C (commandLineVersionInfo): use new style version info.
13192
13193         * buffer.C (writeFile):
13194         (makeLaTeXFile):
13195         (makeLinuxDocFile):
13196         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13197
13198         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13199
13200         * version.h: update to use stuff in version.C
13201
13202         * version.C.in: new file. Contains version information determined
13203         at compile time. This is a merging of version.h and
13204         version_info.h.in.
13205
13206 2001-10-03  Juergen Vigna  <jug@sad.it>
13207
13208         * BufferView_pimpl.C (update): don't change "dirty" status in
13209         updateInset call.
13210
13211 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13212
13213         * WorkArea.C (c-tor): re-position version string slightly.
13214
13215 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13216
13217         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13218         revert to previous code.
13219
13220         WorkArea.[Ch]: (show, destroySplash): methods removed.
13221
13222         WorkArea.C: rework code so that it's an amalgam of the codes before and
13223         after the splash screen was moved to WorkArea.
13224
13225 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * lyxrc.C (read):
13228         * vspace.C (inPixels):
13229         (lyx_advance):
13230         * kbmap.C (bind):
13231         * buffer.C (insertStringAsLines):
13232         (asciiParagraph): fix types to be large enough
13233
13234         * lyxlex_pimpl.h: change member status from short to int
13235
13236         * layout.h: fix type of endlabeltype
13237
13238         * kbmap.C (bind):
13239         * kbsequence.C (parse): change return type to string::size_type
13240
13241         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13242         variable
13243
13244         * Bullet.C (bulletSize):
13245         (bulletEntry): do not use short ints as parameters
13246
13247         * BufferView2.C (insertLyXFile): change a char to an int.
13248
13249         * WorkArea.C (WorkArea): remove unneeded floats in computation
13250
13251 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13252
13253         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13254
13255         * paragraph.C (asString): Do not ignore newline/hfill chars when
13256         copying to the clipboard.
13257
13258 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13259
13260         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13261         after a multi-line inset.
13262
13263 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * paragraph.C (validate): Set NeedLyXFootnoteCode
13266
13267 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13270         and decrease-error to decrease.
13271
13272 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13275         it more readable (should be equivalent)
13276
13277 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13278
13279         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13280
13281 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13284         of a cursor (row, etc.) after a character has been deleted
13285         (deleteEmptyParagraphMechanism): call the method above on _all_
13286         cursors held by the LyXText when a double space has been
13287         detected/deleted.
13288
13289 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13292         pixmap.
13293         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13294
13295         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13296         background. Use greyOut() and the new show() methods to toggle between
13297         the foreground and background. Add code to remove the splash after
13298         its initial showing.
13299
13300         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13301         (create_forms): no longer call Dialogs::showSplash.
13302
13303 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * .cvsignore: add version_info.h
13306
13307 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * version_info.h.in: new file
13310
13311         * Makefile.am: add version_info.h.in
13312
13313         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13314         version_info.h instead of VERSION_INFO
13315
13316 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13319         The ERT inset now returns string().
13320
13321 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13322
13323         * lyxtext.h, text.C (selectNextWord): renamed as
13324         selectNextWordToSpellcheck.
13325
13326         * text.C (selectNextWordToSpellcheck): Modified to not select
13327         words inside an ERT inset.
13328
13329 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * lyx_cb.C (MenuLayoutSave): change a bit the question
13332
13333         * sp_base.h: include <sys/types.h>
13334
13335 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13336
13337         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13338
13339 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13340
13341         * several files: fix typos in user-visible strings
13342
13343 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * text2.C (pasteSelection): do not set the selection, since it
13346         will be cleared later. Actually, the intent was to fix the way the
13347         selection was set, but I figured rmoving the code was just as good.
13348
13349 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13350
13351         * FontLoader.C (available): Check if font is available without
13352         loading the font.
13353
13354 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13355
13356         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13357
13358 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13359
13360         * lyxrc.[Ch]: added display_graphics variable and associated code.
13361
13362 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13363
13364         * bufferparams.C (hasClassDefaults): new method. Returns true if
13365         the buffer parameters correspond to known class defaults
13366
13367 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13368
13369         * XFormsView.C (show): set minimum size to the main window.
13370
13371 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * text2.C (copySelection):
13374         (cutSelection):
13375         * lyxfind.C (LyXReplace):
13376         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13377         LyXText::selectionAsString.
13378
13379         * paragraph.C (asString): add "label" argument to the second form
13380
13381         * text2.C (selectionAsString): add "label" argument and pass it to
13382         Paragraph::asString.
13383
13384 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * lyx_main.C (commandLineHelp): remove version information
13387
13388 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13389
13390         * lyx_main.C: add -version commandline option
13391
13392 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * paragraph.h: make the optional constructor arg required instead.
13395         some modifications to other files because of this.
13396
13397         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13398
13399         * lyxserver.C (C_LyXComm_callback): make it static
13400
13401         * lyx_main.C (error_handler): make it static
13402
13403         * lyx_gui.C (LyX_XErrHandler): make it static
13404
13405         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13406
13407         * WorkArea.C: make the extern "C" methods static.
13408
13409         * Makefile.am (lyx_LDADD): simplify
13410
13411 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13412
13413         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13414         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13415
13416         * LyXAction.C (init):
13417         * lyxfunc.C (dispatch): associated code removal.
13418
13419 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13420
13421         * lyxfont.h (isSymbolFont): shut off warning
13422
13423         * text.C (setHeightOfRow):
13424         (getVisibleRow): fix crash with empty paragraphs which have a
13425         bottom line
13426
13427 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13428
13429         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13430         code.
13431
13432 2001-09-04  José Matos  <jamatos@fep.up.pt>
13433         * buffer.C
13434         * buffer.h
13435         * tabular.C (docbook): rename docBook method to docbook.
13436
13437 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * Makefile.am: add dependencies to main.o.
13440
13441 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13442
13443         * FontLoader.C (available): Return false if !lyxrc.use_gui
13444
13445 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13446
13447         * FontInfo.C (query):
13448         * converter.C (view):
13449         * importer.C (Import):
13450         * exporter.C (Export): Can not -> cannot.
13451
13452 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * BufferView_pimpl.C: allow to create index inset even if
13455           string is empty
13456
13457 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13458
13459         * buffer.C (getLists): replace boost::tie code with an explicit pair
13460         as boost::tie can break some compilers.
13461
13462         * iterators.h: Added a std:: declaration to the return type of
13463         ParIterator::size.
13464
13465 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13468           case.
13469
13470 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13471
13472         * iterators.[Ch]: New files. Provide paragraph iterators.
13473
13474         * buffer.C (changeLanguage): Use paragraph iterators.
13475         (isMultiLingual): ditto
13476
13477         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13478
13479 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * FontLoader.C: Support for cmr font.
13482
13483 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13486         (available): New method.
13487
13488         * FontInfo.C (getFontname): Use scalable fonts even when
13489         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13490         found.
13491
13492 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * converter.C (Formats::view): reverted! Incorrect fix.
13495
13496 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13497
13498         * converter.C (Formats::view): only output the -paper option
13499         if the dvi viewer is xdvi, thereby fixing bug #233429.
13500
13501 2001-08-23  Herbert Voss  <voss@perce>
13502
13503         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13504
13505 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * Spacing.h (Spacing): Set space to Default on in the default
13508         constructor.
13509
13510 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13511
13512         * vc-backend.h (RCS::versionString): add RCS to version
13513         (CVS::versionString): add CVS to version
13514
13515         * vc-backend.C (scanMaster): do not add CVS to version.
13516         (scanMaster): do not add RCS to version
13517
13518         * lyxvc.C (versionString): new method
13519
13520         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13521
13522 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * Spacing.C (set): initialize fval
13525
13526 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13527
13528         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13529         " or \.
13530
13531 2001-08-16  Juergen Vigna  <jug@sad.it>
13532
13533         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13534
13535 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13536
13537         * BufferView_pimpl.C:
13538         * figureForm.C:
13539         * lyxtext.h:
13540         * text2.C: setParagraph takes linespacing now
13541
13542 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13543
13544         * LyxAction.C: add internal LFUN_CITATION_INSERT
13545
13546         * LyXView.C: actually apply fix
13547
13548         * bufferlist.C: fix open non-existent file
13549
13550         * lyxfind.C: fix indentation
13551
13552         * lyxfunc.C: remove unneeded assert, fix typo
13553
13554 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * MenuBackend.C: use "Floatname List"
13557
13558 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13559
13560         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13561         when converting LaTeX layout to insetERT.
13562         Generate a non-collapsed float when reading old float
13563
13564 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13567         ERT insets.
13568
13569 2001-08-13  Juergen Vigna  <jug@sad.it>
13570
13571         * text.C (fill): return 0 instead of 20 as this seems to be the more
13572         correct value.
13573
13574 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13575
13576         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13577         lyxrc.font_norm.
13578
13579 2001-08-13  Juergen Vigna  <jug@sad.it>
13580
13581         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13582         casesensitive off.
13583         (SearchBackward): comment out the unlocking of the inset_owner this
13584         should not be needed!
13585
13586 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13587
13588         * Many files: Remove inherit_language, and add latex_language
13589
13590         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13591         collapsible insets.
13592
13593 2001-08-10  Juergen Vigna  <jug@sad.it>
13594
13595         * text.C (prepareToPrint): fixed hfill-width in draw!
13596
13597         * BufferView2.C (selectLastWord): save the selection cursor as this
13598         now is cleared in the function LyXText::clearSelection!
13599
13600 2001-08-08  Juergen Vigna  <jug@sad.it>
13601
13602         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13603         BACKSPACE type functions.
13604
13605         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13606         is only cutted from the document but not put in the cut-buffer, where
13607         still the old stuff should be.
13608
13609         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13610
13611         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13612
13613         * tabular.C (SetWidthOfCell): fixed special case where the width
13614         was not updated!
13615         (LeftLine): handle '|' in align_special.
13616         (RightLine): ditto
13617         (LeftAlreadyDrawed): ditto
13618         (SetWidthOfCell): ditto
13619
13620 2001-08-07  Juergen Vigna  <jug@sad.it>
13621
13622         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13623
13624 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13625
13626         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13627         * lyxlex.[hC]: ditto
13628
13629 2001-08-06  Juergen Vigna  <jug@sad.it>
13630
13631         * text.C (getVisibleRow): fix up row clearing a bit.
13632
13633 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * minibuffer.C: make sure the X server sees the changes in the input.
13636
13637 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * paragraph.C (getFont): split into...
13640         (getLabelFont): this
13641         (getLayoutFont): and this
13642         * paragraph_pimpl.C (realizeFont): calling this
13643
13644         * text2.C (getFont): split into...
13645         (getLayoutFont): this
13646         (getLabelFont): and this
13647         (realizeFont): all three calling this
13648
13649         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13650         files where used.
13651
13652 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13653
13654         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13655
13656 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13657
13658         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13659         layouts from the Quote inset insertion.
13660
13661 2001-08-03  Juergen Vigna  <jug@sad.it>
13662
13663         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13664
13665         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13666         only if status not is already CHANGED_IN_DRAW (second level).
13667
13668         * text.C (draw): don't set the need_break_row when inside an
13669         InsetText LyXText.
13670
13671 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * buffer.C (parseSingleLyXformat2Token): handle more latex
13674         conversion cases.
13675
13676         * bufferview_funcs.[hC]: change function names to
13677         begin with small char, adjust other files.
13678
13679 2001-08-02  André Pönitz <poenitz@gmx.net>
13680
13681         * lyxfunc.C:
13682         BufferView_pimpl.C: remove broken special code for math-greek
13683
13684 2001-08-02  Juergen Vigna  <jug@sad.it>
13685
13686         * BufferView_pimpl.C (update): redone this function so that we
13687         update the text again if there was a CHANGE_IN_DRAW.
13688
13689         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13690         (drawFromTo): added a new internal bool which is used by draw() and
13691         redraw() function.
13692         (general): some cursor drawing problems fixed.
13693
13694 2001-08-01  Juergen Vigna  <jug@sad.it>
13695
13696         * lyxfind.C (LyXFind): fixed
13697         (SearchForward): ditto
13698         (SearchBackward): ditto
13699
13700         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13701         spurius drawing of the cursor in the main area.
13702
13703         * text2.C (status): small fix which could lead to a segfault!
13704         (clearSelection): remove unneeded BufferView param.
13705
13706 2001-08-01  André Pönitz <poenitz@gmx.net>
13707
13708         * lyxfunc.C: small change due to changed mathed interface
13709
13710 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13713
13714 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * lyxfunc.c: fail gracefully if file doesn't exist
13717
13718         * LyXSendto.C:
13719         * buffer.C:
13720         * lyxfunc.C:
13721         * BufferView_pimpl.C: IsDirWriteable() proto changed
13722
13723         * LyXView.C: fix updateWindowTitle() to store the last title
13724
13725 2001-07-31  Juergen Vigna  <jug@sad.it>
13726
13727         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13728         the font (wrong since using of Paragraph::highestFontInRange).
13729
13730         * paragraph.C (highestFontInRange): added a default_size parameter.
13731
13732         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13733         (setHeightOfRow): reformat
13734
13735 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * converter.[hC] + affected files: move to (inital-char)lowercase
13738         function names.
13739
13740         * ParagraphParameters.C (ParagraphParameters): remove commented code
13741
13742         * PainterBase.[Ch]: remove commented code
13743
13744         * LaTeXFeatures.h: add "bool floats" for float.sty
13745
13746         * LaTeXFeatures.C (LaTeXFeatures): init floats
13747         (require): handle float
13748         (getPackages): do it with floats
13749
13750 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13751
13752         * BufferView_pimpl.C (Dispatch): improve handling of
13753         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13754
13755         * commandtags.h: #include lyxfont.h here temporarily to avoid
13756         keybinding bug.
13757
13758         * bufferlist.h: include LString.h here.
13759
13760 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * text2.C (getStringToIndex): new method.
13763
13764 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13765
13766         * *: Reduced header file dependencies all over.
13767
13768 2001-07-30  Baruch Even  <baruch@lyx.org>
13769
13770         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13771
13772 2001-07-29  Baruch Even  <baruch@lyx.org>
13773
13774         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13775
13776 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * ParameterStruct.h (endif): add a default constructor to make
13779         sure that all variables is initialized.
13780
13781         * ParagraphParameters.C (ParagraphParameters): adjust
13782
13783 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13786         index; also, check that there is something to index, and that it
13787         does not span over several paragraphs.
13788         (doubleClick): use WHOLE_WORD_STRICT for double click.
13789
13790         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13791
13792         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13793         scheme.
13794
13795 2001-07-26  Baruch Even  <baruch@lyx.org>
13796
13797         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13798         an InsetFig figure, backwards compatible reading of old figure code.
13799
13800 2001-07-27  Juergen Vigna  <jug@sad.it>
13801
13802         * text2.C: font.realize function adaption.
13803
13804         * text.C (draw): add a warnings lyxerr text if needed.
13805
13806         * layout.C: font.realize function adaption.
13807
13808         * language.C: add inherit_language and implement it's handlings
13809
13810         * bufferview_funcs.C (StyleReset): remove language parameter from
13811         font creation (should be language_inherit now).
13812
13813         * bufferparams.C (writeFile): handle ignore_language.
13814
13815         * paragraph.C (getFontSettings): the language has to be resolved
13816         otherwise we have problems in LyXFont!
13817
13818         * lyxfont.C (lyxWriteChanges): added document_language parameter
13819         (update): removed unneeded language parameter
13820
13821         * paragraph.C (validate): fixed wrong output of color-package when
13822         using interface colors for certain fonts in certain environments,
13823         which should not seen as that on the final output.
13824
13825 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * BufferView_pimpl.C:
13828         * Thesaurus.h:
13829         * Thesaurus.C:
13830         * Makefile.am:
13831         * commandtags.h:
13832         * LyXAction.C: add thesaurus support
13833
13834         * lyxfind.h:
13835         * lyxfind.C: add "once" parameter, for thesaurus, to not
13836           move to the next match
13837
13838 2001-07-26  Juergen Vigna  <jug@sad.it>
13839
13840         * lyxfont.C (realize): honor ignore_language too!
13841         (resolved): ditto.
13842
13843         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13844
13845         * text.C (draw): one place more for ignore_language to not draw
13846         itself!
13847
13848 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13849
13850         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13851
13852 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13855         the minipage conversion problem.
13856
13857 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13860         insert an inset.
13861
13862 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * BufferView.h: don't forward declare WorkArea
13865
13866         * BufferView.C: don't include WorkArea.h
13867
13868 2001-07-25  André Pönitz <poenitz@gmx.net>
13869
13870         * commandtags.h:
13871         * LyXAction.C:
13872         * lyxfunc.C:  new LFUN 'math-space'
13873
13874         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13875
13876 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * text2.C (toggleInset): call open/close
13879
13880 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13881
13882         * lyxfunc.C (dispatch): add debug for the disabled case
13883
13884         * font.C (buttonText): make similar to rectText
13885
13886         * buffer.C (readInset): comment out parsing of insetlist and
13887         insttheorem
13888
13889         * PainterBase.C (rectText): small correction
13890
13891         * BufferView_pimpl.C: comment out insettheorem and insetlist
13892         * LyXAction.C: ditto
13893         * commandtags.h: ditto
13894
13895 2001-07-24  Juergen Vigna  <jug@sad.it>
13896
13897         * text.C (draw): honor the ignore_language.
13898
13899         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13900
13901 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13902
13903         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13904         char inset.
13905
13906 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13907
13908         * lyxtext.h: remove unused (and unimplemented) methods
13909
13910 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13911
13912         * text.C (getVisibleRow): honor background color
13913
13914         * PainterBase.h:
13915         * Painter.h: remove default color argument for fillRectangle
13916
13917         * text.C (backgroundColor): new method
13918
13919 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * text.C (getVisibleRow): adjust
13922
13923         * font.[Ch] (rectText): new method, metrics
13924         (buttonText): new method, metrics
13925
13926         * PainterBase.[hC]: make rectText and buttonText always draw and take
13927         fewer paramteres.
13928
13929 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13930
13931         * ToolbarDefaults.C (read):
13932         * MenuBackend.C (read): allow escaping in all strings
13933
13934         * BufferView_pimpl.C (insertAndEditInset): new method.
13935         (Dispatch): use insertAndEditInset whenever appropriate.
13936
13937         * BufferView_pimpl.C (insertNote): removed
13938
13939         * BufferView_pimpl.C (smartQuote): new method, moved from
13940         BufferView; if an insetquote cannot be inserted, insert a '"'
13941         character instead.
13942
13943         * BufferView2.C: remove insertCorrectQuote();
13944
13945         * lyxfunc.C (getStatus): Add support for all remaingin
13946         inset-insert lfuns.
13947
13948         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13949
13950         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13951         command (necessary to pass " as parameter of self-insert.
13952
13953         * text.C (selectWordWhenUnderCursor):
13954         (selectWord): add word_location parameter
13955         (selectWordWhenUnderCursor): same + remove special code for word
13956         boundary.
13957         (selectNextWord): use kind() to guess type of insetspecialchar,
13958         not latex().
13959
13960         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13961         (insertErtContents): create ert insets as collapsed.
13962         (readInset): better compatibility code for Info inset.
13963
13964 2001-07-20  Juergen Vigna  <jug@sad.it>
13965
13966         * lyxfunc.C (dispatch): use always LyXFind now!
13967
13968         * text2.C (init): add a reinit flag so that the LyXText can be
13969         reinited instead of deleted and reallocated (used in InsetText).
13970
13971         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13972
13973         * text.C: ditto
13974
13975         * text2.C: ditto
13976
13977 2001-07-18  Juergen Vigna  <jug@sad.it>
13978
13979         * text.C (selectNextWord): handle insets inside inset by calling
13980         always the bv->text functions so that we can go up the_locking_inset!
13981
13982         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13983         in strange locations when inside an inset!
13984
13985         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13986         handling to include insets.
13987
13988         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13989
13990 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * LyXAction.C (init):
13993         * commandtags.h:
13994         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13995         LIGATURE_BREAK, since the name is so stupid.
13996
13997 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14000         InsetInfos.
14001
14002         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14003
14004         * sp_form.[Ch]: remove.
14005
14006         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14007
14008         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14009         InsetInfo.
14010
14011         * src/buffer.C (readInset): ditto.
14012
14013 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14014
14015         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14016         menuSeparator(), endOfSentenceDot(), ldots() and
14017         hyphenationPoint(), which are therefore removed.
14018         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14019
14020         * LyXAction.C (init):
14021         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14022
14023         * paragraph.C (getWord): removed.
14024
14025         * BufferView_pimpl.C (Dispatch): use last word or selection for
14026         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14027
14028         * lyx_main.C (queryUserLyXDir): do not ask before creating
14029         user_dir, except if it has been named explicitely.
14030
14031 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14032
14033         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14034         a document of zero size.
14035
14036 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14037
14038         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14039         approriately in the c-tor and in require().
14040         (getPackages): output the appropriate LaTeX for natbib support.
14041
14042         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14043         variables "use_natbib" and "use_numerical_citations" when reading the
14044         LyX file.
14045         (readInset): read the various natbib cite commands.
14046         (validate): white-space change.
14047
14048         * bufferparams.[Ch]: new variables "bool use_natbib" and
14049         "bool use_numerical_citations".
14050         (writeFile): output them in the LyX file.
14051
14052 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14053
14054         * lyxfunc.C (getStatus): add support for all the inset insertion
14055         commands.
14056
14057         * text2.C (insertInset):
14058         * paragraph.C (insetAllowed):
14059         * BufferView_pimpl.C (insertInset): update to take in account the
14060         renaming of insertInsetAllowed
14061
14062         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14063
14064         * text2.C (getInset): new method. returns inset at cursor position.
14065
14066         * BufferView_pimpl.C (Dispatch): changes because of this.
14067
14068         * LyXAction.C (init): rename open-stuff to inset-toggle.
14069
14070         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14071
14072         * text2.C (toggleInset): renamed from openStuff; use
14073         Inset::open().
14074
14075 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14076
14077         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14078
14079         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14080
14081 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14082
14083         * buffer.C (readLyXformat2): Add filename to the error dialog
14084
14085 2001-07-18  Juergen Vigna  <jug@sad.it>
14086
14087         * tabular.C (GetCellNumber): put an assert here instead of the check!
14088
14089 2001-07-17  Juergen Vigna  <jug@sad.it>
14090
14091         * BufferView_pimpl.C (toggleSelection): adapted too.
14092
14093         * text.C (selectNextWord): adapted for use with insets.
14094         (selectSelectedWord): ditto
14095
14096 2001-07-17  Juergen Vigna  <jug@sad.it>
14097
14098         * sp_spell.C (PSpell): fix initialitation order.
14099
14100 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * paragraph.C: spacing
14103
14104 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14105
14106         * sp_spell.C: repair language selection for pspell
14107
14108 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * lyxfunc.h: change more methods to begin with lower char.
14111
14112 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14113
14114         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14115         for unknown layouts.
14116
14117 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14118
14119         * buffer.C (readLyXformat2): Generate an error dialog if there are
14120         unknown layouts.
14121
14122 2001-07-16  Juergen Vigna  <jug@sad.it>
14123
14124         * sp_spell.C: always compile ISpell part.
14125
14126         * lyxrc.C: added use_pspell entry and it's handling.
14127
14128 2001-07-13  Juergen Vigna  <jug@sad.it>
14129
14130         * sp_spell.C: removed double includes.
14131
14132 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         Consistent use of Lsstream.h:
14135         * Lsstream.h: added using std::stringstream for consistencies sake.
14136
14137         * buffer.C: removed using std::stringstream
14138
14139         * lyxfont.C (stateText):
14140         * paragraph.C (asString):
14141         * text.C (selectNextWord, selectSelectedWord):
14142         * text2.C (setCounter):
14143         * vspace.C (asString, asLatexString):
14144         std::ostringstream -> ostringstream.
14145
14146 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14147
14148         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14149         * commandtags.h: add LFUN_HELP_ABOUTLYX
14150         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14151
14152 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14153
14154         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14155         cursorToggle()
14156         * lyx_gui_misc.C: remove spellchecker
14157         * lyxfunc.C: showSpellchecker
14158         * sp_base.h: added
14159         * sp_ispell.h: added
14160         * sp_pspell.h: added
14161         * sp_spell.C: added
14162         * sp_form.[Ch]: removed
14163         * spellchecker.[Ch]: removed
14164
14165 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14166
14167         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14168         is set.
14169         (simpleTeXSpecialChars): Simply print the input character without
14170         any special translation if pass_thru is set.
14171
14172         * layout.h: Added bool pass_thru to layout class for being able to
14173         implement pass through of a paragraph for Literate Programming.
14174
14175         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14176         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14177         * layout.C (Read): add "passthru" to list of layout tags and add
14178         code to set the pass_thru boolean when it is read.
14179
14180 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * trans_decl.h: remove allowed from KmodInfo
14183
14184         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14185         remove allowed code
14186         (Load): adjust
14187
14188         * paragraph_pimpl.C (erase): use boost::prior
14189
14190         * Painter.C (text): use data() instead of c_str() when length is
14191         also provided.
14192         * WorkArea.C (putClipboard): ditto
14193         * font.h (width): ditto
14194
14195         * BufferView2.C: use it-> instead of (*it). for iterators
14196         * texrow.C: ditto
14197         * paragraph_pimpl.C: ditto
14198         * paragraph.C: ditto
14199         * minibuffer.C: ditto
14200         * language.C: ditto
14201         * kbmap.C: ditto
14202         * encoding.C: ditto
14203         * counters.C: ditto
14204         * converter.C: ditto
14205         * chset.C: ditto
14206         * Variables.C: ditto
14207         * TextCache.C: ditto
14208         * MenuBackend.C: ditto
14209         * LyXAction.C: ditto
14210         * LColor.C: ditto
14211         * FloatList.C: ditto
14212         * DepTable.C: ditto
14213         * ColorHandler.C (LyXColorHandler): ditto
14214
14215 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14218
14219         * text2.C (openStuff): reintroduce this method (which had been
14220         nuked in NEW_INSETS frenzy).
14221
14222         * lyxfunc.C (Dispatch): when an action has not been handled, use
14223         its name in the error message, not its number.
14224
14225         * paragraph.C (inInset): change method name to begin with lowercase.
14226
14227         * undo_funcs.C:
14228         * text2.C: updates because of this.
14229
14230 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * ToolbarDefaults.C (add): add spaces in error message
14233
14234 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14235
14236         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14237         (readLyXformat2): rename return_par to first_par, use lyxlex's
14238         pushToken and remove the manual push handling.
14239         (parseSingleLyXformat2Token): add another ert comp. variable:
14240         in_tabular, rename return_par to first_par. handle newlines better
14241
14242 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14245
14246 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * text2.C (getParFromID): removed
14249
14250         * buffer.C (getParFromID): new method moved form lyxtext.
14251         * BufferView2.C (insertErrors): adjust
14252         (setCursorFromRow): adjust
14253         * BufferView_pimpl.C (restorePosition): adjust
14254         * lyxfunc.C (Dispatch): adjust
14255         * undo_funcs.C (textUndo): adjust
14256         (textRedo): adjust
14257         (textHandleUndo): adjust
14258         (textHandleUndo): adjust
14259
14260 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * buffer.C: up' the LYX_FORMAT
14263
14264         * lyxfont.h: turn NO_LATEX on as default
14265
14266         * buffer.C (insertErtContents): new methods of tex style compability.
14267         (parseSingleLyXformat2Token): use it several places.
14268         * tabular.C (OldFormatRead): and here
14269
14270 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * text2.C: remove some commented code.
14273         reindent file.
14274
14275         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14276         * trans.C: changes because of the above.
14277
14278 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14279
14280         * text2.C (setCounter): Fix counters bug with bibliography layout.
14281
14282 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14285         own member functions
14286         (simpleTeXSpecialChars): ditto
14287
14288 2001-07-06  Juergen Vigna  <jug@sad.it>
14289
14290         * a lot of files: changed the access to LyXText::status and the
14291         call of undo-functions.
14292
14293         * undo.[Ch]: added a inset_id to the undo informations.
14294
14295         * undo_funcs.[Ch]: added and moved here all undo functions.
14296
14297         * lyxtext.h: give the status enum a weight, made status_ a private
14298         variable and made accessor functions for it, removed the whole bunch
14299         of undo-functions as they are now in their own file, make some
14300         functions publically available. Added function ownerParagraph with
14301         int parameter.
14302
14303         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14304         made InInset() a const function, added getParFromID() function.
14305
14306         * buffer.[Ch]: added const version for inset_iterator functions,
14307         added getInsetFromID() function.
14308
14309         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14310         changed undo functions for new version.
14311
14312 2001-07-05  Juergen Vigna  <jug@sad.it>
14313
14314         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14315         unknow mechanism does not call the proper constructor but only this
14316         one also if I request the other!?
14317
14318 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14321
14322         * text2.C (LyXText): use initialization lists.
14323
14324         * lyxtext.h (Selection): initialize set_ and mark_
14325         (init): remove method
14326
14327 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14328
14329         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14330
14331 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * screen.[Ch]: change method names to begin with lowercase
14334
14335         * BufferView_pimpl.C (updateScrollbar): simplify further and
14336         hopefully make it a bit faster.
14337
14338 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14339
14340         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14341         calling directly xforms functions.
14342
14343         * Painter.C (Painter):
14344         * lyx_cb.C (MenuWrite):
14345         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14346         fl_display.
14347
14348         * lyx_gui.C: remove bogus guiruntime extern declaration.
14349
14350 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14353         in NEW_INSETS
14354         (redoDrawingOfParagraph): ditto
14355         (redoParagraphs): ditto
14356         (cutSelection): don't create a object for CutAndPaste use the
14357         static method directly
14358         (pasteSelection): ditto
14359
14360         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14361         LyXview (+ rename)
14362
14363 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * modifications to some other files because of this.
14366
14367         * Makefile.am (lyx_SOURCES): add XFormsView
14368
14369         * XFormsView.[Ch]: new files
14370
14371         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14372         the main window. Move the gui dependent stuff to XFormsView
14373
14374 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14375
14376         * tabular.C (GetCellInset): update cur_cell also in the row/col
14377         version of this function.
14378
14379         * lyxfunc.C: no need to include figure_form.h here.
14380
14381         * FontLoader.h:
14382         * lyxfunc.h:
14383         * lyxscreen.h:
14384         * text2.C:
14385         * lyxvc.C: no need to include forms.h here.
14386
14387 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14390
14391         * lyxfunc.C (Dispatch):
14392         * Spacing.C (set):
14393         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14394         constructor argument.
14395
14396 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * paragraph.C (Paragraph): dont't clear, and just set layout.
14399         (makeSameLayout): use params's copy contructor.
14400
14401         * ParagraphParameters.[Ch] (makeSame): delete method
14402
14403 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14404
14405         * Variables.[Ch]: fix indentation, rename set to isSet
14406
14407 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * lyxfunc.C (Dispatch): fix typo
14410
14411 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14414         upper_bound.
14415
14416         * bufferlist.C: include assert.h for emergencyWrite().
14417
14418 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14421           give up at last (bug #425202) !
14422
14423 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14424
14425         * lyx_gui_misc.C:
14426         * sp_form.h:
14427         * sp_form.C:
14428         * spellchecker.h:
14429         * spellchecker.C: strip spellchecker options and bring up
14430           preferences tab instead
14431
14432 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14433
14434         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14435         the istringstream constructor
14436
14437 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14438
14439         * paragraph.C (getLayout): fix return value
14440
14441         * paragraph.h: do not declare getLayout as inline.
14442
14443         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14444
14445 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * lyxcursor.h (operator<): new func
14448         (operator>): new func
14449         (operator>=): new func
14450         (operator<=): new func
14451
14452         * text.C (changeCase): use selection.start and selection.end
14453         (changeRegionCase): require from to be <= to. Require par to be a
14454         valid paragraph.
14455
14456         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14457
14458 2001-06-27  Juergen Vigna  <jug@sad.it>
14459
14460         * text.C (cursorLeftOneWord): changed to return the cursor and added
14461         overlay with BufferView * parameter which calls this one.
14462         (getWord): added
14463         (selectWord): use new getWord function.
14464         (changeCase): renamed from changeWordCase as and extended to work
14465         also on selections.
14466
14467         * lyxtext.h: added enum word_location
14468
14469         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14470         changeCase as this operates now also on selections.
14471
14472 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14473
14474         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14475
14476         * many files: send debug output to Debug::INFO instead of
14477         Debug::ANY.
14478
14479         * converter.C (View):
14480         (Convert):
14481         (Move): send debug output to Debug::FILES instead of console.
14482
14483 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14484
14485         * lyxfunc.C (getStatus): use func_status
14486
14487         * func_status.h: new header, describing the results of
14488         LyXFunc::getStatus;
14489
14490         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14491         LFUN_MATH_HALIGN.
14492
14493 2001-06-25  The LyX Project  <jug@sad.it>
14494
14495         * buffer.C (sgmlOpenTag):
14496         (sgmlCloseTag):
14497         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14498
14499 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14500
14501         * text2.C: remove some dead code
14502
14503         * tabular.C (GetCellInset): store the last cell checked (gotten)
14504
14505         * tabular.h: add the helper for the speedup
14506
14507         * lyxtext.h: remove some dead code
14508
14509 2001-06-26  The LyX Project  <Asger>
14510
14511         * paragraph.C: Change export to LaTeX of alignment to
14512         \begin{center} and family for better roundtrip work with reLyX.
14513
14514         * Tune the math drawing a bit.
14515
14516 2001-06-25  The LyX Project  <Asger>
14517
14518         * LColor.C (LColor): New color for math background. New color
14519         for buttons.
14520
14521 2001-06-25  The LyX Project  <jug@sad.it>
14522
14523         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14524
14525         * lyxfunc.C (Open):
14526         * bufferlist.C (newFile): do not restrict to files ending with
14527         .lyx
14528
14529         * BufferView_pimpl.C (MenuInsertLyXFile):
14530
14531 2001-06-24  The LyX Project  <jug@sad.it>
14532
14533         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14534         of compare_no_case
14535
14536 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14537
14538         * lyxtext.h: rename most methods to begin with a small char.
14539         Lots of changes because of this.
14540
14541         * paragraph.C (Paragraph): do not call fitToSize
14542         (erase): call Pimpl::erase
14543         (insertChar): call Pimpl::insertChar
14544         (insertInset): call Pipl::insertInset
14545         (breakParagraph): do not call fitToSize
14546         (breakParagraphConservative): do not call fitToSize
14547         (fitToSize): remove method
14548
14549         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14550
14551 2001-06-24  The LyX Project  <Asger>
14552
14553         * Fix Qt compilation^2
14554
14555 2001-06-24  The LyX Project  <jug@sad.it>
14556
14557         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14558         depthHook(getDepth()-1).
14559
14560         * paragraph.h:
14561         * ParagraphParameters.h:
14562         * ParameterStruct.h: change type of depth to unsigned int ==
14563         depth_type. Many adaptations to other files before of that.
14564
14565 2001-06-24  The LyX Project  <Asger>
14566
14567         * Fix Qt compilation.
14568
14569 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * paragraph.h: renamed several methods to begin with small letter.
14572         several changes to many parts of the code because of this.
14573
14574 2001-06-23  The LyX Project  <jug@sad.it>
14575
14576         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14577         rewritten to discard all double spaces when KeepEmpty is off
14578         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14579         to only handle newlines but not fiddle with spaces and friends.
14580
14581         * lyxfunc.C (MenuNew): when doing 'new from template', use
14582         template_path as default directory
14583
14584 2001-06-23  The LyX Project  <Asger>
14585
14586         * Clean-up of header file includes all over
14587         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14588
14589 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * paragraph.h: renamed from lyxparagraph.h
14592
14593 2001-06-23  Asger  <lyx@violet.home.sad.it>
14594
14595         * Buffer.h: Removed Buffer::resize
14596         * BufferList.h: Removed BufferList::resize
14597         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14598         the document lazily when we change the width, or the font settings.
14599
14600 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14603
14604 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * buffer.h: remove out of date comment
14607
14608 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14609
14610         * lyxscreen.h:
14611         * screen.C: fix "theoretical" GC leak
14612
14613 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * LaTeX.C (scanAuxFile):
14616         (deplog): remove trailing \r when reading stream (useful under
14617         win32)
14618
14619 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14620
14621         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14622         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14623         and BufferView::theLockingInset(Inset*), so should use them and not
14624         access bv_->text->the_locking_inset directly.
14625
14626         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14627
14628 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14629
14630         * Makefile.am:
14631         * tex-defs.h: remove old unused file
14632
14633 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14634
14635         * BufferView_pimpl.C: fix typo, remove minibuffer message
14636           when buffer has loaded
14637
14638 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * lyxfunc.C (Dispatch): use stringstream
14641         (MenuNew): use stringstream
14642         (Open): use stringstream
14643
14644         * importer.C (Import): use stringstream
14645
14646         * bufferview_funcs.C (CurrentState): use stringstream
14647
14648         * LaTeX.C (run): use stringstream
14649
14650         * BufferView_pimpl.C (savePosition): use stringstream
14651         (restorePosition): use stringstream
14652         (MenuInsertLyXFile): use stringstream
14653
14654 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14655
14656         * BufferView.C:
14657         * Bullet.C:
14658         * ColorHandler.C:
14659         * FontInfo.C:
14660         * FontLoader.C:
14661         * LColor.C:
14662         * LaTeXFeatures.C:
14663         * Painter.C:
14664         * gettext.C:
14665         * lyx_gui_misc.C:
14666         * lyxserver.C:
14667         * vspace.C: removed // -*- C++ -*- as first line.
14668
14669         * lyxfind.h:
14670         * version.h: added // -*- C++ -*- as first line.
14671
14672 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14675
14676         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14677         of string
14678
14679 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14682         of floats.
14683
14684 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14685
14686         * gettext.C: include LString.h even when --disable-nls is on.
14687
14688 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14689
14690         * converter.h (Get): changed argument type from int to
14691         FormatList::size_type to avoid unnecessary conversion.
14692
14693         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14694         before using it.
14695
14696 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * gettext.h: include LString.h even when --disable-nls is on.
14699
14700 2001-06-07  Juergen Vigna  <jug@sad.it>
14701
14702         * text.C (BreakAgain): subst spaces with tabs.
14703
14704         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14705         (resizeInsetsLyXText): set force on resizeLyXText.
14706
14707 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * gettext.h (gettext_init):
14710         (locale_init): use a real definition instead of a macro
14711
14712 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14713
14714         * Bufferview_pimpl.C:
14715         * LColor.h:
14716         * LColor.C: further lcolor tidies
14717
14718 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * BufferView_pimpl.C (updateScrollbar): simplify.
14721
14722         * BufferView2.C: don't include insets/insetinfo.h, change
14723         prototype for insertInset and call the Pimpl version. let
14724         updateInset call Pimpl version.
14725
14726         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14727         gotoInset to BufferView::Pimpl
14728
14729 2001-06-01  Juergen Vigna  <jug@sad.it>
14730
14731         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14732         inside a LockingInset (is the update needed at all?).
14733
14734 2001-05-31  Juergen Vigna  <jug@sad.it>
14735
14736         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14737         here not the old one otherwise how should we compare it afterwards
14738         if it's the same!
14739
14740 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * lyxfont.C:
14743         * tabular.C:
14744         * tabular-old.C:
14745         * FontInfo.C: bring C functions into global namespace when
14746         necessary
14747
14748 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * LString.h: make sure config.h has been loaded before LString.h.
14751
14752         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14753         (one for each char read by EatLine!).
14754
14755         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14756         variables.
14757
14758 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14759
14760         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14761         to the same as the par we break from
14762
14763 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14766
14767         * MenuBackend.C (expand): also create menu entries for wide
14768         versions of the floats.
14769
14770         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14771
14772         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14773
14774         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14775         frontends/Makefile.am
14776
14777         * text2.C: adjust
14778         * text.C: adjust
14779
14780
14781         * tabular.C (getTokenValue): add std::
14782
14783         * tabular-old.C (getTokenValue): add std::
14784         (getTokenValue): ditto
14785         (getTokenValue): ditto
14786
14787         * screen.C (ToggleSelection): adjust
14788
14789         * lyxtext.h: put selection cursors inside a Selection struct.
14790
14791         * lyxfunc.C (moveCursorUpdate): adjust
14792
14793         * lyxfont.C (latexWriteStartChanges): add std::
14794
14795         * lyxfind.C: adjust
14796
14797         * font.h: delete with(char const *, LyXFont const &)
14798
14799         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14800
14801         * FontInfo.C (getFontname): add std::
14802
14803         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14804         (workAreaButtonPress): adjust
14805         (tripleClick): adjust
14806         (update): adjust
14807         (moveCursorUpdate): adjust
14808         (Dispatch): adjust
14809
14810         * BufferView2.C (gotoInset): adjust
14811
14812 2001-05-30  Juergen Vigna  <jug@sad.it>
14813
14814         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14815         to check pspell I add this as default as I now have new pspell
14816         libraries and they seem to use this.
14817
14818 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * text2.C (CutSelection): make the cursor valid before the call to
14821         ClearSelection.
14822
14823 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14826         relied on 0 terminated strings and other horrors. Bug found due to
14827         the new assert in lyxstring!
14828
14829         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14830         KP_ keys.
14831
14832 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14833
14834         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14835         to latinkeys.bind.
14836
14837         * lyxfunc.C (processKeySym): change method of getting to the
14838         self-insert char.
14839
14840         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14841         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14842         * BufferView_pimpl.[Ch]: here as private methods.
14843
14844 2001-05-28  Juergen Vigna  <jug@sad.it>
14845
14846         * text.C (SetHeightOfRow): added the update() call again as it is
14847         needed to initialize inset dimensions!
14848
14849 2001-05-16  Juergen Vigna  <jug@sad.it>
14850
14851         * text2.C (SetCharFont): Add new function with BufferView * and
14852         bool toggleall parameters for setting insets internal fonts.
14853         (SetFont): Freeze the undo as we may change fonts in Insets and
14854         all this change should be inside only one Undo!
14855
14856         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14857         setting font's in insets as for them we have the SetFont function!
14858
14859 2001-05-15  Juergen Vigna  <jug@sad.it>
14860
14861         * text2.C (ClearSelection): to be sure we REALLY don't have any
14862         selection anymore!
14863
14864         * tabular.C (TeXCellPreamble): fixed the left border problem for
14865         multicolumn cells.
14866
14867 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14870         dependancy file
14871
14872 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14875         LFUN_BREAKPARAGRAPH.
14876
14877         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14878         help test to "internal only", similar for LFUN_INSERT_URL
14879
14880         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14881         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14882         auto_region_delete and deadkeys.
14883
14884 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * LColor.h:
14887         * LColor.C: remove some dead entries, tidy a little
14888
14889 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14890
14891         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14892         commented code.
14893         (Dispatch): implement LFUN_ESCAPE
14894
14895         * commandtags.h: add LFUN_ESCAPE
14896
14897         * LyXAction.C (init): add entry for LFUN_ESCAPE
14898
14899         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14900         Remove commented code.
14901         (insertNote): moved here
14902         (open_new_inset): moved here
14903
14904         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14905         BufferView_pimpl
14906
14907 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * kbmap.C (findbinding): clean it up and make it work correctly.
14910
14911         * lyx_main.C (init): do not pass argc and argv as parameters
14912
14913 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14914
14915         * buffer.C: fix path for OS/2 & Win32
14916
14917         * lyx_gui.C:
14918         * lyx_main:
14919         * lyx_main.C: Added os:: class.
14920
14921         * os2_defines.h: update
14922
14923 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14926         better by trying again with reduced state.
14927
14928 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * lyxrc.C (read): print error about invalid key sequence only when
14931         debugging (because not all latinX keysyms are known to some X
14932         servers)
14933
14934         * kbsequence.C (getiso): add a few std:: qualifiers
14935         (getiso): comment out extra return statement.
14936
14937 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14940         handling.
14941         (Dispatch): enhance the accent inset a bit. (not perfect)
14942
14943 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14944
14945         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14946
14947 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * bufferlist.C (emergencyWrite): fix assert() call
14950
14951 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14952
14953         * text.C (InsertChar): Added trivial patch to only send the "you
14954         can not do multiple spaces this way" message once during a
14955         session.
14956
14957 2001-05-08  Baruch Even  <baruch@lyx.org>
14958
14959         * Makefile.am: Changed order of libraries to get LyX to link properly
14960         with the gnome frontend.
14961
14962 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * LaTeXFeatures.h: add a std:: qualifier
14965
14966 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14967
14968         * paragraph.C (String): use stringstream
14969
14970 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * paragraph.C (writeFile): remove footflag arg
14973
14974         * buffer.C (makeLaTeXFile): use stringstream
14975         (latexParagraphs): remove footnot gurba
14976
14977         * LaTeXFeatures.C (getPackages): use stringstream
14978         (getMacros): likewise
14979         (getTClassPreamble): likewise
14980         (getFloatDefinitions): new method
14981
14982         * paragraph.C (writeFile): reindent
14983         (Erase): reindent
14984
14985         * WorkArea.h: revert the xpos + etc changes.
14986
14987         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14988
14989         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14990
14991         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14992         (pasteSelection): likewise
14993         * text2.C (CreateUndo): likewise
14994
14995 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * minibuffer.C (peek_event): temporarily reduce the functionality
14998         of the minibuffer (to allow args on lfuns)
14999
15000         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15001         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15002
15003         * buffer.C (readInset): add compability reading of old float
15004         lists, add reading of new style float list.
15005         (readInset): avoid reevaluation of inscmd.getCmdName()
15006         (getLists): reindent
15007
15008         * MenuBackend.C (MenuItem): implement parsing of
15009         md_floatlistinsert and md_floatinsert.
15010         (expand::LastFiles): move initalizaton of iterators out of loop,
15011         avoid reevaluation.
15012         (expand::Documents): introduce typdedef vector<string> Strings,
15013         and use it.
15014         (expand::ExportFormats): introduce typedef vector<Format const *>
15015         Formats, and use it.
15016         (expand): implement FloatListInsert and FloatInsert.
15017
15018         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15019         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15020         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15021
15022         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15023         handling.
15024         (Dispatch::LFUN_FLOAT_LIST): implement
15025
15026 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15027
15028         * LaTeX.C (run): Fix problem with --export code.
15029
15030 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15031
15032         * BufferView.[Ch] (workarea): removed.
15033         (getClipboard) new method; wrapper for workarea()->getClipboard()
15034
15035         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15036         bug.
15037
15038         * WorkArea.h (width, height, xpos, ypos): These methods all
15039         returned the dimensions of the work_area sub-area of WorkArea,
15040         resulting in a position error if the WorkArea were resized. Now
15041         return the dimensions of the entire WorkArea.
15042
15043         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15044
15045 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * LaTeX.C (deplog): correct the syntax of regex reg1
15048
15049 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15050
15051         * undo.C: remove !NEW_INSETS cruft
15052
15053 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15054
15055         * text2.C: remove !NEW_INSETS cruft
15056
15057         * text.C: remove !NEW_INSETS cruft
15058
15059         * tabular.C: remove !NEW_INSETS cruft
15060
15061         * spellchecker.C: remove !NEW_INSETS cruft
15062
15063         * lyxtext.h: remove !NEW_INSETS cruft
15064
15065         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15066
15067         * lyxfunc.C: remove !NEW_INSETS cruft
15068
15069         * lyxfind.C: remove !NEW_INSETS cruft
15070
15071         * lyx_cb.C: remove !NEW_INSETS cruft
15072
15073         * figureForm.C: remove  !NEW_INSETS cruft
15074
15075         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15076
15077         * buffer.[Ch]: remove !NEW_INSETS cruft
15078
15079         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15080
15081         * CutAndPaste.C: remove !NEW_INSETS cruft
15082
15083         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15084
15085         * BufferView2.C: remove !NEW_INSETS cruft
15086
15087         * BufferView.h: remove !NEW_INSETS cruft
15088
15089 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * Lsstream.h: include LString.h before the sstream headers to
15092         fix problem with gcc 2.95.3 and lyxstring
15093
15094 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * lyx_main.C: add using directives when needed for C functions
15097         declared in std:: namespace.
15098
15099 2001-04-27  Juergen Vigna  <jug@sad.it>
15100
15101         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15102         (SetHeightOfRow): comment out the update call should not be needed!
15103
15104 2001-04-13  Juergen Vigna  <jug@sad.it>
15105
15106         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15107         (LyXTabular): tried to minimize operator= operations (and realized
15108         hopfully Lars wish).
15109
15110 2001-04-27  Juergen Vigna  <jug@sad.it>
15111
15112         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15113
15114 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15115
15116         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15117
15118         * buffer.C (readInset): hack to make listof algorithm work
15119
15120         * BufferView_pimpl.C: hack to make listof algorithm work
15121
15122 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * LyXAction.C: removed all !NEW_INSETS cruft
15125         (init): moved lfun_item in method
15126
15127         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15128
15129 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15130
15131         * BufferView2.C (theLockingInset): white space.
15132
15133 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * minibuffer.C: include <iostream>
15136
15137         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15138
15139         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15140
15141         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15142
15143         * text.[Ch] (TransposeChars): new method
15144
15145 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * call message directly through LyXView instead of through LyXFunc
15148         * BufferView2.C: adjust
15149         * BufferView_pimpl.C: adjust
15150         * FontLoader.C: adjust
15151         * buffer.C: adjust
15152         * bufferview_funcs.C: adjust
15153         * converter.C: adjust
15154         * figureForm.C: adjust
15155         * importer.C: adjust
15156         * lyx_cb.C: adjust
15157         * lyx_gui_misc.C: adjust
15158         * lyxfunc.C: adjust
15159         * lyxvc.C: adjust
15160         * text2.C: adjust
15161         + more files in subdirs
15162
15163         * lyxparagraph.h (size): move up int file
15164         (GetLayout): ditto
15165
15166         * adjust all uses of Assert to lyx::Assert.
15167
15168         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15169         lyxfunctional in namespace lyx
15170         * layout.C (hasLayout): ditto
15171         (GetLayout): ditto
15172         (GetLayout): ditto
15173         (delete_layout): ditto
15174         (NumberOfClass): ditto
15175         * converter.C (GetFormat): ditto
15176         (GetNumber): ditto
15177         (Add): ditto
15178         (Delete): ditto
15179         (SetViewer): ditto
15180         * bufferlist.C (getFileNames): ditto
15181         (emergencyWriteAll): ditto
15182         (exists): ditto
15183         (getBuffer): ditto
15184         * MenuBackend.C (hasSubmenu): ditto
15185         (hasMenu): ditto
15186         (getMenu): ditto
15187         * BufferView_pimpl.C (getInsetByCode): ditto
15188
15189 2001-04-18  Juergen Vigna  <jug@sad.it>
15190
15191         * vspace.C (asLatexString): fixed the 100% problem.
15192
15193 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * lyxfunc.C (Dispatch):
15196         * minibuffer.C:
15197         * minibuffer.h: add a few std:: qualifiers
15198
15199 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15200
15201         * minibuffer.[Ch]: reimplement so that commands is initiated and
15202         run from lyxfunc, simplified som handling, and made the completion
15203         and history code for complete. wip.
15204
15205         * lyxfunc.C (processKeySym): call message
15206         (miniDispatch): new temporary method
15207         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15208         (LFUN_MESSAGE): implement
15209         (LFUN_MESSAGE_PUSH): implement
15210         (LFUN_MESSAGE_POP): implement
15211         (initMiniBuffer): the initial/defualt minibuffer message.
15212
15213         * lyxfont.[Ch]: inline some more getters
15214
15215         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15216
15217         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15218
15219         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15220         (AutoSave): use LFUN_MESSAGE
15221         (Reconfigure): ditto
15222
15223         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15224
15225         * figureForm.C: use LFUN_MESSAGE
15226
15227         * converter.C (runLaTeX): use LFUN_MESSAGE
15228
15229         * bufferview_funcs.C: use LFUN_MESSAGE
15230         (Melt): ditto
15231         (changeDepth): ditto
15232
15233         * bufferparams.h: use boost::
15234
15235         * bufferlist.h: inherit privately from noncopyable
15236
15237         * bufferlist.C (loadLyXFile): remove some commented code.
15238
15239         * buffer.C (runChktex): use LFUN_MESSAGE
15240
15241         * ShareContainer.h: inherit privately from noncopyable
15242
15243         * ParagraphParameters.[hC] (depth): inline it.
15244
15245         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15246         methods.
15247         (message): new method
15248         (messagePush): ditto
15249         (messagePop): ditto
15250         (show): init minibuffer
15251         (showState): direct call
15252
15253         * LaTeX.[Ch]: inherit privately from noncopyable
15254         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15255         instead of WriteStatus.
15256
15257         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15258
15259         * BufferView_pimpl.C (buffer): don't init minibuffer
15260         (workAreaButtonPress): use LFUN_MESSAGE
15261         (workAreaButtonRelease): ditto
15262         (savePosition): ditto
15263         (restorePosition): ditto
15264         (MenuInsertLyXFile): ditto
15265         (workAreaExpose): don't init minibuffer
15266         (update): remove commented code, simplify
15267
15268         * BufferView2.C (openStuff): use LFUN_MESSAGE
15269         (toggleFloat): ditto
15270         (menuUndo): ditto
15271         (menuRedo): ditto
15272         (copyEnvironment): ditto
15273         (pasteEnvironment): ditto
15274         (copy): ditto
15275         (cut): ditto
15276         (paste): ditto
15277         (gotoInset): ditto
15278         (updateInset): remove some commented code
15279
15280         * lastfiles.h: inherit privately from noncopyable
15281         * layout.h: ditto
15282         * lyx_gui.h: ditto
15283         * lyx_main.h: ditto
15284         * lyxlex.h: ditto
15285         * lyxlex_pimpl.h: ditto
15286
15287         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15288         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15289         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15290
15291         * LyXAction.h: inherit privately from noncopyable, add methods
15292         func_begin, func_end, returning iterators to the func map.
15293
15294         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15295         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15296         (func_begin): new method
15297         (func_end): new method
15298
15299         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15300         and not)
15301         (copySelection): ditto
15302         (pasteSelection): ditto
15303
15304         * BufferView.C: whitespace change
15305         * BufferView.h: inherit privately from noncopyable
15306
15307 2001-04-16  Allan Rae  <rae@lyx.org>
15308
15309         * tabular-old.C (l_getline):
15310         * spellchecker.C (sc_check_word):
15311         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15312         an unrecognised preprocessor directive.  So ensure they're wrapped.
15313
15314 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15315
15316         * src/exporter.C (Export): Give an error message when path to file
15317         contains spaces.
15318
15319 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15320
15321         * LaTeX.C (deplog): Always check that foundfile exists.
15322
15323 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * lyx_main.h:
15326         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15327
15328 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15329
15330         * tabular.[Ch] (getLabelList): implement new method
15331
15332         * minibuffer.h: comment ouf setTiimer
15333
15334         * minibuffer.C (ExecutingCB): constify res
15335         (peek_event): constify s
15336         (Set): constify ntext
15337         (Init): constify nicename
15338
15339         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15340
15341         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15342         (savePosition): use two params to Minibuffer::Set
15343         (restorePosition): ditto
15344
15345 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * lyx_main.C: include language.h
15348
15349         * Makefile.am (lyx_main.o): add language.h
15350
15351 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15352
15353         * exporter.C:
15354         * paragraph.C:
15355         * screen.C:
15356         * tabular.C:
15357         * CutAndPaste.C: include gettext.h
15358
15359         * lyxfont.h: remove old hack with ON and OFF.
15360
15361         * lyxparagraph.h:
15362         * lyxfont.h: do not include language.h...
15363
15364         * BufferView2.C:
15365         * LaTeXFeatures.C:
15366         * Painter.C:
15367         * bufferview_funcs.C:
15368         * font.C:
15369         * lyxfont.C:
15370         * text.C:
15371         * text2.C:
15372         * trans_mgr.C:
15373         * paragraph.C: ... but do it here instead
15374
15375 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15378
15379         * tabular.C: small reformat
15380
15381         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15382         NEW_INSETS version
15383         (GetChar): ditto
15384         (BreakParagraph): ditto
15385         (SetOnlyLayout): ditto
15386         (SetLayout): ditto
15387
15388         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15389         with one arg less.
15390
15391         * lastfiles.C: removed most using decl, add std:: where needed
15392
15393         * buffer.C: ws changes
15394
15395         * MenuBackend.C (class compare_format): put into anon namespace
15396         (expand): constify label, names, action, action2
15397         (expand):
15398
15399         * text.C (SingleWidth): constify font
15400         (IsBoundary): constify rtl2
15401         (GetVisibleRow): constify ww
15402
15403         * LaTeX.C (deplog): constify logfile
15404
15405         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15406         start_x, end_x
15407         (workAreaExpose): constify widthChange, heightChange
15408
15409         * lyxrow.C (par): moved
15410         (height): moved
15411         (next): moved
15412         * lyxrow.h: as inlines here
15413
15414         * lyxfont.h (shape): moved from lyxfont.C
15415         (emph): moved from lyxfont.C
15416
15417         * lyxfont.C (LyXFont): use initialization list for all
15418         constructors
15419         (shape): move to lyxfont.h as inline
15420         (emph): move to lyxfont.h as inline
15421
15422
15423 2001-04-04  Juergen Vigna  <jug@sad.it>
15424
15425         * vspace.C: had to include stdio.h for use of sscanf
15426
15427 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15428
15429         * BufferView.h:
15430         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15431         independent of xforms.
15432
15433 2001-04-02  Juergen Vigna  <jug@sad.it>
15434
15435         * spellchecker.C: fixed namespace placing!
15436
15437 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15438
15439         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15440         the LyXParagraph * is 0.
15441
15442 2001-03-29  Juergen Vigna  <jug@sad.it>
15443
15444         * vspace.C: added support for %, c%, p%, l%.
15445         (stringFromUnit): added helper function.
15446         (asLatexString): changed to give right results for the %-values.
15447
15448         * buffer.C: convert the widthp in a width%.
15449
15450 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15451
15452         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15453         figureForm.[Ch].
15454
15455         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15456         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15457
15458         * lyx_cb.[Ch]: see above.
15459
15460         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15461         form1.[Ch].
15462
15463         * form1.[Ch]:
15464         * lyx.[Ch]: replaced by figure_form.[Ch].
15465
15466         * lyx_gui.C:
15467         * lyx_gui_misc.C:
15468         * lyxfunc.C: changed headers associated with above changes.
15469
15470 2001-03-27  Juergen Vigna  <jug@sad.it>
15471
15472         * BufferView_pimpl.C: set the temporary cursor right!
15473
15474 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15475
15476         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15477
15478 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15479
15480         * LString.h: removed "using std::getline"!
15481
15482         * BufferView_pimpl.C (Dispatch): changes due to changes in
15483         InsetInclude::Params.
15484
15485         * buffer.C (tag_name): removed redundant break statements as they were
15486         producing lots of warnings with my compiler.
15487
15488 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * LString.h: add "using std::getline" when using the real <string>.
15491
15492 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15493
15494         * buffer.C: removed bitset usage.
15495         PAR_TAG moved to an anonymous name space.
15496         (tag_name): new funtion, also in the anonymous namespace.
15497         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15498         (makeDocBookFile): clean code. Completed transition from string arrays
15499         to string vectors.
15500         (SimpleDocBookOnePar): code clean.
15501
15502 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15503
15504         * tabular.C: add some comments.
15505
15506 2001-03-22  Juergen Vigna  <jug@sad.it>
15507
15508         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15509         compatibility read a bit and fixed bug with minipage in different
15510         depth.
15511
15512 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15513
15514         * buffer.C (pop_tag): removed.
15515         (push_tag): removed.
15516         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15517         array replaced with vector. Added support for CDATA sections.
15518         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15519         at any nest level.
15520         (makeDocBookFile): XML conformant declaration of CDATA section,
15521         fixed bug related to <emphasis> in the first paragraph char.
15522         (sgmlOpenTag): exclude empty tags.
15523         (sgmlCloseTag): ditto.
15524
15525         * buffer.h (pop_tag): removed.
15526         (push_tag): removed.
15527
15528 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15529
15530         * language.h (Languages): added size_type and size().
15531
15532 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15533
15534         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15535         response on compability reading of minipages. One probliem is that
15536         the old usage of minipages was «flertydig»
15537
15538         * several files here and in subdirs: don't use static at file
15539         scope use anon namespaces instead.
15540
15541 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15542
15543         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15544         LaTeX output. This is necessary for Literate document
15545         processing.
15546
15547 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15548
15549         * buffer.C: insert hfill when needed.
15550
15551         * tabular.C (l_getline): use string::erase, small whitespace change.
15552
15553         * BufferView_pimpl.C: try the anon namespace.
15554         * WorkArea.C: ditto
15555
15556 2001-03-16  Juergen Vigna  <jug@sad.it>
15557
15558         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15559         otherwise it won't open options-dialogs.
15560
15561         * buffer.C: honor pextraWidth(p) on converting minipages.
15562
15563         * tabular.C (l_getline): changed the functions to strip trailing \r.
15564
15565 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15566
15567         * BufferView_pimpl.C:
15568         * minibuffer..C: added "using SigC::slot" declaration.
15569
15570 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15571
15572         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15573
15574         * text2.C: ditto
15575
15576         * text.C: ditto
15577
15578         * paragraph.C: ditto
15579
15580         * lyxtext.h: NO_PEXTRA
15581
15582         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15583
15584         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15585         * ParameterStruct.h: ditto
15586         * ParagraphParameters.h: ditto
15587         * lyxparagraph.h: ditto
15588
15589 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15590
15591         * buffer.C: add compability for minipage alignment.
15592         (latexParagraphs): remove unwanted pextra check.
15593
15594         * several files: remove CXX_WORKING_NAMESPACES
15595
15596         * buffer.C (pop_tag): tie is in namespace boost
15597
15598         * BufferView.h: noncopyable is in namespace boost
15599         * lyxlex.h: ditto
15600         * lyx_main.h: ditto
15601         * lyx_gui.h: ditto
15602         * layout.h: ditto
15603         * lastfiles.h: ditto
15604         * bufferlist.h: ditto
15605         * ShareContainer.h: ditto
15606         * LyXView.h: ditto
15607         * LyXAction.h: ditto
15608         * LaTeX.h: ditto
15609
15610 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15611
15612         * Merging changes from BRANCH_MVC back into HEAD.
15613
15614         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15615
15616 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15617
15618         * BufferView_pimpl.C: change from intl.C
15619
15620         * combox.h:
15621         * combox.C:
15622         * Makefile.am: move combox.*
15623
15624         * form1.h:
15625         * form1.C:
15626         * lyx_gui.C:
15627         * intl.h:
15628         * intl.C: remove dialog (covered by prefs)
15629
15630 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15631
15632         * lyxfunc.C (Dispatch): removed redundant break statement.
15633
15634 2001-03-14  Juergen Vigna  <jug@sad.it>
15635
15636         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15637
15638 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15639
15640         * buffer.C: add hack to fix compability reading of minipages.
15641
15642 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * buffer.C (getLists): Cleanup.
15645
15646 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * lyxfont.C (update): don't honor toggleall on font size.
15649
15650 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15651
15652         * bmtable.c:
15653         * bmtable.h:
15654         * Makefile.am: moved to frontends/xforms/
15655
15656         * lyx_gui_misc.C:
15657         * lyxfunc.C:
15658         * BufferView_pimpl.C: changes for moved mathpanel
15659
15660 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15661
15662         * gettext.h: fix gettext_init() in --disable-nls
15663
15664 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15667
15668 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15669
15670         * lyx.C:
15671         * lyx.h: strip external form
15672
15673 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15674
15675         * BufferView_pimpl.C: add comment, destroySplash()
15676
15677 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15678
15679         * BufferView_pimpl.C:
15680         * LyXAction.C:
15681         * buffer.C:
15682         * commandtags.h:
15683         * lyxfunc.C: use re-worked insetinclude
15684
15685 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15686
15687         * buffer.C: add using std::stringstream.
15688
15689         * lyx_cb.C: readd using std::ios.
15690
15691         * buffer.C: add using std::map.
15692
15693         * BufferView_pimpl.C: add using std::vector.
15694
15695         * ShareContainer.h: add std:: to swap.
15696
15697         * buffer.h: add some typedefs
15698         * buffer.C (getLists): use them
15699         (getLists): renamed from getTocList.
15700         add a counter for the different float types and use it in the
15701         generated string.
15702         (getLists): use the same counter for the NEW_INSETS and the "non"
15703         NEW_INSETS
15704
15705         * lyx_cb.h: remove unused items, includes, using etc.
15706
15707         * ShareContainer.h: remove some commented code, add more comments
15708         and "documentation".
15709
15710 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15711
15712         * buffer.C (getTocList): make the list also when NEW_INSETS is
15713         defined.
15714
15715         * buffer.h: remove TocType
15716
15717         * buffer.C (getTocList): change to return a map<string,
15718         vector<TocItem> >, implement for dynamic number of list.
15719
15720         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15721         * text2.C (PasteSelection): adjust
15722         * CutAndPaste.C (pasteSelection): adjust
15723
15724         * FloatList.C (FloatList): update from the new_insets branch.
15725         * Floating.[Ch]: ditto
15726         * LaTeXFeatures.C: ditto
15727         * buffer.C: ditto
15728         * lyxlex_pimpl.C: ditto
15729
15730         * paragraph.C (Last): remove when NEW_INSETS is defined.
15731
15732         * other file: changes because of the above.
15733
15734 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15735
15736         * lyxparagraph.h: rename next to next_, previous to previous_,
15737         make them private for NEW_INSETS. Rename Next() to next(),
15738         Previous() to previous().
15739
15740         * other files: changes because of the above.
15741
15742 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15743
15744         * BufferView.h:
15745         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15746         problem.
15747
15748 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * main.C (main): pass lyx_localedir to gettext_init().
15751
15752         * gettext.h: remove locale_init and gettext_init macros
15753
15754         * gettext.C (locale_init): new function
15755         (gettext_init): new function
15756
15757         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15758         setlocale().
15759
15760 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15761
15762         * Moved credits to frontends:
15763         * credits.[Ch]: removed
15764         * credits_form.[Ch]: removed
15765         * lyx_gui_misc.C: remove credits stuff
15766         * Makefile.am:
15767
15768 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15769
15770         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15771
15772         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15773         unneeded destructor.
15774
15775         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15776         a standalone pointer again.
15777
15778         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15779
15780 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15781
15782         * Makefile.am:
15783         * filedlg.h:
15784         * filedlg.C:
15785         * LyXAction.C:
15786         * ToolbarDefaults.C:
15787         * bufferlist.C:
15788         * commandtags.h:
15789         * form1.C:
15790         * form1.h:
15791         * lyx_cb.C:
15792         * lyx_cb.h:
15793         * lyxfunc.h:
15794         * lyxfunc.C:
15795         * BufferView_pimpl.C: use new file dialog in GUII
15796
15797         * lyx_cb.h:
15798         * lyx_cb.C: remove LayoutsCB to Toolbar
15799
15800 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * ShareContainer.h (get): add std:: qualifier
15803
15804 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15805
15806         * ShareContainer.h: define a proper ShareContainer::value_type
15807         type (and use typename to please compaq cxx)
15808
15809 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15810
15811         * lyxparagraph.h: move serveral local vars to
15812         ParameterStruct/ParagraphParameters., use ShareContainer in
15813         FontTable., make vars in FontTable private and add getter and
15814         setter.
15815
15816         * paragraph.C: changes because of the above.
15817
15818         * lyxfont.h: remove copy constructor and copy assignment. (the
15819         default ones is ok), move number inside FontBits. move inlines to
15820         lyxfont.C
15821
15822         * lyxfont.C: add number to initializaton of statics, move several
15823         inlines here. constify several local vars. some whitespace
15824         cleanup. Dont hide outerscope variables.
15825
15826         * Spacing.h: add two new constructors to match the set methods.
15827
15828         * ShareContainer.h: new file, will perhaps be moved to support
15829
15830         * ParameterStruct.h: new file
15831
15832         * ParagraphParameters.h: new file
15833
15834         * ParagraphParameters.C: new file
15835
15836         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15837         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15838
15839         * BufferView_pimpl.C: ParagraphParameter changes.
15840         * buffer.C: Likewise.
15841         * bufferview_funcs.C: Likewise.
15842         * text.C: Likewise.
15843         * text2.C: Likewise.
15844
15845 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15846
15847         * lyxfind.C (LyXReplace): do not redefine default argument in
15848         implementation.
15849         (IsStringInText): ditto
15850         (SearchForward): ditto
15851         (SearchBackward): ditto
15852
15853 2001-03-06  Juergen Vigna  <jug@sad.it>
15854
15855         * lyxfind.C (IsStringInText): put parentes around expressions.
15856
15857 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15858
15859         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15860
15861 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15862
15863         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15864
15865         * stl_string_fwd.h: add comment
15866
15867         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15868
15869         * tabular.h:
15870         * tabular.C: remove unused DocBook methods
15871
15872         * intl.C:
15873         * language.C:
15874         * paragraph.C:
15875         * buffer.C:
15876         killed DO_USE_DEFAULT_LANGUAGE
15877
15878 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * lyx_gui.C: do not include language.h.
15881
15882         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15883         arguments in function implementation.
15884
15885 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15886
15887         * BufferView_pimpl.C: add <ctime>
15888
15889 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15890
15891         * BufferView_pimpl.C: add using std::find_if
15892
15893 2001-02-27  José Matos  <jamatos@fep.up.pt>
15894
15895         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15896         by OnlyPath.
15897
15898 2001-02-11  José Matos  <jamatos@fep.up.pt>
15899
15900         * buffer.C (makeDocBookFile): command styles now have a parameter as
15901         "title" by default.
15902
15903 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15904
15905         * layout_forms.[Ch]: removed
15906         * lyx_cb.[Ch]: out character
15907         * lyx_gui.C: out character
15908         * lyx_gui_misc.C: out character
15909         * bufferview_funcs.C: : out character,
15910         added toggleall as parameter in ToggleAndShow
15911
15912 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15913
15914         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15915
15916         * text2.C (SetCurrentFont): Disable number property at boundary.
15917
15918 2001-02-26  Juergen Vigna  <jug@sad.it>
15919
15920         * lyxfunc.C (getStatus): added a string argument override function so
15921         that this is correctly called from LyXFunc::Dispatch if it contains a
15922         do_not_use_argument which is used!
15923         (Dispatch): added check for "custom" export and call appropriate func.
15924
15925 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15926
15927         * lyxrc.C: Add language_command_local, language_use_babel and
15928         language_global_options.
15929
15930         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15931
15932         * buffer.C (makeLaTeXFile): Use language_use_babel and
15933         language_global_options.
15934
15935 2001-02-23  Juergen Vigna  <jug@sad.it>
15936
15937         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15938         which works with LyXText and putted it inside BufferView. Here now we
15939         only call for that part the BufferView::Dispatch() function.
15940
15941         * BufferView.C (Dispatch): added.
15942
15943         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15944         functions which needs to use a LyXText over from LyXFunc.
15945         (MenuInsertLyXFile): added
15946         (getInsetByCode): added
15947         (moveCursorUpdate): added
15948         (static TEXT): added
15949
15950 2001-02-22  Juergen Vigna  <jug@sad.it>
15951
15952         * BufferView_pimpl.C (update): call a status update to see if LyXText
15953         needs it.
15954
15955 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15956
15957         * vc-backend.C (revert): implement for CVS
15958         (getLog): implement for CVS
15959
15960 2001-02-20  Juergen Vigna  <jug@sad.it>
15961
15962         * text2.C (ClearSelection): added BufferView param for inset_owner call
15963
15964         * lyxfunc.C (TEXT): added this function and use it instead of
15965         directly owner->view()-text of getLyXText().
15966
15967 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15968
15969         * src/layout_forms.C: out preamble
15970         * src/layout_forms.h: out preamble
15971         * src/lyx_cb.C: out preamble
15972         * src/lyx_cb.h: out preamble
15973         * src/lyx_gui.C: out preamble
15974         * src/lyx_gui_misc.C: out preamble
15975         * src/lyxfunc.C: connect with guii preamble
15976
15977 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15978
15979         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15980
15981 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15982
15983         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15984         whether to run bibtex.
15985
15986 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15987
15988         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15989
15990 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15991
15992         * Makefile.am (lyx_SOURCES): removed bibforms.h
15993
15994         * vspace.h: doxygen
15995
15996         * text.C (GetVisibleRow): make several local vars const
15997
15998         * tabular.C: small cleanup.
15999
16000         * lyxserver.C (callback): use compare instead of strncmp
16001
16002         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16003         inlines to after class or to paragraph.C
16004
16005         * lyxfont.h: remove friend operator!=
16006
16007         * converter.h: move friend bool operator< to non friend and after
16008         class def.
16009
16010         * combox.h: small cleanup
16011
16012         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16013         to inlines after class def.
16014
16015         * buffer.C (pop_tag): use string operations instead of strcmp
16016
16017         * bmtable.c: doxygen, small cleanup
16018
16019         * LaTeX.h: remove friend operator==
16020
16021 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16022
16023         * screen.C:
16024         * lyxrc.[Ch]:
16025         * lyxfunc.C:
16026         * lyxfont.[Ch]:
16027         * lyx_cb.C:
16028         * intl.[Ch]:
16029         * commandtags.h:
16030         * buffer.C:
16031         * WorkArea.[Ch]:
16032         * LyXAction.C:
16033         * BufferView_pimpl.C:
16034         * BufferView.[Ch]: remove cruft
16035
16036 2001-02-14  Juergen Vigna  <jug@sad.it>
16037
16038         * lyxfunc.C: removed #if 0 unused code
16039
16040         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16041
16042         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16043
16044         * text2.C (SetSelection): added a BufferView * parameter
16045
16046 2001-02-13  Juergen Vigna  <jug@sad.it>
16047
16048         * lyxfunc.C (Dispatch): fixed protected blank problem.
16049         * BufferView2.C (protectedBlank): added LyxText * parameter.
16050
16051         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16052         (AppendColumn): same as above for column_info.
16053
16054         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16055         (moveCursorUpdate): use a LyXText param for support of InsetText.
16056
16057         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16058         (tripleClick): ditto
16059
16060         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16061
16062         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16063
16064         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16065
16066         * text2.C (SetSelection): set correct update status if inset_owner
16067         (ToggleFree): ditto
16068
16069 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16070
16071         * tabular.C: remove some commented code.
16072
16073 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16074
16075         * BufferView_pimpl.C: call hideSplash()
16076
16077         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16078
16079         * include_form.h:
16080         * bibforms.h: remove
16081
16082         * lyxfunc.C:
16083         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16084           add LFUN_CHILD_CREATE
16085
16086         * counters.h: fix tiny typo
16087
16088         * lyx_cb.C:
16089         * lyx.h:
16090         * lyx_gui.C:
16091         * lyx.C: move splash to frontends/xforms/
16092
16093         * lyx_gui_misc.C: move Include and Bibform to frontends
16094
16095         * lyxvc.h: clarify comment
16096
16097         * vspace.C: tiny housekeeping
16098
16099 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16100
16101         * text.C (PrepareToPrint): RTL Fix.
16102
16103         * paragraph.C (GetUChar): New method.
16104         (String):  Use GetUChar.
16105
16106         * buffer.C (asciiParagraph): Use GetUChar.
16107
16108 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16109
16110         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16111
16112 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16113
16114         * buffer.h:
16115         * buffer.C: rename to getLogName(), handle
16116           build log / latex log nicely
16117
16118 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16119
16120         * MenuBackend.C:
16121         * MenuBackend.h: remove support for reference menuitem type.
16122
16123 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16124
16125         * BufferView_pimpl.C: housekeeping
16126         * BufferView_pimpl.h:
16127         * LyXView.h:
16128         * Makefile.am:
16129         * Timeout.C:
16130         * Timeout.h:
16131         * minibuffer.h: move Timeout GUI-I
16132
16133 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16134
16135         * lyxrc.C (read): Update converters data-structures.
16136
16137 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16138
16139         * LaTeX.h (operator!=): add operator != for Aux_Info
16140
16141 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16142
16143         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16144
16145         * LaTeXLog.C: deleted, useful code moved to Buffer
16146
16147         * buffer.h:
16148         * buffer.C: new function getLatexLogName()
16149
16150         * lyx_gui_misc.C:
16151         * lyx_gui.C:
16152         * lyxvc.C:
16153         * lyxvc.h:
16154         * lyxfunc.C: use frontends for LaTeX and VC logs
16155
16156 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16157
16158         * LaTeX.h: yet another std:: that Allan forgot.
16159
16160         * Variables.C (set): renamed from isset(), because this clashes
16161         with some HP-UX macros (grr).
16162
16163 2001-02-06  Allan Rae  <rae@lyx.org>
16164
16165         * LaTeX.h: Another bug fix.  Missing std:: this time.
16166
16167 2001-02-04  Allan Rae  <rae@lyx.org>
16168
16169         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16170         floats problem. I've left it commented out because it's not quite
16171         correct.  It should also test that the current object is a table or
16172         figure inset.  But I haven't gotten around to figuring out how to do
16173         that.  I *think* it'll be something like: "table" == inset.type()
16174
16175         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16176         bool.
16177
16178 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16179
16180         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16181         all the citation/databases/styles in the auxilary file.
16182         (run): Rerun latex if there was a babel language error.
16183
16184 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16185
16186         * text.C (Backspace): Preserve the font when changing newline char
16187         with a space.
16188         (BreakParagraph): If the cursor is before a space, delete the space.
16189
16190         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16191
16192 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16193
16194         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16195         new argument (code).
16196         (ChangeCitationsIfUnique): New method.
16197
16198         * paragraph.C (GetPositionOfInset): Handle bibkey.
16199
16200 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16201
16202         * BufferView_pimpl.h: change type of Position::par_pos to
16203         LyXParagraph::size_type.
16204
16205 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16206
16207         * BufferView_pimpl.C (savePosition, restorePosition): Write
16208         messages to minibuffer.
16209
16210 2001-01-28  José Matos  <jamatos@fep.up.pt>
16211
16212         * buffer.C (makeDocBookFile): adds support for document language.
16213         A silly restriction on the name of LatexCommand types where removed.
16214         Added support for CDATA sections, allows to chars unescaped, used
16215         among others in code, to avoid escape < and >.
16216
16217 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16218
16219         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16220         saved positions instrad of a stack. Furthermore, a position is
16221         stored using paragraph id/paragraph position.
16222
16223         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16224         Remove LFUN_REF_BACK.
16225
16226 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * converter.C (dvipdfm_options): New method.
16229
16230 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16231
16232         * vspace.C (isValidLength): Fix for empty input string.
16233
16234 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16235
16236         * LyXAction.C (init): change description of LFUN_FIGURE to
16237         "Insert Graphics"
16238
16239 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16240
16241         * LaTeX.C: add using directive
16242
16243 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16244
16245         * MenuBackend.C (expand): Fix the sorting of the formats.
16246
16247 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16248
16249         * lyx_main.C: tiny error message fix
16250
16251 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16254         calling fl_initialize(). This fixes the problem with ',' as
16255         decimal separator in text files.
16256
16257 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16258
16259         * trans.C (process): Fix the keymap bug.
16260
16261 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * LaTeX.C (scanAuxFiles): New method. Provides support for
16264         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16265         (scanLogFile) Scan for "run BibTeX" messages.
16266
16267         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16268         OT1 font encoding. Also, load the aecompl package if the ae
16269         package is loaded.
16270
16271         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16272
16273 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16274
16275         * texrow.C (increasePos): turn two error messages into debug
16276         messages.
16277
16278 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16279
16280         * LaTeX.C (scanAux): Handle the \@input macro.
16281         (runBibTeX): Use scanAux().
16282
16283         * language.C (latex_options_): New field.
16284
16285         * LaTeXFeatures.C (getMacros): Add language macros.
16286
16287         * buffer.C (makeLaTeXFile): Small fix.
16288
16289 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16292
16293         * text2.C: add a using directive.
16294
16295 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16296
16297         * BufferView2.C:
16298         * lyx_gui_misc.h:
16299         * lyxfr1.C:
16300         * lyxfunc.C: kill LyXBell.
16301
16302 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * text.C (IsBoundary): Remove the error message
16305
16306         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16307
16308         * lyxrc.C (setDefaults): Correct initialization value for
16309         font_norm_type.
16310
16311 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16312
16313         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16314         gotoError().
16315
16316         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16317         and GotoNextNote().
16318
16319         * src/LyXAction.C: Added reference-next.
16320
16321         * text.C (InsertChar): Use contains instead of strchr.
16322
16323         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16324
16325 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16326
16327         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16328         alignment commands (when needed).
16329
16330         * text.C (InsertChar): Add ':' to number separator chars.